1 # This file was created automatically by SWIG.
6 def __init__(self
,this
):
9 def __del__(self
, gdic
=gdic
):
10 if self
.thisown
== 1 :
11 gdic
.delete_wxBitmap(self
.this
)
12 def Create(self
,arg0
,arg1
,*args
):
13 val
= apply(gdic
.wxBitmap_Create
,(self
.this
,arg0
,arg1
,)+args
)
16 val
= gdic
.wxBitmap_GetDepth(self
.this
)
19 val
= gdic
.wxBitmap_GetHeight(self
.this
)
22 val
= gdic
.wxBitmap_GetPalette(self
.this
)
23 val
= wxPalettePtr(val
)
26 val
= gdic
.wxBitmap_GetMask(self
.this
)
30 val
= gdic
.wxBitmap_GetWidth(self
.this
)
32 def LoadFile(self
,arg0
,arg1
):
33 val
= gdic
.wxBitmap_LoadFile(self
.this
,arg0
,arg1
)
36 val
= gdic
.wxBitmap_Ok(self
.this
)
38 def SaveFile(self
,arg0
,arg1
,*args
):
40 try: argl
[0] = argl
[0].this
43 val
= apply(gdic
.wxBitmap_SaveFile
,(self
.this
,arg0
,arg1
,)+args
)
45 def SetDepth(self
,arg0
):
46 val
= gdic
.wxBitmap_SetDepth(self
.this
,arg0
)
48 def SetHeight(self
,arg0
):
49 val
= gdic
.wxBitmap_SetHeight(self
.this
,arg0
)
51 def SetMask(self
,arg0
):
52 val
= gdic
.wxBitmap_SetMask(self
.this
,arg0
.this
)
54 def SetPalette(self
,arg0
):
55 val
= gdic
.wxBitmap_SetPalette(self
.this
,arg0
.this
)
57 def SetWidth(self
,arg0
):
58 val
= gdic
.wxBitmap_SetWidth(self
.this
,arg0
)
61 return "<C wxBitmap instance>"
62 class wxBitmap(wxBitmapPtr
):
63 def __init__(self
,arg0
,arg1
) :
64 self
.this
= gdic
.new_wxBitmap(arg0
,arg1
)
71 def __init__(self
,this
):
74 def __del__(self
, gdic
=gdic
):
75 if self
.thisown
== 1 :
76 gdic
.delete_wxMask(self
.this
)
78 return "<C wxMask instance>"
79 class wxMask(wxMaskPtr
):
80 def __init__(self
,arg0
) :
81 self
.this
= gdic
.new_wxMask(arg0
.this
)
87 class wxIconPtr(wxBitmapPtr
):
88 def __init__(self
,this
):
91 def __del__(self
, gdic
=gdic
):
92 if self
.thisown
== 1 :
93 gdic
.delete_wxIcon(self
.this
)
95 val
= gdic
.wxIcon_GetDepth(self
.this
)
98 val
= gdic
.wxIcon_GetHeight(self
.this
)
101 val
= gdic
.wxIcon_GetWidth(self
.this
)
103 def LoadFile(self
,arg0
,arg1
):
104 val
= gdic
.wxIcon_LoadFile(self
.this
,arg0
,arg1
)
107 val
= gdic
.wxIcon_Ok(self
.this
)
109 def SetDepth(self
,arg0
):
110 val
= gdic
.wxIcon_SetDepth(self
.this
,arg0
)
112 def SetHeight(self
,arg0
):
113 val
= gdic
.wxIcon_SetHeight(self
.this
,arg0
)
115 def SetWidth(self
,arg0
):
116 val
= gdic
.wxIcon_SetWidth(self
.this
,arg0
)
119 return "<C wxIcon instance>"
120 class wxIcon(wxIconPtr
):
121 def __init__(self
,arg0
,arg1
,*args
) :
122 self
.this
= apply(gdic
.new_wxIcon
,(arg0
,arg1
,)+args
)
128 class wxCursorPtr(wxBitmapPtr
):
129 def __init__(self
,this
):
132 def __del__(self
, gdic
=gdic
):
133 if self
.thisown
== 1 :
134 gdic
.delete_wxCursor(self
.this
)
136 val
= gdic
.wxCursor_Ok(self
.this
)
139 return "<C wxCursor instance>"
140 class wxCursor(wxCursorPtr
):
141 def __init__(self
,arg0
,arg1
,*arg
// Alternate
'constructor'
142 wxColour
* wxNamedColour(const wxString
& colorName
) {
143 return new
wxColour(colorName
);
145 // Alternate
'constructor'
146 wxMemoryDC
* wxMemoryDCFromDC(wxDC
* oldDC
) {
147 return new
wxMemoryDC(oldDC
);
151 extern wxFont
* wxNORMAL_FONT
;
152 extern wxFont
* wxSMALL_FONT
;
153 extern wxFont
* wxITALIC_FONT
;
154 extern wxFont
* wxSWISS_FONT
;
155 extern wxPen
* wxRED_PEN
;
156 extern wxPen
* wxCYAN_PEN
;
157 extern wxPen
* wxGREEN_PEN
;
158 extern wxPen
* wxBLACK_PEN
;
159 extern wxPen
* wxWHITE_PEN
;
160 extern wxPen
* wxTRANSPARENT_PEN
;
161 extern wxPen
* wxBLACK_DASHED_PEN
;
162 extern wxPen
* wxGREY_PEN
;
163 extern wxPen
* wxMEDIUM_GREY_PEN
;
164 extern wxPen
* wxLIGHT_GREY_PEN
;
165 extern wxBrush
* wxBLUE_BRUSH
;
166 extern wxBrush
* wxGREEN_BRUSH
;
167 extern wxBrush
* wxWHITE_BRUSH
;
168 extern wxBrush
* wxBLACK_BRUSH
;
169 extern wxBrush
* wxTRANSPARENT_BRUSH
;
170 extern wxBrush
* wxCYAN_BRUSH
;
171 extern wxBrush
* wxRED_BRUSH
;
172 extern wxBrush
* wxGREY_BRUSH
;
173 extern wxBrush
* wxMEDIUM_GREY_BRUSH
;
174 extern wxBrush
* wxLIGHT_GREY_BRUSH
;
175 extern wxColour
* wxBLACK
;
176 extern wxColour
* wxWHITE
;
177 extern wxColour
* wxRED
;
178 extern wxColour
* wxBLUE
;
179 extern wxColour
* wxGREEN
;
180 extern wxColour
* wxCYAN
;
181 extern wxColour
* wxLIGHT_GREY
;
182 extern wxCursor
* wxSTANDARD_CURSOR
;
183 extern wxCursor
* wxHOURGLASS_CURSOR
;
184 extern wxCursor
* wxCROSS_CURSOR
;
185 extern wxBitmap wxNullBitmap
;
186 extern wxIcon wxNullIcon
;
187 extern wxCursor wxNullCursor
;
188 extern wxPen wxNullPen
;
189 extern wxBrush wxNullBrush
;
190 extern wxPalette wxNullPalette
;
191 extern wxFont wxNullFont
;
192 extern wxColour wxNullColour
;
195 static PyObject
*_wrap_wxEmptyBitmap(PyObject
*self
, PyObject
*args
) {
196 PyObject
* _resultobj
;
204 if(!PyArg_ParseTuple(args
,"ii|i:wxEmptyBitmap",&_arg0
,&_arg1
,&_arg2
))
207 wxPy_BEGIN_ALLOW_THREADS
;
208 _result
= (wxBitmap
*)wxEmptyBitmap(_arg0
,_arg1
,_arg2
);
210 wxPy_END_ALLOW_THREADS
;
211 } SWIG_MakePtr(_ptemp
, (char
*) _result
,"_wxBitmap_p");
212 _resultobj
= Py_BuildValue("s",_ptemp
);
216 static PyObject
*_wrap_wxNoRefBitmap(PyObject
*self
, PyObject
*args
) {
217 PyObject
* _resultobj
;
224 if(!PyArg_ParseTuple(args
,"sl:wxNoRefBitmap",&_arg0
,&_arg1
))
227 wxPy_BEGIN_ALLOW_THREADS
;
228 _result
= (wxBitmap
*)wxNoRefBitmap(_arg0
,_arg1
);
230 wxPy_END_ALLOW_THREADS
;
231 } SWIG_MakePtr(_ptemp
, (char
*) _result
,"_wxBitmap_p");
232 _resultobj
= Py_BuildValue("s",_ptemp
);
236 static PyObject
*_wrap_wxBitmapFromData(PyObject
*self
, PyObject
*args
) {
237 PyObject
* _resultobj
;
247 if(!PyArg_ParseTuple(args
,"slii|i:wxBitmapFromData",&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
250 wxPy_BEGIN_ALLOW_THREADS
;
251 _result
= (wxBitmap
*)wxBitmapFromData(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
253 wxPy_END_ALLOW_THREADS
;
254 } SWIG_MakePtr(_ptemp
, (char
*) _result
,"_wxBitmap_p");
255 _resultobj
= Py_BuildValue("s",_ptemp
);
259 static PyObject
*_wrap_wxMaskColour(PyObject
*self
, PyObject
*args
) {
260 PyObject
* _resultobj
;
269 if(!PyArg_ParseTuple(args
,"ss:wxMaskColour",&_argc0
,&_argc1
))
272 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxBitmap_p")) {
273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMaskColour. Expected _wxBitmap_p.");
278 if (SWIG_GetPtr(_argc1
,(void
**) &_arg1
,"_wxColour_p")) {
279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMaskColour. Expected _wxColour_p.");
284 wxPy_BEGIN_ALLOW_THREADS
;
285 _result
= (wxMask
*)wxMaskColour(*_arg0
,*_arg1
);
287 wxPy_END_ALLOW_THREADS
;
288 } SWIG_MakePtr(_ptemp
, (char
*) _result
,"_wxMask_p");
289 _resultobj
= Py_BuildValue("s",_ptemp
);
293 static PyObject
*_wrap_wxStockCursor(PyObject
*self
, PyObject
*args
) {
294 PyObject
* _resultobj
;
300 if(!PyArg_ParseTuple(args
,"i:wxStockCursor",&_arg0
))
303 wxPy_BEGIN_ALLOW_THREADS
;
304 _result
= (wxCursor
*)wxPyStockCursor(_arg0
);
306 wxPy_END_ALLOW_THREADS
;
307 } SWIG_MakePtr(_ptemp
, (char
*) _result
,"_wxCursor_p");
308 _resultobj
= Py_BuildValue("s",_ptemp
);
312 static PyObject
*_wrap_wxNamedColour(PyObject
*self
, PyObject
*args
) {
313 PyObject
* _resultobj
;
316 PyObject
* _obj0
= 0;
320 if(!PyArg_ParseTuple(args
,"O:wxNamedColour",&_obj0
))
323 if (!PyString_Check(_obj0
)) {
324 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
327 _arg0
= new
wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
330 wxPy_BEGIN_ALLOW_THREADS
;
331 _result
= (wxColour
*)wxNamedColour(*_arg0
);
333 wxPy_END_ALLOW_THREADS
;
334 } SWIG_MakePtr(_ptemp
, (char
*) _result
,"_wxColour_p");
335 _resultobj
= Py_BuildValue("s",_ptemp
);
343 static PyObject
*_wrap_wxMemoryDCFromDC(PyObject
*self
, PyObject
*args
) {
344 PyObject
* _resultobj
;
345 wxMemoryDC
* _result
;
351 if(!PyArg_ParseTuple(args
,"s:wxMemoryDCFromDC",&_argc0
))
354 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxDC_p")) {
355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDCFromDC. Expected _wxDC_p.");
360 wxPy_BEGIN_ALLOW_THREADS
;
361 _result
= (wxMemoryDC
*)wxMemoryDCFromDC(_arg0
);
363 wxPy_END_ALLOW_THREADS
;
364 } SWIG_MakePtr(_ptemp
, (char
*) _result
,"_wxMemoryDC_p");
365 _resultobj
= Py_BuildValue("s",_ptemp
);
369 static
int _wrap_wxNORMAL_FONT_set(PyObject
*val
) {
371 PyErr_SetString(PyExc_TypeError
,"Variable wxNORMAL_FONT is read-only.");
375 static PyObject
*_wrap_wxNORMAL_FONT_get() {
379 SWIG_MakePtr(ptemp
, (char
*) wxNORMAL_FONT
,"_wxFont_p");
380 pyobj
= PyString_FromString(ptemp
);
384 static
int _wrap_wxSMALL_FONT_set(PyObject
*val
) {
386 PyErr_SetString(PyExc_TypeError
,"Variable wxSMALL_FONT is read-only.");
390 static PyObject
*_wrap_wxSMALL_FONT_get() {
394 SWIG_MakePtr(ptemp
, (char
*) wxSMALL_FONT
,"_wxFont_p");
395 pyobj
= PyString_FromString(ptemp
);
399 static
int _wrap_wxITALIC_FONT_set(PyObject
*val
) {
401 PyErr_SetString(PyExc_TypeError
,"Variable wxITALIC_FONT is read-only.");
405 static PyObject
*_wrap_wxITALIC_FONT_get() {
409 SWIG_MakePtr(ptemp
, (char
*) wxITALIC_FONT
,"_wxFont_p");
410 pyobj
= PyString_FromString(ptemp
);
414 static
int _wrap_wxSWISS_FONT_set(PyObject
*val
) {
416 PyErr_SetString(PyExc_TypeError
,"Variable wxSWISS_FONT is read-only.");
420 static PyObject
*_wrap_wxSWISS_FONT_get() {
424 SWIG_MakePtr(ptemp
, (char
*) wxSWISS_FONT
,"_wxFont_p");
425 pyobj
= PyString_FromString(ptemp
);
429 static
int _wrap_wxRED_PEN_set(PyObject
*val
) {
431 PyErr_SetString(PyExc_TypeError
,"Variable wxRED_PEN is read-only.");
435 static PyObject
*_wrap_wxRED_PEN_get() {
439 SWIG_MakePtr(ptemp
, (char
*) wxRED_PEN
,"_wxPen_p");
440 pyobj
= PyString_FromString(ptemp
);
444 static
int _wrap_wxCYAN_PEN_set(PyObject
*val
) {
446 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN_PEN is read-only.");
450 static PyObject
*_wrap_wxCYAN_PEN_get() {
454 SWIG_MakePtr(ptemp
, (char
*) wxCYAN_PEN
,"_wxPen_p");
455 pyobj
= PyString_FromString(ptemp
);
459 static
int _wrap_wxGREEN_PEN_set(PyObject
*val
) {
461 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN_PEN is read-only.");
465 static PyObject
*_wrap_wxGREEN_PEN_get() {
469 SWIG_MakePtr(ptemp
, (char
*) wxGREEN_PEN
,"_wxPen_p");
470 pyobj
= PyString_FromString(ptemp
);
474 static
int _wrap_wxBLACK_PEN_set(PyObject
*val
) {
476 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_PEN is read-only.");
480 static PyObject
*_wrap_wxBLACK_PEN_get() {
484 SWIG_MakePtr(ptemp
, (char
*) wxBLACK_PEN
,"_wxPen_p");
485 pyobj
= PyString_FromString(ptemp
);
489 static
int _wrap_wxWHITE_PEN_set(PyObject
*val
) {
491 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE_PEN is read-only.");
495 static PyObject
*_wrap_wxWHITE_PEN_get() {
499 SWIG_MakePtr(ptemp
, (char
*) wxWHITE_PEN
,"_wxPen_p");
500 pyobj
= PyString_FromString(ptemp
);
504 static
int _wrap_wxTRANSPARENT_PEN_set(PyObject
*val
) {
506 PyErr_SetString(PyExc_TypeError
,"Variable wxTRANSPARENT_PEN is read-only.");
510 static PyObject
*_wrap_wxTRANSPARENT_PEN_get() {
514 SWIG_MakePtr(ptemp
, (char
*) wxTRANSPARENT_PEN
,"_wxPen_p");
515 pyobj
= PyString_FromString(ptemp
);
519 static
int _wrap_wxBLACK_DASHED_PEN_set(PyObject
*val
) {
521 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_DASHED_PEN is read-only.");
525 static PyObject
*_wrap_wxBLACK_DASHED_PEN_get() {
529 SWIG_MakePtr(ptemp
, (char
*) wxBLACK_DASHED_PEN
,"_wxPen_p");
530 pyobj
= PyString_FromString(ptemp
);
534 static
int _wrap_wxGREY_PEN_set(PyObject
*val
) {
536 PyErr_SetString(PyExc_TypeError
,"Variable wxGREY_PEN is read-only.");
540 static PyObject
*_wrap_wxGREY_PEN_get() {
544 SWIG_MakePtr(ptemp
, (char
*) wxGREY_PEN
,"_wxPen_p");
545 pyobj
= PyString_FromString(ptemp
);
549 static
int _wrap_wxMEDIUM_GREY_PEN_set(PyObject
*val
) {
551 PyErr_SetString(PyExc_TypeError
,"Variable wxMEDIUM_GREY_PEN is read-only.");
555 static PyObject
*_wrap_wxMEDIUM_GREY_PEN_get() {
559 SWIG_MakePtr(ptemp
, (char
*) wxMEDIUM_GREY_PEN
,"_wxPen_p");
560 pyobj
= PyString_FromString(ptemp
);
564 static
int _wrap_wxLIGHT_GREY_PEN_set(PyObject
*val
) {
566 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY_PEN is read-only.");
570 static PyObject
*_wrap_wxLIGHT_GREY_PEN_get() {
574 SWIG_MakePtr(ptemp
, (char
*) wxLIGHT_GREY_PEN
,"_wxPen_p");
575 pyobj
= PyString_FromString(ptemp
);
579 static
int _wrap_wxBLUE_BRUSH_set(PyObject
*val
) {
581 PyErr_SetString(PyExc_TypeError
,"Variable wxBLUE_BRUSH is read-only.");
585 static PyObject
*_wrap_wxBLUE_BRUSH_get() {
589 SWIG_MakePtr(ptemp
, (char
*) wxBLUE_BRUSH
,"_wxBrush_p");
590 pyobj
= PyString_FromString(ptemp
);
594 static
int _wrap_wxGREEN_BRUSH_set(PyObject
*val
) {
596 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN_BRUSH is read-only.");
600 static PyObject
*_wrap_wxGREEN_BRUSH_get() {
604 SWIG_MakePtr(ptemp
, (char
*) wxGREEN_BRUSH
,"_wxBrush_p");
605 pyobj
= PyString_FromString(ptemp
);
609 static
int _wrap_wxWHITE_BRUSH_set(PyObject
*val
) {
611 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE_BRUSH is read-only.");
615 static PyObject
*_wrap_wxWHITE_BRUSH_get() {
619 SWIG_MakePtr(ptemp
, (char
*) wxWHITE_BRUSH
,"_wxBrush_p");
620 pyobj
= PyString_FromString(ptemp
);
624 static
int _wrap_wxBLACK_BRUSH_set(PyObject
*val
) {
626 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_BRUSH is read-only.");
630 static PyObject
*_wrap_wxBLACK_BRUSH_get() {
634 SWIG_MakePtr(ptemp
, (char
*) wxBLACK_BRUSH
,"_wxBrush_p");
635 pyobj
= PyString_FromString(ptemp
);
639 static
int _wrap_wxTRANSPARENT_BRUSH_set(PyObject
*val
) {
641 PyErr_SetString(PyExc_TypeError
,"Variable wxTRANSPARENT_BRUSH is read-only.");
645 static PyObject
*_wrap_wxTRANSPARENT_BRUSH_get() {
649 SWIG_MakePtr(ptemp
, (char
*) wxTRANSPARENT_BRUSH
,"_wxBrush_p");
650 pyobj
= PyString_FromString(ptemp
);
654 static
int _wrap_wxCYAN_BRUSH_set(PyObject
*val
) {
656 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN_BRUSH is read-only.");
660 static PyObject
*_wrap_wxCYAN_BRUSH_get() {
664 SWIG_MakePtr(ptemp
, (char
*) wxCYAN_BRUSH
,"_wxBrush_p");
665 pyobj
= PyString_FromString(ptemp
);
669 static
int _wrap_wxRED_BRUSH_set(PyObject
*val
) {
671 PyErr_SetString(PyExc_TypeError
,"Variable wxRED_BRUSH is read-only.");
675 static PyObject
*_wrap_wxRED_BRUSH_get() {
679 SWIG_MakePtr(ptemp
, (char
*) wxRED_BRUSH
,"_wxBrush_p");
680 pyobj
= PyString_FromString(ptemp
);
684 static
int _wrap_wxGREY_BRUSH_set(PyObject
*val
) {
686 PyErr_SetString(PyExc_TypeError
,"Variable wxGREY_BRUSH is read-only.");
690 static PyObject
*_wrap_wxGREY_BRUSH_get() {
694 SWIG_MakePtr(ptemp
, (char
*) wxGREY_BRUSH
,"_wxBrush_p");
695 pyobj
= PyString_FromString(ptemp
);
699 static
int _wrap_wxMEDIUM_GREY_BRUSH_set(PyObject
*val
) {
701 PyErr_SetString(PyExc_TypeError
,"Variable wxMEDIUM_GREY_BRUSH is read-only.");
705 static PyObject
*_wrap_wxMEDIUM_GREY_BRUSH_get() {
709 SWIG_MakePtr(ptemp
, (char
*) wxMEDIUM_GREY_BRUSH
,"_wxBrush_p");
710 pyobj
= PyString_FromString(ptemp
);
714 static
int _wrap_wxLIGHT_GREY_BRUSH_set(PyObject
*val
) {
716 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY_BRUSH is read-only.");
720 static PyObject
*_wrap_wxLIGHT_GREY_BRUSH_get() {
724 SWIG_MakePtr(ptemp
, (char
*) wxLIGHT_GREY_BRUSH
,"_wxBrush_p");
725 pyobj
= PyString_FromString(ptemp
);
729 static
int _wrap_wxBLACK_set(PyObject
*val
) {
731 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK is read-only.");
735 static PyObject
*_wrap_wxBLACK_get() {
739 SWIG_MakePtr(ptemp
, (char
*) wxBLACK
,"_wxColour_p");
740 pyobj
= PyString_FromString(ptemp
);
744 static
int _wrap_wxWHITE_set(PyObject
*val
) {
746 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE is read-only.");
750 static PyObject
*_wrap_wxWHITE_get() {
754 SWIG_MakePtr(ptemp
, (char
*) wxWHITE
,"_wxColour_p");
755 pyobj
= PyString_FromString(ptemp
);
759 static
int _wrap_wxRED_set(PyObject
*val
) {
761 PyErr_SetString(PyExc_TypeError
,"Variable wxRED is read-only.");
765 static PyObject
*_wrap_wxRED_get() {
769 SWIG_MakePtr(ptemp
, (char
*) wxRED
,"_wxColour_p");
770 pyobj
= PyString_FromString(ptemp
);
774 static
int _wrap_wxBLUE_set(PyObject
*val
) {
776 PyErr_SetString(PyExc_TypeError
,"Variable wxBLUE is read-only.");
780 static PyObject
*_wrap_wxBLUE_get() {
784 SWIG_MakePtr(ptemp
, (char
*) wxBLUE
,"_wxColour_p");
785 pyobj
= PyString_FromString(ptemp
);
789 static
int _wrap_wxGREEN_set(PyObject
*val
) {
791 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN is read-only.");
795 static PyObject
*_wrap_wxGREEN_get() {
799 SWIG_MakePtr(ptemp
, (char
*) wxGREEN
,"_wxColour_p");
800 pyobj
= PyString_FromString(ptemp
);
804 static
int _wrap_wxCYAN_set(PyObject
*val
) {
806 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN is read-only.");
810 static PyObject
*_wrap_wxCYAN_get() {
814 SWIG_MakePtr(ptemp
, (char
*) wxCYAN
,"_wxColour_p");
815 pyobj
= PyString_FromString(ptemp
);
819 static
int _wrap_wxLIGHT_GREY_set(PyObject
*val
) {
821 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY is read-only.");
825 static PyObject
*_wrap_wxLIGHT_GREY_get() {
829 SWIG_MakePtr(ptemp
, (char
*) wxLIGHT_GREY
,"_wxColour_p");
830 pyobj
= PyString_FromString(ptemp
);
834 static
int _wrap_wxSTANDARD_CURSOR_set(PyObject
*val
) {
836 PyErr_SetString(PyExc_TypeError
,"Variable wxSTANDARD_CURSOR is read-only.");
840 static PyObject
*_wrap_wxSTANDARD_CURSOR_get() {
844 SWIG_MakePtr(ptemp
, (char
*) wxSTANDARD_CURSOR
,"_wxCursor_p");
845 pyobj
= PyString_FromString(ptemp
);
849 static
int _wrap_wxHOURGLASS_CURSOR_set(PyObject
*val
) {
851 PyErr_SetString(PyExc_TypeError
,"Variable wxHOURGLASS_CURSOR is read-only.");
855 static PyObject
*_wrap_wxHOURGLASS_CURSOR_get() {
859 SWIG_MakePtr(ptemp
, (char
*) wxHOURGLASS_CURSOR
,"_wxCursor_p");
860 pyobj
= PyString_FromString(ptemp
);
864 static
int _wrap_wxCROSS_CURSOR_set(PyObject
*val
) {
866 PyErr_SetString(PyExc_TypeError
,"Variable wxCROSS_CURSOR is read-only.");
870 static PyObject
*_wrap_wxCROSS_CURSOR_get() {
874 SWIG_MakePtr(ptemp
, (char
*) wxCROSS_CURSOR
,"_wxCursor_p");
875 pyobj
= PyString_FromString(ptemp
);
879 static
int _wrap_wxNullBitmap_set(PyObject
*val
) {
881 PyErr_SetString(PyExc_TypeError
,"Variable wxNullBitmap is read-only.");
885 static PyObject
*_wrap_wxNullBitmap_get() {
889 SWIG_MakePtr(ptemp
,(char
*) &wxNullBitmap
,"_wxBitmap_p");
890 pyobj
= PyString_FromString(ptemp
);
894 static
int _wrap_wxNullIcon_set(PyObject
*val
) {
896 PyErr_SetString(PyExc_TypeError
,"Variable wxNullIcon is read-only.");
900 static PyObject
*_wrap_wxNullIcon_get() {
904 SWIG_MakePtr(ptemp
,(char
*) &wxNullIcon
,"_wxIcon_p");
905 pyobj
= PyString_FromString(ptemp
);
909 static
int _wrap_wxNullCursor_set(PyObject
*val
) {
911 PyErr_SetString(PyExc_TypeError
,"Variable wxNullCursor is read-only.");
915 static PyObject
*_wrap_wxNullCursor_get() {
919 SWIG_MakePtr(ptemp
,(char
*) &wxNullCursor
,"_wxCursor_p");
920 pyobj
= PyString_FromString(ptemp
);
924 static
int _wrap_wxNullPen_set(PyObject
*val
) {
926 PyErr_SetString(PyExc_TypeError
,"Variable wxNullPen is read-only.");
930 static PyObject
*_wrap_wxNullPen_get() {
934 SWIG_MakePtr(ptemp
,(char
*) &wxNullPen
,"_wxPen_p");
935 pyobj
= PyString_FromString(ptemp
);
939 static
int _wrap_wxNullBrush_set(PyObject
*val
) {
941 PyErr_SetString(PyExc_TypeError
,"Variable wxNullBrush is read-only.");
945 static PyObject
*_wrap_wxNullBrush_get() {
949 SWIG_MakePtr(ptemp
,(char
*) &wxNullBrush
,"_wxBrush_p");
950 pyobj
= PyString_FromString(ptemp
);
954 static
int _wrap_wxNullPalette_set(PyObject
*val
) {
956 PyErr_SetString(PyExc_TypeError
,"Variable wxNullPalette is read-only.");
960 static PyObject
*_wrap_wxNullPalette_get() {
964 SWIG_MakePtr(ptemp
,(char
*) &wxNullPalette
,"_wxPalette_p");
965 pyobj
= PyString_FromString(ptemp
);
969 static
int _wrap_wxNullFont_set(PyObject
*val
) {
971 PyErr_SetString(PyExc_TypeError
,"Variable wxNullFont is read-only.");
975 static PyObject
*_wrap_wxNullFont_get() {
979 SWIG_MakePtr(ptemp
,(char
*) &wxNullFont
,"_wxFont_p");
980 pyobj
= PyString_FromString(ptemp
);
984 static
int _wrap_wxNullColour_set(PyObject
*val
) {
986 PyErr_SetString(PyExc_TypeError
,"Variable wxNullColour is read-only.");
990 static PyObject
*_wrap_wxNullColour_get() {
994 SWIG_MakePtr(ptemp
,(char
*) &wxNullColour
,"_wxColour_p");
995 pyobj
= PyString_FromString(ptemp
);
999 #define new_wxBitmap(_swigarg0,_swigarg1) (new wxBitmap(_swigarg0,_swigarg1))
1000 static PyObject
*_wrap_new_wxBitmap(PyObject
*self
, PyObject
*args
) {
1001 PyObject
* _resultobj
;
1005 PyObject
* _obj0
= 0;
1009 if(!PyArg_ParseTuple(args
,"Ol:new_wxBitmap",&_obj0
,&_arg1
))
1012 if (!PyString_Check(_obj0
)) {
1013 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1016 _arg0
= new
wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
1019 wxPy_BEGIN_ALLOW_THREADS
;
1020 _result
= (wxBitmap
*)new_wxBitmap(*_arg0
,_arg1
);
1022 wxPy_END_ALLOW_THREADS
;
1023 } SWIG_MakePtr(_ptemp
, (char
*) _result
,"_wxBitmap_p");
1024 _resultobj
= Py_BuildValue("s",_ptemp
);
1032 #define delete_wxBitmap(_swigobj) (delete _swigobj)
1033 static PyObject
*_wrap_delete_wxBitmap(PyObject
*self
, PyObject
*args
) {
1034 PyObject
* _resultobj
;
1039 if(!PyArg_ParseTuple(args
,"s:delete_wxBitmap",&_argc0
))
1042 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxBitmap_p")) {
1043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBitmap. Expected _wxBitmap_p.");
1048 wxPy_BEGIN_ALLOW_THREADS
;
1049 delete_wxBitmap(_arg0
);
1051 wxPy_END_ALLOW_THREADS
;
1052 } Py_INCREF(Py_None
);
1053 _resultobj
= Py_None
;
1057 #define wxBitmap_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2))
1058 static PyObject
*_wrap_wxBitmap_Create(PyObject
*self
, PyObject
*args
) {
1059 PyObject
* _resultobj
;
1067 if(!PyArg_ParseTuple(args
,"sii|i:wxBitmap_Create",&_argc0
,&_arg1
,&_arg2
,&_arg3
))
1070 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxBitmap_p")) {
1071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_Create. Expected _wxBitmap_p.");
1076 wxPy_BEGIN_ALLOW_THREADS
;
1077 wxBitmap_Create(_arg0
,_arg1
,_arg2
,_arg3
);
1079 wxPy_END_ALLOW_THREADS
;
1080 } Py_INCREF(Py_None
);
1081 _resultobj
= Py_None
;
1085 #define wxBitmap_GetDepth(_swigobj) (_swigobj->GetDepth())
1086 static PyObject
*_wrap_wxBitmap_GetDepth(PyObject
*self
, PyObject
*args
) {
1087 PyObject
* _resultobj
;
1093 if(!PyArg_ParseTuple(args
,"s:wxBitmap_GetDepth",&_argc0
))
1096 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxBitmap_p")) {
1097 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetDepth. Expected _wxBitmap_p.");
1102 wxPy_BEGIN_ALLOW_THREADS
;
1103 _result
= (int )wxBitmap_GetDepth(_arg0
);
1105 wxPy_END_ALLOW_THREADS
;
1106 } _resultobj
= Py_BuildValue("i",_result
);
1110 #define wxBitmap_GetHeight(_swigobj) (_swigobj->GetHeight())
1111 static PyObject
*_wrap_wxBitmap_GetHeight(PyObject
*self
, PyObject
*args
) {
1112 PyObject
* _resultobj
;
1118 if(!PyArg_ParseTuple(args
,"s:wxBitmap_GetHeight",&_argc0
))
1121 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxBitmap_p")) {
1122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetHeight. Expected _wxBitmap_p.");
1127 wxPy_BEGIN_ALLOW_THREADS
;
1128 _result
= (int )wxBitmap_GetHeight(_arg0
);
1130 wxPy_END_ALLOW_THREADS
;
1131 } _resultobj
= Py_BuildValue("i",_result
);
1135 #define wxBitmap_GetPalette(_swigobj) (_swigobj->GetPalette())
1136 static PyObject
*_wrap_wxBitmap_GetPalette(PyObject
*self
, PyObject
*args
) {
1137 PyObject
* _resultobj
;
1138 wxPalette
* _result
;
1144 if(!PyArg_ParseTuple(args
,"s:wxBitmap_GetPalette",&_argc0
))
1147 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxBitmap_p")) {
1148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetPalette. Expected _wxBitmap_p.");
1153 wxPy_BEGIN_ALLOW_THREADS
;
1154 _result
= (wxPalette
*)wxBitmap_GetPalette(_arg0
);
1156 wxPy_END_ALLOW_THREADS
;
1157 } SWIG_MakePtr(_ptemp
, (char
*) _result
,"_wxPalette_p");
1158 _resultobj
= Py_BuildValue("s",_ptemp
);
1162 #define wxBitmap_GetMask(_swigobj) (_swigobj->GetMask())
1163 static PyObject
*_wrap_wxBitmap_GetMask(PyObject
*self
, PyObject
*args
) {
1164 PyObject
* _resultobj
;
1171 if(!PyArg_ParseTuple(args
,"s:wxBitmap_GetMask",&_argc0
))
1174 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxBitmap_p")) {
1175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetMask. Expected _wxBitmap_p.");
1180 wxPy_BEGIN_ALLOW_THREADS
;
1181 _result
= (wxMask
*)wxBitmap_GetMask(_arg0
);
1183 wxPy_END_ALLOW_THREADS
;
1184 } SWIG_MakePtr(_ptemp
, (char
*) _result
,"_wxMask_p");
1185 _resultobj
= Py_BuildValue("s",_ptemp
);
1189 #define wxBitmap_GetWidth(_swigobj) (_swigobj->GetWidth())
1190 static PyObject
*_wrap_wxBitmap_GetWidth(PyObject
*self
, PyObject
*args
) {
1191 PyObject
* _resultobj
;
1197 if(!PyArg_ParseTuple(args
,"s:wxBitmap_GetWidth",&_argc0
))
1200 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxBitmap_p")) {
1201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetWidth. Expected _wxBitmap_p.");
1206 wxPy_BEGIN_ALLOW_THREADS
;
1207 _result
= (int )wxBitmap_GetWidth(_arg0
);
1209 wxPy_END_ALLOW_THREADS
;
1210 } _resultobj
= Py_BuildValue("i",_result
);
1214 #define wxBitmap_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
1215 static PyObject
*_wrap_wxBitmap_LoadFile(PyObject
*self
, PyObject
*args
) {
1216 PyObject
* _resultobj
;
1222 PyObject
* _obj1
= 0;
1225 if(!PyArg_ParseTuple(args
,"sOl:wxBitmap_LoadFile",&_argc0
,&_obj1
,&_arg2
))
1228 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxBitmap_p")) {
1229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_LoadFile. Expected _wxBitmap_p.");
1234 if (!PyString_Check(_obj1
)) {
1235 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1238 _arg1
= new
wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1241 wxPy_BEGIN_ALLOW_THREADS
;
1242 _result
= (bool )wxBitmap_LoadFile(_arg0
,*_arg1
,_arg2
);
1244 wxPy_END_ALLOW_THREADS
;
1245 } _resultobj
= Py_BuildValue("i",_result
);
1253 #define wxBitmap_Ok(_swigobj) (_swigobj->Ok())
1254 static PyObject
*_wrap_wxBitmap_Ok(PyObject
*self
, PyObject
*args
) {
1255 PyObject
* _resultobj
;
1261 if(!PyArg_ParseTuple(args
,"s:wxBitmap_Ok",&_argc0
))
1264 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxBitmap_p")) {
1265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_Ok. Expected _wxBitmap_p.");
1270 wxPy_BEGIN_ALLOW_THREADS
;
1271 _result
= (bool )wxBitmap_Ok(_arg0
);
1273 wxPy_END_ALLOW_THREADS
;
1274 } _resultobj
= Py_BuildValue("i",_result
);
1278 #define wxBitmap_SaveFile(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SaveFile(_swigarg0,_swigarg1,_swigarg2))
1279 static PyObject
*_wrap_wxBitmap_SaveFile(PyObject
*self
, PyObject
*args
) {
1280 PyObject
* _resultobj
;
1285 wxPalette
* _arg3
= NULL
;
1287 PyObject
* _obj1
= 0;
1291 if(!PyArg_ParseTuple(args
,"sOi|s:wxBitmap_SaveFile",&_argc0
,&_obj1
,&_arg2
,&_argc3
))
1294 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxBitmap_p")) {
1295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SaveFile. Expected _wxBitmap_p.");
1300 if (!PyString_Check(_obj1
)) {
1301 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1304 _arg1
= new
wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1307 if (SWIG_GetPtr(_argc3
,(void
**) &_arg3
,"_wxPalette_p")) {
1308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxBitmap_SaveFile. Expected _wxPalette_p.");
1313 wxPy_BEGIN_ALLOW_THREADS
;
1314 _result
= (bool )wxBitmap_SaveFile(_arg0
,*_arg1
,_arg2
,_arg3
);
1316 wxPy_END_ALLOW_THREADS
;
1317 } _resultobj
= Py_BuildValue("i",_result
);
1325 #define wxBitmap_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
1326 static PyObject
*_wrap_wxBitmap_SetDepth(PyObject
*self
, PyObject
*args
) {
1327 PyObject
* _resultobj
;
1333 if(!PyArg_ParseTuple(args
,"si:wxBitmap_SetDepth",&_argc0
,&_arg1
))
1336 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxBitmap_p")) {
1337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetDepth. Expected _wxBitmap_p.");
1342 wxPy_BEGIN_ALLOW_THREADS
;
1343 wxBitmap_SetDepth(_arg0
,_arg1
);
1345 wxPy_END_ALLOW_THREADS
;
1346 } Py_INCREF(Py_None
);
1347 _resultobj
= Py_None
;
1351 #define wxBitmap_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1352 static PyObject
*_wrap_wxBitmap_SetHeight(PyObject
*self
, PyObject
*args
) {
1353 PyObject
* _resultobj
;
1359 if(!PyArg_ParseTuple(args
,"si:wxBitmap_SetHeight",&_argc0
,&_arg1
))
1362 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxBitmap_p")) {
1363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetHeight. Expected _wxBitmap_p.");
1368 wxPy_BEGIN_ALLOW_THREADS
;
1369 wxBitmap_SetHeight(_arg0
,_arg1
);
1371 wxPy_END_ALLOW_THREADS
;
1372 } Py_INCREF(Py_None
);
1373 _resultobj
= Py_None
;
1377 #define wxBitmap_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
1378 static PyObject
*_wrap_wxBitmap_SetMask(PyObject
*self
, PyObject
*args
) {
1379 PyObject
* _resultobj
;
1386 if(!PyArg_ParseTuple(args
,"ss:wxBitmap_SetMask",&_argc0
,&_argc1
))
1389 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxBitmap_p")) {
1390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetMask. Expected _wxBitmap_p.");
1395 if (SWIG_GetPtr(_argc1
,(void
**) &_arg1
,"_wxMask_p")) {
1396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmap_SetMask. Expected _wxMask_p.");
1401 wxPy_BEGIN_ALLOW_THREADS
;
1402 wxBitmap_SetMask(_arg0
,_arg1
);
1404 wxPy_END_ALLOW_THREADS
;
1405 } Py_INCREF(Py_None
);
1406 _resultobj
= Py_None
;
1410 #define wxBitmap_SetPalette(_swigobj,_swigarg0) (_swigobj->SetPalette(_swigarg0))
1411 static PyObject
*_wrap_wxBitmap_SetPalette(PyObject
*self
, PyObject
*args
) {
1412 PyObject
* _resultobj
;
1419 if(!PyArg_ParseTuple(args
,"ss:wxBitmap_SetPalette",&_argc0
,&_argc1
))
1422 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxBitmap_p")) {
1423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetPalette. Expected _wxBitmap_p.");
1428 if (SWIG_GetPtr(_argc1
,(void
**) &_arg1
,"_wxPalette_p")) {
1429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmap_SetPalette. Expected _wxPalette_p.");
1434 wxPy_BEGIN_ALLOW_THREADS
;
1435 wxBitmap_SetPalette(_arg0
,*_arg1
);
1437 wxPy_END_ALLOW_THREADS
;
1438 } Py_INCREF(Py_None
);
1439 _resultobj
= Py_None
;
1443 #define wxBitmap_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1444 static PyObject
*_wrap_wxBitmap_SetWidth(PyObject
*self
, PyObject
*args
) {
1445 PyObject
* _resultobj
;
1451 if(!PyArg_ParseTuple(args
,"si:wxBitmap_SetWidth",&_argc0
,&_arg1
))
1454 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxBitmap_p")) {
1455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetWidth. Expected _wxBitmap_p.");
1460 wxPy_BEGIN_ALLOW_THREADS
;
1461 wxBitmap_SetWidth(_arg0
,_arg1
);
1463 wxPy_END_ALLOW_THREADS
;
1464 } Py_INCREF(Py_None
);
1465 _resultobj
= Py_None
;
1469 #define new_wxMask(_swigarg0) (new wxMask(_swigarg0))
1470 static PyObject
*_wrap_new_wxMask(PyObject
*self
, PyObject
*args
) {
1471 PyObject
* _resultobj
;
1478 if(!PyArg_ParseTuple(args
,"s:new_wxMask",&_argc0
))
1481 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxBitmap_p")) {
1482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMask. Expected _wxBitmap_p.");
1487 wxPy_BEGIN_ALLOW_THREADS
;
1488 _result
= (wxMask
*)new_wxMask(*_arg0
);
1490 wxPy_END_ALLOW_THREADS
;
1491 } SWIG_MakePtr(_ptemp
, (char
*) _result
,"_wxMask_p");
1492 _resultobj
= Py_BuildValue("s",_ptemp
);
1496 #define delete_wxMask(_swigobj) (delete _swigobj)
1497 static PyObject
*_wrap_delete_wxMask(PyObject
*self
, PyObject
*args
) {
1498 PyObject
* _resultobj
;
1503 if(!PyArg_ParseTuple(args
,"s:delete_wxMask",&_argc0
))
1506 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxMask_p")) {
1507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMask. Expected _wxMask_p.");
1512 wxPy_BEGIN_ALLOW_THREADS
;
1513 delete_wxMask(_arg0
);
1515 wxPy_END_ALLOW_THREADS
;
1516 } Py_INCREF(Py_None
);
1517 _resultobj
= Py_None
;
1521 static void
*SwigwxIconTowxBitmap(void
*ptr
) {
1524 src
= (wxIcon
*) ptr
;
1525 dest
= (wxBitmap
*) src
;
1526 return (void
*) dest
;
1529 #define new_wxIcon(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxIcon(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1530 static PyObject
*_wrap_new_wxIcon(PyObject
*self
, PyObject
*args
) {
1531 PyObject
* _resultobj
;
1537 PyObject
* _obj0
= 0;
1541 if(!PyArg_ParseTuple(args
,"Ol|ii:new_wxIcon",&_obj0
,&_arg1
,&_arg2
,&_arg3
))
1544 if (!PyString_Check(_obj0
)) {
1545 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1548 _arg0
= new
wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
1551 wxPy_BEGIN_ALLOW_THREADS
;
1552 _result
= (wxIcon
*)new_wxIcon(*_arg0
,_arg1
,_arg2
,_arg3
);
1554 wxPy_END_ALLOW_THREADS
;
1555 } SWIG_MakePtr(_ptemp
, (char
*) _result
,"_wxIcon_p");
1556 _resultobj
= Py_BuildValue("s",_ptemp
);
1564 #define delete_wxIcon(_swigobj) (delete _swigobj)
1565 static PyObject
*_wrap_delete_wxIcon(PyObject
*self
, PyObject
*args
) {
1566 PyObject
* _resultobj
;
1571 if(!PyArg_ParseTuple(args
,"s:delete_wxIcon",&_argc0
))
1574 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxIcon_p")) {
1575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxIcon. Expected _wxIcon_p.");
1580 wxPy_BEGIN_ALLOW_THREADS
;
1581 delete_wxIcon(_arg0
);
1583 wxPy_END_ALLOW_THREADS
;
1584 } Py_INCREF(Py_None
);
1585 _resultobj
= Py_None
;
1589 #define wxIcon_GetDepth(_swigobj) (_swigobj->GetDepth())
1590 static PyObject
*_wrap_wxIcon_GetDepth(PyObject
*self
, PyObject
*args
) {
1591 PyObject
* _resultobj
;
1597 if(!PyArg_ParseTuple(args
,"s:wxIcon_GetDepth",&_argc0
))
1600 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxIcon_p")) {
1601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetDepth. Expected _wxIcon_p.");
1606 wxPy_BEGIN_ALLOW_THREADS
;
1607 _result
= (int )wxIcon_GetDepth(_arg0
);
1609 wxPy_END_ALLOW_THREADS
;
1610 } _resultobj
= Py_BuildValue("i",_result
);
1614 #define wxIcon_GetHeight(_swigobj) (_swigobj->GetHeight())
1615 static PyObject
*_wrap_wxIcon_GetHeight(PyObject
*self
, PyObject
*args
) {
1616 PyObject
* _resultobj
;
1622 if(!PyArg_ParseTuple(args
,"s:wxIcon_GetHeight",&_argc0
))
1625 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxIcon_p")) {
1626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetHeight. Expected _wxIcon_p.");
1631 wxPy_BEGIN_ALLOW_THREADS
;
1632 _result
= (int )wxIcon_GetHeight(_arg0
);
1634 wxPy_END_ALLOW_THREADS
;
1635 } _resultobj
= Py_BuildValue("i",_result
);
1639 #define wxIcon_GetWidth(_swigobj) (_swigobj->GetWidth())
1640 static PyObject
*_wrap_wxIcon_GetWidth(PyObject
*self
, PyObject
*args
) {
1641 PyObject
* _resultobj
;
1647 if(!PyArg_ParseTuple(args
,"s:wxIcon_GetWidth",&_argc0
))
1650 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxIcon_p")) {
1651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetWidth. Expected _wxIcon_p.");
1656 wxPy_BEGIN_ALLOW_THREADS
;
1657 _result
= (int )wxIcon_GetWidth(_arg0
);
1659 wxPy_END_ALLOW_THREADS
;
1660 } _resultobj
= Py_BuildValue("i",_result
);
1664 #define wxIcon_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
1665 static PyObject
*_wrap_wxIcon_LoadFile(PyObject
*self
, PyObject
*args
) {
1666 PyObject
* _resultobj
;
1672 PyObject
* _obj1
= 0;
1675 if(!PyArg_ParseTuple(args
,"sOl:wxIcon_LoadFile",&_argc0
,&_obj1
,&_arg2
))
1678 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxIcon_p")) {
1679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_LoadFile. Expected _wxIcon_p.");
1684 if (!PyString_Check(_obj1
)) {
1685 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1688 _arg1
= new
wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1691 wxPy_BEGIN_ALLOW_THREADS
;
1692 _result
= (bool )wxIcon_LoadFile(_arg0
,*_arg1
,_arg2
);
1694 wxPy_END_ALLOW_THREADS
;
1695 } _resultobj
= Py_BuildValue("i",_result
);
1703 #define wxIcon_Ok(_swigobj) (_swigobj->Ok())
1704 static PyObject
*_wrap_wxIcon_Ok(PyObject
*self
, PyObject
*args
) {
1705 PyObject
* _resultobj
;
1711 if(!PyArg_ParseTuple(args
,"s:wxIcon_Ok",&_argc0
))
1714 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxIcon_p")) {
1715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_Ok. Expected _wxIcon_p.");
1720 wxPy_BEGIN_ALLOW_THREADS
;
1721 _result
= (bool )wxIcon_Ok(_arg0
);
1723 wxPy_END_ALLOW_THREADS
;
1724 } _resultobj
= Py_BuildValue("i",_result
);
1728 #define wxIcon_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
1729 static PyObject
*_wrap_wxIcon_SetDepth(PyObject
*self
, PyObject
*args
) {
1730 PyObject
* _resultobj
;
1736 if(!PyArg_ParseTuple(args
,"si:wxIcon_SetDepth",&_argc0
,&_arg1
))
1739 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxIcon_p")) {
1740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetDepth. Expected _wxIcon_p.");
1745 wxPy_BEGIN_ALLOW_THREADS
;
1746 wxIcon_SetDepth(_arg0
,_arg1
);
1748 wxPy_END_ALLOW_THREADS
;
1749 } Py_INCREF(Py_None
);
1750 _resultobj
= Py_None
;
1754 #define wxIcon_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1755 static PyObject
*_wrap_wxIcon_SetHeight(PyObject
*self
, PyObject
*args
) {
1756 PyObject
* _resultobj
;
1762 if(!PyArg_ParseTuple(args
,"si:wxIcon_SetHeight",&_argc0
,&_arg1
))
1765 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxIcon_p")) {
1766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetHeight. Expected _wxIcon_p.");
1771 wxPy_BEGIN_ALLOW_THREADS
;
1772 wxIcon_SetHeight(_arg0
,_arg1
);
1774 wxPy_END_ALLOW_THREADS
;
1775 } Py_INCREF(Py_None
);
1776 _resultobj
= Py_None
;
1780 #define wxIcon_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1781 static PyObject
*_wrap_wxIcon_SetWidth(PyObject
*self
, PyObject
*args
) {
1782 PyObject
* _resultobj
;
1788 if(!PyArg_ParseTuple(args
,"si:wxIcon_SetWidth",&_argc0
,&_arg1
))
1791 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxIcon_p")) {
1792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetWidth. Expected _wxIcon_p.");
1797 wxPy_BEGIN_ALLOW_THREADS
;
1798 wxIcon_SetWidth(_arg0
,_arg1
);
1800 wxPy_END_ALLOW_THREADS
;
1801 } Py_INCREF(Py_None
);
1802 _resultobj
= Py_None
;
1806 static void
*SwigwxCursorTowxBitmap(void
*ptr
) {
1809 src
= (wxCursor
*) ptr
;
1810 dest
= (wxBitmap
*) src
;
1811 return (void
*) dest
;
1814 #define new_wxCursor(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxCursor(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1815 static PyObject
*_wrap_new_wxCursor(PyObject
*self
, PyObject
*args
) {
1816 PyObject
* _resultobj
;
1822 PyObject
* _obj0
= 0;
1826 if(!PyArg_ParseTuple(args
,"Ol|ii:new_wxCursor",&_obj0
,&_arg1
,&_arg2
,&_arg3
))
1829 if (!PyString_Check(_obj0
)) {
1830 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1833 _arg0
= new
wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
1836 wxPy_BEGIN_ALLOW_THREADS
;
1837 _result
= (wxCursor
*)new_wxCursor(*_arg0
,_arg1
,_arg2
,_arg3
);
1839 wxPy_END_ALLOW_THREADS
;
1840 } SWIG_MakePtr(_ptemp
, (char
*) _result
,"_wxCursor_p");
1841 _resultobj
= Py_BuildValue("s",_ptemp
);
1849 #define delete_wxCursor(_swigobj) (delete _swigobj)
1850 static PyObject
*_wrap_delete_wxCursor(PyObject
*self
, PyObject
*args
) {
1851 PyObject
* _resultobj
;
1856 if(!PyArg_ParseTuple(args
,"s:delete_wxCursor",&_argc0
))
1859 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxCursor_p")) {
1860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCursor. Expected _wxCursor_p.");
1865 wxPy_BEGIN_ALLOW_THREADS
;
1866 delete_wxCursor(_arg0
);
1868 wxPy_END_ALLOW_THREADS
;
1869 } Py_INCREF(Py_None
);
1870 _resultobj
= Py_None
;
1874 #define wxCursor_Ok(_swigobj) (_swigobj->Ok())
1875 static PyObject
*_wrap_wxCursor_Ok(PyObject
*self
, PyObject
*args
) {
1876 PyObject
* _resultobj
;
1882 if(!PyArg_ParseTuple(args
,"s:wxCursor_Ok",&_argc0
))
1885 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxCursor_p")) {
1886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_Ok. Expected _wxCursor_p.");
1891 wxPy_BEGIN_ALLOW_THREADS
;
1892 _result
= (bool )wxCursor_Ok(_arg0
);
1894 wxPy_END_ALLOW_THREADS
;
1895 } _resultobj
= Py_BuildValue("i",_result
);
1899 static wxFont
*new_wxFont(int pointSize
,int family
,int style
,int weight
,int underline
,char
*faceName
) {
1901 return wxTheFontList
->FindOrCreateFont(pointSize
, family
, style
, weight
,
1902 underline
, faceName
);
1905 static PyObject
*_wrap_new_wxFont(PyObject
*self
, PyObject
*args
) {
1906 PyObject
* _resultobj
;
1917 if(!PyArg_ParseTuple(args
,"iiii|is:new_wxFont",&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
1920 wxPy_BEGIN_ALLOW_THREADS
;
1921 _result
= (wxFont
*)new_wxFont(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1923 wxPy_END_ALLOW_THREADS
;
1924 } SWIG_MakePtr(_ptemp
, (char
*) _result
,"_wxFont_p");
1925 _resultobj
= Py_BuildValue("s",_ptemp
);
1929 #define wxFont_GetFaceName(_swigobj) (_swigobj->GetFaceName())
1930 static PyObject
*_wrap_wxFont_GetFaceName(PyObject
*self
, PyObject
*args
) {
1931 PyObject
* _resultobj
;
1937 if(!PyArg_ParseTuple(args
,"s:wxFont_GetFaceName",&_argc0
))
1940 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxFont_p")) {
1941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFaceName. Expected _wxFont_p.");
1946 wxPy_BEGIN_ALLOW_THREADS
;
1947 _result
= new
wxString (wxFont_GetFaceName(_arg0
));
1949 wxPy_END_ALLOW_THREADS
;
1951 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1959 #define wxFont_GetFamily(_swigobj) (_swigobj->GetFamily())
1960 static PyObject
*_wrap_wxFont_GetFamily(PyObject
*self
, PyObject
*args
) {
1961 PyObject
* _resultobj
;
1967 if(!PyArg_ParseTuple(args
,"s:wxFont_GetFamily",&_argc0
))
1970 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxFont_p")) {
1971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFamily. Expected _wxFont_p.");
1976 wxPy_BEGIN_ALLOW_THREADS
;
1977 _result
= (int )wxFont_GetFamily(_arg0
);
1979 wxPy_END_ALLOW_THREADS
;
1980 } _resultobj
= Py_BuildValue("i",_result
);
1984 #define wxFont_GetFontId(_swigobj) (_swigobj->GetFontId())
1985 static PyObject
*_wrap_wxFont_GetFontId(PyObject
*self
, PyObject
*args
) {
1986 PyObject
* _resultobj
;
1992 if(!PyArg_ParseTuple(args
,"s:wxFont_GetFontId",&_argc0
))
1995 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxFont_p")) {
1996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFontId. Expected _wxFont_p.");
2001 wxPy_BEGIN_ALLOW_THREADS
;
2002 _result
= (int )wxFont_GetFontId(_arg0
);
2004 wxPy_END_ALLOW_THREADS
;
2005 } _resultobj
= Py_BuildValue("i",_result
);
2009 #define wxFont_GetPointSize(_swigobj) (_swigobj->GetPointSize())
2010 static PyObject
*_wrap_wxFont_GetPointSize(PyObject
*self
, PyObject
*args
) {
2011 PyObject
* _resultobj
;
2017 if(!PyArg_ParseTuple(args
,"s:wxFont_GetPointSize",&_argc0
))
2020 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxFont_p")) {
2021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetPointSize. Expected _wxFont_p.");
2026 wxPy_BEGIN_ALLOW_THREADS
;
2027 _result
= (int )wxFont_GetPointSize(_arg0
);
2029 wxPy_END_ALLOW_THREADS
;
2030 } _resultobj
= Py_BuildValue("i",_result
);
2034 #define wxFont_GetStyle(_swigobj) (_swigobj->GetStyle())
2035 static PyObject
*_wrap_wxFont_GetStyle(PyObject
*self
, PyObject
*args
) {
2036 PyObject
* _resultobj
;
2042 if(!PyArg_ParseTuple(args
,"s:wxFont_GetStyle",&_argc0
))
2045 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxFont_p")) {
2046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetStyle. Expected _wxFont_p.");
2051 wxPy_BEGIN_ALLOW_THREADS
;
2052 _result
= (int )wxFont_GetStyle(_arg0
);
2054 wxPy_END_ALLOW_THREADS
;
2055 } _resultobj
= Py_BuildValue("i",_result
);
2059 #define wxFont_GetUnderlined(_swigobj) (_swigobj->GetUnderlined())
2060 static PyObject
*_wrap_wxFont_GetUnderlined(PyObject
*self
, PyObject
*args
) {
2061 PyObject
* _resultobj
;
2067 if(!PyArg_ParseTuple(args
,"s:wxFont_GetUnderlined",&_argc0
))
2070 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxFont_p")) {
2071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetUnderlined. Expected _wxFont_p.");
2076 wxPy_BEGIN_ALLOW_THREADS
;
2077 _result
= (bool )wxFont_GetUnderlined(_arg0
);
2079 wxPy_END_ALLOW_THREADS
;
2080 } _resultobj
= Py_BuildValue("i",_result
);
2084 #define wxFont_GetWeight(_swigobj) (_swigobj->GetWeight())
2085 static PyObject
*_wrap_wxFont_GetWeight(PyObject
*self
, PyObject
*args
) {
2086 PyObject
* _resultobj
;
2092 if(!PyArg_ParseTuple(args
,"s:wxFont_GetWeight",&_argc0
))
2095 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxFont_p")) {
2096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetWeight. Expected _wxFont_p.");
2101 wxPy_BEGIN_ALLOW_THREADS
;
2102 _result
= (int )wxFont_GetWeight(_arg0
);
2104 wxPy_END_ALLOW_THREADS
;
2105 } _resultobj
= Py_BuildValue("i",_result
);
2109 #define wxFont_SetFaceName(_swigobj,_swigarg0) (_swigobj->SetFaceName(_swigarg0))
2110 static PyObject
*_wrap_wxFont_SetFaceName(PyObject
*self
, PyObject
*args
) {
2111 PyObject
* _resultobj
;
2115 PyObject
* _obj1
= 0;
2118 if(!PyArg_ParseTuple(args
,"sO:wxFont_SetFaceName",&_argc0
,&_obj1
))
2121 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxFont_p")) {
2122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetFaceName. Expected _wxFont_p.");
2127 if (!PyString_Check(_obj1
)) {
2128 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2131 _arg1
= new
wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2134 wxPy_BEGIN_ALLOW_THREADS
;
2135 wxFont_SetFaceName(_arg0
,*_arg1
);
2137 wxPy_END_ALLOW_THREADS
;
2138 } Py_INCREF(Py_None
);
2139 _resultobj
= Py_None
;
2147 #define wxFont_SetFamily(_swigobj,_swigarg0) (_swigobj->SetFamily(_swigarg0))
2148 static PyObject
*_wrap_wxFont_SetFamily(PyObject
*self
, PyObject
*args
) {
2149 PyObject
* _resultobj
;
2155 if(!PyArg_ParseTuple(args
,"si:wxFont_SetFamily",&_argc0
,&_arg1
))
2158 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxFont_p")) {
2159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetFamily. Expected _wxFont_p.");
2164 wxPy_BEGIN_ALLOW_THREADS
;
2165 wxFont_SetFamily(_arg0
,_arg1
);
2167 wxPy_END_ALLOW_THREADS
;
2168 } Py_INCREF(Py_None
);
2169 _resultobj
= Py_None
;
2173 #define wxFont_SetPointSize(_swigobj,_swigarg0) (_swigobj->SetPointSize(_swigarg0))
2174 static PyObject
*_wrap_wxFont_SetPointSize(PyObject
*self
, PyObject
*args
) {
2175 PyObject
* _resultobj
;
2181 if(!PyArg_ParseTuple(args
,"si:wxFont_SetPointSize",&_argc0
,&_arg1
))
2184 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxFont_p")) {
2185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetPointSize. Expected _wxFont_p.");
2190 wxPy_BEGIN_ALLOW_THREADS
;
2191 wxFont_SetPointSize(_arg0
,_arg1
);
2193 wxPy_END_ALLOW_THREADS
;
2194 } Py_INCREF(Py_None
);
2195 _resultobj
= Py_None
;
2199 #define wxFont_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
2200 static PyObject
*_wrap_wxFont_SetStyle(PyObject
*self
, PyObject
*args
) {
2201 PyObject
* _resultobj
;
2207 if(!PyArg_ParseTuple(args
,"si:wxFont_SetStyle",&_argc0
,&_arg1
))
2210 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxFont_p")) {
2211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetStyle. Expected _wxFont_p.");
2216 wxPy_BEGIN_ALLOW_THREADS
;
2217 wxFont_SetStyle(_arg0
,_arg1
);
2219 wxPy_END_ALLOW_THREADS
;
2220 } Py_INCREF(Py_None
);
2221 _resultobj
= Py_None
;
2225 #define wxFont_SetUnderlined(_swigobj,_swigarg0) (_swigobj->SetUnderlined(_swigarg0))
2226 static PyObject
*_wrap_wxFont_SetUnderlined(PyObject
*self
, PyObject
*args
) {
2227 PyObject
* _resultobj
;
2234 if(!PyArg_ParseTuple(args
,"si:wxFont_SetUnderlined",&_argc0
,&tempbool1
))
2237 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxFont_p")) {
2238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetUnderlined. Expected _wxFont_p.");
2242 _arg1
= (bool ) tempbool1
;
2244 wxPy_BEGIN_ALLOW_THREADS
;
2245 wxFont_SetUnderlined(_arg0
,_arg1
);
2247 wxPy_END_ALLOW_THREADS
;
2248 } Py_INCREF(Py_None
);
2249 _resultobj
= Py_None
;
2253 #define wxFont_SetWeight(_swigobj,_swigarg0) (_swigobj->SetWeight(_swigarg0))
2254 static PyObject
*_wrap_wxFont_SetWeight(PyObject
*self
, PyObject
*args
) {
2255 PyObject
* _resultobj
;
2261 if(!PyArg_ParseTuple(args
,"si:wxFont_SetWeight",&_argc0
,&_arg1
))
2264 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxFont_p")) {
2265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetWeight. Expected _wxFont_p.");
2270 wxPy_BEGIN_ALLOW_THREADS
;
2271 wxFont_SetWeight(_arg0
,_arg1
);
2273 wxPy_END_ALLOW_THREADS
;
2274 } Py_INCREF(Py_None
);
2275 _resultobj
= Py_None
;
2279 #define new_wxColour(_swigarg0,_swigarg1,_swigarg2) (new wxColour(_swigarg0,_swigarg1,_swigarg2))
2280 static PyObject
*_wrap_new_wxColour(PyObject
*self
, PyObject
*args
) {
2281 PyObject
* _resultobj
;
2283 unsigned char _arg0
= 0;
2284 unsigned char _arg1
= 0;
2285 unsigned char _arg2
= 0;
2289 if(!PyArg_ParseTuple(args
,"|bbb:new_wxColour",&_arg0
,&_arg1
,&_arg2
))
2292 wxPy_BEGIN_ALLOW_THREADS
;
2293 _result
= (wxColour
*)new_wxColour(_arg0
,_arg1
,_arg2
);
2295 wxPy_END_ALLOW_THREADS
;
2296 } SWIG_MakePtr(_ptemp
, (char
*) _result
,"_wxColour_p");
2297 _resultobj
= Py_BuildValue("s",_ptemp
);
2301 #define delete_wxColour(_swigobj) (delete _swigobj)
2302 static PyObject
*_wrap_delete_wxColour(PyObject
*self
, PyObject
*args
) {
2303 PyObject
* _resultobj
;
2308 if(!PyArg_ParseTuple(args
,"s:delete_wxColour",&_argc0
))
2311 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxColour_p")) {
2312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxColour. Expected _wxColour_p.");
2317 wxPy_BEGIN_ALLOW_THREADS
;
2318 delete_wxColour(_arg0
);
2320 wxPy_END_ALLOW_THREADS
;
2321 } Py_INCREF(Py_None
);
2322 _resultobj
= Py_None
;
2326 #define wxColour_Red(_swigobj) (_swigobj->Red())
2327 static PyObject
*_wrap_wxColour_Red(PyObject
*self
, PyObject
*args
) {
2328 PyObject
* _resultobj
;
2329 unsigned char _result
;
2334 if(!PyArg_ParseTuple(args
,"s:wxColour_Red",&_argc0
))
2337 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxColour_p")) {
2338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Red. Expected _wxColour_p.");
2343 wxPy_BEGIN_ALLOW_THREADS
;
2344 _result
= (unsigned char
)wxColour_Red(_arg0
);
2346 wxPy_END_ALLOW_THREADS
;
2347 } _resultobj
= Py_BuildValue("b",_result
);
2351 #define wxColour_Green(_swigobj) (_swigobj->Green())
2352 static PyObject
*_wrap_wxColour_Green(PyObject
*self
, PyObject
*args
) {
2353 PyObject
* _resultobj
;
2354 unsigned char _result
;
2359 if(!PyArg_ParseTuple(args
,"s:wxColour_Green",&_argc0
))
2362 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxColour_p")) {
2363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Green. Expected _wxColour_p.");
2368 wxPy_BEGIN_ALLOW_THREADS
;
2369 _result
= (unsigned char
)wxColour_Green(_arg0
);
2371 wxPy_END_ALLOW_THREADS
;
2372 } _resultobj
= Py_BuildValue("b",_result
);
2376 #define wxColour_Blue(_swigobj) (_swigobj->Blue())
2377 static PyObject
*_wrap_wxColour_Blue(PyObject
*self
, PyObject
*args
) {
2378 PyObject
* _resultobj
;
2379 unsigned char _result
;
2384 if(!PyArg_ParseTuple(args
,"s:wxColour_Blue",&_argc0
))
2387 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxColour_p")) {
2388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Blue. Expected _wxColour_p.");
2393 wxPy_BEGIN_ALLOW_THREADS
;
2394 _result
= (unsigned char
)wxColour_Blue(_arg0
);
2396 wxPy_END_ALLOW_THREADS
;
2397 } _resultobj
= Py_BuildValue("b",_result
);
2401 #define wxColour_Ok(_swigobj) (_swigobj->Ok())
2402 static PyObject
*_wrap_wxColour_Ok(PyObject
*self
, PyObject
*args
) {
2403 PyObject
* _resultobj
;
2409 if(!PyArg_ParseTuple(args
,"s:wxColour_Ok",&_argc0
))
2412 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxColour_p")) {
2413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Ok. Expected _wxColour_p.");
2418 wxPy_BEGIN_ALLOW_THREADS
;
2419 _result
= (bool )wxColour_Ok(_arg0
);
2421 wxPy_END_ALLOW_THREADS
;
2422 } _resultobj
= Py_BuildValue("i",_result
);
2426 #define wxColour_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
2427 static PyObject
*_wrap_wxColour_Set(PyObject
*self
, PyObject
*args
) {
2428 PyObject
* _resultobj
;
2430 unsigned char _arg1
;
2431 unsigned char _arg2
;
2432 unsigned char _arg3
;
2436 if(!PyArg_ParseTuple(args
,"sbbb:wxColour_Set",&_argc0
,&_arg1
,&_arg2
,&_arg3
))
2439 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxColour_p")) {
2440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Set. Expected _wxColour_p.");
2445 wxPy_BEGIN_ALLOW_THREADS
;
2446 wxColour_Set(_arg0
,_arg1
,_arg2
,_arg3
);
2448 wxPy_END_ALLOW_THREADS
;
2449 } Py_INCREF(Py_None
);
2450 _resultobj
= Py_None
;
2454 static PyObject
* wxColour_Get(wxColour
*self
) {
2455 PyObject
* rv
= PyTuple_New(3);
2456 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
2457 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
2458 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
2461 static PyObject
*_wrap_wxColour_Get(PyObject
*self
, PyObject
*args
) {
2462 PyObject
* _resultobj
;
2468 if(!PyArg_ParseTuple(args
,"s:wxColour_Get",&_argc0
))
2471 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxColour_p")) {
2472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Get. Expected _wxColour_p.");
2477 wxPy_BEGIN_ALLOW_THREADS
;
2478 _result
= (PyObject
*)wxColour_Get(_arg0
);
2480 wxPy_END_ALLOW_THREADS
;
2482 _resultobj
= _result
;
2487 static wxPen
*new_wxPen(wxColour
*colour
,int width
,int style
) {
2488 return wxThePenList
->FindOrCreatePen(*colour
, width
, style
);
2491 static PyObject
*_wrap_new_wxPen(PyObject
*self
, PyObject
*args
) {
2492 PyObject
* _resultobj
;
2496 int _arg2
= (wxSOLID
);
2501 if(!PyArg_ParseTuple(args
,"s|ii:new_wxPen",&_argc0
,&_arg1
,&_arg2
))
2504 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxColour_p")) {
2505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPen. Expected _wxColour_p.");
2510 wxPy_BEGIN_ALLOW_THREADS
;
2511 _result
= (wxPen
*)new_wxPen(_arg0
,_arg1
,_arg2
);
2513 wxPy_END_ALLOW_THREADS
;
2514 } SWIG_MakePtr(_ptemp
, (char
*) _result
,"_wxPen_p");
2515 _resultobj
= Py_BuildValue("s",_ptemp
);
2519 #define wxPen_GetCap(_swigobj) (_swigobj->GetCap())
2520 static PyObject
*_wrap_wxPen_GetCap(PyObject
*self
, PyObject
*args
) {
2521 PyObject
* _resultobj
;
2527 if(!PyArg_ParseTuple(args
,"s:wxPen_GetCap",&_argc0
))
2530 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxPen_p")) {
2531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetCap. Expected _wxPen_p.");
2536 wxPy_BEGIN_ALLOW_THREADS
;
2537 _result
= (int )wxPen_GetCap(_arg0
);
2539 wxPy_END_ALLOW_THREADS
;
2540 } _resultobj
= Py_BuildValue("i",_result
);
2544 #define wxPen_GetColour(_swigobj) (_swigobj->GetColour())
2545 static PyObject
*_wrap_wxPen_GetColour(PyObject
*self
, PyObject
*args
) {
2546 PyObject
* _resultobj
;
2553 if(!PyArg_ParseTuple(args
,"s:wxPen_GetColour",&_argc0
))
2556 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxPen_p")) {
2557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetColour. Expected _wxPen_p.");
2562 wxPy_BEGIN_ALLOW_THREADS
;
2563 wxColour
& _result_ref
= wxPen_GetColour(_arg0
);
2564 _result
= (wxColour
*) &_result_ref
;
2566 wxPy_END_ALLOW_THREADS
;
2567 } SWIG_MakePtr(_ptemp
, (char
*) _result
,"_wxColour_p");
2568 _resultobj
= Py_BuildValue("s",_ptemp
);
2572 #define wxPen_GetJoin(_swigobj) (_swigobj->GetJoin())
2573 static PyObject
*_wrap_wxPen_GetJoin(PyObject
*self
, PyObject
*args
) {
2574 PyObject
* _resultobj
;
2580 if(!PyArg_ParseTuple(args
,"s:wxPen_GetJoin",&_argc0
))
2583 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxPen_p")) {
2584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetJoin. Expected _wxPen_p.");
2589 wxPy_BEGIN_ALLOW_THREADS
;
2590 _result
= (int )wxPen_GetJoin(_arg0
);
2592 wxPy_END_ALLOW_THREADS
;
2593 } _resultobj
= Py_BuildValue("i",_result
);
2597 #define wxPen_GetStyle(_swigobj) (_swigobj->GetStyle())
2598 static PyObject
*_wrap_wxPen_GetStyle(PyObject
*self
, PyObject
*args
) {
2599 PyObject
* _resultobj
;
2605 if(!PyArg_ParseTuple(args
,"s:wxPen_GetStyle",&_argc0
))
2608 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxPen_p")) {
2609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetStyle. Expected _wxPen_p.");
2614 wxPy_BEGIN_ALLOW_THREADS
;
2615 _result
= (int )wxPen_GetStyle(_arg0
);
2617 wxPy_END_ALLOW_THREADS
;
2618 } _resultobj
= Py_BuildValue("i",_result
);
2622 #define wxPen_GetWidth(_swigobj) (_swigobj->GetWidth())
2623 static PyObject
*_wrap_wxPen_GetWidth(PyObject
*self
, PyObject
*args
) {
2624 PyObject
* _resultobj
;
2630 if(!PyArg_ParseTuple(args
,"s:wxPen_GetWidth",&_argc0
))
2633 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxPen_p")) {
2634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetWidth. Expected _wxPen_p.");
2639 wxPy_BEGIN_ALLOW_THREADS
;
2640 _result
= (int )wxPen_GetWidth(_arg0
);
2642 wxPy_END_ALLOW_THREADS
;
2643 } _resultobj
= Py_BuildValue("i",_result
);
2647 #define wxPen_Ok(_swigobj) (_swigobj->Ok())
2648 static PyObject
*_wrap_wxPen_Ok(PyObject
*self
, PyObject
*args
) {
2649 PyObject
* _resultobj
;
2655 if(!PyArg_ParseTuple(args
,"s:wxPen_Ok",&_argc0
))
2658 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxPen_p")) {
2659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_Ok. Expected _wxPen_p.");
2664 wxPy_BEGIN_ALLOW_THREADS
;
2665 _result
= (bool )wxPen_Ok(_arg0
);
2667 wxPy_END_ALLOW_THREADS
;
2668 } _resultobj
= Py_BuildValue("i",_result
);
2672 #define wxPen_SetCap(_swigobj,_swigarg0) (_swigobj->SetCap(_swigarg0))
2673 static PyObject
*_wrap_wxPen_SetCap(PyObject
*self
, PyObject
*args
) {
2674 PyObject
* _resultobj
;
2680 if(!PyArg_ParseTuple(args
,"si:wxPen_SetCap",&_argc0
,&_arg1
))
2683 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxPen_p")) {
2684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetCap. Expected _wxPen_p.");
2689 wxPy_BEGIN_ALLOW_THREADS
;
2690 wxPen_SetCap(_arg0
,_arg1
);
2692 wxPy_END_ALLOW_THREADS
;
2693 } Py_INCREF(Py_None
);
2694 _resultobj
= Py_None
;
2698 #define wxPen_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
2699 static PyObject
*_wrap_wxPen_SetColour(PyObject
*self
, PyObject
*args
) {
2700 PyObject
* _resultobj
;
2707 if(!PyArg_ParseTuple(args
,"ss:wxPen_SetColour",&_argc0
,&_argc1
))
2710 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxPen_p")) {
2711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetColour. Expected _wxPen_p.");
2716 if (SWIG_GetPtr(_argc1
,(void
**) &_arg1
,"_wxColour_p")) {
2717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPen_SetColour. Expected _wxColour_p.");
2722 wxPy_BEGIN_ALLOW_THREADS
;
2723 wxPen_SetColour(_arg0
,*_arg1
);
2725 wxPy_END_ALLOW_THREADS
;
2726 } Py_INCREF(Py_None
);
2727 _resultobj
= Py_None
;
2731 #define wxPen_SetJoin(_swigobj,_swigarg0) (_swigobj->SetJoin(_swigarg0))
2732 static PyObject
*_wrap_wxPen_SetJoin(PyObject
*self
, PyObject
*args
) {
2733 PyObject
* _resultobj
;
2739 if(!PyArg_ParseTuple(args
,"si:wxPen_SetJoin",&_argc0
,&_arg1
))
2742 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxPen_p")) {
2743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetJoin. Expected _wxPen_p.");
2748 wxPy_BEGIN_ALLOW_THREADS
;
2749 wxPen_SetJoin(_arg0
,_arg1
);
2751 wxPy_END_ALLOW_THREADS
;
2752 } Py_INCREF(Py_None
);
2753 _resultobj
= Py_None
;
2757 #define wxPen_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
2758 static PyObject
*_wrap_wxPen_SetStyle(PyObject
*self
, PyObject
*args
) {
2759 PyObject
* _resultobj
;
2765 if(!PyArg_ParseTuple(args
,"si:wxPen_SetStyle",&_argc0
,&_arg1
))
2768 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxPen_p")) {
2769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetStyle. Expected _wxPen_p.");
2774 wxPy_BEGIN_ALLOW_THREADS
;
2775 wxPen_SetStyle(_arg0
,_arg1
);
2777 wxPy_END_ALLOW_THREADS
;
2778 } Py_INCREF(Py_None
);
2779 _resultobj
= Py_None
;
2783 #define wxPen_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2784 static PyObject
*_wrap_wxPen_SetWidth(PyObject
*self
, PyObject
*args
) {
2785 PyObject
* _resultobj
;
2791 if(!PyArg_ParseTuple(args
,"si:wxPen_SetWidth",&_argc0
,&_arg1
))
2794 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxPen_p")) {
2795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetWidth. Expected _wxPen_p.");
2800 wxPy_BEGIN_ALLOW_THREADS
;
2801 wxPen_SetWidth(_arg0
,_arg1
);
2803 wxPy_END_ALLOW_THREADS
;
2804 } Py_INCREF(Py_None
);
2805 _resultobj
= Py_None
;
2809 #define wxPen_GetDashes(_swigobj,_swigarg0) (_swigobj->GetDashes(_swigarg0))
2810 static PyObject
*_wrap_wxPen_GetDashes(PyObject
*self
, PyObject
*args
) {
2811 PyObject
* _resultobj
;
2819 if(!PyArg_ParseTuple(args
,"ss:wxPen_GetDashes",&_argc0
,&_argc1
))
2822 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxPen_p")) {
2823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetDashes. Expected _wxPen_p.");
2828 if (SWIG_GetPtr(_argc1
,(void
**) &_arg1
,"_wxDash_pp")) {
2829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPen_GetDashes. Expected _wxDash_pp.");
2834 wxPy_BEGIN_ALLOW_THREADS
;
2835 _result
= (int )wxPen_GetDashes(_arg0
,_arg1
);
2837 wxPy_END_ALLOW_THREADS
;
2838 } _resultobj
= Py_BuildValue("i",_result
);
2842 #define wxPen_GetStipple(_swigobj) (_swigobj->GetStipple())
2843 static PyObject
*_wrap_wxPen_GetStipple(PyObject
*self
, PyObject
*args
) {
2844 PyObject
* _resultobj
;
2851 if(!PyArg_ParseTuple(args
,"s:wxPen_GetStipple",&_argc0
))
2854 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxPen_p")) {
2855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetStipple. Expected _wxPen_p.");
2860 wxPy_BEGIN_ALLOW_THREADS
;
2861 _result
= (wxBitmap
*)wxPen_GetStipple(_arg0
);
2863 wxPy_END_ALLOW_THREADS
;
2864 } SWIG_MakePtr(_ptemp
, (char
*) _result
,"_wxBitmap_p");
2865 _resultobj
= Py_BuildValue("s",_ptemp
);
2869 #define wxPen_SetDashes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDashes(_swigarg0,_swigarg1))
2870 static PyObject
*_wrap_wxPen_SetDashes(PyObject
*self
, PyObject
*args
) {
2871 PyObject
* _resultobj
;
2876 PyObject
* _obj2
= 0;
2879 if(!PyArg_ParseTuple(args
,"sO:wxPen_SetDashes",&_argc0
,&_obj2
))
2882 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxPen_p")) {
2883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetDashes. Expected _wxPen_p.");
2889 _arg2
= (unsigned
long*)long_LIST_helper(_obj2
);
2890 if (_arg2
== NULL
) {
2896 _arg1
= PyList_Size(_obj2
);
2903 wxPy_BEGIN_ALLOW_THREADS
;
2904 wxPen_SetDashes(_arg0
,_arg1
,_arg2
);
2906 wxPy_END_ALLOW_THREADS
;
2907 } Py_INCREF(Py_None
);
2908 _resultobj
= Py_None
;
2915 #define wxPen_SetStipple(_swigobj,_swigarg0) (_swigobj->SetStipple(_swigarg0))
2916 static PyObject
*_wrap_wxPen_SetStipple(PyObject
*self
, PyObject
*args
) {
2917 PyObject
* _resultobj
;
2924 if(!PyArg_ParseTuple(args
,"ss:wxPen_SetStipple",&_argc0
,&_argc1
))
2927 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxPen_p")) {
2928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetStipple. Expected _wxPen_p.");
2933 if (SWIG_GetPtr(_argc1
,(void
**) &_arg1
,"_wxBitmap_p")) {
2934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPen_SetStipple. Expected _wxBitmap_p.");
2939 wxPy_BEGIN_ALLOW_THREADS
;
2940 wxPen_SetStipple(_arg0
,*_arg1
);
2942 wxPy_END_ALLOW_THREADS
;
2943 } Py_INCREF(Py_None
);
2944 _resultobj
= Py_None
;
2948 static wxBrush
*new_wxBrush(wxColour
*colour
,int style
) {
2949 return wxTheBrushList
->FindOrCreateBrush(*colour
, style
);
2952 static PyObject
*_wrap_new_wxBrush(PyObject
*self
, PyObject
*args
) {
2953 PyObject
* _resultobj
;
2956 int _arg1
= (wxSOLID
);
2961 if(!PyArg_ParseTuple(args
,"s|i:new_wxBrush",&_argc0
,&_arg1
))
2964 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxColour_p")) {
2965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBrush. Expected _wxColour_p.");
2970 wxPy_BEGIN_ALLOW_THREADS
;
2971 _result
= (wxBrush
*)new_wxBrush(_arg0
,_arg1
);
2973 wxPy_END_ALLOW_THREADS
;
2974 } SWIG_MakePtr(_ptemp
, (char
*) _result
,"_wxBrush_p");
2975 _resultobj
= Py_BuildValue("s",_ptemp
);
2979 #define wxBrush_GetColour(_swigobj) (_swigobj->GetColour())
2980 static PyObject
*_wrap_wxBrush_GetColour(PyObject
*self
, PyObject
*args
) {
2981 PyObject
* _resultobj
;
2988 if(!PyArg_ParseTuple(args
,"s:wxBrush_GetColour",&_argc0
))
2991 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxBrush_p")) {
2992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetColour. Expected _wxBrush_p.");
2997 wxPy_BEGIN_ALLOW_THREADS
;
2998 wxColour
& _result_ref
= wxBrush_GetColour(_arg0
);
2999 _result
= (wxColour
*) &_result_ref
;
3001 wxPy_END_ALLOW_THREADS
;
3002 } SWIG_MakePtr(_ptemp
, (char
*) _result
,"_wxColour_p");
3003 _resultobj
= Py_BuildValue("s",_ptemp
);
3007 #define wxBrush_GetStipple(_swigobj) (_swigobj->GetStipple())
3008 static PyObject
*_wrap_wxBrush_GetStipple(PyObject
*self
, PyObject
*args
) {
3009 PyObject
* _resultobj
;
3016 if(!PyArg_ParseTuple(args
,"s:wxBrush_GetStipple",&_argc0
))
3019 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxBrush_p")) {
3020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStipple. Expected _wxBrush_p.");
3025 wxPy_BEGIN_ALLOW_THREADS
;
3026 _result
= (wxBitmap
*)wxBrush_GetStipple(_arg0
);
3028 wxPy_END_ALLOW_THREADS
;
3029 } SWIG_MakePtr(_ptemp
, (char
*) _result
,"_wxBitmap_p");
3030 _resultobj
= Py_BuildValue("s",_ptemp
);
3034 #define wxBrush_GetStyle(_swigobj) (_swigobj->GetStyle())
3035 static PyObject
*_wrap_wxBrush_GetStyle(PyObject
*self
, PyObject
*args
) {
3036 PyObject
* _resultobj
;
3042 if(!PyArg_ParseTuple(args
,"s:wxBrush_GetStyle",&_argc0
))
3045 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxBrush_p")) {
3046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStyle. Expected _wxBrush_p.");
3051 wxPy_BEGIN_ALLOW_THREADS
;
3052 _result
= (int )wxBrush_GetStyle(_arg0
);
3054 wxPy_END_ALLOW_THREADS
;
3055 } _resultobj
= Py_BuildValue("i",_result
);
3059 #define wxBrush_Ok(_swigobj) (_swigobj->Ok())
3060 static PyObject
*_wrap_wxBrush_Ok(PyObject
*self
, PyObject
*args
) {
3061 PyObject
* _resultobj
;
3067 if(!PyArg_ParseTuple(args
,"s:wxBrush_Ok",&_argc0
))
3070 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxBrush_p")) {
3071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_Ok. Expected _wxBrush_p.");
3076 wxPy_BEGIN_ALLOW_THREADS
;
3077 _result
= (bool )wxBrush_Ok(_arg0
);
3079 wxPy_END_ALLOW_THREADS
;
3080 } _resultobj
= Py_BuildValue("i",_result
);
3084 #define wxBrush_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
3085 static PyObject
*_wrap_wxBrush_SetColour(PyObject
*self
, PyObject
*args
) {
3086 PyObject
* _resultobj
;
3093 if(!PyArg_ParseTuple(args
,"ss:wxBrush_SetColour",&_argc0
,&_argc1
))
3096 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxBrush_p")) {
3097 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetColour. Expected _wxBrush_p.");
3102 if (SWIG_GetPtr(_argc1
,(void
**) &_arg1
,"_wxColour_p")) {
3103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrush_SetColour. Expected _wxColour_p.");
3108 wxPy_BEGIN_ALLOW_THREADS
;
3109 wxBrush_SetColour(_arg0
,*_arg1
);
3111 wxPy_END_ALLOW_THREADS
;
3112 } Py_INCREF(Py_None
);
3113 _resultobj
= Py_None
;
3117 #define wxBrush_SetStipple(_swigobj,_swigarg0) (_swigobj->SetStipple(_swigarg0))
3118 static PyObject
*_wrap_wxBrush_SetStipple(PyObject
*self
, PyObject
*args
) {
3119 PyObject
* _resultobj
;
3126 if(!PyArg_ParseTuple(args
,"ss:wxBrush_SetStipple",&_argc0
,&_argc1
))
3129 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxBrush_p")) {
3130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStipple. Expected _wxBrush_p.");
3135 if (SWIG_GetPtr(_argc1
,(void
**) &_arg1
,"_wxBitmap_p")) {
3136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrush_SetStipple. Expected _wxBitmap_p.");
3141 wxPy_BEGIN_ALLOW_THREADS
;
3142 wxBrush_SetStipple(_arg0
,*_arg1
);
3144 wxPy_END_ALLOW_THREADS
;
3145 } Py_INCREF(Py_None
);
3146 _resultobj
= Py_None
;
3150 #define wxBrush_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
3151 static PyObject
*_wrap_wxBrush_SetStyle(PyObject
*self
, PyObject
*args
) {
3152 PyObject
* _resultobj
;
3158 if(!PyArg_ParseTuple(args
,"si:wxBrush_SetStyle",&_argc0
,&_arg1
))
3161 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxBrush_p")) {
3162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStyle. Expected _wxBrush_p.");
3167 wxPy_BEGIN_ALLOW_THREADS
;
3168 wxBrush_SetStyle(_arg0
,_arg1
);
3170 wxPy_END_ALLOW_THREADS
;
3171 } Py_INCREF(Py_None
);
3172 _resultobj
= Py_None
;
3176 #define delete_wxDC(_swigobj) (delete _swigobj)
3177 static PyObject
*_wrap_delete_wxDC(PyObject
*self
, PyObject
*args
) {
3178 PyObject
* _resultobj
;
3183 if(!PyArg_ParseTuple(args
,"s:delete_wxDC",&_argc0
))
3186 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxDC_p")) {
3187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDC. Expected _wxDC_p.");
3192 wxPy_BEGIN_ALLOW_THREADS
;
3195 wxPy_END_ALLOW_THREADS
;
3196 } Py_INCREF(Py_None
);
3197 _resultobj
= Py_None
;
3201 #define wxDC_BeginDrawing(_swigobj) (_swigobj->BeginDrawing())
3202 static PyObject
*_wrap_wxDC_BeginDrawing(PyObject
*self
, PyObject
*args
) {
3203 PyObject
* _resultobj
;
3208 if(!PyArg_ParseTuple(args
,"s:wxDC_BeginDrawing",&_argc0
))
3211 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxDC_p")) {
3212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_BeginDrawing. Expected _wxDC_p.");
3217 wxPy_BEGIN_ALLOW_THREADS
;
3218 wxDC_BeginDrawing(_arg0
);
3220 wxPy_END_ALLOW_THREADS
;
3221 } Py_INCREF(Py_None
);
3222 _resultobj
= Py_None
;
3226 #define wxDC_Blit(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Blit(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
3227 static PyObject
*_wrap_wxDC_Blit(PyObject
*self
, PyObject
*args
) {
3228 PyObject
* _resultobj
;
3243 if(!PyArg_ParseTuple(args
,"sllllslll:wxDC_Blit",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_argc5
,&_arg6
,&_arg7
,&_arg8
))
3246 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxDC_p")) {
3247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Blit. Expected _wxDC_p.");
3252 if (SWIG_GetPtr(_argc5
,(void
**) &_arg5
,"_wxDC_p")) {
3253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxDC_Blit. Expected _wxDC_p.");
3258 wxPy_BEGIN_ALLOW_THREADS
;
3259 _result
= (bool )wxDC_Blit(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
);
3261 wxPy_END_ALLOW_THREADS
;
3262 } _resultobj
= Py_BuildValue("i",_result
);
3266 #define wxDC_Clear(_swigobj) (_swigobj->Clear())
3267 static PyObject
*_wrap_wxDC_Clear(PyObject
*self
, PyObject
*args
) {
3268 PyObject
* _resultobj
;
3273 if(!PyArg_ParseTuple(args
,"s:wxDC_Clear",&_argc0
))
3276 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxDC_p")) {
3277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Clear. Expected _wxDC_p.");
3282 wxPy_BEGIN_ALLOW_THREADS
;
3285 wxPy_END_ALLOW_THREADS
;
3286 } Py_INCREF(Py_None
);
3287 _resultobj
= Py_None
;
3291 #define wxDC_CrossHair(_swigobj,_swigarg0,_swigarg1) (_swigobj->CrossHair(_swigarg0,_swigarg1))
3292 static PyObject
*_wrap_wxDC_CrossHair(PyObject
*self
, PyObject
*args
) {
3293 PyObject
* _resultobj
;
3300 if(!PyArg_ParseTuple(args
,"sll:wxDC_CrossHair",&_argc0
,&_arg1
,&_arg2
))
3303 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxDC_p")) {
3304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CrossHair. Expected _wxDC_p.");
3309 wxPy_BEGIN_ALLOW_THREADS
;
3310 wxDC_CrossHair(_arg0
,_arg1
,_arg2
);
3312 wxPy_END_ALLOW_THREADS
;
3313 } Py_INCREF(Py_None
);
3314 _resultobj
= Py_None
;
3318 #define wxDC_DestroyClippingRegion(_swigobj) (_swigobj->DestroyClippingRegion())
3319 static PyObject
*_wrap_wxDC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
) {
3320 PyObject
* _resultobj
;
3325 if(!PyArg_ParseTuple(args
,"s:wxDC_DestroyClippingRegion",&_argc0
))
3328 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxDC_p")) {
3329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DestroyClippingRegion. Expected _wxDC_p.");
3334 wxPy_BEGIN_ALLOW_THREADS
;
3335 wxDC_DestroyClippingRegion(_arg0
);
3337 wxPy_END_ALLOW_THREADS
;
3338 } Py_INCREF(Py_None
);
3339 _resultobj
= Py_None
;
3343 #define wxDC_DeviceToLogicalX(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalX(_swigarg0))
3344 static PyObject
*_wrap_wxDC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
) {
3345 PyObject
* _resultobj
;
3352 if(!PyArg_ParseTuple(args
,"sl:wxDC_DeviceToLogicalX",&_argc0
,&_arg1
))
3355 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxDC_p")) {
3356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalX. Expected _wxDC_p.");
3361 wxPy_BEGIN_ALLOW_THREADS
;
3362 _result
= (long )wxDC_DeviceToLogicalX(_arg0
,_arg1
);
3364 wxPy_END_ALLOW_THREADS
;
3365 } _resultobj
= Py_BuildValue("l",_result
);
3369 #define wxDC_DeviceToLogicalXRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalXRel(_swigarg0))
3370 static PyObject
*_wrap_wxDC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
) {
3371 PyObject
* _resultobj
;
3378 if(!PyArg_ParseTuple(args
,"sl:wxDC_DeviceToLogicalXRel",&_argc0
,&_arg1
))
3381 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxDC_p")) {
3382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalXRel. Expected _wxDC_p.");
3387 wxPy_BEGIN_ALLOW_THREADS
;
3388 _result
= (long )wxDC_DeviceToLogicalXRel(_arg0
,_arg1
);
3390 wxPy_END_ALLOW_THREADS
;
3391 } _resultobj
= Py_BuildValue("l",_result
);
3395 #define wxDC_DeviceToLogicalY(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalY(_swigarg0))
3396 static PyObject
*_wrap_wxDC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
) {
3397 PyObject
* _resultobj
;
3404 if(!PyArg_ParseTuple(args
,"sl:wxDC_DeviceToLogicalY",&_argc0
,&_arg1
))
3407 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxDC_p")) {
3408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalY. Expected _wxDC_p.");
3413 wxPy_BEGIN_ALLOW_THREADS
;
3414 _result
= (long )wxDC_DeviceToLogicalY(_arg0
,_arg1
);
3416 wxPy_END_ALLOW_THREADS
;
3417 } _resultobj
= Py_BuildValue("l",_result
);
3421 #define wxDC_DeviceToLogicalYRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalYRel(_swigarg0))
3422 static PyObject
*_wrap_wxDC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
) {
3423 PyObject
* _resultobj
;
3430 if(!PyArg_ParseTuple(args
,"sl:wxDC_DeviceToLogicalYRel",&_argc0
,&_arg1
))
3433 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxDC_p")) {
3434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalYRel. Expected _wxDC_p.");
3439 wxPy_BEGIN_ALLOW_THREADS
;
3440 _result
= (long )wxDC_DeviceToLogicalYRel(_arg0
,_arg1
);
3442 wxPy_END_ALLOW_THREADS
;
3443 } _resultobj
= Py_BuildValue("l",_result
);
3447 #define wxDC_DrawArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3448 static PyObject
*_wrap_wxDC_DrawArc(PyObject
*self
, PyObject
*args
) {
3449 PyObject
* _resultobj
;
3460 if(!PyArg_ParseTuple(args
,"sllllll:wxDC_DrawArc",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
3463 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxDC_p")) {
3464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawArc. Expected _wxDC_p.");
3469 wxPy_BEGIN_ALLOW_THREADS
;
3470 wxDC_DrawArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
3472 wxPy_END_ALLOW_THREADS
;
3473 } Py_INCREF(Py_None
);
3474 _resultobj
= Py_None
;
3478 #define wxDC_DrawCircle(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawCircle(_swigarg0,_swigarg1,_swigarg2))
3479 static PyObject
*_wrap_wxDC_DrawCircle(PyObject
*self
, PyObject
*args
) {
3480 PyObject
* _resultobj
;
3488 if(!PyArg_ParseTuple(args
,"slll:wxDC_DrawCircle",&_argc0
,&_arg1
,&_arg2
,&_arg3
))
3491 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxDC_p")) {
3492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawCircle. Expected _wxDC_p.");
3497 wxPy_BEGIN_ALLOW_THREADS
;
3498 wxDC_DrawCircle(_arg0
,_arg1
,_arg2
,_arg3
);
3500 wxPy_END_ALLOW_THREADS
;
3501 } Py_INCREF(Py_None
);
3502 _resultobj
= Py_None
;
3506 #define wxDC_DrawEllipse(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawEllipse(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3507 static PyObject
*_wrap_wxDC_DrawEllipse(PyObject
*self
, PyObject
*args
) {
3508 PyObject
* _resultobj
;
3517 if(!PyArg_ParseTuple(args
,"sllll:wxDC_DrawEllipse",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3520 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxDC_p")) {
3521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipse. Expected _wxDC_p.");
3526 wxPy_BEGIN_ALLOW_THREADS
;
3527 wxDC_DrawEllipse(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3529 wxPy_END_ALLOW_THREADS
;
3530 } Py_INCREF(Py_None
);
3531 _resultobj
= Py_None
;
3535 #define wxDC_DrawEllipticArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawEllipticArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3536 static PyObject
*_wrap_wxDC_DrawEllipticArc(PyObject
*self
, PyObject
*args
) {
3537 PyObject
* _resultobj
;
3548 if(!PyArg_ParseTuple(args
,"sllllll:wxDC_DrawEllipticArc",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
3551 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxDC_p")) {
3552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipticArc. Expected _wxDC_p.");
3557 wxPy_BEGIN_ALLOW_THREADS
;
3558 wxDC_DrawEllipticArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
3560 wxPy_END_ALLOW_THREADS
;
3561 } Py_INCREF(Py_None
);
3562 _resultobj
= Py_None
;
3566 #define wxDC_DrawIcon(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawIcon(_swigarg0,_swigarg1,_swigarg2))
3567 static PyObject
*_wrap_wxDC_DrawIcon(PyObject
*self
, PyObject
*args
) {
3568 PyObject
* _resultobj
;
3577 if(!PyArg_ParseTuple(args
,"ssll:wxDC_DrawIcon",&_argc0
,&_argc1
,&_arg2
,&_arg3
))
3580 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxDC_p")) {
3581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawIcon. Expected _wxDC_p.");
3586 if (SWIG_GetPtr(_argc1
,(void
**) &_arg1
,"_wxIcon_p")) {
3587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawIcon. Expected _wxIcon_p.");
3592 wxPy_BEGIN_ALLOW_THREADS
;
3593 wxDC_DrawIcon(_arg0
,*_arg1
,_arg2
,_arg3
);
3595 wxPy_END_ALLOW_THREADS
;
3596 } Py_INCREF(Py_None
);
3597 _resultobj
= Py_None
;
3601 #define wxDC_DrawLine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3602 static PyObject
*_wrap_wxDC_DrawLine(PyObject
*self
, PyObject
*args
) {
3603 PyObject
* _resultobj
;
3612 if(!PyArg_ParseTuple(args
,"sllll:wxDC_DrawLine",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3615 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxDC_p")) {
3616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLine. Expected _wxDC_p.");
3621 wxPy_BEGIN_ALLOW_THREADS
;
3622 wxDC_DrawLine(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3624 wxPy_END_ALLOW_THREADS
;
3625 } Py_INCREF(Py_None
);
3626 _resultobj
= Py_None
;
3630 #define wxDC_DrawLines(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLines(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3631 static PyObject
*_wrap_wxDC_DrawLines(PyObject
*self
, PyObject
*args
) {
3632 PyObject
* _resultobj
;
3639 PyObject
* _obj2
= 0;
3642 if(!PyArg_ParseTuple(args
,"sO|ll:wxDC_DrawLines",&_argc0
,&_obj2
,&_arg3
,&_arg4
))
3645 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxDC_p")) {
3646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLines. Expected _wxDC_p.");
3652 _arg2
= wxPoint_LIST_helper(_obj2
);
3653 if (_arg2
== NULL
) {
3659 _arg1
= PyList_Size(_obj2
);
3666 wxPy_BEGIN_ALLOW_THREADS
;
3667 wxDC_DrawLines(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3669 wxPy_END_ALLOW_THREADS
;
3670 } Py_INCREF(Py_None
);
3671 _resultobj
= Py_None
;
3678 #define wxDC_DrawPolygon(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawPolygon(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3679 static PyObject
*_wrap_wxDC_DrawPolygon(PyObject
*self
, PyObject
*args
) {
3680 PyObject
* _resultobj
;
3686 int _arg5
= (wxODDEVEN_RULE
);
3688 PyObject
* _obj2
= 0;
3691 if(!PyArg_ParseTuple(args
,"sO|lli:wxDC_DrawPolygon",&_argc0
,&_obj2
,&_arg3
,&_arg4
,&_arg5
))
3694 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxDC_p")) {
3695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPolygon. Expected _wxDC_p.");
3701 _arg2
= wxPoint_LIST_helper(_obj2
);
3702 if (_arg2
== NULL
) {
3708 _arg1
= PyList_Size(_obj2
);
3715 wxPy_BEGIN_ALLOW_THREADS
;
3716 wxDC_DrawPolygon(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3718 wxPy_END_ALLOW_THREADS
;
3719 } Py_INCREF(Py_None
);
3720 _resultobj
= Py_None
;
3727 #define wxDC_DrawPoint(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawPoint(_swigarg0,_swigarg1))
3728 static PyObject
*_wrap_wxDC_DrawPoint(PyObject
*self
, PyObject
*args
) {
3729 PyObject
* _resultobj
;
3736 if(!PyArg_ParseTuple(args
,"sll:wxDC_DrawPoint",&_argc0
,&_arg1
,&_arg2
))
3739 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxDC_p")) {
3740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPoint. Expected _wxDC_p.");
3745 wxPy_BEGIN_ALLOW_THREADS
;
3746 wxDC_DrawPoint(_arg0
,_arg1
,_arg2
);
3748 wxPy_END_ALLOW_THREADS
;
3749 } Py_INCREF(Py_None
);
3750 _resultobj
= Py_None
;
3754 #define wxDC_DrawRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3755 static PyObject
*_wrap_wxDC_DrawRectangle(PyObject
*self
, PyObject
*args
) {
3756 PyObject
* _resultobj
;
3765 if(!PyArg_ParseTuple(args
,"sllll:wxDC_DrawRectangle",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3768 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxDC_p")) {
3769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRectangle. Expected _wxDC_p.");
3774 wxPy_BEGIN_ALLOW_THREADS
;
3775 wxDC_DrawRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3777 wxPy_END_ALLOW_THREADS
;
3778 } Py_INCREF(Py_None
);
3779 _resultobj
= Py_None
;
3783 #define wxDC_DrawRoundedRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawRoundedRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3784 static PyObject
*_wrap_wxDC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
) {
3785 PyObject
* _resultobj
;
3795 if(!PyArg_ParseTuple(args
,"sllll|l:wxDC_DrawRoundedRectangle",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
3798 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxDC_p")) {
3799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRoundedRectangle. Expected _wxDC_p.");
3804 wxPy_BEGIN_ALLOW_THREADS
;
3805 wxDC_DrawRoundedRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3807 wxPy_END_ALLOW_THREADS
;
3808 } Py_INCREF(Py_None
);
3809 _resultobj
= Py_None
;
3813 #define wxDC_DrawSpline(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawSpline(_swigarg0,_swigarg1))
3814 static PyObject
*_wrap_wxDC_DrawSpline(PyObject
*self
, PyObject
*args
) {
3815 PyObject
* _resultobj
;
3820 PyObject
* _obj2
= 0;
3823 if(!PyArg_ParseTuple(args
,"sO:wxDC_DrawSpline",&_argc0
,&_obj2
))
3826 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxDC_p")) {
3827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawSpline. Expected _wxDC_p.");
3833 _arg2
= wxPoint_LIST_helper(_obj2
);
3834 if (_arg2
== NULL
) {
3840 _arg1
= PyList_Size(_obj2
);
3847 wxPy_BEGIN_ALLOW_THREADS
;
3848 wxDC_DrawSpline(_arg0
,_arg1
,_arg2
);
3850 wxPy_END_ALLOW_THREADS
;
3851 } Py_INCREF(Py_None
);
3852 _resultobj
= Py_None
;
3859 #define wxDC_DrawText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawText(_swigarg0,_swigarg1,_swigarg2))
3860 static PyObject
*_wrap_wxDC_DrawText(PyObject
*self
, PyObject
*args
) {
3861 PyObject
* _resultobj
;
3867 PyObject
* _obj1
= 0;
3870 if(!PyArg_ParseTuple(args
,"sOll:wxDC_DrawText",&_argc0
,&_obj1
,&_arg2
,&_arg3
))
3873 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxDC_p")) {
3874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawText. Expected _wxDC_p.");
3879 if (!PyString_Check(_obj1
)) {
3880 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3883 _arg1
= new
wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
3886 wxPy_BEGIN_ALLOW_THREADS
;
3887 wxDC_DrawText(_arg0
,*_arg1
,_arg2
,_arg3
);
3889 wxPy_END_ALLOW_THREADS
;
3890 } Py_INCREF(Py_None
);
3891 _resultobj
= Py_None
;
3899 #define wxDC_EndDoc(_swigobj) (_swigobj->EndDoc())
3900 static PyObject
*_wrap_wxDC_EndDoc(PyObject
*self
, PyObject
*args
) {
3901 PyObject
* _resultobj
;
3906 if(!PyArg_ParseTuple(args
,"s:wxDC_EndDoc",&_argc0
))
3909 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxDC_p")) {
3910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDoc. Expected _wxDC_p.");
3915 wxPy_BEGIN_ALLOW_THREADS
;
3918 wxPy_END_ALLOW_THREADS
;
3919 } Py_INCREF(Py_None
);
3920 _resultobj
= Py_None
;
3924 #define wxDC_EndDrawing(_swigobj) (_swigobj->EndDrawing())
3925 static PyObject
*_wrap_wxDC_EndDrawing(PyObject
*self
, PyObject
*args
) {
3926 PyObject
* _resultobj
;
3931 if(!PyArg_ParseTuple(args
,"s:wxDC_EndDrawing",&_argc0
))
3934 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxDC_p")) {
3935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDrawing. Expected _wxDC_p.");
3940 wxPy_BEGIN_ALLOW_THREADS
;
3941 wxDC_EndDrawing(_arg0
);
3943 wxPy_END_ALLOW_THREADS
;
3944 } Py_INCREF(Py_None
);
3945 _resultobj
= Py_None
;
3949 #define wxDC_EndPage(_swigobj) (_swigobj->EndPage())
3950 static PyObject
*_wrap_wxDC_EndPage(PyObject
*self
, PyObject
*args
) {
3951 PyObject
* _resultobj
;
3956 if(!PyArg_ParseTuple(args
,"s:wxDC_EndPage",&_argc0
))
3959 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxDC_p")) {
3960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndPage. Expected _wxDC_p.");
3965 wxPy_BEGIN_ALLOW_THREADS
;
3966 wxDC_EndPage(_arg0
);
3968 wxPy_END_ALLOW_THREADS
;
3969 } Py_INCREF(Py_None
);
3970 _resultobj
= Py_None
;
3974 #define wxDC_FloodFill(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->FloodFill(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3975 static PyObject
*_wrap_wxDC_FloodFill(PyObject
*self
, PyObject
*args
) {
3976 PyObject
* _resultobj
;
3981 int _arg4
= (wxFLOOD_SURFACE
);
3986 if(!PyArg_ParseTuple(args
,"slls|i:wxDC_FloodFill",&_argc0
,&_arg1
,&_arg2
,&_argc3
,&_arg4
))
3989 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxDC_p")) {
3990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_FloodFill. Expected _wxDC_p.");
3995 if (SWIG_GetPtr(_argc3
,(void
**) &_arg3
,"_wxColour_p")) {
3996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDC_FloodFill. Expected _wxColour_p.");
4001 wxPy_BEGIN_ALLOW_THREADS
;
4002 wxDC_FloodFill(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
4004 wxPy_END_ALLOW_THREADS
;
4005 } Py_INCREF(Py_None
);
4006 _resultobj
= Py_None
;
4010 #define wxDC_GetBackground(_swigobj) (_swigobj->GetBackground())
4011 static PyObject
*_wrap_wxDC_GetBackground(PyObject
*self
, PyObject
*args
) {
4012 PyObject
* _resultobj
;
4019 if(!PyArg_ParseTuple(args
,"s:wxDC_GetBackground",&_argc0
))
4022 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxDC_p")) {
4023 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBackground. Expected _wxDC_p.");
4028 wxPy_BEGIN_ALLOW_THREADS
;
4029 wxBrush
& _result_ref
= wxDC_GetBackground(_arg0
);
4030 _result
= (wxBrush
*) &_result_ref
;
4032 wxPy_END_ALLOW_THREADS
;
4033 } SWIG_MakePtr(_ptemp
, (char
*) _result
,"_wxBrush_p");
4034 _resultobj
= Py_BuildValue("s",_ptemp
);
4038 #define wxDC_GetBrush(_swigobj) (_swigobj->GetBrush())
4039 static PyObject
*_wrap_wxDC_GetBrush(PyObject
*self
, PyObject
*args
) {
4040 PyObject
* _resultobj
;
4047 if(!PyArg_ParseTuple(args
,"s:wxDC_GetBrush",&_argc0
))
4050 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxDC_p")) {
4051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBrush. Expected _wxDC_p.");
4056 wxPy_BEGIN_ALLOW_THREADS
;
4057 wxBrush
& _result_ref
= wxDC_GetBrush(_arg0
);
4058 _result
= (wxBrush
*) &_result_ref
;
4060 wxPy_END_ALLOW_THREADS
;
4061 } SWIG_MakePtr(_ptemp
, (char
*) _result
,"_wxBrush_p");
4062 _resultobj
= Py_BuildValue("s",_ptemp
);
4066 #define wxDC_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
4067 static PyObject
*_wrap_wxDC_GetCharHeight(PyObject
*self
, PyObject
*args
) {
4068 PyObject
* _resultobj
;
4074 if(!PyArg_ParseTuple(args
,"s:wxDC_GetCharHeight",&_argc0
))
4077 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxDC_p")) {
4078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharHeight. Expected _wxDC_p.");
4083 wxPy_BEGIN_ALLOW_THREADS
;
4084 _result
= (long )wxDC_GetCharHeight(_arg0
);
4086 wxPy_END_ALLOW_THREADS
;
4087 } _resultobj
= Py_BuildValue("l",_result
);
4091 #define wxDC_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
4092 static PyObject
*_wrap_wxDC_GetCharWidth(PyObject
*self
, PyObject
*args
) {
4093 PyObject
* _resultobj
;
4099 if(!PyArg_ParseTuple(args
,"s:wxDC_GetCharWidth",&_argc0
))
4102 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxDC_p")) {
4103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharWidth. Expected _wxDC_p.");
4108 wxPy_BEGIN_ALLOW_THREADS
;
4109 _result
= (long )wxDC_GetCharWidth(_arg0
);
4111 wxPy_END_ALLOW_THREADS
;
4112 } _resultobj
= Py_BuildValue("l",_result
);
4116 #define wxDC_GetClippingBox(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetClippingBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4117 static PyObject
*_wrap_wxDC_GetClippingBox(PyObject
*self
, PyObject
*args
) {
4118 PyObject
* _resultobj
;
4143 if(!PyArg_ParseTuple(args
,"s:wxDC_GetClippingBox",&_argc0
))
4146 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxDC_p")) {
4147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetClippingBox. Expected _wxDC_p.");
4152 wxPy_BEGIN_ALLOW_THREADS
;
4153 wxDC_GetClippingBox(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4155 wxPy_END_ALLOW_THREADS
;
4156 } Py_INCREF(Py_None
);
4157 _resultobj
= Py_None
;
4160 o
= PyInt_FromLong((long) (*_arg1
));
4161 _resultobj
= t_output_helper(_resultobj
, o
);
4165 o
= PyInt_FromLong((long) (*_arg2
));
4166 _resultobj
= t_output_helper(_resultobj
, o
);
4170 o
= PyInt_FromLong((long) (*_arg3
));
4171 _resultobj
= t_output_helper(_resultobj
, o
);
4175 o
= PyInt_FromLong((long) (*_arg4
));
4176 _resultobj
= t_output_helper(_resultobj
, o
);
4181 #define wxDC_GetFont(_swigobj) (_swigobj->GetFont())
4182 static PyObject
*_wrap_wxDC_GetFont(PyObject
*self
, PyObject
*args
) {
4183 PyObject
* _resultobj
;
4190 if(!PyArg_ParseTuple(args
,"s:wxDC_GetFont",&_argc0
))
4193 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxDC_p")) {
4194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFont. Expected _wxDC_p.");
4199 wxPy_BEGIN_ALLOW_THREADS
;
4200 wxFont
& _result_ref
= wxDC_GetFont(_arg0
);
4201 _result
= (wxFont
*) &_result_ref
;
4203 wxPy_END_ALLOW_THREADS
;
4204 } SWIG_MakePtr(_ptemp
, (char
*) _result
,"_wxFont_p");
4205 _resultobj
= Py_BuildValue("s",_ptemp
);
4209 #define wxDC_GetLogicalFunction(_swigobj) (_swigobj->GetLogicalFunction())
4210 static PyObject
*_wrap_wxDC_GetLogicalFunction(PyObject
*self
, PyObject
*args
) {
4211 PyObject
* _resultobj
;
4217 if(!PyArg_ParseTuple(args
,"s:wxDC_GetLogicalFunction",&_argc0
))
4220 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxDC_p")) {
4221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalFunction. Expected _wxDC_p.");
4226 wxPy_BEGIN_ALLOW_THREADS
;
4227 _result
= (int )wxDC_GetLogicalFunction(_arg0
);
4229 wxPy_END_ALLOW_THREADS
;
4230 } _resultobj
= Py_BuildValue("i",_result
);
4234 #define wxDC_GetMapMode(_swigobj) (_swigobj->GetMapMode())
4235 static PyObject
*_wrap_wxDC_GetMapMode(PyObject
*self
, PyObject
*args
) {
4236 PyObject
* _resultobj
;
4242 if(!PyArg_ParseTuple(args
,"s:wxDC_GetMapMode",&_argc0
))
4245 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxDC_p")) {
4246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetMapMode. Expected _wxDC_p.");
4251 wxPy_BEGIN_ALLOW_THREADS
;
4252 _result
= (int )wxDC_GetMapMode(_arg0
);
4254 wxPy_END_ALLOW_THREADS
;
4255 } _resultobj
= Py_BuildValue("i",_result
);
4259 #define wxDC_GetOptimization(_swigobj) (_swigobj->GetOptimization())
4260 static PyObject
*_wrap_wxDC_GetOptimization(PyObject
*self
, PyObject
*args
) {
4261 PyObject
* _resultobj
;
4267 if(!PyArg_ParseTuple(args
,"s:wxDC_GetOptimization",&_argc0
))
4270 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxDC_p")) {
4271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetOptimization. Expected _wxDC_p.");
4276 wxPy_BEGIN_ALLOW_THREADS
;
4277 _result
= (bool )wxDC_GetOptimization(_arg0
);
4279 wxPy_END_ALLOW_THREADS
;
4280 } _resultobj
= Py_BuildValue("i",_result
);
4284 #define wxDC_GetPen(_swigobj) (_swigobj->GetPen())
4285 static PyObject
*_wrap_wxDC_GetPen(PyObject
*self
, PyObject
*args
) {
4286 PyObject
* _resultobj
;
4293 if(!PyArg_ParseTuple(args
,"s:wxDC_GetPen",&_argc0
))
4296 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxDC_p")) {
4297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPen. Expected _wxDC_p.");
4302 wxPy_BEGIN_ALLOW_THREADS
;
4303 wxPen
& _result_ref
= wxDC_GetPen(_arg0
);
4304 _result
= (wxPen
*) &_result_ref
;
4306 wxPy_END_ALLOW_THREADS
;
4307 } SWIG_MakePtr(_ptemp
, (char
*) _result
,"_wxPen_p");
4308 _resultobj
= Py_BuildValue("s",_ptemp
);
4312 static wxColour
* wxDC_GetPixel(wxDC
*self
,long x
,long y
) {
4313 wxColour
* wc
= new
wxColour();
4314 self
->GetPixel(x
, y
, wc
);
4317 static PyObject
*_wrap_wxDC_GetPixel(PyObject
*self
, PyObject
*args
) {
4318 PyObject
* _resultobj
;
4327 if(!PyArg_ParseTuple(args
,"sll:wxDC_GetPixel",&_argc0
,&_arg1
,&_arg2
))
4330 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxDC_p")) {
4331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPixel. Expected _wxDC_p.");
4336 wxPy_BEGIN_ALLOW_THREADS
;
4337 _result
= (wxColour
*)wxDC_GetPixel(_arg0
,_arg1
,_arg2
);
4339 wxPy_END_ALLOW_THREADS
;
4340 } SWIG_MakePtr(_ptemp
, (char
*) _result
,"_wxColour_p");
4341 _resultobj
= Py_BuildValue("s",_ptemp
);
4345 #define wxDC_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
4346 static PyObject
*_wrap_wxDC_GetSizeTuple(PyObject
*self
, PyObject
*args
) {
4347 PyObject
* _resultobj
;
4362 if(!PyArg_ParseTuple(args
,"s:wxDC_GetSizeTuple",&_argc0
))
4365 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxDC_p")) {
4366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSizeTuple. Expected _wxDC_p.");
4371 wxPy_BEGIN_ALLOW_THREADS
;
4372 wxDC_GetSizeTuple(_arg0
,_arg1
,_arg2
);
4374 wxPy_END_ALLOW_THREADS
;
4375 } Py_INCREF(Py_None
);
4376 _resultobj
= Py_None
;
4379 o
= PyInt_FromLong((long) (*_arg1
));
4380 _resultobj
= t_output_helper(_resultobj
, o
);
4384 o
= PyInt_FromLong((long) (*_arg2
));
4385 _resultobj
= t_output_helper(_resultobj
, o
);
4390 #define wxDC_GetSize(_swigobj) (_swigobj->GetSize())
4391 static PyObject
*_wrap_wxDC_GetSize(PyObject
*self
, PyObject
*args
) {
4392 PyObject
* _resultobj
;
4399 if(!PyArg_ParseTuple(args
,"s:wxDC_GetSize",&_argc0
))
4402 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxDC_p")) {
4403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSize. Expected _wxDC_p.");
4408 wxPy_BEGIN_ALLOW_THREADS
;
4409 _result
= new
wxSize (wxDC_GetSize(_arg0
));
4411 wxPy_END_ALLOW_THREADS
;
4412 } SWIG_MakePtr(_ptemp
, (void
*) _result
,"_wxSize_p");
4413 _resultobj
= Py_BuildValue("s",_ptemp
);
4417 #define wxDC_GetTextBackground(_swigobj) (_swigobj->GetTextBackground())
4418 static PyObject
*_wrap_wxDC_GetTextBackground(PyObject
*self
, PyObject
*args
) {
4419 PyObject
* _resultobj
;
4426 if(!PyArg_ParseTuple(args
,"s:wxDC_GetTextBackground",&_argc0
))
4429 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxDC_p")) {
4430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextBackground. Expected _wxDC_p.");
4435 wxPy_BEGIN_ALLOW_THREADS
;
4436 wxColour
& _result_ref
= wxDC_GetTextBackground(_arg0
);
4437 _result
= (wxColour
*) &_result_ref
;
4439 wxPy_END_ALLOW_THREADS
;
4440 } SWIG_MakePtr(_ptemp
, (char
*) _result
,"_wxColour_p");
4441 _resultobj
= Py_BuildValue("s",_ptemp
);
4445 #define wxDC_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
4446 static PyObject
*_wrap_wxDC_GetTextExtent(PyObject
*self
, PyObject
*args
) {
4447 PyObject
* _resultobj
;
4455 PyObject
* _obj1
= 0;
4464 if(!PyArg_ParseTuple(args
,"sO:wxDC_GetTextExtent",&_argc0
,&_obj1
))
4467 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxDC_p")) {
4468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextExtent. Expected _wxDC_p.");
4473 if (!PyString_Check(_obj1
)) {
4474 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4477 _arg1
= new
wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4480 wxPy_BEGIN_ALLOW_THREADS
;
4481 wxDC_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
4483 wxPy_END_ALLOW_THREADS
;
4484 } Py_INCREF(Py_None
);
4485 _resultobj
= Py_None
;
4488 o
= PyInt_FromLong((long) (*_arg2
));
4489 _resultobj
= t_output_helper(_resultobj
, o
);
4493 o
= PyInt_FromLong((long) (*_arg3
));
4494 _resultobj
= t_output_helper(_resultobj
, o
);
4503 #define wxDC_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4504 static PyObject
*_wrap_wxDC_GetFullTextExtent(PyObject
*self
, PyObject
*args
) {
4505 PyObject
* _resultobj
;
4516 wxFont
* _arg6
= NULL
;
4518 PyObject
* _obj1
= 0;
4534 if(!PyArg_ParseTuple(args
,"sO|s:wxDC_GetFullTextExtent",&_argc0
,&_obj1
,&_argc6
))
4537 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxDC_p")) {
4538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFullTextExtent. Expected _wxDC_p.");
4543 if (!PyString_Check(_obj1
)) {
4544 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4547 _arg1
= new
wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4550 if (SWIG_GetPtr(_argc6
,(void
**) &_arg6
,"_wxFont_p")) {
4551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxDC_GetFullTextExtent. Expected _wxFont_p.");
4556 wxPy_BEGIN_ALLOW_THREADS
;
4557 wxDC_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4559 wxPy_END_ALLOW_THREADS
;
4560 } Py_INCREF(Py_None
);
4561 _resultobj
= Py_None
;
4564 o
= PyInt_FromLong((long) (*_arg2
));
4565 _resultobj
= t_output_helper(_resultobj
, o
);
4569 o
= PyInt_FromLong((long) (*_arg3
));
4570 _resultobj
= t_output_helper(_resultobj
, o
);
4574 o
= PyInt_FromLong((long) (*_arg4
));
4575 _resultobj
= t_output_helper(_resultobj
, o
);
4579 o
= PyInt_FromLong((long) (*_arg5
));
4580 _resultobj
= t_output_helper(_resultobj
, o
);
4589 #define wxDC_GetTextForeground(_swigobj) (_swigobj->GetTextForeground())
4590 static PyObject
*_wrap_wxDC_GetTextForeground(PyObject
*self
, PyObject
*args
) {
4591 PyObject
* _resultobj
;
4598 if(!PyArg_ParseTuple(args
,"s:wxDC_GetTextForeground",&_argc0
))
4601 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxDC_p")) {
4602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextForeground. Expected _wxDC_p.");
4607 wxPy_BEGIN_ALLOW_THREADS
;
4608 wxColour
& _result_ref
= wxDC_GetTextForeground(_arg0
);
4609 _result
= (wxColour
*) &_result_ref
;
4611 wxPy_END_ALLOW_THREADS
;
4612 } SWIG_MakePtr(_ptemp
, (char
*) _result
,"_wxColour_p");
4613 _resultobj
= Py_BuildValue("s",_ptemp
);
4617 #define wxDC_LogicalToDeviceX(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceX(_swigarg0))
4618 static PyObject
*_wrap_wxDC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
) {
4619 PyObject
* _resultobj
;
4626 if(!PyArg_ParseTuple(args
,"sl:wxDC_LogicalToDeviceX",&_argc0
,&_arg1
))
4629 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxDC_p")) {
4630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceX. Expected _wxDC_p.");
4635 wxPy_BEGIN_ALLOW_THREADS
;
4636 _result
= (long )wxDC_LogicalToDeviceX(_arg0
,_arg1
);
4638 wxPy_END_ALLOW_THREADS
;
4639 } _resultobj
= Py_BuildValue("l",_result
);
4643 #define wxDC_LogicalToDeviceXRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceXRel(_swigarg0))
4644 static PyObject
*_wrap_wxDC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
) {
4645 PyObject
* _resultobj
;
4652 if(!PyArg_ParseTuple(args
,"sl:wxDC_LogicalToDeviceXRel",&_argc0
,&_arg1
))
4655 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxDC_p")) {
4656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceXRel. Expected _wxDC_p.");
4661 wxPy_BEGIN_ALLOW_THREADS
;
4662 _result
= (long )wxDC_LogicalToDeviceXRel(_arg0
,_arg1
);
4664 wxPy_END_ALLOW_THREADS
;
4665 } _resultobj
= Py_BuildValue("l",_result
);
4669 #define wxDC_LogicalToDeviceY(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceY(_swigarg0))
4670 static PyObject
*_wrap_wxDC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
) {
4671 PyObject
* _resultobj
;
4678 if(!PyArg_ParseTuple(args
,"sl:wxDC_LogicalToDeviceY",&_argc0
,&_arg1
))
4681 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxDC_p")) {
4682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceY. Expected _wxDC_p.");
4687 wxPy_BEGIN_ALLOW_THREADS
;
4688 _result
= (long )wxDC_LogicalToDeviceY(_arg0
,_arg1
);
4690 wxPy_END_ALLOW_THREADS
;
4691 } _resultobj
= Py_BuildValue("l",_result
);
4695 #define wxDC_LogicalToDeviceYRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceYRel(_swigarg0))
4696 static PyObject
*_wrap_wxDC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
) {
4697 PyObject
* _resultobj
;
4704 if(!PyArg_ParseTuple(args
,"sl:wxDC_LogicalToDeviceYRel",&_argc0
,&_arg1
))
4707 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxDC_p")) {
4708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceYRel. Expected _wxDC_p.");
4713 wxPy_BEGIN_ALLOW_THREADS
;
4714 _result
= (long )wxDC_LogicalToDeviceYRel(_arg0
,_arg1
);
4716 wxPy_END_ALLOW_THREADS
;
4717 } _resultobj
= Py_BuildValue("l",_result
);
4721 #define wxDC_MaxX(_swigobj) (_swigobj->MaxX())
4722 static PyObject
*_wrap_wxDC_MaxX(PyObject
*self
, PyObject
*args
) {
4723 PyObject
* _resultobj
;
4729 if(!PyArg_ParseTuple(args
,"s:wxDC_MaxX",&_argc0
))
4732 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxDC_p")) {
4733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxX. Expected _wxDC_p.");
4738 wxPy_BEGIN_ALLOW_THREADS
;
4739 _result
= (long )wxDC_MaxX(_arg0
);
4741 wxPy_END_ALLOW_THREADS
;
4742 } _resultobj
= Py_BuildValue("l",_result
);
4746 #define wxDC_MaxY(_swigobj) (_swigobj->MaxY())
4747 static PyObject
*_wrap_wxDC_MaxY(PyObject
*self
, PyObject
*args
) {
4748 PyObject
* _resultobj
;
4754 if(!PyArg_ParseTuple(args
,"s:wxDC_MaxY",&_argc0
))
4757 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxDC_p")) {
4758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxY. Expected _wxDC_p.");
4763 wxPy_BEGIN_ALLOW_THREADS
;
4764 _result
= (long )wxDC_MaxY(_arg0
);
4766 wxPy_END_ALLOW_THREADS
;
4767 } _resultobj
= Py_BuildValue("l",_result
);
4771 #define wxDC_MinX(_swigobj) (_swigobj->MinX())
4772 static PyObject
*_wrap_wxDC_MinX(PyObject
*self
, PyObject
*args
) {
4773 PyObject
* _resultobj
;
4779 if(!PyArg_ParseTuple(args
,"s:wxDC_MinX",&_argc0
))
4782 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxDC_p")) {
4783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinX. Expected _wxDC_p.");
4788 wxPy_BEGIN_ALLOW_THREADS
;
4789 _result
= (long )wxDC_MinX(_arg0
);
4791 wxPy_END_ALLOW_THREADS
;
4792 } _resultobj
= Py_BuildValue("l",_result
);
4796 #define wxDC_MinY(_swigobj) (_swigobj->MinY())
4797 static PyObject
*_wrap_wxDC_MinY(PyObject
*self
, PyObject
*args
) {
4798 PyObject
* _resultobj
;
4804 if(!PyArg_ParseTuple(args
,"s:wxDC_MinY",&_argc0
))
4807 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxDC_p")) {
4808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinY. Expected _wxDC_p.");
4813 wxPy_BEGIN_ALLOW_THREADS
;
4814 _result
= (long )wxDC_MinY(_arg0
);
4816 wxPy_END_ALLOW_THREADS
;
4817 } _resultobj
= Py_BuildValue("l",_result
);
4821 #define wxDC_Ok(_swigobj) (_swigobj->Ok())
4822 static PyObject
*_wrap_wxDC_Ok(PyObject
*self
, PyObject
*args
) {
4823 PyObject
* _resultobj
;
4829 if(!PyArg_ParseTuple(args
,"s:wxDC_Ok",&_argc0
))
4832 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxDC_p")) {
4833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Ok. Expected _wxDC_p.");
4838 wxPy_BEGIN_ALLOW_THREADS
;
4839 _result
= (bool )wxDC_Ok(_arg0
);
4841 wxPy_END_ALLOW_THREADS
;
4842 } _resultobj
= Py_BuildValue("i",_result
);
4846 #define wxDC_SetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDeviceOrigin(_swigarg0,_swigarg1))
4847 static PyObject
*_wrap_wxDC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
) {
4848 PyObject
* _resultobj
;
4855 if(!PyArg_ParseTuple(args
,"sll:wxDC_SetDeviceOrigin",&_argc0
,&_arg1
,&_arg2
))
4858 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxDC_p")) {
4859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetDeviceOrigin. Expected _wxDC_p.");
4864 wxPy_BEGIN_ALLOW_THREADS
;
4865 wxDC_SetDeviceOrigin(_arg0
,_arg1
,_arg2
);
4867 wxPy_END_ALLOW_THREADS
;
4868 } Py_INCREF(Py_None
);
4869 _resultobj
= Py_None
;
4873 #define wxDC_SetBackground(_swigobj,_swigarg0) (_swigobj->SetBackground(_swigarg0))
4874 static PyObject
*_wrap_wxDC_SetBackground(PyObject
*self
, PyObject
*args
) {
4875 PyObject
* _resultobj
;
4882 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetBackground",&_argc0
,&_argc1
))
4885 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxDC_p")) {
4886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackground. Expected _wxDC_p.");
4891 if (SWIG_GetPtr(_argc1
,(void
**) &_arg1
,"_wxBrush_p")) {
4892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBackground. Expected _wxBrush_p.");
4897 wxPy_BEGIN_ALLOW_THREADS
;
4898 wxDC_SetBackground(_arg0
,*_arg1
);
4900 wxPy_END_ALLOW_THREADS
;
4901 } Py_INCREF(Py_None
);
4902 _resultobj
= Py_None
;
4906 #define wxDC_SetBackgroundMode(_swigobj,_swigarg0) (_swigobj->SetBackgroundMode(_swigarg0))
4907 static PyObject
*_wrap_wxDC_SetBackgroundMode(PyObject
*self
, PyObject
*args
) {
4908 PyObject
* _resultobj
;
4914 if(!PyArg_ParseTuple(args
,"si:wxDC_SetBackgroundMode",&_argc0
,&_arg1
))
4917 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxDC_p")) {
4918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackgroundMode. Expected _wxDC_p.");
4923 wxPy_BEGIN_ALLOW_THREADS
;
4924 wxDC_SetBackgroundMode(_arg0
,_arg1
);
4926 wxPy_END_ALLOW_THREADS
;
4927 } Py_INCREF(Py_None
);
4928 _resultobj
= Py_None
;
4932 #define wxDC_SetClippingRegion(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetClippingRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4933 static PyObject
*_wrap_wxDC_SetClippingRegion(PyObject
*self
, PyObject
*args
) {
4934 PyObject
* _resultobj
;
4943 if(!PyArg_ParseTuple(args
,"sllll:wxDC_SetClippingRegion",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
4946 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxDC_p")) {
4947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetClippingRegion. Expected _wxDC_p.");
4952 wxPy_BEGIN_ALLOW_THREADS
;
4953 wxDC_SetClippingRegion(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4955 wxPy_END_ALLOW_THREADS
;
4956 } Py_INCREF(Py_None
);
4957 _resultobj
= Py_None
;
4961 #define wxDC_SetPalette(_swigobj,_swigarg0) (_swigobj->SetPalette(_swigarg0))
4962 static PyObject
*_wrap_wxDC_SetPalette(PyObject
*self
, PyObject
*args
) {
4963 PyObject
* _resultobj
;
4970 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetPalette",&_argc0
,&_argc1
))
4973 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxDC_p")) {
4974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPalette. Expected _wxDC_p.");
4979 if (SWIG_GetPtr(_argc1
,(void
**) &_arg1
,"_wxPalette_p")) {
4980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPalette. Expected _wxPalette_p.");
4985 wxPy_BEGIN_ALLOW_THREADS
;
4986 wxDC_SetPalette(_arg0
,*_arg1
);
4988 wxPy_END_ALLOW_THREADS
;
4989 } Py_INCREF(Py_None
);
4990 _resultobj
= Py_None
;
4994 #define wxDC_SetBrush(_swigobj,_swigarg0) (_swigobj->SetBrush(_swigarg0))
4995 static PyObject
*_wrap_wxDC_SetBrush(PyObject
*self
, PyObject
*args
) {
4996 PyObject
* _resultobj
;
5003 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetBrush",&_argc0
,&_argc1
))
5006 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxDC_p")) {
5007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBrush. Expected _wxDC_p.");
5012 if (SWIG_GetPtr(_argc1
,(void
**) &_arg1
,"_wxBrush_p")) {
5013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBrush. Expected _wxBrush_p.");
5018 wxPy_BEGIN_ALLOW_THREADS
;
5019 wxDC_SetBrush(_arg0
,*_arg1
);
5021 wxPy_END_ALLOW_THREADS
;
5022 } Py_INCREF(Py_None
);
5023 _resultobj
= Py_None
;
5027 #define wxDC_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
5028 static PyObject
*_wrap_wxDC_SetFont(PyObject
*self
, PyObject
*args
) {
5029 PyObject
* _resultobj
;
5036 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetFont",&_argc0
,&_argc1
))
5039 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxDC_p")) {
5040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetFont. Expected _wxDC_p.");
5045 if (SWIG_GetPtr(_argc1
,(void
**) &_arg1
,"_wxFont_p")) {
5046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetFont. Expected _wxFont_p.");
5051 wxPy_BEGIN_ALLOW_THREADS
;
5052 wxDC_SetFont(_arg0
,*_arg1
);
5054 wxPy_END_ALLOW_THREADS
;
5055 } Py_INCREF(Py_None
);
5056 _resultobj
= Py_None
;
5060 #define wxDC_SetLogicalFunction(_swigobj,_swigarg0) (_swigobj->SetLogicalFunction(_swigarg0))
5061 static PyObject
*_wrap_wxDC_SetLogicalFunction(PyObject
*self
, PyObject
*args
) {
5062 PyObject
* _resultobj
;
5068 if(!PyArg_ParseTuple(args
,"si:wxDC_SetLogicalFunction",&_argc0
,&_arg1
))
5071 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxDC_p")) {
5072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalFunction. Expected _wxDC_p.");
5077 wxPy_BEGIN_ALLOW_THREADS
;
5078 wxDC_SetLogicalFunction(_arg0
,_arg1
);
5080 wxPy_END_ALLOW_THREADS
;
5081 } Py_INCREF(Py_None
);
5082 _resultobj
= Py_None
;
5086 #define wxDC_SetMapMode(_swigobj,_swigarg0) (_swigobj->SetMapMode(_swigarg0))
5087 static PyObject
*_wrap_wxDC_SetMapMode(PyObject
*self
, PyObject
*args
) {
5088 PyObject
* _resultobj
;
5094 if(!PyArg_ParseTuple(args
,"si:wxDC_SetMapMode",&_argc0
,&_arg1
))
5097 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxDC_p")) {
5098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetMapMode. Expected _wxDC_p.");
5103 wxPy_BEGIN_ALLOW_THREADS
;
5104 wxDC_SetMapMode(_arg0
,_arg1
);
5106 wxPy_END_ALLOW_THREADS
;
5107 } Py_INCREF(Py_None
);
5108 _resultobj
= Py_None
;
5112 #define wxDC_SetOptimization(_swigobj,_swigarg0) (_swigobj->SetOptimization(_swigarg0))
5113 static PyObject
*_wrap_wxDC_SetOptimization(PyObject
*self
, PyObject
*args
) {
5114 PyObject
* _resultobj
;
5121 if(!PyArg_ParseTuple(args
,"si:wxDC_SetOptimization",&_argc0
,&tempbool1
))
5124 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxDC_p")) {
5125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetOptimization. Expected _wxDC_p.");
5129 _arg1
= (bool ) tempbool1
;
5131 wxPy_BEGIN_ALLOW_THREADS
;
5132 wxDC_SetOptimization(_arg0
,_arg1
);
5134 wxPy_END_ALLOW_THREADS
;
5135 } Py_INCREF(Py_None
);
5136 _resultobj
= Py_None
;
5140 #define wxDC_SetPen(_swigobj,_swigarg0) (_swigobj->SetPen(_swigarg0))
5141 static PyObject
*_wrap_wxDC_SetPen(PyObject
*self
, PyObject
*args
) {
5142 PyObject
* _resultobj
;
5149 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetPen",&_argc0
,&_argc1
))
5152 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxDC_p")) {
5153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPen. Expected _wxDC_p.");
5158 if (SWIG_GetPtr(_argc1
,(void
**) &_arg1
,"_wxPen_p")) {
5159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPen. Expected _wxPen_p.");
5164 wxPy_BEGIN_ALLOW_THREADS
;
5165 wxDC_SetPen(_arg0
,*_arg1
);
5167 wxPy_END_ALLOW_THREADS
;
5168 } Py_INCREF(Py_None
);
5169 _resultobj
= Py_None
;
5173 #define wxDC_SetTextBackground(_swigobj,_swigarg0) (_swigobj->SetTextBackground(_swigarg0))
5174 static PyObject
*_wrap_wxDC_SetTextBackground(PyObject
*self
, PyObject
*args
) {
5175 PyObject
* _resultobj
;
5182 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetTextBackground",&_argc0
,&_argc1
))
5185 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxDC_p")) {
5186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextBackground. Expected _wxDC_p.");
5191 if (SWIG_GetPtr(_argc1
,(void
**) &_arg1
,"_wxColour_p")) {
5192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetTextBackground. Expected _wxColour_p.");
5197 wxPy_BEGIN_ALLOW_THREADS
;
5198 wxDC_SetTextBackground(_arg0
,*_arg1
);
5200 wxPy_END_ALLOW_THREADS
;
5201 } Py_INCREF(Py_None
);
5202 _resultobj
= Py_None
;
5206 #define wxDC_SetTextForeground(_swigobj,_swigarg0) (_swigobj->SetTextForeground(_swigarg0))
5207 static PyObject
*_wrap_wxDC_SetTextForeground(PyObject
*self
, PyObject
*args
) {
5208 PyObject
* _resultobj
;
5215 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetTextForeground",&_argc0
,&_argc1
))
5218 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxDC_p")) {
5219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextForeground. Expected _wxDC_p.");
5224 if (SWIG_GetPtr(_argc1
,(void
**) &_arg1
,"_wxColour_p")) {
5225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetTextForeground. Expected _wxColour_p.");
5230 wxPy_BEGIN_ALLOW_THREADS
;
5231 wxDC_SetTextForeground(_arg0
,*_arg1
);
5233 wxPy_END_ALLOW_THREADS
;
5234 } Py_INCREF(Py_None
);
5235 _resultobj
= Py_None
;
5239 #define wxDC_SetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetUserScale(_swigarg0,_swigarg1))
5240 static PyObject
*_wrap_wxDC_SetUserScale(PyObject
*self
, PyObject
*args
) {
5241 PyObject
* _resultobj
;
5248 if(!PyArg_ParseTuple(args
,"sdd:wxDC_SetUserScale",&_argc0
,&_arg1
,&_arg2
))
5251 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxDC_p")) {
5252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetUserScale. Expected _wxDC_p.");
5257 wxPy_BEGIN_ALLOW_THREADS
;
5258 wxDC_SetUserScale(_arg0
,_arg1
,_arg2
);
5260 wxPy_END_ALLOW_THREADS
;
5261 } Py_INCREF(Py_None
);
5262 _resultobj
= Py_None
;
5266 #define wxDC_StartDoc(_swigobj,_swigarg0) (_swigobj->StartDoc(_swigarg0))
5267 static PyObject
*_wrap_wxDC_StartDoc(PyObject
*self
, PyObject
*args
) {
5268 PyObject
* _resultobj
;
5273 PyObject
* _obj1
= 0;
5276 if(!PyArg_ParseTuple(args
,"sO:wxDC_StartDoc",&_argc0
,&_obj1
))
5279 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxDC_p")) {
5280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartDoc. Expected _wxDC_p.");
5285 if (!PyString_Check(_obj1
)) {
5286 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5289 _arg1
= new
wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5292 wxPy_BEGIN_ALLOW_THREADS
;
5293 _result
= (bool )wxDC_StartDoc(_arg0
,*_arg1
);
5295 wxPy_END_ALLOW_THREADS
;
5296 } _resultobj
= Py_BuildValue("i",_result
);
5304 #define wxDC_StartPage(_swigobj) (_swigobj->StartPage())
5305 static PyObject
*_wrap_wxDC_StartPage(PyObject
*self
, PyObject
*args
) {
5306 PyObject
* _resultobj
;
5311 if(!PyArg_ParseTuple(args
,"s:wxDC_StartPage",&_argc0
))
5314 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxDC_p")) {
5315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartPage. Expected _wxDC_p.");
5320 wxPy_BEGIN_ALLOW_THREADS
;
5321 wxDC_StartPage(_arg0
);
5323 wxPy_END_ALLOW_THREADS
;
5324 } Py_INCREF(Py_None
);
5325 _resultobj
= Py_None
;
5329 static void
wxDC_DrawBitmap(wxDC
*self
,wxBitmap
& bitmap
,long x
,long y
,bool swapPalette
) {
5330 wxMemoryDC
* memDC
= new wxMemoryDC
;
5331 memDC
->SelectObject(bitmap
);
5334 self
->SetPalette(*bitmap
.GetPalette());
5336 self
->Blit(x
, y
, bitmap
.GetWidth(), bitmap
.GetHeight(), memDC
,
5337 0, 0, self
->GetLogicalFunction());
5338 memDC
->SelectObject(wxNullBitmap
);
5341 static PyObject
*_wrap_wxDC_DrawBitmap(PyObject
*self
, PyObject
*args
) {
5342 PyObject
* _resultobj
;
5353 if(!PyArg_ParseTuple(args
,"ssll|i:wxDC_DrawBitmap",&_argc0
,&_argc1
,&_arg2
,&_arg3
,&tempbool4
))
5356 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxDC_p")) {
5357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawBitmap. Expected _wxDC_p.");
5362 if (SWIG_GetPtr(_argc1
,(void
**) &_arg1
,"_wxBitmap_p")) {
5363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawBitmap. Expected _wxBitmap_p.");
5367 _arg4
= (bool ) tempbool4
;
5369 wxPy_BEGIN_ALLOW_THREADS
;
5370 wxDC_DrawBitmap(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
5372 wxPy_END_ALLOW_THREADS
;
5373 } Py_INCREF(Py_None
);
5374 _resultobj
= Py_None
;
5378 static void
*SwigwxMemoryDCTowxDC(void
*ptr
) {
5381 src
= (wxMemoryDC
*) ptr
;
5382 dest
= (wxDC
*) src
;
5383 return (void
*) dest
;
5386 #define new_wxMemoryDC() (new wxMemoryDC())
5387 static PyObject
*_wrap_new_wxMemoryDC(PyObject
*self
, PyObject
*args
) {
5388 PyObject
* _resultobj
;
5389 wxMemoryDC
* _result
;
5393 if(!PyArg_ParseTuple(args
,":new_wxMemoryDC"))
5396 wxPy_BEGIN_ALLOW_THREADS
;
5397 _result
= (wxMemoryDC
*)new_wxMemoryDC();
5399 wxPy_END_ALLOW_THREADS
;
5400 } SWIG_MakePtr(_ptemp
, (char
*) _result
,"_wxMemoryDC_p");
5401 _resultobj
= Py_BuildValue("s",_ptemp
);
5405 #define wxMemoryDC_SelectObject(_swigobj,_swigarg0) (_swigobj->SelectObject(_swigarg0))
5406 static PyObject
*_wrap_wxMemoryDC_SelectObject(PyObject
*self
, PyObject
*args
) {
5407 PyObject
* _resultobj
;
5414 if(!PyArg_ParseTuple(args
,"ss:wxMemoryDC_SelectObject",&_argc0
,&_argc1
))
5417 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxMemoryDC_p")) {
5418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDC_SelectObject. Expected _wxMemoryDC_p.");
5423 if (SWIG_GetPtr(_argc1
,(void
**) &_arg1
,"_wxBitmap_p")) {
5424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMemoryDC_SelectObject. Expected _wxBitmap_p.");
5429 wxPy_BEGIN_ALLOW_THREADS
;
5430 wxMemoryDC_SelectObject(_arg0
,*_arg1
);
5432 wxPy_END_ALLOW_THREADS
;
5433 } Py_INCREF(Py_None
);
5434 _resultobj
= Py_None
;
5438 static void
*SwigwxScreenDCTowxDC(void
*ptr
) {
5441 src
= (wxScreenDC
*) ptr
;
5442 dest
= (wxDC
*) src
;
5443 return (void
*) dest
;
5446 #define new_wxScreenDC() (new wxScreenDC())
5447 static PyObject
*_wrap_new_wxScreenDC(PyObject
*self
, PyObject
*args
) {
5448 PyObject
* _resultobj
;
5449 wxScreenDC
* _result
;
5453 if(!PyArg_ParseTuple(args
,":new_wxScreenDC"))
5456 wxPy_BEGIN_ALLOW_THREADS
;
5457 _result
= (wxScreenDC
*)new_wxScreenDC();
5459 wxPy_END_ALLOW_THREADS
;
5460 } SWIG_MakePtr(_ptemp
, (char
*) _result
,"_wxScreenDC_p");
5461 _resultobj
= Py_BuildValue("s",_ptemp
);
5465 #define wxScreenDC_StartDrawingOnTop(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
5466 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
) {
5467 PyObject
* _resultobj
;
5475 if(!PyArg_ParseTuple(args
,"ss:wxScreenDC_StartDrawingOnTop",&_argc0
,&_argc1
))
5478 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxScreenDC_p")) {
5479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTop. Expected _wxScreenDC_p.");
5484 if (SWIG_GetPtr(_argc1
,(void
**) &_arg1
,"_wxWindow_p")) {
5485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScreenDC_StartDrawingOnTop. Expected _wxWindow_p.");
5490 wxPy_BEGIN_ALLOW_THREADS
;
5491 _result
= (bool )wxScreenDC_StartDrawingOnTop(_arg0
,_arg1
);
5493 wxPy_END_ALLOW_THREADS
;
5494 } _resultobj
= Py_BuildValue("i",_result
);
5498 #define wxScreenDC_StartDrawingOnTopRect(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
5499 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTopRect(PyObject
*self
, PyObject
*args
) {
5500 PyObject
* _resultobj
;
5503 wxRect
* _arg1
= NULL
;
5508 if(!PyArg_ParseTuple(args
,"s|s:wxScreenDC_StartDrawingOnTopRect",&_argc0
,&_argc1
))
5511 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxScreenDC_p")) {
5512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTopRect. Expected _wxScreenDC_p.");
5517 if (SWIG_GetPtr(_argc1
,(void
**) &_arg1
,"_wxRect_p")) {
5518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScreenDC_StartDrawingOnTopRect. Expected _wxRect_p.");
5523 wxPy_BEGIN_ALLOW_THREADS
;
5524 _result
= (bool )wxScreenDC_StartDrawingOnTopRect(_arg0
,_arg1
);
5526 wxPy_END_ALLOW_THREADS
;
5527 } _resultobj
= Py_BuildValue("i",_result
);
5531 #define wxScreenDC_EndDrawingOnTop(_swigobj) (_swigobj->EndDrawingOnTop())
5532 static PyObject
*_wrap_wxScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
) {
5533 PyObject
* _resultobj
;
5539 if(!PyArg_ParseTuple(args
,"s:wxScreenDC_EndDrawingOnTop",&_argc0
))
5542 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxScreenDC_p")) {
5543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_EndDrawingOnTop. Expected _wxScreenDC_p.");
5548 wxPy_BEGIN_ALLOW_THREADS
;
5549 _result
= (bool )wxScreenDC_EndDrawingOnTop(_arg0
);
5551 wxPy_END_ALLOW_THREADS
;
5552 } _resultobj
= Py_BuildValue("i",_result
);
5556 static void
*SwigwxClientDCTowxDC(void
*ptr
) {
5559 src
= (wxClientDC
*) ptr
;
5560 dest
= (wxDC
*) src
;
5561 return (void
*) dest
;
5564 #define new_wxClientDC(_swigarg0) (new wxClientDC(_swigarg0))
5565 static PyObject
*_wrap_new_wxClientDC(PyObject
*self
, PyObject
*args
) {
5566 PyObject
* _resultobj
;
5567 wxClientDC
* _result
;
5573 if(!PyArg_ParseTuple(args
,"s:new_wxClientDC",&_argc0
))
5576 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxWindow_p")) {
5577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxClientDC. Expected _wxWindow_p.");
5582 wxPy_BEGIN_ALLOW_THREADS
;
5583 _result
= (wxClientDC
*)new_wxClientDC(_arg0
);
5585 wxPy_END_ALLOW_THREADS
;
5586 } SWIG_MakePtr(_ptemp
, (char
*) _result
,"_wxClientDC_p");
5587 _resultobj
= Py_BuildValue("s",_ptemp
);
5591 static void
*SwigwxPaintDCTowxDC(void
*ptr
) {
5594 src
= (wxPaintDC
*) ptr
;
5595 dest
= (wxDC
*) src
;
5596 return (void
*) dest
;
5599 #define new_wxPaintDC(_swigarg0) (new wxPaintDC(_swigarg0))
5600 static PyObject
*_wrap_new_wxPaintDC(PyObject
*self
, PyObject
*args
) {
5601 PyObject
* _resultobj
;
5602 wxPaintDC
* _result
;
5608 if(!PyArg_ParseTuple(args
,"s:new_wxPaintDC",&_argc0
))
5611 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxWindow_p")) {
5612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPaintDC. Expected _wxWindow_p.");
5617 wxPy_BEGIN_ALLOW_THREADS
;
5618 _result
= (wxPaintDC
*)new_wxPaintDC(_arg0
);
5620 wxPy_END_ALLOW_THREADS
;
5621 } SWIG_MakePtr(_ptemp
, (char
*) _result
,"_wxPaintDC_p");
5622 _resultobj
= Py_BuildValue("s",_ptemp
);
5626 static void
*SwigwxWindowDCTowxDC(void
*ptr
) {
5629 src
= (wxWindowDC
*) ptr
;
5630 dest
= (wxDC
*) src
;
5631 return (void
*) dest
;
5634 #define new_wxWindowDC(_swigarg0) (new wxWindowDC(_swigarg0))
5635 static PyObject
*_wrap_new_wxWindowDC(PyObject
*self
, PyObject
*args
) {
5636 PyObject
* _resultobj
;
5637 wxWindowDC
* _result
;
5643 if(!PyArg_ParseTuple(args
,"s:new_wxWindowDC",&_argc0
))
5646 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxWindow_p")) {
5647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDC. Expected _wxWindow_p.");
5652 wxPy_BEGIN_ALLOW_THREADS
;
5653 _result
= (wxWindowDC
*)new_wxWindowDC(_arg0
);
5655 wxPy_END_ALLOW_THREADS
;
5656 } SWIG_MakePtr(_ptemp
, (char
*) _result
,"_wxWindowDC_p");
5657 _resultobj
= Py_BuildValue("s",_ptemp
);
5661 static void
*SwigwxPrinterDCTowxDC(void
*ptr
) {
5664 src
= (wxPrinterDC
*) ptr
;
5665 dest
= (wxDC
*) src
;
5666 return (void
*) dest
;
5669 #define new_wxPrinterDC(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxPrinterDC(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5670 static PyObject
*_wrap_new_wxPrinterDC(PyObject
*self
, PyObject
*args
) {
5671 PyObject
* _resultobj
;
5672 wxPrinterDC
* _result
;
5677 int _arg4
= (wxPORTRAIT
);
5678 PyObject
* _obj0
= 0;
5679 PyObject
* _obj1
= 0;
5680 PyObject
* _obj2
= 0;
5685 if(!PyArg_ParseTuple(args
,"OOO|ii:new_wxPrinterDC",&_obj0
,&_obj1
,&_obj2
,&tempbool3
,&_arg4
))
5688 if (!PyString_Check(_obj0
)) {
5689 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5692 _arg0
= new
wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
5695 if (!PyString_Check(_obj1
)) {
5696 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5699 _arg1
= new
wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5702 if (!PyString_Check(_obj2
)) {
5703 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5706 _arg2
= new
wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5708 _arg3
= (bool ) tempbool3
;
5710 wxPy_BEGIN_ALLOW_THREADS
;
5711 _result
= (wxPrinterDC
*)new_wxPrinterDC(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
5713 wxPy_END_ALLOW_THREADS
;
5714 } SWIG_MakePtr(_ptemp
, (char
*) _result
,"_wxPrinterDC_p");
5715 _resultobj
= Py_BuildValue("s",_ptemp
);
5731 static void
*SwigwxMetaFileDCTowxDC(void
*ptr
) {
5734 src
= (wxMetaFileDC
*) ptr
;
5735 dest
= (wxDC
*) src
;
5736 return (void
*) dest
;
5739 #define new_wxMetaFileDC(_swigarg0) (new wxMetaFileDC(_swigarg0))
5740 static PyObject
*_wrap_new_wxMetaFileDC(PyObject
*self
, PyObject
*args
) {
5741 PyObject
* _resultobj
;
5742 wxMetaFileDC
* _result
;
5743 wxString
* _arg0
= &wxPyEmptyStr
;
5744 PyObject
* _obj0
= 0;
5748 if(!PyArg_ParseTuple(args
,"|O:new_wxMetaFileDC",&_obj0
))
5752 if (!PyString_Check(_obj0
)) {
5753 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5756 _arg0
= new
wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
5759 wxPy_BEGIN_ALLOW_THREADS
;
5760 _result
= (wxMetaFileDC
*)new_wxMetaFileDC(*_arg0
);
5762 wxPy_END_ALLOW_THREADS
;
5763 } SWIG_MakePtr(_ptemp
, (char
*) _result
,"_wxMetaFileDC_p");
5764 _resultobj
= Py_BuildValue("s",_ptemp
);
5772 #define wxMetaFileDC_Close(_swigobj) (_swigobj->Close())
5773 static PyObject
*_wrap_wxMetaFileDC_Close(PyObject
*self
, PyObject
*args
) {
5774 PyObject
* _resultobj
;
5775 wxMetaFile
* _result
;
5776 wxMetaFileDC
* _arg0
;
5781 if(!PyArg_ParseTuple(args
,"s:wxMetaFileDC_Close",&_argc0
))
5784 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxMetaFileDC_p")) {
5785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMetaFileDC_Close. Expected _wxMetaFileDC_p.");
5790 wxPy_BEGIN_ALLOW_THREADS
;
5791 _result
= (wxMetaFile
*)wxMetaFileDC_Close(_arg0
);
5793 wxPy_END_ALLOW_THREADS
;
5794 } SWIG_MakePtr(_ptemp
, (char
*) _result
,"_wxMetaFile_p");
5795 _resultobj
= Py_BuildValue("s",_ptemp
);
5799 #define new_wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5800 static PyObject
*_wrap_new_wxPalette(PyObject
*self
, PyObject
*args
) {
5801 PyObject
* _resultobj
;
5802 wxPalette
* _result
;
5807 PyObject
* _obj1
= 0;
5808 PyObject
* _obj2
= 0;
5809 PyObject
* _obj3
= 0;
5813 if(!PyArg_ParseTuple(args
,"OOO:new_wxPalette",&_obj1
,&_obj2
,&_obj3
))
5816 _arg1
= byte_LIST_helper(_obj1
);
5817 if (_arg1
== NULL
) {
5822 _arg2
= byte_LIST_helper(_obj2
);
5823 if (_arg2
== NULL
) {
5829 _arg3
= byte_LIST_helper(_obj3
);
5830 if (_arg3
== NULL
) {
5836 _arg0
= PyList_Size(_obj1
);
5843 wxPy_BEGIN_ALLOW_THREADS
;
5844 _result
= (wxPalette
*)new_wxPalette(_arg0
,_arg1
,_arg2
,_arg3
);
5846 wxPy_END_ALLOW_THREADS
;
5847 } SWIG_MakePtr(_ptemp
, (char
*) _result
,"_wxPalette_p");
5848 _resultobj
= Py_BuildValue("s",_ptemp
);
5861 #define delete_wxPalette(_swigobj) (delete _swigobj)
5862 static PyObject
*_wrap_delete_wxPalette(PyObject
*self
, PyObject
*args
) {
5863 PyObject
* _resultobj
;
5868 if(!PyArg_ParseTuple(args
,"s:delete_wxPalette",&_argc0
))
5871 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxPalette_p")) {
5872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPalette. Expected _wxPalette_p.");
5877 wxPy_BEGIN_ALLOW_THREADS
;
5878 delete_wxPalette(_arg0
);
5880 wxPy_END_ALLOW_THREADS
;
5881 } Py_INCREF(Py_None
);
5882 _resultobj
= Py_None
;
5886 #define wxPalette_GetPixel(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetPixel(_swigarg0,_swigarg1,_swigarg2))
5887 static PyObject
*_wrap_wxPalette_GetPixel(PyObject
*self
, PyObject
*args
) {
5888 PyObject
* _resultobj
;
5897 if(!PyArg_ParseTuple(args
,"sbbb:wxPalette_GetPixel",&_argc0
,&_arg1
,&_arg2
,&_arg3
))
5900 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxPalette_p")) {
5901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetPixel. Expected _wxPalette_p.");
5906 wxPy_BEGIN_ALLOW_THREADS
;
5907 _result
= (int )wxPalette_GetPixel(_arg0
,_arg1
,_arg2
,_arg3
);
5909 wxPy_END_ALLOW_THREADS
;
5910 } _resultobj
= Py_BuildValue("i",_result
);
5914 #define wxPalette_GetRGB(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetRGB(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5915 static PyObject
*_wrap_wxPalette_GetRGB(PyObject
*self
, PyObject
*args
) {
5916 PyObject
* _resultobj
;
5929 if(!PyArg_ParseTuple(args
,"sisss:wxPalette_GetRGB",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_argc4
))
5932 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxPalette_p")) {
5933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetRGB. Expected _wxPalette_p.");
5938 if (SWIG_GetPtr(_argc2
,(void
**) &_arg2
,"_byte_p")) {
5939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPalette_GetRGB. Expected _byte_p.");
5944 if (SWIG_GetPtr(_argc3
,(void
**) &_arg3
,"_byte_p")) {
5945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxPalette_GetRGB. Expected _byte_p.");
5950 if (SWIG_GetPtr(_argc4
,(void
**) &_arg4
,"_byte_p")) {
5951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxPalette_GetRGB. Expected _byte_p.");
5956 wxPy_BEGIN_ALLOW_THREADS
;
5957 _result
= (bool )wxPalette_GetRGB(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5959 wxPy_END_ALLOW_THREADS
;
5960 } _resultobj
= Py_BuildValue("i",_result
);
5964 #define wxPalette_Ok(_swigobj) (_swigobj->Ok())
5965 static PyObject
*_wrap_wxPalette_Ok(PyObject
*self
, PyObject
*args
) {
5966 PyObject
* _resultobj
;
5972 if(!PyArg_ParseTuple(args
,"s:wxPalette_Ok",&_argc0
))
5975 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxPalette_p")) {
5976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_Ok. Expected _wxPalette_p.");
5981 wxPy_BEGIN_ALLOW_THREADS
;
5982 _result
= (bool )wxPalette_Ok(_arg0
);
5984 wxPy_END_ALLOW_THREADS
;
5985 } _resultobj
= Py_BuildValue("i",_result
);
5989 #define new_wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5990 static PyObject
*_wrap_new_wxImageList(PyObject
*self
, PyObject
*args
) {
5991 PyObject
* _resultobj
;
5992 wxImageList
* _result
;
6001 if(!PyArg_ParseTuple(args
,"ii|ii:new_wxImageList",&_arg0
,&_arg1
,&tempbool2
,&_arg3
))
6003 _arg2
= (bool ) tempbool2
;
6005 wxPy_BEGIN_ALLOW_THREADS
;
6006 _result
= (wxImageList
*)new_wxImageList(_arg0
,_arg1
,_arg2
,_arg3
);
6008 wxPy_END_ALLOW_THREADS
;
6009 } SWIG_MakePtr(_ptemp
, (char
*) _result
,"_wxImageList_p");
6010 _resultobj
= Py_BuildValue("s",_ptemp
);
6014 #define delete_wxImageList(_swigobj) (delete _swigobj)
6015 static PyObject
*_wrap_delete_wxImageList(PyObject
*self
, PyObject
*args
) {
6016 PyObject
* _resultobj
;
6017 wxImageList
* _arg0
;
6021 if(!PyArg_ParseTuple(args
,"s:delete_wxImageList",&_argc0
))
6024 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxImageList_p")) {
6025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxImageList. Expected _wxImageList_p.");
6030 wxPy_BEGIN_ALLOW_THREADS
;
6031 delete_wxImageList(_arg0
);
6033 wxPy_END_ALLOW_THREADS
;
6034 } Py_INCREF(Py_None
);
6035 _resultobj
= Py_None
;
6039 #define wxImageList_Add(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
6040 static PyObject
*_wrap_wxImageList_Add(PyObject
*self
, PyObject
*args
) {
6041 PyObject
* _resultobj
;
6043 wxImageList
* _arg0
;
6045 wxBitmap
* _arg2
= &wxNullBitmap
;
6051 if(!PyArg_ParseTuple(args
,"ss|s:wxImageList_Add",&_argc0
,&_argc1
,&_argc2
))
6054 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxImageList_p")) {
6055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Add. Expected _wxImageList_p.");
6060 if (SWIG_GetPtr(_argc1
,(void
**) &_arg1
,"_wxBitmap_p")) {
6061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_Add. Expected _wxBitmap_p.");
6066 if (SWIG_GetPtr(_argc2
,(void
**) &_arg2
,"_wxBitmap_p")) {
6067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Add. Expected _wxBitmap_p.");
6072 wxPy_BEGIN_ALLOW_THREADS
;
6073 _result
= (int )wxImageList_Add(_arg0
,*_arg1
,*_arg2
);
6075 wxPy_END_ALLOW_THREADS
;
6076 } _resultobj
= Py_BuildValue("i",_result
);
6080 #define wxImageList_AddWithColourMask(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
6081 static PyObject
*_wrap_wxImageList_AddWithColourMask(PyObject
*self
, PyObject
*args
) {
6082 PyObject
* _resultobj
;
6084 wxImageList
* _arg0
;
6092 if(!PyArg_ParseTuple(args
,"sss:wxImageList_AddWithColourMask",&_argc0
,&_argc1
,&_argc2
))
6095 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxImageList_p")) {
6096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_AddWithColourMask. Expected _wxImageList_p.");
6101 if (SWIG_GetPtr(_argc1
,(void
**) &_arg1
,"_wxBitmap_p")) {
6102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_AddWithColourMask. Expected _wxBitmap_p.");
6107 if (SWIG_GetPtr(_argc2
,(void
**) &_arg2
,"_wxColour_p")) {
6108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_AddWithColourMask. Expected _wxColour_p.");
6113 wxPy_BEGIN_ALLOW_THREADS
;
6114 _result
= (int )wxImageList_AddWithColourMask(_arg0
,*_arg1
,*_arg2
);
6116 wxPy_END_ALLOW_THREADS
;
6117 } _resultobj
= Py_BuildValue("i",_result
);
6121 #define wxImageList_AddIcon(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
6122 static PyObject
*_wrap_wxImageList_AddIcon(PyObject
*self
, PyObject
*args
) {
6123 PyObject
* _resultobj
;
6125 wxImageList
* _arg0
;
6131 if(!PyArg_ParseTuple(args
,"ss:wxImageList_AddIcon",&_argc0
,&_argc1
))
6134 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxImageList_p")) {
6135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_AddIcon. Expected _wxImageList_p.");
6140 if (SWIG_GetPtr(_argc1
,(void
**) &_arg1
,"_wxIcon_p")) {
6141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_AddIcon. Expected _wxIcon_p.");
6146 wxPy_BEGIN_ALLOW_THREADS
;
6147 _result
= (int )wxImageList_AddIcon(_arg0
,*_arg1
);
6149 wxPy_END_ALLOW_THREADS
;
6150 } _resultobj
= Py_BuildValue("i",_result
);
6154 #define wxImageList_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
6155 static PyObject
*_wrap_wxImageList_Replace(PyObject
*self
, PyObject
*args
) {
6156 PyObject
* _resultobj
;
6158 wxImageList
* _arg0
;
6161 wxBitmap
* _arg3
= &wxNullBitmap
;
6167 if(!PyArg_ParseTuple(args
,"sis|s:wxImageList_Replace",&_argc0
,&_arg1
,&_argc2
,&_argc3
))
6170 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxImageList_p")) {
6171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Replace. Expected _wxImageList_p.");
6176 if (SWIG_GetPtr(_argc2
,(void
**) &_arg2
,"_wxBitmap_p")) {
6177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Replace. Expected _wxBitmap_p.");
6182 if (SWIG_GetPtr(_argc3
,(void
**) &_arg3
,"_wxBitmap_p")) {
6183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxImageList_Replace. Expected _wxBitmap_p.");
6188 wxPy_BEGIN_ALLOW_THREADS
;
6189 _result
= (bool )wxImageList_Replace(_arg0
,_arg1
,*_arg2
,*_arg3
);
6191 wxPy_END_ALLOW_THREADS
;
6192 } _resultobj
= Py_BuildValue("i",_result
);
6196 #define wxImageList_ReplaceIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->Replace(_swigarg0,_swigarg1))
6197 static PyObject
*_wrap_wxImageList_ReplaceIcon(PyObject
*self
, PyObject
*args
) {
6198 PyObject
* _resultobj
;
6200 wxImageList
* _arg0
;
6207 if(!PyArg_ParseTuple(args
,"sis:wxImageList_ReplaceIcon",&_argc0
,&_arg1
,&_argc2
))
6210 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxImageList_p")) {
6211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_ReplaceIcon. Expected _wxImageList_p.");
6216 if (SWIG_GetPtr(_argc2
,(void
**) &_arg2
,"_wxIcon_p")) {
6217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_ReplaceIcon. Expected _wxIcon_p.");
6222 wxPy_BEGIN_ALLOW_THREADS
;
6223 _result
= (bool )wxImageList_ReplaceIcon(_arg0
,_arg1
,*_arg2
);
6225 wxPy_END_ALLOW_THREADS
;
6226 } _resultobj
= Py_BuildValue("i",_result
);
6230 #define wxImageList_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6231 static PyObject
*_wrap_wxImageList_Draw(PyObject
*self
, PyObject
*args
) {
6232 PyObject
* _resultobj
;
6234 wxImageList
* _arg0
;
6239 int _arg5
= (wxIMAGELIST_DRAW_NORMAL
);
6246 if(!PyArg_ParseTuple(args
,"sisii|ii:wxImageList_Draw",&_argc0
,&_arg1
,&_argc2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
6249 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxImageList_p")) {
6250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Draw. Expected _wxImageList_p.");
6255 if (SWIG_GetPtr(_argc2
,(void
**) &_arg2
,"_wxDC_p")) {
6256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Draw. Expected _wxDC_p.");
6260 _arg6
= (bool ) tempbool6
;
6262 wxPy_BEGIN_ALLOW_THREADS
;
6263 _result
= (bool )wxImageList_Draw(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
6265 wxPy_END_ALLOW_THREADS
;
6266 } _resultobj
= Py_BuildValue("i",_result
);
6270 #define wxImageList_GetImageCount(_swigobj) (_swigobj->GetImageCount())
6271 static PyObject
*_wrap_wxImageList_GetImageCount(PyObject
*self
, PyObject
*args
) {
6272 PyObject
* _resultobj
;
6274 wxImageList
* _arg0
;
6278 if(!PyArg_ParseTuple(args
,"s:wxImageList_GetImageCount",&_argc0
))
6281 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxImageList_p")) {
6282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_GetImageCount. Expected _wxImageList_p.");
6287 wxPy_BEGIN_ALLOW_THREADS
;
6288 _result
= (int )wxImageList_GetImageCount(_arg0
);
6290 wxPy_END_ALLOW_THREADS
;
6291 } _resultobj
= Py_BuildValue("i",_result
);
6295 #define wxImageList_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
6296 static PyObject
*_wrap_wxImageList_Remove(PyObject
*self
, PyObject
*args
) {
6297 PyObject
* _resultobj
;
6299 wxImageList
* _arg0
;
6304 if(!PyArg_ParseTuple(args
,"si:wxImageList_Remove",&_argc0
,&_arg1
))
6307 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxImageList_p")) {
6308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Remove. Expected _wxImageList_p.");
6313 wxPy_BEGIN_ALLOW_THREADS
;
6314 _result
= (bool )wxImageList_Remove(_arg0
,_arg1
);
6316 wxPy_END_ALLOW_THREADS
;
6317 } _resultobj
= Py_BuildValue("i",_result
);
6321 #define wxImageList_RemoveAll(_swigobj) (_swigobj->RemoveAll())
6322 static PyObject
*_wrap_wxImageList_RemoveAll(PyObject
*self
, PyObject
*args
) {
6323 PyObject
* _resultobj
;
6325 wxImageList
* _arg0
;
6329 if(!PyArg_ParseTuple(args
,"s:wxImageList_RemoveAll",&_argc0
))
6332 if (SWIG_GetPtr(_argc0
,(void
**) &_arg0
,"_wxImageList_p")) {
6333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_RemoveAll. Expected _wxImageList_p.");
6338 wxPy_BEGIN_ALLOW_THREADS
;
6339 _result
= (bool )wxImageList_RemoveAll(_arg0
);
6341 wxPy_END_ALLOW_THREADS
;
6342 } _resultobj
= Py_BuildValue("i",_result
);
6346 static PyMethodDef gdicMethods
[] = {
6347 { "wxImageList_RemoveAll", _wrap_wxImageList_RemoveAll, 1 }
,
6348 { "wxImageList_Remove", _wrap_wxImageList_Remove, 1 }
,
6349 { "wxImageList_GetImageCount", _wrap_wxImageList_GetImageCount, 1 }
,
6350 { "wxImageList_Draw", _wrap_wxImageList_Draw, 1 }
,
6351 { "wxImageList_ReplaceIcon", _wrap_wxImageList_ReplaceIcon, 1 }
,
6352 { "wxImageList_Replace", _wrap_wxImageList_Replace, 1 }
,
6353 { "wxImageList_AddIcon", _wrap_wxImageList_AddIcon, 1 }
,
6354 { "wxImageList_AddWithColourMask", _wrap_wxImageList_AddWithColourMask, 1 }
,
6355 { "wxImageList_Add", _wrap_wxImageList_Add, 1 }
,
6356 { "delete_wxImageList", _wrap_delete_wxImageList, 1 }
,
6357 { "new_wxImageList", _wrap_new_wxImageList, 1 }
,
6358 { "wxPalette_Ok", _wrap_wxPalette_Ok, 1 }
,
6359 { "wxPalette_GetRGB", _wrap_wxPalette_GetRGB, 1 }
,
6360 { "wxPalette_GetPixel", _wrap_wxPalette_GetPixel, 1 }
,
6361 { "delete_wxPalette", _wrap_delete_wxPalette, 1 }
,
6362 { "new_wxPalette", _wrap_new_wxPalette, 1 }
,
6363 { "wxMetaFileDC_Close", _wrap_wxMetaFileDC_Close, 1 }
,
6364 { "new_wxMetaFileDC", _wrap_new_wxMetaFileDC, 1 }
,
6365 { "new_wxPrinterDC", _wrap_new_wxPrinterDC, 1 }
,
6366 { "new_wxWindowDC", _wrap_new_wxWindowDC, 1 }
,
6367 { "new_wxPaintDC", _wrap_new_wxPaintDC, 1 }
,
6368 { "new_wxClientDC", _wrap_new_wxClientDC, 1 }
,
6369 { "wxScreenDC_EndDrawingOnTop", _wrap_wxScreenDC_EndDrawingOnTop, 1 }
,
6370 { "wxScreenDC_StartDrawingOnTopRect", _wrap_wxScreenDC_StartDrawingOnTopRect, 1 }
,
6371 { "wxScreenDC_StartDrawingOnTop", _wrap_wxScreenDC_StartDrawingOnTop, 1 }
,
6372 { "new_wxScreenDC", _wrap_new_wxScreenDC, 1 }
,
6373 { "wxMemoryDC_SelectObject", _wrap_wxMemoryDC_SelectObject, 1 }
,
6374 { "new_wxMemoryDC", _wrap_new_wxMemoryDC, 1 }
,
6375 { "wxDC_DrawBitmap", _wrap_wxDC_DrawBitmap, 1 }
,
6376 { "wxDC_StartPage", _wrap_wxDC_StartPage, 1 }
,
6377 { "wxDC_StartDoc", _wrap_wxDC_StartDoc, 1 }
,
6378 { "wxDC_SetUserScale", _wrap_wxDC_SetUserScale, 1 }
,
6379 { "wxDC_SetTextForeground", _wrap_wxDC_SetTextForeground, 1 }
,
6380 { "wxDC_SetTextBackground", _wrap_wxDC_SetTextBackground, 1 }
,
6381 { "wxDC_SetPen", _wrap_wxDC_SetPen, 1 }
,
6382 { "wxDC_SetOptimization", _wrap_wxDC_SetOptimization, 1 }
,
6383 { "wxDC_SetMapMode", _wrap_wxDC_SetMapMode, 1 }
,
6384 { "wxDC_SetLogicalFunction", _wrap_wxDC_SetLogicalFunction, 1 }
,
6385 { "wxDC_SetFont", _wrap_wxDC_SetFont, 1 }
,
6386 { "wxDC_SetBrush", _wrap_wxDC_SetBrush, 1 }
,
6387 { "wxDC_SetPalette", _wrap_wxDC_SetPalette, 1 }
,
6388 { "wxDC_SetClippingRegion", _wrap_wxDC_SetClippingRegion, 1 }
,
6389 { "wxDC_SetBackgroundMode", _wrap_wxDC_SetBackgroundMode, 1 }
,
6390 { "wxDC_SetBackground", _wrap_wxDC_SetBackground, 1 }
,
6391 { "wxDC_SetDeviceOrigin", _wrap_wxDC_SetDeviceOrigin, 1 }
,
6392 { "wxDC_Ok", _wrap_wxDC_Ok, 1 }
,
6393 { "wxDC_MinY", _wrap_wxDC_MinY, 1 }
,
6394 { "wxDC_MinX", _wrap_wxDC_MinX, 1 }
,
6395 { "wxDC_MaxY", _wrap_wxDC_MaxY, 1 }
,
6396 { "wxDC_MaxX", _wrap_wxDC_MaxX, 1 }
,
6397 { "wxDC_LogicalToDeviceYRel", _wrap_wxDC_LogicalToDeviceYRel, 1 }
,
6398 { "wxDC_LogicalToDeviceY", _wrap_wxDC_LogicalToDeviceY, 1 }
,
6399 { "wxDC_LogicalToDeviceXRel", _wrap_wxDC_LogicalToDeviceXRel, 1 }
,
6400 { "wxDC_LogicalToDeviceX", _wrap_wxDC_LogicalToDeviceX, 1 }
,
6401 { "wxDC_GetTextForeground", _wrap_wxDC_GetTextForeground, 1 }
,
6402 { "wxDC_GetFullTextExtent", _wrap_wxDC_GetFullTextExtent, 1 }
,
6403 { "wxDC_GetTextExtent", _wrap_wxDC_GetTextExtent, 1 }
,
6404 { "wxDC_GetTextBackground", _wrap_wxDC_GetTextBackground, 1 }
,
6405 { "wxDC_GetSize", _wrap_wxDC_GetSize, 1 }
,
6406 { "wxDC_GetSizeTuple", _wrap_wxDC_GetSizeTuple, 1 }
,
6407 { "wxDC_GetPixel", _wrap_wxDC_GetPixel, 1 }
,
6408 { "wxDC_GetPen", _wrap_wxDC_GetPen, 1 }
,
6409 { "wxDC_GetOptimization", _wrap_wxDC_GetOptimization, 1 }
,
6410 { "wxDC_GetMapMode", _wrap_wxDC_GetMapMode, 1 }
,
6411 { "wxDC_GetLogicalFunction", _wrap_wxDC_GetLogicalFunction, 1 }
,
6412 { "wxDC_GetFont", _wrap_wxDC_GetFont, 1 }
,
6413 { "wxDC_GetClippingBox", _wrap_wxDC_GetClippingBox, 1 }
,
6414 { "wxDC_GetCharWidth", _wrap_wxDC_GetCharWidth, 1 }
,
6415 { "wxDC_GetCharHeight", _wrap_wxDC_GetCharHeight, 1 }
,
6416 { "wxDC_GetBrush", _wrap_wxDC_GetBrush, 1 }
,
6417 { "wxDC_GetBackground", _wrap_wxDC_GetBackground, 1 }
,
6418 { "wxDC_FloodFill", _wrap_wxDC_FloodFill, 1 }
,
6419 { "wxDC_EndPage", _wrap_wxDC_EndPage, 1 }
,
6420 { "wxDC_EndDrawing", _wrap_wxDC_EndDrawing, 1 }
,
6421 { "wxDC_EndDoc", _wrap_wxDC_EndDoc, 1 }
,
6422 { "wxDC_DrawText", _wrap_wxDC_DrawText, 1 }
,
6423 { "wxDC_DrawSpline", _wrap_wxDC_DrawSpline, 1 }
,
6424 { "wxDC_DrawRoundedRectangle", _wrap_wxDC_DrawRoundedRectangle, 1 }
,
6425 { "wxDC_DrawRectangle", _wrap_wxDC_DrawRectangle, 1 }
,
6426 { "wxDC_DrawPoint", _wrap_wxDC_DrawPoint, 1 }
,
6427 { "wxDC_DrawPolygon", _wrap_wxDC_DrawPolygon, 1 }
,
6428 { "wxDC_DrawLines", _wrap_wxDC_DrawLines, 1 }
,
6429 { "wxDC_DrawLine", _wrap_wxDC_DrawLine, 1 }
,
6430 { "wxDC_DrawIcon", _wrap_wxDC_DrawIcon, 1 }
,
6431 { "wxDC_DrawEllipticArc", _wrap_wxDC_DrawEllipticArc, 1 }
,
6432 { "wxDC_DrawEllipse", _wrap_wxDC_DrawEllipse, 1 }
,
6433 { "wxDC_DrawCircle", _wrap_wxDC_DrawCircle, 1 }
,
6434 { "wxDC_DrawArc", _wrap_wxDC_DrawArc, 1 }
,
6435 { "wxDC_DeviceToLogicalYRel", _wrap_wxDC_DeviceToLogicalYRel, 1 }
,
6436 { "wxDC_DeviceToLogicalY", _wrap_wxDC_DeviceToLogicalY, 1 }
,
6437 { "wxDC_DeviceToLogicalXRel", _wrap_wxDC_DeviceToLogicalXRel, 1 }
,
6438 { "wxDC_DeviceToLogicalX", _wrap_wxDC_DeviceToLogicalX, 1 }
,
6439 { "wxDC_DestroyClippingRegion", _wrap_wxDC_DestroyClippingRegion, 1 }
,
6440 { "wxDC_CrossHair", _wrap_wxDC_CrossHair, 1 }
,
6441 { "wxDC_Clear", _wrap_wxDC_Clear, 1 }
,
6442 { "wxDC_Blit", _wrap_wxDC_Blit, 1 }
,
6443 { "wxDC_BeginDrawing", _wrap_wxDC_BeginDrawing, 1 }
,
6444 { "delete_wxDC", _wrap_delete_wxDC, 1 }
,
6445 { "wxBrush_SetStyle", _wrap_wxBrush_SetStyle, 1 }
,
6446 { "wxBrush_SetStipple", _wrap_wxBrush_SetStipple, 1 }
,
6447 { "wxBrush_SetColour", _wrap_wxBrush_SetColour, 1 }
,
6448 { "wxBrush_Ok", _wrap_wxBrush_Ok, 1 }
,
6449 { "wxBrush_GetStyle", _wrap_wxBrush_GetStyle, 1 }
,
6450 { "wxBrush_GetStipple", _wrap_wxBrush_GetStipple, 1 }
,
6451 { "wxBrush_GetColour", _wrap_wxBrush_GetColour, 1 }
,
6452 { "new_wxBrush", _wrap_new_wxBrush, 1 }
,
6453 { "wxPen_SetStipple", _wrap_wxPen_SetStipple, 1 }
,
6454 { "wxPen_SetDashes", _wrap_wxPen_SetDashes, 1 }
,
6455 { "wxPen_GetStipple", _wrap_wxPen_GetStipple, 1 }
,
6456 { "wxPen_GetDashes", _wrap_wxPen_GetDashes, 1 }
,
6457 { "wxPen_SetWidth", _wrap_wxPen_SetWidth, 1 }
,
6458 { "wxPen_SetStyle", _wrap_wxPen_SetStyle, 1 }
,
6459 { "wxPen_SetJoin", _wrap_wxPen_SetJoin, 1 }
,
6460 { "wxPen_SetColour", _wrap_wxPen_SetColour, 1 }
,
6461 { "wxPen_SetCap", _wrap_wxPen_SetCap, 1 }
,
6462 { "wxPen_Ok", _wrap_wxPen_Ok, 1 }
,
6463 { "wxPen_GetWidth", _wrap_wxPen_GetWidth, 1 }
,
6464 { "wxPen_GetStyle", _wrap_wxPen_GetStyle, 1 }
,
6465 { "wxPen_GetJoin", _wrap_wxPen_GetJoin, 1 }
,
6466 { "wxPen_GetColour", _wrap_wxPen_GetColour, 1 }
,
6467 { "wxPen_GetCap", _wrap_wxPen_GetCap, 1 }
,
6468 { "new_wxPen", _wrap_new_wxPen, 1 }
,
6469 { "wxColour_Get", _wrap_wxColour_Get, 1 }
,
6470 { "wxColour_Set", _wrap_wxColour_Set, 1 }
,
6471 { "wxColour_Ok", _wrap_wxColour_Ok, 1 }
,
6472 { "wxColour_Blue", _wrap_wxColour_Blue, 1 }
,
6473 { "wxColour_Green", _wrap_wxColour_Green, 1 }
,
6474 { "wxColour_Red", _wrap_wxColour_Red, 1 }
,
6475 { "delete_wxColour", _wrap_delete_wxColour, 1 }
,
6476 { "new_wxColour", _wrap_new_wxColour, 1 }
,
6477 { "wxFont_SetWeight", _wrap_wxFont_SetWeight, 1 }
,
6478 { "wxFont_SetUnderlined", _wrap_wxFont_SetUnderlined, 1 }
,
6479 { "wxFont_SetStyle", _wrap_wxFont_SetStyle, 1 }
,
6480 { "wxFont_SetPointSize", _wrap_wxFont_SetPointSize, 1 }
,
6481 { "wxFont_SetFamily", _wrap_wxFont_SetFamily, 1 }
,
6482 { "wxFont_SetFaceName", _wrap_wxFont_SetFaceName, 1 }
,
6483 { "wxFont_GetWeight", _wrap_wxFont_GetWeight, 1 }
,
6484 { "wxFont_GetUnderlined", _wrap_wxFont_GetUnderlined, 1 }
,
6485 { "wxFont_GetStyle", _wrap_wxFont_GetStyle, 1 }
,
6486 { "wxFont_GetPointSize", _wrap_wxFont_GetPointSize, 1 }
,
6487 { "wxFont_GetFontId", _wrap_wxFont_GetFontId, 1 }
,
6488 { "wxFont_GetFamily", _wrap_wxFont_GetFamily, 1 }
,
6489 { "wxFont_GetFaceName", _wrap_wxFont_GetFaceName, 1 }
,
6490 { "new_wxFont", _wrap_new_wxFont, 1 }
,
6491 { "wxCursor_Ok", _wrap_wxCursor_Ok, 1 }
,
6492 { "delete_wxCursor", _wrap_delete_wxCursor, 1 }
,
6493 { "new_wxCursor", _wrap_new_wxCursor, 1 }
,
6494 { "wxIcon_SetWidth", _wrap_wxIcon_SetWidth, 1 }
,
6495 { "wxIcon_SetHeight", _wrap_wxIcon_SetHeight, 1 }
,
6496 { "wxIcon_SetDepth", _wrap_wxIcon_SetDepth, 1 }
,
6497 { "wxIcon_Ok", _wrap_wxIcon_Ok, 1 }
,
6498 { "wxIcon_LoadFile", _wrap_wxIcon_LoadFile, 1 }
,
6499 { "wxIcon_GetWidth", _wrap_wxIcon_GetWidth, 1 }
,
6500 { "wxIcon_GetHeight", _wrap_wxIcon_GetHeight, 1 }
,
6501 { "wxIcon_GetDepth", _wrap_wxIcon_GetDepth, 1 }
,
6502 { "delete_wxIcon", _wrap_delete_wxIcon, 1 }
,
6503 { "new_wxIcon", _wrap_new_wxIcon, 1 }
,
6504 { "delete_wxMask", _wrap_delete_wxMask, 1 }
,
6505 { "new_wxMask", _wrap_new_wxMask, 1 }
,
6506 { "wxBitmap_SetWidth", _wrap_wxBitmap_SetWidth, 1 }
,
6507 { "wxBitmap_SetPalette", _wrap_wxBitmap_SetPalette, 1 }
,
6508 { "wxBitmap_SetMask", _wrap_wxBitmap_SetMask, 1 }
,
6509 { "wxBitmap_SetHeight", _wrap_wxBitmap_SetHeight, 1 }
,
6510 { "wxBitmap_SetDepth", _wrap_wxBitmap_SetDepth, 1 }
,
6511 { "wxBitmap_SaveFile", _wrap_wxBitmap_SaveFile, 1 }
,
6512 { "wxBitmap_Ok", _wrap_wxBitmap_Ok, 1 }
,
6513 { "wxBitmap_LoadFile", _wrap_wxBitmap_LoadFile, 1 }
,
6514 { "wxBitmap_GetWidth", _wrap_wxBitmap_GetWidth, 1 }
,
6515 { "wxBitmap_GetMask", _wrap_wxBitmap_GetMask, 1 }
,
6516 { "wxBitmap_GetPalette", _wrap_wxBitmap_GetPalette, 1 }
,
6517 { "wxBitmap_GetHeight", _wrap_wxBitmap_GetHeight, 1 }
,
6518 { "wxBitmap_GetDepth", _wrap_wxBitmap_GetDepth, 1 }
,
6519 { "wxBitmap_Create", _wrap_wxBitmap_Create, 1 }
,
6520 { "delete_wxBitmap", _wrap_delete_wxBitmap, 1 }
,
6521 { "new_wxBitmap", _wrap_new_wxBitmap, 1 }
,
6522 { "wxMemoryDCFromDC", _wrap_wxMemoryDCFromDC, 1 }
,
6523 { "wxNamedColour", _wrap_wxNamedColour, 1 }
,
6524 { "wxStockCursor", _wrap_wxStockCursor, 1 }
,
6525 { "wxMaskColour", _wrap_wxMaskColour, 1 }
,
6526 { "wxBitmapFromData", _wrap_wxBitmapFromData, 1 }
,
6527 { "wxNoRefBitmap", _wrap_wxNoRefBitmap, 1 }
,
6528 { "wxEmptyBitmap", _wrap_wxEmptyBitmap, 1 }
,
6531 static PyObject
*SWIG_globals
;
6535 SWIGEXPORT(void
,initgdic
)() {
6537 SWIG_globals
= SWIG_newvarlink();
6538 m
= Py_InitModule("gdic", gdicMethods
);
6539 d
= PyModule_GetDict(m
);
6540 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
6541 SWIG_addvarlink(SWIG_globals
,"wxNORMAL_FONT",_wrap_wxNORMAL_FONT_get
, _wrap_wxNORMAL_FONT_set
);
6542 SWIG_addvarlink(SWIG_globals
,"wxSMALL_FONT",_wrap_wxSMALL_FONT_get
, _wrap_wxSMALL_FONT_set
);
6543 SWIG_addvarlink(SWIG_globals
,"wxITALIC_FONT",_wrap_wxITALIC_FONT_get
, _wrap_wxITALIC_FONT_set
);
6544 SWIG_addvarlink(SWIG_globals
,"wxSWISS_FONT",_wrap_wxSWISS_FONT_get
, _wrap_wxSWISS_FONT_set
);
6545 SWIG_addvarlink(SWIG_globals
,"wxRED_PEN",_wrap_wxRED_PEN_get
, _wrap_wxRED_PEN_set
);
6546 SWIG_addvarlink(SWIG_globals
,"wxCYAN_PEN",_wrap_wxCYAN_PEN_get
, _wrap_wxCYAN_PEN_set
);
6547 SWIG_addvarlink(SWIG_globals
,"wxGREEN_PEN",_wrap_wxGREEN_PEN_get
, _wrap_wxGREEN_PEN_set
);
6548 SWIG_addvarlink(SWIG_globals
,"wxBLACK_PEN",_wrap_wxBLACK_PEN_get
, _wrap_wxBLACK_PEN_set
);
6549 SWIG_addvarlink(SWIG_globals
,"wxWHITE_PEN",_wrap_wxWHITE_PEN_get
, _wrap_wxWHITE_PEN_set
);
6550 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_PEN",_wrap_wxTRANSPARENT_PEN_get
, _wrap_wxTRANSPARENT_PEN_set
);
6551 SWIG_addvarlink(SWIG_globals
,"wxBLACK_DASHED_PEN",_wrap_wxBLACK_DASHED_PEN_get
, _wrap_wxBLACK_DASHED_PEN_set
);
6552 SWIG_addvarlink(SWIG_globals
,"wxGREY_PEN",_wrap_wxGREY_PEN_get
, _wrap_wxGREY_PEN_set
);
6553 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_PEN",_wrap_wxMEDIUM_GREY_PEN_get
, _wrap_wxMEDIUM_GREY_PEN_set
);
6554 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_PEN",_wrap_wxLIGHT_GREY_PEN_get
, _wrap_wxLIGHT_GREY_PEN_set
);
6555 SWIG_addvarlink(SWIG_globals
,"wxBLUE_BRUSH",_wrap_wxBLUE_BRUSH_get
, _wrap_wxBLUE_BRUSH_set
);
6556 SWIG_addvarlink(SWIG_globals
,"wxGREEN_BRUSH",_wrap_wxGREEN_BRUSH_get
, _wrap_wxGREEN_BRUSH_set
);
6557 SWIG_addvarlink(SWIG_globals
,"wxWHITE_BRUSH",_wrap_wxWHITE_BRUSH_get
, _wrap_wxWHITE_BRUSH_set
);
6558 SWIG_addvarlink(SWIG_globals
,"wxBLACK_BRUSH",_wrap_wxBLACK_BRUSH_get
, _wrap_wxBLACK_BRUSH_set
);
6559 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_BRUSH",_wrap_wxTRANSPARENT_BRUSH_get
, _wrap_wxTRANSPARENT_BRUSH_set
);
6560 SWIG_addvarlink(SWIG_globals
,"wxCYAN_BRUSH",_wrap_wxCYAN_BRUSH_get
, _wrap_wxCYAN_BRUSH_set
);
6561 SWIG_addvarlink(SWIG_globals
,"wxRED_BRUSH",_wrap_wxRED_BRUSH_get
, _wrap_wxRED_BRUSH_set
);
6562 SWIG_addvarlink(SWIG_globals
,"wxGREY_BRUSH",_wrap_wxGREY_BRUSH_get
, _wrap_wxGREY_BRUSH_set
);
6563 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_BRUSH",_wrap_wxMEDIUM_GREY_BRUSH_get
, _wrap_wxMEDIUM_GREY_BRUSH_set
);
6564 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_BRUSH",_wrap_wxLIGHT_GREY_BRUSH_get
, _wrap_wxLIGHT_GREY_BRUSH_set
);
6565 SWIG_addvarlink(SWIG_globals
,"wxBLACK",_wrap_wxBLACK_get
, _wrap_wxBLACK_set
);
6566 SWIG_addvarlink(SWIG_globals
,"wxWHITE",_wrap_wxWHITE_get
, _wrap_wxWHITE_set
);
6567 SWIG_addvarlink(SWIG_globals
,"wxRED",_wrap_wxRED_get
, _wrap_wxRED_set
);
6568 SWIG_addvarlink(SWIG_globals
,"wxBLUE",_wrap_wxBLUE_get
, _wrap_wxBLUE_set
);
6569 SWIG_addvarlink(SWIG_globals
,"wxGREEN",_wrap_wxGREEN_get
, _wrap_wxGREEN_set
);
6570 SWIG_addvarlink(SWIG_globals
,"wxCYAN",_wrap_wxCYAN_get
, _wrap_wxCYAN_set
);
6571 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY",_wrap_wxLIGHT_GREY_get
, _wrap_wxLIGHT_GREY_set
);
6572 SWIG_addvarlink(SWIG_globals
,"wxSTANDARD_CURSOR",_wrap_wxSTANDARD_CURSOR_get
, _wrap_wxSTANDARD_CURSOR_set
);
6573 SWIG_addvarlink(SWIG_globals
,"wxHOURGLASS_CURSOR",_wrap_wxHOURGLASS_CURSOR_get
, _wrap_wxHOURGLASS_CURSOR_set
);
6574 SWIG_addvarlink(SWIG_globals
,"wxCROSS_CURSOR",_wrap_wxCROSS_CURSOR_get
, _wrap_wxCROSS_CURSOR_set
);
6575 SWIG_addvarlink(SWIG_globals
,"wxNullBitmap",_wrap_wxNullBitmap_get
, _wrap_wxNullBitmap_set
);
6576 SWIG_addvarlink(SWIG_globals
,"wxNullIcon",_wrap_wxNullIcon_get
, _wrap_wxNullIcon_set
);
6577 SWIG_addvarlink(SWIG_globals
,"wxNullCursor",_wrap_wxNullCursor_get
, _wrap_wxNullCursor_set
);
6578 SWIG_addvarlink(SWIG_globals
,"wxNullPen",_wrap_wxNullPen_get
, _wrap_wxNullPen_set
);
6579 SWIG_addvarlink(SWIG_globals
,"wxNullBrush",_wrap_wxNullBrush_get
, _wrap_wxNullBrush_set
);
6580 SWIG_addvarlink(SWIG_globals
,"wxNullPalette",_wrap_wxNullPalette_get
, _wrap_wxNullPalette_set
);
6581 SWIG_addvarlink(SWIG_globals
,"wxNullFont",_wrap_wxNullFont_get
, _wrap_wxNullFont_set
);
6582 SWIG_addvarlink(SWIG_globals
,"wxNullColour",_wrap_wxNullColour_get
, _wrap_wxNullColour_set
);
6583 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_NORMAL", PyInt_FromLong((long) wxIMAGELIST_DRAW_NORMAL
));
6584 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_TRANSPARENT", PyInt_FromLong((long) wxIMAGELIST_DRAW_TRANSPARENT
));
6585 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_SELECTED", PyInt_FromLong((long) wxIMAGELIST_DRAW_SELECTED
));
6586 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_FOCUSED", PyInt_FromLong((long) wxIMAGELIST_DRAW_FOCUSED
));
6587 PyDict_SetItemString(d
,"wxIMAGE_LIST_NORMAL", PyInt_FromLong((long) wxIMAGE_LIST_NORMAL
));
6588 PyDict_SetItemString(d
,"wxIMAGE_LIST_SMALL", PyInt_FromLong((long) wxIMAGE_LIST_SMALL
));
6589 PyDict_SetItemString(d
,"wxIMAGE_LIST_STATE", PyInt_FromLong((long) wxIMAGE_LIST_STATE
));
6591 * These are the pointer
type-equivalency mappings
.
6592 * (Used by the SWIG pointer
type-checker
).
6594 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
6595 SWIG_RegisterMapping("_signed_long","_long",0);
6596 SWIG_RegisterMapping("_wxPrintQuality","_int",0);
6597 SWIG_RegisterMapping("_wxPrintQuality","_signed_int",0);
6598 SWIG_RegisterMapping("_wxPrintQuality","_unsigned_int",0);
6599 SWIG_RegisterMapping("_wxPrintQuality","_wxWindowID",0);
6600 SWIG_RegisterMapping("_wxPrintQuality","_uint",0);
6601 SWIG_RegisterMapping("_wxPrintQuality","_EBool",0);
6602 SWIG_RegisterMapping("_wxPrintQuality","_size_t",0);
6603 SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
6604 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
6605 SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
6606 SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
6607 SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
6608 SWIG_RegisterMapping("_byte","_unsigned_char",0);
6609 SWIG_RegisterMapping("_long","_wxDash",0);
6610 SWIG_RegisterMapping("_long","_unsigned_long",0);
6611 SWIG_RegisterMapping("_long","_signed_long",0);
6612 SWIG_RegisterMapping("_wxImageList","_class_wxImageList",0);
6613 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
6614 SWIG_RegisterMapping("_wxDC","_class_wxMetaFileDC",SwigwxMetaFileDCTowxDC
);
6615 SWIG_RegisterMapping("_wxDC","_wxMetaFileDC",SwigwxMetaFileDCTowxDC
);
6616 SWIG_RegisterMapping("_wxDC","_class_wxPrinterDC",SwigwxPrinterDCTowxDC
);
6617 SWIG_RegisterMapping("_wxDC","_wxPrinterDC",SwigwxPrinterDCTowxDC
);
6618 SWIG_RegisterMapping("_wxDC","_class_wxWindowDC",SwigwxWindowDCTowxDC
);
6619 SWIG_RegisterMapping("_wxDC","_wxWindowDC",SwigwxWindowDCTowxDC
);
6620 SWIG_RegisterMapping("_wxDC","_class_wxPaintDC",SwigwxPaintDCTowxDC
);
6621 SWIG_RegisterMapping("_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC
);
6622 SWIG_RegisterMapping("_wxDC","_class_wxClientDC",SwigwxClientDCTowxDC
);
6623 SWIG_RegisterMapping("_wxDC","_wxClientDC",SwigwxClientDCTowxDC
);
6624 SWIG_RegisterMapping("_wxDC","_class_wxScreenDC",SwigwxScreenDCTowxDC
);
6625 SWIG_RegisterMapping("_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC
);
6626 SWIG_RegisterMapping("_wxDC","_class_wxMemoryDC",SwigwxMemoryDCTowxDC
);
6627 SWIG_RegisterMapping("_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC
);
6628 SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
6629 SWIG_RegisterMapping("_size_t","_wxPrintQuality",0);
6630 SWIG_RegisterMapping("_size_t","_unsigned_int",0);
6631 SWIG_RegisterMapping("_size_t","_int",0);
6632 SWIG_RegisterMapping("_size_t","_wxWindowID",0);
6633 SWIG_RegisterMapping("_size_t","_uint",0);
6634 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
6635 SWIG_RegisterMapping("_wxPrinterDC","_class_wxPrinterDC",0);
6636 SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
6637 SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
6638 SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
6639 SWIG_RegisterMapping("_uint","_wxPrintQuality",0);
6640 SWIG_RegisterMapping("_uint","_size_t",0);
6641 SWIG_RegisterMapping("_uint","_unsigned_int",0);
6642 SWIG_RegisterMapping("_uint","_int",0);
6643 SWIG_RegisterMapping("_uint","_wxWindowID",0);
6644 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
6645 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
6646 SWIG_RegisterMapping("_wxBitmap","_class_wxCursor",SwigwxCursorTowxBitmap
);
6647 SWIG_RegisterMapping("_wxBitmap","_wxCursor",SwigwxCursorTowxBitmap
);
6648 SWIG_RegisterMapping("_wxBitmap","_class_wxIcon",SwigwxIconTowxBitmap
);
6649 SWIG_RegisterMapping("_wxBitmap","_wxIcon",SwigwxIconTowxBitmap
);
6650 SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0);
6651 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
6652 SWIG_RegisterMapping("_wxWindowDC","_class_wxWindowDC",0);
6653 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
6654 SWIG_RegisterMapping("_EBool","_wxPrintQuality",0);
6655 SWIG_RegisterMapping("_EBool","_signed_int",0);
6656 SWIG_RegisterMapping("_EBool","_int",0);
6657 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
6658 SWIG_RegisterMapping("_class_wxRegion","_wxRegion",0);
6659 SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
6660 SWIG_RegisterMapping("_unsigned_long","_wxDash",0);
6661 SWIG_RegisterMapping("_unsigned_long","_long",0);
6662 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
6663 SWIG_RegisterMapping("_class_wxDC","_class_wxMetaFileDC",SwigwxMetaFileDCTowxDC
);
6664 SWIG_RegisterMapping("_class_wxDC","_wxMetaFileDC",SwigwxMetaFileDCTowxDC
);
6665 SWIG_RegisterMapping("_class_wxDC","_class_wxPrinterDC",SwigwxPrinterDCTowxDC
);
6666 SWIG_RegisterMapping("_class_wxDC","_wxPrinterDC",SwigwxPrinterDCTowxDC
);
6667 SWIG_RegisterMapping("_class_wxDC","_class_wxWindowDC",SwigwxWindowDCTowxDC
);
6668 SWIG_RegisterMapping("_class_wxDC","_wxWindowDC",SwigwxWindowDCTowxDC
);
6669 SWIG_RegisterMapping("_class_wxDC","_class_wxPaintDC",SwigwxPaintDCTowxDC
);
6670 SWIG_RegisterMapping("_class_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC
);
6671 SWIG_RegisterMapping("_class_wxDC","_class_wxClientDC",SwigwxClientDCTowxDC
);
6672 SWIG_RegisterMapping("_class_wxDC","_wxClientDC",SwigwxClientDCTowxDC
);
6673 SWIG_RegisterMapping("_class_wxDC","_class_wxScreenDC",SwigwxScreenDCTowxDC
);
6674 SWIG_RegisterMapping("_class_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC
);
6675 SWIG_RegisterMapping("_class_wxDC","_class_wxMemoryDC",SwigwxMemoryDCTowxDC
);
6676 SWIG_RegisterMapping("_class_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC
);
6677 SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
6678 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
6679 SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
6680 SWIG_RegisterMapping("_signed_int","_wxPrintQuality",0);
6681 SWIG_RegisterMapping("_signed_int","_EBool",0);
6682 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
6683 SWIG_RegisterMapping("_signed_int","_int",0);
6684 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
6685 SWIG_RegisterMapping("_wxMetaFileDC","_class_wxMetaFileDC",0);
6686 SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0);
6687 SWIG_RegisterMapping("_WXTYPE","_short",0);
6688 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
6689 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
6690 SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0);
6691 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
6692 SWIG_RegisterMapping("_unsigned_short","_short",0);
6693 SWIG_RegisterMapping("_class_wxFont","_wxFont",0);
6694 SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0);
6695 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
6696 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
6697 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
6698 SWIG_RegisterMapping("_signed_short","_short",0);
6699 SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0);
6700 SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0);
6701 SWIG_RegisterMapping("_class_wxWindowDC","_wxWindowDC",0);
6702 SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
6703 SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0);
6704 SWIG_RegisterMapping("_unsigned_char","_byte",0);
6705 SWIG_RegisterMapping("_class_wxMetaFileDC","_wxMetaFileDC",0);
6706 SWIG_RegisterMapping("_unsigned_int","_wxPrintQuality",0);
6707 SWIG_RegisterMapping("_unsigned_int","_size_t",0);
6708 SWIG_RegisterMapping("_unsigned_int","_uint",0);
6709 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
6710 SWIG_RegisterMapping("_unsigned_int","_int",0);
6711 SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0);
6712 SWIG_RegisterMapping("_class_wxPen","_wxPen",0);
6713 SWIG_RegisterMapping("_short","_WXTYPE",0);
6714 SWIG_RegisterMapping("_short","_unsigned_short",0);
6715 SWIG_RegisterMapping("_short","_signed_short",0);
6716 SWIG_RegisterMapping("_class_wxImageList","_wxImageList",0);
6717 SWIG_RegisterMapping("_wxWindowID","_wxPrintQuality",0);
6718 SWIG_RegisterMapping("_wxWindowID","_size_t",0);
6719 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
6720 SWIG_RegisterMapping("_wxWindowID","_uint",0);
6721 SWIG_RegisterMapping("_wxWindowID","_int",0);
6722 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
6723 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
6724 SWIG_RegisterMapping("_int","_wxPrintQuality",0);
6725 SWIG_RegisterMapping("_int","_size_t",0);
6726 SWIG_RegisterMapping("_int","_EBool",0);
6727 SWIG_RegisterMapping("_int","_uint",0);
6728 SWIG_RegisterMapping("_int","_wxWindowID",0);
6729 SWIG_RegisterMapping("_int","_unsigned_int",0);
6730 SWIG_RegisterMapping("_int","_signed_int",0);
6731 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
6732 SWIG_RegisterMapping("_wxRegionIterator","_class_wxRegionIterator",0);
6733 SWIG_RegisterMapping("_class_wxPrinterDC","_wxPrinterDC",0);
6734 SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
6735 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
6736 SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
6737 SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
6738 SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
6739 SWIG_RegisterMapping("_wxPalette","_class_wxPalette",0);
6740 SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0);
6741 SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
6742 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
6743 SWIG_RegisterMapping("_class_wxBitmap","_class_wxCursor",SwigwxCursorTowxBitmap
);
6744 SWIG_RegisterMapping("_class_wxBitmap","_wxCursor",SwigwxCursorTowxBitmap
);
6745 SWIG_RegisterMapping("_class_wxBitmap","_class_wxIcon",SwigwxIconTowxBitmap
);
6746 SWIG_RegisterMapping("_class_wxBitmap","_wxIcon",SwigwxIconTowxBitmap
);
6747 SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
6748 SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
6749 SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
6750 SWIG_RegisterMapping("_wxDash","_long",0);
6751 SWIG_RegisterMapping("_class_wxPalette","_wxPalette",0);