4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 810)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
47 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
48 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init initgdic
54 #define SWIG_name "gdic"
57 #include <wx/metafile.h>
58 #include <wx/imaglist.h>
63 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
68 } else if (target
== Py_None
) {
72 if (!PyList_Check(target
)) {
74 target
= PyList_New(0);
75 PyList_Append(target
, o2
);
78 PyList_Append(target
,o
);
84 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
90 } else if (target
== Py_None
) {
94 if (!PyTuple_Check(target
)) {
96 target
= PyTuple_New(1);
97 PyTuple_SetItem(target
, 0, o2
);
100 PyTuple_SetItem(o3
, 0, o
);
103 target
= PySequence_Concat(o2
, o3
);
110 static char* wxStringErrorMsg
= "string type is required for parameter";
111 // Alternate 'constructor'
112 wxBitmap
* wxEmptyBitmap(int width
, int height
, int depth
=-1) {
113 return new wxBitmap(width
, height
, depth
);
117 wxBitmap
* wxBitmapFromData(char* data
, long type
,
118 int width
, int height
, int depth
= 1) {
119 return new wxBitmap((void*)data
, type
, width
, height
, depth
);
123 wxMask
* wxMaskColour(const wxBitmap
& bitmap
, const wxColour
& colour
) {
124 return new wxMask(bitmap
, colour
);
126 // Alternate 'constructor'
127 wxCursor
* wxPyStockCursor(int id
) {
128 return new wxCursor(id
);
131 wxFontEncoding
wxFont_GetDefaultEncoding() {
132 return wxFont::GetDefaultEncoding();
135 void wxFont_SetDefaultEncoding(wxFontEncoding encoding
) {
136 wxFont::SetDefaultEncoding(encoding
);
138 // Alternate 'constructor'
139 wxColour
* wxNamedColour(const wxString
& colorName
) {
140 return new wxColour(colorName
);
142 // Alternate 'constructor'
143 wxMemoryDC
* wxMemoryDCFromDC(wxDC
* oldDC
) {
144 return new wxMemoryDC(oldDC
);
148 extern wxFont
* wxNORMAL_FONT
;
149 extern wxFont
* wxSMALL_FONT
;
150 extern wxFont
* wxITALIC_FONT
;
151 extern wxFont
* wxSWISS_FONT
;
152 extern wxPen
* wxRED_PEN
;
153 extern wxPen
* wxCYAN_PEN
;
154 extern wxPen
* wxGREEN_PEN
;
155 extern wxPen
* wxBLACK_PEN
;
156 extern wxPen
* wxWHITE_PEN
;
157 extern wxPen
* wxTRANSPARENT_PEN
;
158 extern wxPen
* wxBLACK_DASHED_PEN
;
159 extern wxPen
* wxGREY_PEN
;
160 extern wxPen
* wxMEDIUM_GREY_PEN
;
161 extern wxPen
* wxLIGHT_GREY_PEN
;
162 extern wxBrush
* wxBLUE_BRUSH
;
163 extern wxBrush
* wxGREEN_BRUSH
;
164 extern wxBrush
* wxWHITE_BRUSH
;
165 extern wxBrush
* wxBLACK_BRUSH
;
166 extern wxBrush
* wxTRANSPARENT_BRUSH
;
167 extern wxBrush
* wxCYAN_BRUSH
;
168 extern wxBrush
* wxRED_BRUSH
;
169 extern wxBrush
* wxGREY_BRUSH
;
170 extern wxBrush
* wxMEDIUM_GREY_BRUSH
;
171 extern wxBrush
* wxLIGHT_GREY_BRUSH
;
172 extern wxColour
* wxBLACK
;
173 extern wxColour
* wxWHITE
;
174 extern wxColour
* wxRED
;
175 extern wxColour
* wxBLUE
;
176 extern wxColour
* wxGREEN
;
177 extern wxColour
* wxCYAN
;
178 extern wxColour
* wxLIGHT_GREY
;
179 extern wxCursor
* wxSTANDARD_CURSOR
;
180 extern wxCursor
* wxHOURGLASS_CURSOR
;
181 extern wxCursor
* wxCROSS_CURSOR
;
182 extern wxBitmap wxNullBitmap
;
183 extern wxIcon wxNullIcon
;
184 extern wxCursor wxNullCursor
;
185 extern wxPen wxNullPen
;
186 extern wxBrush wxNullBrush
;
187 extern wxPalette wxNullPalette
;
188 extern wxFont wxNullFont
;
189 extern wxColour wxNullColour
;
195 static PyObject
*_wrap_wxEmptyBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
196 PyObject
* _resultobj
;
200 int _arg2
= (int ) -1;
201 char *_kwnames
[] = { "width","height","depth", NULL
};
205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ii|i:wxEmptyBitmap",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
208 wxPy_BEGIN_ALLOW_THREADS
;
209 _result
= (wxBitmap
*)wxEmptyBitmap(_arg0
,_arg1
,_arg2
);
211 wxPy_END_ALLOW_THREADS
;
213 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
214 _resultobj
= Py_BuildValue("s",_ptemp
);
217 _resultobj
= Py_None
;
222 static PyObject
*_wrap_wxBitmapFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
223 PyObject
* _resultobj
;
229 int _arg4
= (int ) 1;
230 char *_kwnames
[] = { "data","type","width","height","depth", NULL
};
234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"slii|i:wxBitmapFromData",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
237 wxPy_BEGIN_ALLOW_THREADS
;
238 _result
= (wxBitmap
*)wxBitmapFromData(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
240 wxPy_END_ALLOW_THREADS
;
242 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
243 _resultobj
= Py_BuildValue("s",_ptemp
);
246 _resultobj
= Py_None
;
251 static PyObject
*_wrap_wxMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
252 PyObject
* _resultobj
;
256 PyObject
* _argo0
= 0;
257 PyObject
* _argo1
= 0;
258 char *_kwnames
[] = { "bitmap","colour", NULL
};
262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMaskColour",_kwnames
,&_argo0
,&_argo1
))
265 if (_argo0
== Py_None
) { _arg0
= NULL
; }
266 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMaskColour. Expected _wxBitmap_p.");
272 if (_argo1
== Py_None
) { _arg1
= NULL
; }
273 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMaskColour. Expected _wxColour_p.");
279 wxPy_BEGIN_ALLOW_THREADS
;
280 _result
= (wxMask
*)wxMaskColour(*_arg0
,*_arg1
);
282 wxPy_END_ALLOW_THREADS
;
284 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
285 _resultobj
= Py_BuildValue("s",_ptemp
);
288 _resultobj
= Py_None
;
293 static PyObject
*_wrap_wxStockCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
294 PyObject
* _resultobj
;
297 char *_kwnames
[] = { "id", NULL
};
301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxStockCursor",_kwnames
,&_arg0
))
304 wxPy_BEGIN_ALLOW_THREADS
;
305 _result
= (wxCursor
*)wxPyStockCursor(_arg0
);
307 wxPy_END_ALLOW_THREADS
;
309 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCursor_p");
310 _resultobj
= Py_BuildValue("s",_ptemp
);
313 _resultobj
= Py_None
;
318 static PyObject
*_wrap_wxFont_GetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
319 PyObject
* _resultobj
;
320 wxFontEncoding _result
;
321 char *_kwnames
[] = { NULL
};
324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxFont_GetDefaultEncoding",_kwnames
))
327 wxPy_BEGIN_ALLOW_THREADS
;
328 _result
= (wxFontEncoding
)wxFont_GetDefaultEncoding();
330 wxPy_END_ALLOW_THREADS
;
331 } _resultobj
= Py_BuildValue("i",_result
);
335 static PyObject
*_wrap_wxFont_SetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
336 PyObject
* _resultobj
;
337 wxFontEncoding _arg0
;
338 char *_kwnames
[] = { "encoding", NULL
};
341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxFont_SetDefaultEncoding",_kwnames
,&_arg0
))
344 wxPy_BEGIN_ALLOW_THREADS
;
345 wxFont_SetDefaultEncoding(_arg0
);
347 wxPy_END_ALLOW_THREADS
;
348 } Py_INCREF(Py_None
);
349 _resultobj
= Py_None
;
353 static PyObject
*_wrap_wxNamedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
354 PyObject
* _resultobj
;
357 PyObject
* _obj0
= 0;
358 char *_kwnames
[] = { "colorName", NULL
};
362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNamedColour",_kwnames
,&_obj0
))
365 if (!PyString_Check(_obj0
)) {
366 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
369 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
372 wxPy_BEGIN_ALLOW_THREADS
;
373 _result
= (wxColour
*)wxNamedColour(*_arg0
);
375 wxPy_END_ALLOW_THREADS
;
377 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
378 _resultobj
= Py_BuildValue("s",_ptemp
);
381 _resultobj
= Py_None
;
390 static PyObject
*_wrap_wxMemoryDCFromDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
391 PyObject
* _resultobj
;
392 wxMemoryDC
* _result
;
394 PyObject
* _argo0
= 0;
395 char *_kwnames
[] = { "oldDC", NULL
};
399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMemoryDCFromDC",_kwnames
,&_argo0
))
402 if (_argo0
== Py_None
) { _arg0
= NULL
; }
403 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDCFromDC. Expected _wxDC_p.");
409 wxPy_BEGIN_ALLOW_THREADS
;
410 _result
= (wxMemoryDC
*)wxMemoryDCFromDC(_arg0
);
412 wxPy_END_ALLOW_THREADS
;
414 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
415 _resultobj
= Py_BuildValue("s",_ptemp
);
418 _resultobj
= Py_None
;
423 static int _wrap_wxNORMAL_FONT_set(PyObject
*val
) {
425 PyErr_SetString(PyExc_TypeError
,"Variable wxNORMAL_FONT is read-only.");
429 static PyObject
*_wrap_wxNORMAL_FONT_get() {
433 SWIG_MakePtr(ptemp
, (char *) wxNORMAL_FONT
,"_wxFont_p");
434 pyobj
= PyString_FromString(ptemp
);
438 static int _wrap_wxSMALL_FONT_set(PyObject
*val
) {
440 PyErr_SetString(PyExc_TypeError
,"Variable wxSMALL_FONT is read-only.");
444 static PyObject
*_wrap_wxSMALL_FONT_get() {
448 SWIG_MakePtr(ptemp
, (char *) wxSMALL_FONT
,"_wxFont_p");
449 pyobj
= PyString_FromString(ptemp
);
453 static int _wrap_wxITALIC_FONT_set(PyObject
*val
) {
455 PyErr_SetString(PyExc_TypeError
,"Variable wxITALIC_FONT is read-only.");
459 static PyObject
*_wrap_wxITALIC_FONT_get() {
463 SWIG_MakePtr(ptemp
, (char *) wxITALIC_FONT
,"_wxFont_p");
464 pyobj
= PyString_FromString(ptemp
);
468 static int _wrap_wxSWISS_FONT_set(PyObject
*val
) {
470 PyErr_SetString(PyExc_TypeError
,"Variable wxSWISS_FONT is read-only.");
474 static PyObject
*_wrap_wxSWISS_FONT_get() {
478 SWIG_MakePtr(ptemp
, (char *) wxSWISS_FONT
,"_wxFont_p");
479 pyobj
= PyString_FromString(ptemp
);
483 static int _wrap_wxRED_PEN_set(PyObject
*val
) {
485 PyErr_SetString(PyExc_TypeError
,"Variable wxRED_PEN is read-only.");
489 static PyObject
*_wrap_wxRED_PEN_get() {
493 SWIG_MakePtr(ptemp
, (char *) wxRED_PEN
,"_wxPen_p");
494 pyobj
= PyString_FromString(ptemp
);
498 static int _wrap_wxCYAN_PEN_set(PyObject
*val
) {
500 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN_PEN is read-only.");
504 static PyObject
*_wrap_wxCYAN_PEN_get() {
508 SWIG_MakePtr(ptemp
, (char *) wxCYAN_PEN
,"_wxPen_p");
509 pyobj
= PyString_FromString(ptemp
);
513 static int _wrap_wxGREEN_PEN_set(PyObject
*val
) {
515 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN_PEN is read-only.");
519 static PyObject
*_wrap_wxGREEN_PEN_get() {
523 SWIG_MakePtr(ptemp
, (char *) wxGREEN_PEN
,"_wxPen_p");
524 pyobj
= PyString_FromString(ptemp
);
528 static int _wrap_wxBLACK_PEN_set(PyObject
*val
) {
530 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_PEN is read-only.");
534 static PyObject
*_wrap_wxBLACK_PEN_get() {
538 SWIG_MakePtr(ptemp
, (char *) wxBLACK_PEN
,"_wxPen_p");
539 pyobj
= PyString_FromString(ptemp
);
543 static int _wrap_wxWHITE_PEN_set(PyObject
*val
) {
545 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE_PEN is read-only.");
549 static PyObject
*_wrap_wxWHITE_PEN_get() {
553 SWIG_MakePtr(ptemp
, (char *) wxWHITE_PEN
,"_wxPen_p");
554 pyobj
= PyString_FromString(ptemp
);
558 static int _wrap_wxTRANSPARENT_PEN_set(PyObject
*val
) {
560 PyErr_SetString(PyExc_TypeError
,"Variable wxTRANSPARENT_PEN is read-only.");
564 static PyObject
*_wrap_wxTRANSPARENT_PEN_get() {
568 SWIG_MakePtr(ptemp
, (char *) wxTRANSPARENT_PEN
,"_wxPen_p");
569 pyobj
= PyString_FromString(ptemp
);
573 static int _wrap_wxBLACK_DASHED_PEN_set(PyObject
*val
) {
575 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_DASHED_PEN is read-only.");
579 static PyObject
*_wrap_wxBLACK_DASHED_PEN_get() {
583 SWIG_MakePtr(ptemp
, (char *) wxBLACK_DASHED_PEN
,"_wxPen_p");
584 pyobj
= PyString_FromString(ptemp
);
588 static int _wrap_wxGREY_PEN_set(PyObject
*val
) {
590 PyErr_SetString(PyExc_TypeError
,"Variable wxGREY_PEN is read-only.");
594 static PyObject
*_wrap_wxGREY_PEN_get() {
598 SWIG_MakePtr(ptemp
, (char *) wxGREY_PEN
,"_wxPen_p");
599 pyobj
= PyString_FromString(ptemp
);
603 static int _wrap_wxMEDIUM_GREY_PEN_set(PyObject
*val
) {
605 PyErr_SetString(PyExc_TypeError
,"Variable wxMEDIUM_GREY_PEN is read-only.");
609 static PyObject
*_wrap_wxMEDIUM_GREY_PEN_get() {
613 SWIG_MakePtr(ptemp
, (char *) wxMEDIUM_GREY_PEN
,"_wxPen_p");
614 pyobj
= PyString_FromString(ptemp
);
618 static int _wrap_wxLIGHT_GREY_PEN_set(PyObject
*val
) {
620 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY_PEN is read-only.");
624 static PyObject
*_wrap_wxLIGHT_GREY_PEN_get() {
628 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY_PEN
,"_wxPen_p");
629 pyobj
= PyString_FromString(ptemp
);
633 static int _wrap_wxBLUE_BRUSH_set(PyObject
*val
) {
635 PyErr_SetString(PyExc_TypeError
,"Variable wxBLUE_BRUSH is read-only.");
639 static PyObject
*_wrap_wxBLUE_BRUSH_get() {
643 SWIG_MakePtr(ptemp
, (char *) wxBLUE_BRUSH
,"_wxBrush_p");
644 pyobj
= PyString_FromString(ptemp
);
648 static int _wrap_wxGREEN_BRUSH_set(PyObject
*val
) {
650 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN_BRUSH is read-only.");
654 static PyObject
*_wrap_wxGREEN_BRUSH_get() {
658 SWIG_MakePtr(ptemp
, (char *) wxGREEN_BRUSH
,"_wxBrush_p");
659 pyobj
= PyString_FromString(ptemp
);
663 static int _wrap_wxWHITE_BRUSH_set(PyObject
*val
) {
665 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE_BRUSH is read-only.");
669 static PyObject
*_wrap_wxWHITE_BRUSH_get() {
673 SWIG_MakePtr(ptemp
, (char *) wxWHITE_BRUSH
,"_wxBrush_p");
674 pyobj
= PyString_FromString(ptemp
);
678 static int _wrap_wxBLACK_BRUSH_set(PyObject
*val
) {
680 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_BRUSH is read-only.");
684 static PyObject
*_wrap_wxBLACK_BRUSH_get() {
688 SWIG_MakePtr(ptemp
, (char *) wxBLACK_BRUSH
,"_wxBrush_p");
689 pyobj
= PyString_FromString(ptemp
);
693 static int _wrap_wxTRANSPARENT_BRUSH_set(PyObject
*val
) {
695 PyErr_SetString(PyExc_TypeError
,"Variable wxTRANSPARENT_BRUSH is read-only.");
699 static PyObject
*_wrap_wxTRANSPARENT_BRUSH_get() {
703 SWIG_MakePtr(ptemp
, (char *) wxTRANSPARENT_BRUSH
,"_wxBrush_p");
704 pyobj
= PyString_FromString(ptemp
);
708 static int _wrap_wxCYAN_BRUSH_set(PyObject
*val
) {
710 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN_BRUSH is read-only.");
714 static PyObject
*_wrap_wxCYAN_BRUSH_get() {
718 SWIG_MakePtr(ptemp
, (char *) wxCYAN_BRUSH
,"_wxBrush_p");
719 pyobj
= PyString_FromString(ptemp
);
723 static int _wrap_wxRED_BRUSH_set(PyObject
*val
) {
725 PyErr_SetString(PyExc_TypeError
,"Variable wxRED_BRUSH is read-only.");
729 static PyObject
*_wrap_wxRED_BRUSH_get() {
733 SWIG_MakePtr(ptemp
, (char *) wxRED_BRUSH
,"_wxBrush_p");
734 pyobj
= PyString_FromString(ptemp
);
738 static int _wrap_wxGREY_BRUSH_set(PyObject
*val
) {
740 PyErr_SetString(PyExc_TypeError
,"Variable wxGREY_BRUSH is read-only.");
744 static PyObject
*_wrap_wxGREY_BRUSH_get() {
748 SWIG_MakePtr(ptemp
, (char *) wxGREY_BRUSH
,"_wxBrush_p");
749 pyobj
= PyString_FromString(ptemp
);
753 static int _wrap_wxMEDIUM_GREY_BRUSH_set(PyObject
*val
) {
755 PyErr_SetString(PyExc_TypeError
,"Variable wxMEDIUM_GREY_BRUSH is read-only.");
759 static PyObject
*_wrap_wxMEDIUM_GREY_BRUSH_get() {
763 SWIG_MakePtr(ptemp
, (char *) wxMEDIUM_GREY_BRUSH
,"_wxBrush_p");
764 pyobj
= PyString_FromString(ptemp
);
768 static int _wrap_wxLIGHT_GREY_BRUSH_set(PyObject
*val
) {
770 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY_BRUSH is read-only.");
774 static PyObject
*_wrap_wxLIGHT_GREY_BRUSH_get() {
778 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY_BRUSH
,"_wxBrush_p");
779 pyobj
= PyString_FromString(ptemp
);
783 static int _wrap_wxBLACK_set(PyObject
*val
) {
785 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK is read-only.");
789 static PyObject
*_wrap_wxBLACK_get() {
793 SWIG_MakePtr(ptemp
, (char *) wxBLACK
,"_wxColour_p");
794 pyobj
= PyString_FromString(ptemp
);
798 static int _wrap_wxWHITE_set(PyObject
*val
) {
800 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE is read-only.");
804 static PyObject
*_wrap_wxWHITE_get() {
808 SWIG_MakePtr(ptemp
, (char *) wxWHITE
,"_wxColour_p");
809 pyobj
= PyString_FromString(ptemp
);
813 static int _wrap_wxRED_set(PyObject
*val
) {
815 PyErr_SetString(PyExc_TypeError
,"Variable wxRED is read-only.");
819 static PyObject
*_wrap_wxRED_get() {
823 SWIG_MakePtr(ptemp
, (char *) wxRED
,"_wxColour_p");
824 pyobj
= PyString_FromString(ptemp
);
828 static int _wrap_wxBLUE_set(PyObject
*val
) {
830 PyErr_SetString(PyExc_TypeError
,"Variable wxBLUE is read-only.");
834 static PyObject
*_wrap_wxBLUE_get() {
838 SWIG_MakePtr(ptemp
, (char *) wxBLUE
,"_wxColour_p");
839 pyobj
= PyString_FromString(ptemp
);
843 static int _wrap_wxGREEN_set(PyObject
*val
) {
845 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN is read-only.");
849 static PyObject
*_wrap_wxGREEN_get() {
853 SWIG_MakePtr(ptemp
, (char *) wxGREEN
,"_wxColour_p");
854 pyobj
= PyString_FromString(ptemp
);
858 static int _wrap_wxCYAN_set(PyObject
*val
) {
860 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN is read-only.");
864 static PyObject
*_wrap_wxCYAN_get() {
868 SWIG_MakePtr(ptemp
, (char *) wxCYAN
,"_wxColour_p");
869 pyobj
= PyString_FromString(ptemp
);
873 static int _wrap_wxLIGHT_GREY_set(PyObject
*val
) {
875 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY is read-only.");
879 static PyObject
*_wrap_wxLIGHT_GREY_get() {
883 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY
,"_wxColour_p");
884 pyobj
= PyString_FromString(ptemp
);
888 static int _wrap_wxSTANDARD_CURSOR_set(PyObject
*val
) {
890 PyErr_SetString(PyExc_TypeError
,"Variable wxSTANDARD_CURSOR is read-only.");
894 static PyObject
*_wrap_wxSTANDARD_CURSOR_get() {
898 SWIG_MakePtr(ptemp
, (char *) wxSTANDARD_CURSOR
,"_wxCursor_p");
899 pyobj
= PyString_FromString(ptemp
);
903 static int _wrap_wxHOURGLASS_CURSOR_set(PyObject
*val
) {
905 PyErr_SetString(PyExc_TypeError
,"Variable wxHOURGLASS_CURSOR is read-only.");
909 static PyObject
*_wrap_wxHOURGLASS_CURSOR_get() {
913 SWIG_MakePtr(ptemp
, (char *) wxHOURGLASS_CURSOR
,"_wxCursor_p");
914 pyobj
= PyString_FromString(ptemp
);
918 static int _wrap_wxCROSS_CURSOR_set(PyObject
*val
) {
920 PyErr_SetString(PyExc_TypeError
,"Variable wxCROSS_CURSOR is read-only.");
924 static PyObject
*_wrap_wxCROSS_CURSOR_get() {
928 SWIG_MakePtr(ptemp
, (char *) wxCROSS_CURSOR
,"_wxCursor_p");
929 pyobj
= PyString_FromString(ptemp
);
933 static int _wrap_wxNullBitmap_set(PyObject
*val
) {
935 PyErr_SetString(PyExc_TypeError
,"Variable wxNullBitmap is read-only.");
939 static PyObject
*_wrap_wxNullBitmap_get() {
943 SWIG_MakePtr(ptemp
,(char *) &wxNullBitmap
,"_wxBitmap_p");
944 pyobj
= PyString_FromString(ptemp
);
948 static int _wrap_wxNullIcon_set(PyObject
*val
) {
950 PyErr_SetString(PyExc_TypeError
,"Variable wxNullIcon is read-only.");
954 static PyObject
*_wrap_wxNullIcon_get() {
958 SWIG_MakePtr(ptemp
,(char *) &wxNullIcon
,"_wxIcon_p");
959 pyobj
= PyString_FromString(ptemp
);
963 static int _wrap_wxNullCursor_set(PyObject
*val
) {
965 PyErr_SetString(PyExc_TypeError
,"Variable wxNullCursor is read-only.");
969 static PyObject
*_wrap_wxNullCursor_get() {
973 SWIG_MakePtr(ptemp
,(char *) &wxNullCursor
,"_wxCursor_p");
974 pyobj
= PyString_FromString(ptemp
);
978 static int _wrap_wxNullPen_set(PyObject
*val
) {
980 PyErr_SetString(PyExc_TypeError
,"Variable wxNullPen is read-only.");
984 static PyObject
*_wrap_wxNullPen_get() {
988 SWIG_MakePtr(ptemp
,(char *) &wxNullPen
,"_wxPen_p");
989 pyobj
= PyString_FromString(ptemp
);
993 static int _wrap_wxNullBrush_set(PyObject
*val
) {
995 PyErr_SetString(PyExc_TypeError
,"Variable wxNullBrush is read-only.");
999 static PyObject
*_wrap_wxNullBrush_get() {
1003 SWIG_MakePtr(ptemp
,(char *) &wxNullBrush
,"_wxBrush_p");
1004 pyobj
= PyString_FromString(ptemp
);
1008 static int _wrap_wxNullPalette_set(PyObject
*val
) {
1010 PyErr_SetString(PyExc_TypeError
,"Variable wxNullPalette is read-only.");
1014 static PyObject
*_wrap_wxNullPalette_get() {
1018 SWIG_MakePtr(ptemp
,(char *) &wxNullPalette
,"_wxPalette_p");
1019 pyobj
= PyString_FromString(ptemp
);
1023 static int _wrap_wxNullFont_set(PyObject
*val
) {
1025 PyErr_SetString(PyExc_TypeError
,"Variable wxNullFont is read-only.");
1029 static PyObject
*_wrap_wxNullFont_get() {
1033 SWIG_MakePtr(ptemp
,(char *) &wxNullFont
,"_wxFont_p");
1034 pyobj
= PyString_FromString(ptemp
);
1038 static int _wrap_wxNullColour_set(PyObject
*val
) {
1040 PyErr_SetString(PyExc_TypeError
,"Variable wxNullColour is read-only.");
1044 static PyObject
*_wrap_wxNullColour_get() {
1048 SWIG_MakePtr(ptemp
,(char *) &wxNullColour
,"_wxColour_p");
1049 pyobj
= PyString_FromString(ptemp
);
1053 #define new_wxBitmap(_swigarg0,_swigarg1) (new wxBitmap(_swigarg0,_swigarg1))
1054 static PyObject
*_wrap_new_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1055 PyObject
* _resultobj
;
1059 PyObject
* _obj0
= 0;
1060 char *_kwnames
[] = { "name","type", NULL
};
1064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:new_wxBitmap",_kwnames
,&_obj0
,&_arg1
))
1067 if (!PyString_Check(_obj0
)) {
1068 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1071 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
1074 wxPy_BEGIN_ALLOW_THREADS
;
1075 _result
= (wxBitmap
*)new_wxBitmap(*_arg0
,_arg1
);
1077 wxPy_END_ALLOW_THREADS
;
1079 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1080 _resultobj
= Py_BuildValue("s",_ptemp
);
1083 _resultobj
= Py_None
;
1092 #define delete_wxBitmap(_swigobj) (delete _swigobj)
1093 static PyObject
*_wrap_delete_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1094 PyObject
* _resultobj
;
1096 PyObject
* _argo0
= 0;
1097 char *_kwnames
[] = { "self", NULL
};
1100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBitmap",_kwnames
,&_argo0
))
1103 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1104 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBitmap. Expected _wxBitmap_p.");
1110 wxPy_BEGIN_ALLOW_THREADS
;
1111 delete_wxBitmap(_arg0
);
1113 wxPy_END_ALLOW_THREADS
;
1114 } Py_INCREF(Py_None
);
1115 _resultobj
= Py_None
;
1119 #define wxBitmap_GetPalette(_swigobj) (_swigobj->GetPalette())
1120 static PyObject
*_wrap_wxBitmap_GetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1121 PyObject
* _resultobj
;
1122 wxPalette
* _result
;
1124 PyObject
* _argo0
= 0;
1125 char *_kwnames
[] = { "self", NULL
};
1129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetPalette",_kwnames
,&_argo0
))
1132 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1133 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetPalette. Expected _wxBitmap_p.");
1139 wxPy_BEGIN_ALLOW_THREADS
;
1140 _result
= (wxPalette
*)wxBitmap_GetPalette(_arg0
);
1142 wxPy_END_ALLOW_THREADS
;
1144 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPalette_p");
1145 _resultobj
= Py_BuildValue("s",_ptemp
);
1148 _resultobj
= Py_None
;
1153 #define wxBitmap_GetMask(_swigobj) (_swigobj->GetMask())
1154 static PyObject
*_wrap_wxBitmap_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1155 PyObject
* _resultobj
;
1158 PyObject
* _argo0
= 0;
1159 char *_kwnames
[] = { "self", NULL
};
1163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetMask",_kwnames
,&_argo0
))
1166 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1167 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetMask. Expected _wxBitmap_p.");
1173 wxPy_BEGIN_ALLOW_THREADS
;
1174 _result
= (wxMask
*)wxBitmap_GetMask(_arg0
);
1176 wxPy_END_ALLOW_THREADS
;
1178 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
1179 _resultobj
= Py_BuildValue("s",_ptemp
);
1182 _resultobj
= Py_None
;
1187 #define wxBitmap_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
1188 static PyObject
*_wrap_wxBitmap_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1189 PyObject
* _resultobj
;
1194 PyObject
* _argo0
= 0;
1195 PyObject
* _obj1
= 0;
1196 char *_kwnames
[] = { "self","name","flags", NULL
};
1199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOl:wxBitmap_LoadFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_LoadFile. Expected _wxBitmap_p.");
1209 if (!PyString_Check(_obj1
)) {
1210 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1213 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1216 wxPy_BEGIN_ALLOW_THREADS
;
1217 _result
= (bool )wxBitmap_LoadFile(_arg0
,*_arg1
,_arg2
);
1219 wxPy_END_ALLOW_THREADS
;
1220 } _resultobj
= Py_BuildValue("i",_result
);
1228 #define wxBitmap_SaveFile(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SaveFile(_swigarg0,_swigarg1,_swigarg2))
1229 static PyObject
*_wrap_wxBitmap_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1230 PyObject
* _resultobj
;
1235 wxPalette
* _arg3
= (wxPalette
*) NULL
;
1236 PyObject
* _argo0
= 0;
1237 PyObject
* _obj1
= 0;
1238 PyObject
* _argo3
= 0;
1239 char *_kwnames
[] = { "self","name","type","palette", NULL
};
1242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|O:wxBitmap_SaveFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_argo3
))
1245 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1246 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SaveFile. Expected _wxBitmap_p.");
1252 if (!PyString_Check(_obj1
)) {
1253 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1256 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1259 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1260 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxPalette_p")) {
1261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxBitmap_SaveFile. Expected _wxPalette_p.");
1266 wxPy_BEGIN_ALLOW_THREADS
;
1267 _result
= (bool )wxBitmap_SaveFile(_arg0
,*_arg1
,_arg2
,_arg3
);
1269 wxPy_END_ALLOW_THREADS
;
1270 } _resultobj
= Py_BuildValue("i",_result
);
1278 #define wxBitmap_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
1279 static PyObject
*_wrap_wxBitmap_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1280 PyObject
* _resultobj
;
1283 PyObject
* _argo0
= 0;
1284 PyObject
* _argo1
= 0;
1285 char *_kwnames
[] = { "self","mask", NULL
};
1288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_SetMask",_kwnames
,&_argo0
,&_argo1
))
1291 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1292 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetMask. Expected _wxBitmap_p.");
1298 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1299 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMask_p")) {
1300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmap_SetMask. Expected _wxMask_p.");
1305 wxPy_BEGIN_ALLOW_THREADS
;
1306 wxBitmap_SetMask(_arg0
,_arg1
);
1308 wxPy_END_ALLOW_THREADS
;
1309 } Py_INCREF(Py_None
);
1310 _resultobj
= Py_None
;
1314 #define wxBitmap_SetPalette(_swigobj,_swigarg0) (_swigobj->SetPalette(_swigarg0))
1315 static PyObject
*_wrap_wxBitmap_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1316 PyObject
* _resultobj
;
1319 PyObject
* _argo0
= 0;
1320 PyObject
* _argo1
= 0;
1321 char *_kwnames
[] = { "self","palette", NULL
};
1324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_SetPalette",_kwnames
,&_argo0
,&_argo1
))
1327 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1328 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetPalette. Expected _wxBitmap_p.");
1334 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1335 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPalette_p")) {
1336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmap_SetPalette. Expected _wxPalette_p.");
1341 wxPy_BEGIN_ALLOW_THREADS
;
1342 wxBitmap_SetPalette(_arg0
,*_arg1
);
1344 wxPy_END_ALLOW_THREADS
;
1345 } Py_INCREF(Py_None
);
1346 _resultobj
= Py_None
;
1350 #define wxBitmap_GetHandle(_swigobj) (_swigobj->GetHandle())
1351 static PyObject
*_wrap_wxBitmap_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1352 PyObject
* _resultobj
;
1355 PyObject
* _argo0
= 0;
1356 char *_kwnames
[] = { "self", NULL
};
1359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetHandle",_kwnames
,&_argo0
))
1362 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1363 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetHandle. Expected _wxBitmap_p.");
1369 wxPy_BEGIN_ALLOW_THREADS
;
1370 _result
= (long )wxBitmap_GetHandle(_arg0
);
1372 wxPy_END_ALLOW_THREADS
;
1373 } _resultobj
= Py_BuildValue("l",_result
);
1377 #define wxBitmap_SetHandle(_swigobj,_swigarg0) (_swigobj->SetHandle(_swigarg0))
1378 static PyObject
*_wrap_wxBitmap_SetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1379 PyObject
* _resultobj
;
1382 PyObject
* _argo0
= 0;
1383 char *_kwnames
[] = { "self","handle", NULL
};
1386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxBitmap_SetHandle",_kwnames
,&_argo0
,&_arg1
))
1389 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1390 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetHandle. Expected _wxBitmap_p.");
1396 wxPy_BEGIN_ALLOW_THREADS
;
1397 wxBitmap_SetHandle(_arg0
,_arg1
);
1399 wxPy_END_ALLOW_THREADS
;
1400 } Py_INCREF(Py_None
);
1401 _resultobj
= Py_None
;
1405 #define wxBitmap_Ok(_swigobj) (_swigobj->Ok())
1406 static PyObject
*_wrap_wxBitmap_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1407 PyObject
* _resultobj
;
1410 PyObject
* _argo0
= 0;
1411 char *_kwnames
[] = { "self", NULL
};
1414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_Ok",_kwnames
,&_argo0
))
1417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_Ok. Expected _wxBitmap_p.");
1424 wxPy_BEGIN_ALLOW_THREADS
;
1425 _result
= (bool )wxBitmap_Ok(_arg0
);
1427 wxPy_END_ALLOW_THREADS
;
1428 } _resultobj
= Py_BuildValue("i",_result
);
1432 #define wxBitmap_GetWidth(_swigobj) (_swigobj->GetWidth())
1433 static PyObject
*_wrap_wxBitmap_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1434 PyObject
* _resultobj
;
1437 PyObject
* _argo0
= 0;
1438 char *_kwnames
[] = { "self", NULL
};
1441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetWidth",_kwnames
,&_argo0
))
1444 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1445 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetWidth. Expected _wxBitmap_p.");
1451 wxPy_BEGIN_ALLOW_THREADS
;
1452 _result
= (int )wxBitmap_GetWidth(_arg0
);
1454 wxPy_END_ALLOW_THREADS
;
1455 } _resultobj
= Py_BuildValue("i",_result
);
1459 #define wxBitmap_GetHeight(_swigobj) (_swigobj->GetHeight())
1460 static PyObject
*_wrap_wxBitmap_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1461 PyObject
* _resultobj
;
1464 PyObject
* _argo0
= 0;
1465 char *_kwnames
[] = { "self", NULL
};
1468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetHeight",_kwnames
,&_argo0
))
1471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetHeight. Expected _wxBitmap_p.");
1478 wxPy_BEGIN_ALLOW_THREADS
;
1479 _result
= (int )wxBitmap_GetHeight(_arg0
);
1481 wxPy_END_ALLOW_THREADS
;
1482 } _resultobj
= Py_BuildValue("i",_result
);
1486 #define wxBitmap_GetDepth(_swigobj) (_swigobj->GetDepth())
1487 static PyObject
*_wrap_wxBitmap_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1488 PyObject
* _resultobj
;
1491 PyObject
* _argo0
= 0;
1492 char *_kwnames
[] = { "self", NULL
};
1495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetDepth",_kwnames
,&_argo0
))
1498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetDepth. Expected _wxBitmap_p.");
1505 wxPy_BEGIN_ALLOW_THREADS
;
1506 _result
= (int )wxBitmap_GetDepth(_arg0
);
1508 wxPy_END_ALLOW_THREADS
;
1509 } _resultobj
= Py_BuildValue("i",_result
);
1513 #define wxBitmap_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1514 static PyObject
*_wrap_wxBitmap_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1515 PyObject
* _resultobj
;
1518 PyObject
* _argo0
= 0;
1519 char *_kwnames
[] = { "self","w", NULL
};
1522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBitmap_SetWidth",_kwnames
,&_argo0
,&_arg1
))
1525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetWidth. Expected _wxBitmap_p.");
1532 wxPy_BEGIN_ALLOW_THREADS
;
1533 wxBitmap_SetWidth(_arg0
,_arg1
);
1535 wxPy_END_ALLOW_THREADS
;
1536 } Py_INCREF(Py_None
);
1537 _resultobj
= Py_None
;
1541 #define wxBitmap_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1542 static PyObject
*_wrap_wxBitmap_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1543 PyObject
* _resultobj
;
1546 PyObject
* _argo0
= 0;
1547 char *_kwnames
[] = { "self","h", NULL
};
1550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBitmap_SetHeight",_kwnames
,&_argo0
,&_arg1
))
1553 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1554 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetHeight. Expected _wxBitmap_p.");
1560 wxPy_BEGIN_ALLOW_THREADS
;
1561 wxBitmap_SetHeight(_arg0
,_arg1
);
1563 wxPy_END_ALLOW_THREADS
;
1564 } Py_INCREF(Py_None
);
1565 _resultobj
= Py_None
;
1569 #define wxBitmap_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
1570 static PyObject
*_wrap_wxBitmap_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1571 PyObject
* _resultobj
;
1574 PyObject
* _argo0
= 0;
1575 char *_kwnames
[] = { "self","d", NULL
};
1578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBitmap_SetDepth",_kwnames
,&_argo0
,&_arg1
))
1581 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1582 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetDepth. Expected _wxBitmap_p.");
1588 wxPy_BEGIN_ALLOW_THREADS
;
1589 wxBitmap_SetDepth(_arg0
,_arg1
);
1591 wxPy_END_ALLOW_THREADS
;
1592 } Py_INCREF(Py_None
);
1593 _resultobj
= Py_None
;
1597 #define wxBitmap_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
1598 static PyObject
*_wrap_wxBitmap_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1599 PyObject
* _resultobj
;
1602 PyObject
* _argo0
= 0;
1604 PyObject
* _obj1
= 0;
1605 char *_kwnames
[] = { "self","size", NULL
};
1608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_SetSize",_kwnames
,&_argo0
,&_obj1
))
1611 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1612 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetSize. Expected _wxBitmap_p.");
1619 if (! wxSize_helper(_obj1
, &_arg1
))
1623 wxPy_BEGIN_ALLOW_THREADS
;
1624 wxBitmap_SetSize(_arg0
,*_arg1
);
1626 wxPy_END_ALLOW_THREADS
;
1627 } Py_INCREF(Py_None
);
1628 _resultobj
= Py_None
;
1632 #define new_wxMask(_swigarg0) (new wxMask(_swigarg0))
1633 static PyObject
*_wrap_new_wxMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1634 PyObject
* _resultobj
;
1637 PyObject
* _argo0
= 0;
1638 char *_kwnames
[] = { "bitmap", NULL
};
1642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxMask",_kwnames
,&_argo0
))
1645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMask. Expected _wxBitmap_p.");
1652 wxPy_BEGIN_ALLOW_THREADS
;
1653 _result
= (wxMask
*)new_wxMask(*_arg0
);
1655 wxPy_END_ALLOW_THREADS
;
1657 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
1658 _resultobj
= Py_BuildValue("s",_ptemp
);
1661 _resultobj
= Py_None
;
1666 #define new_wxIcon(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxIcon(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1667 static PyObject
*_wrap_new_wxIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1668 PyObject
* _resultobj
;
1672 int _arg2
= (int ) -1;
1673 int _arg3
= (int ) -1;
1674 PyObject
* _obj0
= 0;
1675 char *_kwnames
[] = { "name","flags","desiredWidth","desiredHeight", NULL
};
1679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|ii:new_wxIcon",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_arg3
))
1682 if (!PyString_Check(_obj0
)) {
1683 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1686 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
1689 wxPy_BEGIN_ALLOW_THREADS
;
1690 _result
= (wxIcon
*)new_wxIcon(*_arg0
,_arg1
,_arg2
,_arg3
);
1692 wxPy_END_ALLOW_THREADS
;
1694 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
1695 _resultobj
= Py_BuildValue("s",_ptemp
);
1698 _resultobj
= Py_None
;
1707 #define delete_wxIcon(_swigobj) (delete _swigobj)
1708 static PyObject
*_wrap_delete_wxIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1709 PyObject
* _resultobj
;
1711 PyObject
* _argo0
= 0;
1712 char *_kwnames
[] = { "self", NULL
};
1715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxIcon",_kwnames
,&_argo0
))
1718 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1719 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxIcon. Expected _wxIcon_p.");
1725 wxPy_BEGIN_ALLOW_THREADS
;
1726 delete_wxIcon(_arg0
);
1728 wxPy_END_ALLOW_THREADS
;
1729 } Py_INCREF(Py_None
);
1730 _resultobj
= Py_None
;
1734 #define wxIcon_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
1735 static PyObject
*_wrap_wxIcon_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1736 PyObject
* _resultobj
;
1741 PyObject
* _argo0
= 0;
1742 PyObject
* _obj1
= 0;
1743 char *_kwnames
[] = { "self","name","flags", NULL
};
1746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOl:wxIcon_LoadFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1749 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1750 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_LoadFile. Expected _wxIcon_p.");
1756 if (!PyString_Check(_obj1
)) {
1757 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1760 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1763 wxPy_BEGIN_ALLOW_THREADS
;
1764 _result
= (bool )wxIcon_LoadFile(_arg0
,*_arg1
,_arg2
);
1766 wxPy_END_ALLOW_THREADS
;
1767 } _resultobj
= Py_BuildValue("i",_result
);
1775 #define wxIcon_GetHandle(_swigobj) (_swigobj->GetHandle())
1776 static PyObject
*_wrap_wxIcon_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1777 PyObject
* _resultobj
;
1780 PyObject
* _argo0
= 0;
1781 char *_kwnames
[] = { "self", NULL
};
1784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetHandle",_kwnames
,&_argo0
))
1787 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1788 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetHandle. Expected _wxIcon_p.");
1794 wxPy_BEGIN_ALLOW_THREADS
;
1795 _result
= (long )wxIcon_GetHandle(_arg0
);
1797 wxPy_END_ALLOW_THREADS
;
1798 } _resultobj
= Py_BuildValue("l",_result
);
1802 #define wxIcon_SetHandle(_swigobj,_swigarg0) (_swigobj->SetHandle(_swigarg0))
1803 static PyObject
*_wrap_wxIcon_SetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1804 PyObject
* _resultobj
;
1807 PyObject
* _argo0
= 0;
1808 char *_kwnames
[] = { "self","handle", NULL
};
1811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxIcon_SetHandle",_kwnames
,&_argo0
,&_arg1
))
1814 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1815 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetHandle. Expected _wxIcon_p.");
1821 wxPy_BEGIN_ALLOW_THREADS
;
1822 wxIcon_SetHandle(_arg0
,_arg1
);
1824 wxPy_END_ALLOW_THREADS
;
1825 } Py_INCREF(Py_None
);
1826 _resultobj
= Py_None
;
1830 #define wxIcon_Ok(_swigobj) (_swigobj->Ok())
1831 static PyObject
*_wrap_wxIcon_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1832 PyObject
* _resultobj
;
1835 PyObject
* _argo0
= 0;
1836 char *_kwnames
[] = { "self", NULL
};
1839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_Ok",_kwnames
,&_argo0
))
1842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_Ok. Expected _wxIcon_p.");
1849 wxPy_BEGIN_ALLOW_THREADS
;
1850 _result
= (bool )wxIcon_Ok(_arg0
);
1852 wxPy_END_ALLOW_THREADS
;
1853 } _resultobj
= Py_BuildValue("i",_result
);
1857 #define wxIcon_GetWidth(_swigobj) (_swigobj->GetWidth())
1858 static PyObject
*_wrap_wxIcon_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1859 PyObject
* _resultobj
;
1862 PyObject
* _argo0
= 0;
1863 char *_kwnames
[] = { "self", NULL
};
1866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetWidth",_kwnames
,&_argo0
))
1869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetWidth. Expected _wxIcon_p.");
1876 wxPy_BEGIN_ALLOW_THREADS
;
1877 _result
= (int )wxIcon_GetWidth(_arg0
);
1879 wxPy_END_ALLOW_THREADS
;
1880 } _resultobj
= Py_BuildValue("i",_result
);
1884 #define wxIcon_GetHeight(_swigobj) (_swigobj->GetHeight())
1885 static PyObject
*_wrap_wxIcon_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1886 PyObject
* _resultobj
;
1889 PyObject
* _argo0
= 0;
1890 char *_kwnames
[] = { "self", NULL
};
1893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetHeight",_kwnames
,&_argo0
))
1896 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1897 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1898 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetHeight. Expected _wxIcon_p.");
1903 wxPy_BEGIN_ALLOW_THREADS
;
1904 _result
= (int )wxIcon_GetHeight(_arg0
);
1906 wxPy_END_ALLOW_THREADS
;
1907 } _resultobj
= Py_BuildValue("i",_result
);
1911 #define wxIcon_GetDepth(_swigobj) (_swigobj->GetDepth())
1912 static PyObject
*_wrap_wxIcon_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1913 PyObject
* _resultobj
;
1916 PyObject
* _argo0
= 0;
1917 char *_kwnames
[] = { "self", NULL
};
1920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetDepth",_kwnames
,&_argo0
))
1923 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1924 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetDepth. Expected _wxIcon_p.");
1930 wxPy_BEGIN_ALLOW_THREADS
;
1931 _result
= (int )wxIcon_GetDepth(_arg0
);
1933 wxPy_END_ALLOW_THREADS
;
1934 } _resultobj
= Py_BuildValue("i",_result
);
1938 #define wxIcon_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1939 static PyObject
*_wrap_wxIcon_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1940 PyObject
* _resultobj
;
1943 PyObject
* _argo0
= 0;
1944 char *_kwnames
[] = { "self","w", NULL
};
1947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetWidth",_kwnames
,&_argo0
,&_arg1
))
1950 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1951 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetWidth. Expected _wxIcon_p.");
1957 wxPy_BEGIN_ALLOW_THREADS
;
1958 wxIcon_SetWidth(_arg0
,_arg1
);
1960 wxPy_END_ALLOW_THREADS
;
1961 } Py_INCREF(Py_None
);
1962 _resultobj
= Py_None
;
1966 #define wxIcon_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1967 static PyObject
*_wrap_wxIcon_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1968 PyObject
* _resultobj
;
1971 PyObject
* _argo0
= 0;
1972 char *_kwnames
[] = { "self","h", NULL
};
1975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetHeight",_kwnames
,&_argo0
,&_arg1
))
1978 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1979 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetHeight. Expected _wxIcon_p.");
1985 wxPy_BEGIN_ALLOW_THREADS
;
1986 wxIcon_SetHeight(_arg0
,_arg1
);
1988 wxPy_END_ALLOW_THREADS
;
1989 } Py_INCREF(Py_None
);
1990 _resultobj
= Py_None
;
1994 #define wxIcon_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
1995 static PyObject
*_wrap_wxIcon_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1996 PyObject
* _resultobj
;
1999 PyObject
* _argo0
= 0;
2000 char *_kwnames
[] = { "self","d", NULL
};
2003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetDepth",_kwnames
,&_argo0
,&_arg1
))
2006 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2007 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetDepth. Expected _wxIcon_p.");
2013 wxPy_BEGIN_ALLOW_THREADS
;
2014 wxIcon_SetDepth(_arg0
,_arg1
);
2016 wxPy_END_ALLOW_THREADS
;
2017 } Py_INCREF(Py_None
);
2018 _resultobj
= Py_None
;
2022 #define wxIcon_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2023 static PyObject
*_wrap_wxIcon_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2024 PyObject
* _resultobj
;
2027 PyObject
* _argo0
= 0;
2029 PyObject
* _obj1
= 0;
2030 char *_kwnames
[] = { "self","size", NULL
};
2033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxIcon_SetSize",_kwnames
,&_argo0
,&_obj1
))
2036 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2037 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetSize. Expected _wxIcon_p.");
2044 if (! wxSize_helper(_obj1
, &_arg1
))
2048 wxPy_BEGIN_ALLOW_THREADS
;
2049 wxIcon_SetSize(_arg0
,*_arg1
);
2051 wxPy_END_ALLOW_THREADS
;
2052 } Py_INCREF(Py_None
);
2053 _resultobj
= Py_None
;
2057 #define new_wxCursor(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxCursor(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2058 static PyObject
*_wrap_new_wxCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2059 PyObject
* _resultobj
;
2063 int _arg2
= (int ) 0;
2064 int _arg3
= (int ) 0;
2065 PyObject
* _obj0
= 0;
2066 char *_kwnames
[] = { "cursorName","flags","hotSpotX","hotSpotY", NULL
};
2070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|ii:new_wxCursor",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_arg3
))
2073 if (!PyString_Check(_obj0
)) {
2074 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2077 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
2080 wxPy_BEGIN_ALLOW_THREADS
;
2081 _result
= (wxCursor
*)new_wxCursor(*_arg0
,_arg1
,_arg2
,_arg3
);
2083 wxPy_END_ALLOW_THREADS
;
2085 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCursor_p");
2086 _resultobj
= Py_BuildValue("s",_ptemp
);
2089 _resultobj
= Py_None
;
2098 #define delete_wxCursor(_swigobj) (delete _swigobj)
2099 static PyObject
*_wrap_delete_wxCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2100 PyObject
* _resultobj
;
2102 PyObject
* _argo0
= 0;
2103 char *_kwnames
[] = { "self", NULL
};
2106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCursor",_kwnames
,&_argo0
))
2109 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2110 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
2111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCursor. Expected _wxCursor_p.");
2116 wxPy_BEGIN_ALLOW_THREADS
;
2117 delete_wxCursor(_arg0
);
2119 wxPy_END_ALLOW_THREADS
;
2120 } Py_INCREF(Py_None
);
2121 _resultobj
= Py_None
;
2125 #define wxCursor_GetHandle(_swigobj) (_swigobj->GetHandle())
2126 static PyObject
*_wrap_wxCursor_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2127 PyObject
* _resultobj
;
2130 PyObject
* _argo0
= 0;
2131 char *_kwnames
[] = { "self", NULL
};
2134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCursor_GetHandle",_kwnames
,&_argo0
))
2137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
2139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_GetHandle. Expected _wxCursor_p.");
2144 wxPy_BEGIN_ALLOW_THREADS
;
2145 _result
= (long )wxCursor_GetHandle(_arg0
);
2147 wxPy_END_ALLOW_THREADS
;
2148 } _resultobj
= Py_BuildValue("l",_result
);
2152 #define wxCursor_SetHandle(_swigobj,_swigarg0) (_swigobj->SetHandle(_swigarg0))
2153 static PyObject
*_wrap_wxCursor_SetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2154 PyObject
* _resultobj
;
2157 PyObject
* _argo0
= 0;
2158 char *_kwnames
[] = { "self","handle", NULL
};
2161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxCursor_SetHandle",_kwnames
,&_argo0
,&_arg1
))
2164 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2165 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
2166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_SetHandle. Expected _wxCursor_p.");
2171 wxPy_BEGIN_ALLOW_THREADS
;
2172 wxCursor_SetHandle(_arg0
,_arg1
);
2174 wxPy_END_ALLOW_THREADS
;
2175 } Py_INCREF(Py_None
);
2176 _resultobj
= Py_None
;
2180 #define wxCursor_Ok(_swigobj) (_swigobj->Ok())
2181 static PyObject
*_wrap_wxCursor_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2182 PyObject
* _resultobj
;
2185 PyObject
* _argo0
= 0;
2186 char *_kwnames
[] = { "self", NULL
};
2189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCursor_Ok",_kwnames
,&_argo0
))
2192 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2193 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
2194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_Ok. Expected _wxCursor_p.");
2199 wxPy_BEGIN_ALLOW_THREADS
;
2200 _result
= (bool )wxCursor_Ok(_arg0
);
2202 wxPy_END_ALLOW_THREADS
;
2203 } _resultobj
= Py_BuildValue("i",_result
);
2207 #define wxCursor_GetWidth(_swigobj) (_swigobj->GetWidth())
2208 static PyObject
*_wrap_wxCursor_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2209 PyObject
* _resultobj
;
2212 PyObject
* _argo0
= 0;
2213 char *_kwnames
[] = { "self", NULL
};
2216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCursor_GetWidth",_kwnames
,&_argo0
))
2219 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2220 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
2221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_GetWidth. Expected _wxCursor_p.");
2226 wxPy_BEGIN_ALLOW_THREADS
;
2227 _result
= (int )wxCursor_GetWidth(_arg0
);
2229 wxPy_END_ALLOW_THREADS
;
2230 } _resultobj
= Py_BuildValue("i",_result
);
2234 #define wxCursor_GetHeight(_swigobj) (_swigobj->GetHeight())
2235 static PyObject
*_wrap_wxCursor_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2236 PyObject
* _resultobj
;
2239 PyObject
* _argo0
= 0;
2240 char *_kwnames
[] = { "self", NULL
};
2243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCursor_GetHeight",_kwnames
,&_argo0
))
2246 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2247 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
2248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_GetHeight. Expected _wxCursor_p.");
2253 wxPy_BEGIN_ALLOW_THREADS
;
2254 _result
= (int )wxCursor_GetHeight(_arg0
);
2256 wxPy_END_ALLOW_THREADS
;
2257 } _resultobj
= Py_BuildValue("i",_result
);
2261 #define wxCursor_GetDepth(_swigobj) (_swigobj->GetDepth())
2262 static PyObject
*_wrap_wxCursor_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2263 PyObject
* _resultobj
;
2266 PyObject
* _argo0
= 0;
2267 char *_kwnames
[] = { "self", NULL
};
2270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCursor_GetDepth",_kwnames
,&_argo0
))
2273 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2274 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
2275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_GetDepth. Expected _wxCursor_p.");
2280 wxPy_BEGIN_ALLOW_THREADS
;
2281 _result
= (int )wxCursor_GetDepth(_arg0
);
2283 wxPy_END_ALLOW_THREADS
;
2284 } _resultobj
= Py_BuildValue("i",_result
);
2288 #define wxCursor_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2289 static PyObject
*_wrap_wxCursor_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2290 PyObject
* _resultobj
;
2293 PyObject
* _argo0
= 0;
2294 char *_kwnames
[] = { "self","w", NULL
};
2297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCursor_SetWidth",_kwnames
,&_argo0
,&_arg1
))
2300 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2301 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
2302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_SetWidth. Expected _wxCursor_p.");
2307 wxPy_BEGIN_ALLOW_THREADS
;
2308 wxCursor_SetWidth(_arg0
,_arg1
);
2310 wxPy_END_ALLOW_THREADS
;
2311 } Py_INCREF(Py_None
);
2312 _resultobj
= Py_None
;
2316 #define wxCursor_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
2317 static PyObject
*_wrap_wxCursor_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2318 PyObject
* _resultobj
;
2321 PyObject
* _argo0
= 0;
2322 char *_kwnames
[] = { "self","h", NULL
};
2325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCursor_SetHeight",_kwnames
,&_argo0
,&_arg1
))
2328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
2330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_SetHeight. Expected _wxCursor_p.");
2335 wxPy_BEGIN_ALLOW_THREADS
;
2336 wxCursor_SetHeight(_arg0
,_arg1
);
2338 wxPy_END_ALLOW_THREADS
;
2339 } Py_INCREF(Py_None
);
2340 _resultobj
= Py_None
;
2344 #define wxCursor_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
2345 static PyObject
*_wrap_wxCursor_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2346 PyObject
* _resultobj
;
2349 PyObject
* _argo0
= 0;
2350 char *_kwnames
[] = { "self","d", NULL
};
2353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCursor_SetDepth",_kwnames
,&_argo0
,&_arg1
))
2356 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2357 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
2358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_SetDepth. Expected _wxCursor_p.");
2363 wxPy_BEGIN_ALLOW_THREADS
;
2364 wxCursor_SetDepth(_arg0
,_arg1
);
2366 wxPy_END_ALLOW_THREADS
;
2367 } Py_INCREF(Py_None
);
2368 _resultobj
= Py_None
;
2372 #define wxCursor_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2373 static PyObject
*_wrap_wxCursor_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2374 PyObject
* _resultobj
;
2377 PyObject
* _argo0
= 0;
2379 PyObject
* _obj1
= 0;
2380 char *_kwnames
[] = { "self","size", NULL
};
2383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCursor_SetSize",_kwnames
,&_argo0
,&_obj1
))
2386 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2387 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
2388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_SetSize. Expected _wxCursor_p.");
2394 if (! wxSize_helper(_obj1
, &_arg1
))
2398 wxPy_BEGIN_ALLOW_THREADS
;
2399 wxCursor_SetSize(_arg0
,*_arg1
);
2401 wxPy_END_ALLOW_THREADS
;
2402 } Py_INCREF(Py_None
);
2403 _resultobj
= Py_None
;
2407 static wxFont
*new_wxFont(int pointSize
,int family
,int style
,int weight
,int underline
,char *faceName
,wxFontEncoding encoding
) {
2409 return wxTheFontList
->FindOrCreateFont(pointSize
, family
, style
, weight
,
2410 underline
, faceName
, encoding
);
2413 static PyObject
*_wrap_new_wxFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2414 PyObject
* _resultobj
;
2420 int _arg4
= (int ) FALSE
;
2421 char * _arg5
= (char *) "";
2422 wxFontEncoding _arg6
= (wxFontEncoding
) (wxFONTENCODING_DEFAULT
);
2423 char *_kwnames
[] = { "pointSize","family","style","weight","underline","faceName","encoding", NULL
};
2427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiii|isi:new_wxFont",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
2430 wxPy_BEGIN_ALLOW_THREADS
;
2431 _result
= (wxFont
*)new_wxFont(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2433 wxPy_END_ALLOW_THREADS
;
2435 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
2436 _resultobj
= Py_BuildValue("s",_ptemp
);
2439 _resultobj
= Py_None
;
2444 #define wxFont_Ok(_swigobj) (_swigobj->Ok())
2445 static PyObject
*_wrap_wxFont_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2446 PyObject
* _resultobj
;
2449 PyObject
* _argo0
= 0;
2450 char *_kwnames
[] = { "self", NULL
};
2453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_Ok",_kwnames
,&_argo0
))
2456 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2457 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_Ok. Expected _wxFont_p.");
2463 wxPy_BEGIN_ALLOW_THREADS
;
2464 _result
= (bool )wxFont_Ok(_arg0
);
2466 wxPy_END_ALLOW_THREADS
;
2467 } _resultobj
= Py_BuildValue("i",_result
);
2471 #define wxFont_GetFaceName(_swigobj) (_swigobj->GetFaceName())
2472 static PyObject
*_wrap_wxFont_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2473 PyObject
* _resultobj
;
2476 PyObject
* _argo0
= 0;
2477 char *_kwnames
[] = { "self", NULL
};
2480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFaceName",_kwnames
,&_argo0
))
2483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFaceName. Expected _wxFont_p.");
2490 wxPy_BEGIN_ALLOW_THREADS
;
2491 _result
= new wxString (wxFont_GetFaceName(_arg0
));
2493 wxPy_END_ALLOW_THREADS
;
2495 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2503 #define wxFont_GetFamily(_swigobj) (_swigobj->GetFamily())
2504 static PyObject
*_wrap_wxFont_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2505 PyObject
* _resultobj
;
2508 PyObject
* _argo0
= 0;
2509 char *_kwnames
[] = { "self", NULL
};
2512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFamily",_kwnames
,&_argo0
))
2515 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2516 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFamily. Expected _wxFont_p.");
2522 wxPy_BEGIN_ALLOW_THREADS
;
2523 _result
= (int )wxFont_GetFamily(_arg0
);
2525 wxPy_END_ALLOW_THREADS
;
2526 } _resultobj
= Py_BuildValue("i",_result
);
2530 #define wxFont_GetFontId(_swigobj) (_swigobj->GetFontId())
2531 static PyObject
*_wrap_wxFont_GetFontId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2532 PyObject
* _resultobj
;
2535 PyObject
* _argo0
= 0;
2536 char *_kwnames
[] = { "self", NULL
};
2539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFontId",_kwnames
,&_argo0
))
2542 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2543 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFontId. Expected _wxFont_p.");
2549 wxPy_BEGIN_ALLOW_THREADS
;
2550 _result
= (int )wxFont_GetFontId(_arg0
);
2552 wxPy_END_ALLOW_THREADS
;
2553 } _resultobj
= Py_BuildValue("i",_result
);
2557 #define wxFont_GetPointSize(_swigobj) (_swigobj->GetPointSize())
2558 static PyObject
*_wrap_wxFont_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2559 PyObject
* _resultobj
;
2562 PyObject
* _argo0
= 0;
2563 char *_kwnames
[] = { "self", NULL
};
2566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetPointSize",_kwnames
,&_argo0
))
2569 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2570 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetPointSize. Expected _wxFont_p.");
2576 wxPy_BEGIN_ALLOW_THREADS
;
2577 _result
= (int )wxFont_GetPointSize(_arg0
);
2579 wxPy_END_ALLOW_THREADS
;
2580 } _resultobj
= Py_BuildValue("i",_result
);
2584 #define wxFont_GetStyle(_swigobj) (_swigobj->GetStyle())
2585 static PyObject
*_wrap_wxFont_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2586 PyObject
* _resultobj
;
2589 PyObject
* _argo0
= 0;
2590 char *_kwnames
[] = { "self", NULL
};
2593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetStyle",_kwnames
,&_argo0
))
2596 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2597 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetStyle. Expected _wxFont_p.");
2603 wxPy_BEGIN_ALLOW_THREADS
;
2604 _result
= (int )wxFont_GetStyle(_arg0
);
2606 wxPy_END_ALLOW_THREADS
;
2607 } _resultobj
= Py_BuildValue("i",_result
);
2611 #define wxFont_GetUnderlined(_swigobj) (_swigobj->GetUnderlined())
2612 static PyObject
*_wrap_wxFont_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2613 PyObject
* _resultobj
;
2616 PyObject
* _argo0
= 0;
2617 char *_kwnames
[] = { "self", NULL
};
2620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetUnderlined",_kwnames
,&_argo0
))
2623 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2624 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetUnderlined. Expected _wxFont_p.");
2630 wxPy_BEGIN_ALLOW_THREADS
;
2631 _result
= (bool )wxFont_GetUnderlined(_arg0
);
2633 wxPy_END_ALLOW_THREADS
;
2634 } _resultobj
= Py_BuildValue("i",_result
);
2638 #define wxFont_GetWeight(_swigobj) (_swigobj->GetWeight())
2639 static PyObject
*_wrap_wxFont_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2640 PyObject
* _resultobj
;
2643 PyObject
* _argo0
= 0;
2644 char *_kwnames
[] = { "self", NULL
};
2647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetWeight",_kwnames
,&_argo0
))
2650 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2651 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetWeight. Expected _wxFont_p.");
2657 wxPy_BEGIN_ALLOW_THREADS
;
2658 _result
= (int )wxFont_GetWeight(_arg0
);
2660 wxPy_END_ALLOW_THREADS
;
2661 } _resultobj
= Py_BuildValue("i",_result
);
2665 #define wxFont_GetEncoding(_swigobj) (_swigobj->GetEncoding())
2666 static PyObject
*_wrap_wxFont_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2667 PyObject
* _resultobj
;
2668 wxFontEncoding _result
;
2670 PyObject
* _argo0
= 0;
2671 char *_kwnames
[] = { "self", NULL
};
2674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetEncoding",_kwnames
,&_argo0
))
2677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetEncoding. Expected _wxFont_p.");
2684 wxPy_BEGIN_ALLOW_THREADS
;
2685 _result
= (wxFontEncoding
)wxFont_GetEncoding(_arg0
);
2687 wxPy_END_ALLOW_THREADS
;
2688 } _resultobj
= Py_BuildValue("i",_result
);
2692 #define wxFont_SetFaceName(_swigobj,_swigarg0) (_swigobj->SetFaceName(_swigarg0))
2693 static PyObject
*_wrap_wxFont_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2694 PyObject
* _resultobj
;
2697 PyObject
* _argo0
= 0;
2698 PyObject
* _obj1
= 0;
2699 char *_kwnames
[] = { "self","faceName", NULL
};
2702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFont_SetFaceName",_kwnames
,&_argo0
,&_obj1
))
2705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetFaceName. Expected _wxFont_p.");
2712 if (!PyString_Check(_obj1
)) {
2713 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2716 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2719 wxPy_BEGIN_ALLOW_THREADS
;
2720 wxFont_SetFaceName(_arg0
,*_arg1
);
2722 wxPy_END_ALLOW_THREADS
;
2723 } Py_INCREF(Py_None
);
2724 _resultobj
= Py_None
;
2732 #define wxFont_SetFamily(_swigobj,_swigarg0) (_swigobj->SetFamily(_swigarg0))
2733 static PyObject
*_wrap_wxFont_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2734 PyObject
* _resultobj
;
2737 PyObject
* _argo0
= 0;
2738 char *_kwnames
[] = { "self","family", NULL
};
2741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetFamily",_kwnames
,&_argo0
,&_arg1
))
2744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetFamily. Expected _wxFont_p.");
2751 wxPy_BEGIN_ALLOW_THREADS
;
2752 wxFont_SetFamily(_arg0
,_arg1
);
2754 wxPy_END_ALLOW_THREADS
;
2755 } Py_INCREF(Py_None
);
2756 _resultobj
= Py_None
;
2760 #define wxFont_SetPointSize(_swigobj,_swigarg0) (_swigobj->SetPointSize(_swigarg0))
2761 static PyObject
*_wrap_wxFont_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2762 PyObject
* _resultobj
;
2765 PyObject
* _argo0
= 0;
2766 char *_kwnames
[] = { "self","pointSize", NULL
};
2769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetPointSize",_kwnames
,&_argo0
,&_arg1
))
2772 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2773 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetPointSize. Expected _wxFont_p.");
2779 wxPy_BEGIN_ALLOW_THREADS
;
2780 wxFont_SetPointSize(_arg0
,_arg1
);
2782 wxPy_END_ALLOW_THREADS
;
2783 } Py_INCREF(Py_None
);
2784 _resultobj
= Py_None
;
2788 #define wxFont_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
2789 static PyObject
*_wrap_wxFont_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2790 PyObject
* _resultobj
;
2793 PyObject
* _argo0
= 0;
2794 char *_kwnames
[] = { "self","style", NULL
};
2797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetStyle",_kwnames
,&_argo0
,&_arg1
))
2800 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2801 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetStyle. Expected _wxFont_p.");
2807 wxPy_BEGIN_ALLOW_THREADS
;
2808 wxFont_SetStyle(_arg0
,_arg1
);
2810 wxPy_END_ALLOW_THREADS
;
2811 } Py_INCREF(Py_None
);
2812 _resultobj
= Py_None
;
2816 #define wxFont_SetUnderlined(_swigobj,_swigarg0) (_swigobj->SetUnderlined(_swigarg0))
2817 static PyObject
*_wrap_wxFont_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2818 PyObject
* _resultobj
;
2821 PyObject
* _argo0
= 0;
2823 char *_kwnames
[] = { "self","underlined", NULL
};
2826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetUnderlined",_kwnames
,&_argo0
,&tempbool1
))
2829 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2830 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetUnderlined. Expected _wxFont_p.");
2835 _arg1
= (bool ) tempbool1
;
2837 wxPy_BEGIN_ALLOW_THREADS
;
2838 wxFont_SetUnderlined(_arg0
,_arg1
);
2840 wxPy_END_ALLOW_THREADS
;
2841 } Py_INCREF(Py_None
);
2842 _resultobj
= Py_None
;
2846 #define wxFont_SetWeight(_swigobj,_swigarg0) (_swigobj->SetWeight(_swigarg0))
2847 static PyObject
*_wrap_wxFont_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2848 PyObject
* _resultobj
;
2851 PyObject
* _argo0
= 0;
2852 char *_kwnames
[] = { "self","weight", NULL
};
2855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetWeight",_kwnames
,&_argo0
,&_arg1
))
2858 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2859 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetWeight. Expected _wxFont_p.");
2865 wxPy_BEGIN_ALLOW_THREADS
;
2866 wxFont_SetWeight(_arg0
,_arg1
);
2868 wxPy_END_ALLOW_THREADS
;
2869 } Py_INCREF(Py_None
);
2870 _resultobj
= Py_None
;
2874 #define wxFont_SetEncoding(_swigobj,_swigarg0) (_swigobj->SetEncoding(_swigarg0))
2875 static PyObject
*_wrap_wxFont_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2876 PyObject
* _resultobj
;
2878 wxFontEncoding _arg1
;
2879 PyObject
* _argo0
= 0;
2880 char *_kwnames
[] = { "self","encoding", NULL
};
2883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetEncoding",_kwnames
,&_argo0
,&_arg1
))
2886 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2887 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetEncoding. Expected _wxFont_p.");
2893 wxPy_BEGIN_ALLOW_THREADS
;
2894 wxFont_SetEncoding(_arg0
,_arg1
);
2896 wxPy_END_ALLOW_THREADS
;
2897 } Py_INCREF(Py_None
);
2898 _resultobj
= Py_None
;
2902 #define wxFont_GetFamilyString(_swigobj) (_swigobj->GetFamilyString())
2903 static PyObject
*_wrap_wxFont_GetFamilyString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2904 PyObject
* _resultobj
;
2907 PyObject
* _argo0
= 0;
2908 char *_kwnames
[] = { "self", NULL
};
2911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFamilyString",_kwnames
,&_argo0
))
2914 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2915 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFamilyString. Expected _wxFont_p.");
2921 wxPy_BEGIN_ALLOW_THREADS
;
2922 _result
= new wxString (wxFont_GetFamilyString(_arg0
));
2924 wxPy_END_ALLOW_THREADS
;
2926 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2934 #define wxFont_GetStyleString(_swigobj) (_swigobj->GetStyleString())
2935 static PyObject
*_wrap_wxFont_GetStyleString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2936 PyObject
* _resultobj
;
2939 PyObject
* _argo0
= 0;
2940 char *_kwnames
[] = { "self", NULL
};
2943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetStyleString",_kwnames
,&_argo0
))
2946 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2947 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetStyleString. Expected _wxFont_p.");
2953 wxPy_BEGIN_ALLOW_THREADS
;
2954 _result
= new wxString (wxFont_GetStyleString(_arg0
));
2956 wxPy_END_ALLOW_THREADS
;
2958 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2966 #define wxFont_GetWeightString(_swigobj) (_swigobj->GetWeightString())
2967 static PyObject
*_wrap_wxFont_GetWeightString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2968 PyObject
* _resultobj
;
2971 PyObject
* _argo0
= 0;
2972 char *_kwnames
[] = { "self", NULL
};
2975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetWeightString",_kwnames
,&_argo0
))
2978 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2979 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetWeightString. Expected _wxFont_p.");
2985 wxPy_BEGIN_ALLOW_THREADS
;
2986 _result
= new wxString (wxFont_GetWeightString(_arg0
));
2988 wxPy_END_ALLOW_THREADS
;
2990 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2998 #define new_wxColour(_swigarg0,_swigarg1,_swigarg2) (new wxColour(_swigarg0,_swigarg1,_swigarg2))
2999 static PyObject
*_wrap_new_wxColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3000 PyObject
* _resultobj
;
3002 unsigned char _arg0
= (unsigned char ) 0;
3003 unsigned char _arg1
= (unsigned char ) 0;
3004 unsigned char _arg2
= (unsigned char ) 0;
3005 char *_kwnames
[] = { "red","green","blue", NULL
};
3009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|bbb:new_wxColour",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
3012 wxPy_BEGIN_ALLOW_THREADS
;
3013 _result
= (wxColour
*)new_wxColour(_arg0
,_arg1
,_arg2
);
3015 wxPy_END_ALLOW_THREADS
;
3017 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
3018 _resultobj
= Py_BuildValue("s",_ptemp
);
3021 _resultobj
= Py_None
;
3026 #define delete_wxColour(_swigobj) (delete _swigobj)
3027 static PyObject
*_wrap_delete_wxColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3028 PyObject
* _resultobj
;
3030 PyObject
* _argo0
= 0;
3031 char *_kwnames
[] = { "self", NULL
};
3034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxColour",_kwnames
,&_argo0
))
3037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColour_p")) {
3039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxColour. Expected _wxColour_p.");
3044 wxPy_BEGIN_ALLOW_THREADS
;
3045 delete_wxColour(_arg0
);
3047 wxPy_END_ALLOW_THREADS
;
3048 } Py_INCREF(Py_None
);
3049 _resultobj
= Py_None
;
3053 #define wxColour_Red(_swigobj) (_swigobj->Red())
3054 static PyObject
*_wrap_wxColour_Red(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3055 PyObject
* _resultobj
;
3056 unsigned char _result
;
3058 PyObject
* _argo0
= 0;
3059 char *_kwnames
[] = { "self", NULL
};
3062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Red",_kwnames
,&_argo0
))
3065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColour_p")) {
3067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Red. Expected _wxColour_p.");
3072 wxPy_BEGIN_ALLOW_THREADS
;
3073 _result
= (unsigned char )wxColour_Red(_arg0
);
3075 wxPy_END_ALLOW_THREADS
;
3076 } _resultobj
= Py_BuildValue("b",_result
);
3080 #define wxColour_Green(_swigobj) (_swigobj->Green())
3081 static PyObject
*_wrap_wxColour_Green(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3082 PyObject
* _resultobj
;
3083 unsigned char _result
;
3085 PyObject
* _argo0
= 0;
3086 char *_kwnames
[] = { "self", NULL
};
3089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Green",_kwnames
,&_argo0
))
3092 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3093 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColour_p")) {
3094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Green. Expected _wxColour_p.");
3099 wxPy_BEGIN_ALLOW_THREADS
;
3100 _result
= (unsigned char )wxColour_Green(_arg0
);
3102 wxPy_END_ALLOW_THREADS
;
3103 } _resultobj
= Py_BuildValue("b",_result
);
3107 #define wxColour_Blue(_swigobj) (_swigobj->Blue())
3108 static PyObject
*_wrap_wxColour_Blue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3109 PyObject
* _resultobj
;
3110 unsigned char _result
;
3112 PyObject
* _argo0
= 0;
3113 char *_kwnames
[] = { "self", NULL
};
3116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Blue",_kwnames
,&_argo0
))
3119 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3120 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColour_p")) {
3121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Blue. Expected _wxColour_p.");
3126 wxPy_BEGIN_ALLOW_THREADS
;
3127 _result
= (unsigned char )wxColour_Blue(_arg0
);
3129 wxPy_END_ALLOW_THREADS
;
3130 } _resultobj
= Py_BuildValue("b",_result
);
3134 #define wxColour_Ok(_swigobj) (_swigobj->Ok())
3135 static PyObject
*_wrap_wxColour_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3136 PyObject
* _resultobj
;
3139 PyObject
* _argo0
= 0;
3140 char *_kwnames
[] = { "self", NULL
};
3143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Ok",_kwnames
,&_argo0
))
3146 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3147 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColour_p")) {
3148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Ok. Expected _wxColour_p.");
3153 wxPy_BEGIN_ALLOW_THREADS
;
3154 _result
= (bool )wxColour_Ok(_arg0
);
3156 wxPy_END_ALLOW_THREADS
;
3157 } _resultobj
= Py_BuildValue("i",_result
);
3161 #define wxColour_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
3162 static PyObject
*_wrap_wxColour_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3163 PyObject
* _resultobj
;
3165 unsigned char _arg1
;
3166 unsigned char _arg2
;
3167 unsigned char _arg3
;
3168 PyObject
* _argo0
= 0;
3169 char *_kwnames
[] = { "self","red","green","blue", NULL
};
3172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Obbb:wxColour_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3175 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3176 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColour_p")) {
3177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Set. Expected _wxColour_p.");
3182 wxPy_BEGIN_ALLOW_THREADS
;
3183 wxColour_Set(_arg0
,_arg1
,_arg2
,_arg3
);
3185 wxPy_END_ALLOW_THREADS
;
3186 } Py_INCREF(Py_None
);
3187 _resultobj
= Py_None
;
3191 static PyObject
* wxColour_Get(wxColour
*self
) {
3192 PyObject
* rv
= PyTuple_New(3);
3193 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
3194 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
3195 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
3198 static PyObject
*_wrap_wxColour_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3199 PyObject
* _resultobj
;
3202 PyObject
* _argo0
= 0;
3203 char *_kwnames
[] = { "self", NULL
};
3206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Get",_kwnames
,&_argo0
))
3209 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3210 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColour_p")) {
3211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Get. Expected _wxColour_p.");
3216 wxPy_BEGIN_ALLOW_THREADS
;
3217 _result
= (PyObject
*)wxColour_Get(_arg0
);
3219 wxPy_END_ALLOW_THREADS
;
3221 _resultobj
= _result
;
3226 static wxPen
*new_wxPen(wxColour
*colour
,int width
,int style
) {
3227 return wxThePenList
->FindOrCreatePen(*colour
, width
, style
);
3230 static PyObject
*_wrap_new_wxPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3231 PyObject
* _resultobj
;
3234 int _arg1
= (int ) 1;
3235 int _arg2
= (int ) wxSOLID
;
3236 PyObject
* _argo0
= 0;
3237 char *_kwnames
[] = { "colour","width","style", NULL
};
3241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:new_wxPen",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3244 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3245 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColour_p")) {
3246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPen. Expected _wxColour_p.");
3251 wxPy_BEGIN_ALLOW_THREADS
;
3252 _result
= (wxPen
*)new_wxPen(_arg0
,_arg1
,_arg2
);
3254 wxPy_END_ALLOW_THREADS
;
3256 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
3257 _resultobj
= Py_BuildValue("s",_ptemp
);
3260 _resultobj
= Py_None
;
3265 #define wxPen_GetCap(_swigobj) (_swigobj->GetCap())
3266 static PyObject
*_wrap_wxPen_GetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3267 PyObject
* _resultobj
;
3270 PyObject
* _argo0
= 0;
3271 char *_kwnames
[] = { "self", NULL
};
3274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetCap",_kwnames
,&_argo0
))
3277 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3278 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetCap. Expected _wxPen_p.");
3284 wxPy_BEGIN_ALLOW_THREADS
;
3285 _result
= (int )wxPen_GetCap(_arg0
);
3287 wxPy_END_ALLOW_THREADS
;
3288 } _resultobj
= Py_BuildValue("i",_result
);
3292 #define wxPen_GetColour(_swigobj) (_swigobj->GetColour())
3293 static PyObject
*_wrap_wxPen_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3294 PyObject
* _resultobj
;
3297 PyObject
* _argo0
= 0;
3298 char *_kwnames
[] = { "self", NULL
};
3302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetColour",_kwnames
,&_argo0
))
3305 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3306 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetColour. Expected _wxPen_p.");
3312 wxPy_BEGIN_ALLOW_THREADS
;
3313 wxColour
& _result_ref
= wxPen_GetColour(_arg0
);
3314 _result
= (wxColour
*) &_result_ref
;
3316 wxPy_END_ALLOW_THREADS
;
3318 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
3319 _resultobj
= Py_BuildValue("s",_ptemp
);
3322 _resultobj
= Py_None
;
3327 #define wxPen_GetJoin(_swigobj) (_swigobj->GetJoin())
3328 static PyObject
*_wrap_wxPen_GetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3329 PyObject
* _resultobj
;
3332 PyObject
* _argo0
= 0;
3333 char *_kwnames
[] = { "self", NULL
};
3336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetJoin",_kwnames
,&_argo0
))
3339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetJoin. Expected _wxPen_p.");
3346 wxPy_BEGIN_ALLOW_THREADS
;
3347 _result
= (int )wxPen_GetJoin(_arg0
);
3349 wxPy_END_ALLOW_THREADS
;
3350 } _resultobj
= Py_BuildValue("i",_result
);
3354 #define wxPen_GetStyle(_swigobj) (_swigobj->GetStyle())
3355 static PyObject
*_wrap_wxPen_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3356 PyObject
* _resultobj
;
3359 PyObject
* _argo0
= 0;
3360 char *_kwnames
[] = { "self", NULL
};
3363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetStyle",_kwnames
,&_argo0
))
3366 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3367 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetStyle. Expected _wxPen_p.");
3373 wxPy_BEGIN_ALLOW_THREADS
;
3374 _result
= (int )wxPen_GetStyle(_arg0
);
3376 wxPy_END_ALLOW_THREADS
;
3377 } _resultobj
= Py_BuildValue("i",_result
);
3381 #define wxPen_GetWidth(_swigobj) (_swigobj->GetWidth())
3382 static PyObject
*_wrap_wxPen_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3383 PyObject
* _resultobj
;
3386 PyObject
* _argo0
= 0;
3387 char *_kwnames
[] = { "self", NULL
};
3390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetWidth",_kwnames
,&_argo0
))
3393 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3394 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetWidth. Expected _wxPen_p.");
3400 wxPy_BEGIN_ALLOW_THREADS
;
3401 _result
= (int )wxPen_GetWidth(_arg0
);
3403 wxPy_END_ALLOW_THREADS
;
3404 } _resultobj
= Py_BuildValue("i",_result
);
3408 #define wxPen_Ok(_swigobj) (_swigobj->Ok())
3409 static PyObject
*_wrap_wxPen_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3410 PyObject
* _resultobj
;
3413 PyObject
* _argo0
= 0;
3414 char *_kwnames
[] = { "self", NULL
};
3417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_Ok",_kwnames
,&_argo0
))
3420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_Ok. Expected _wxPen_p.");
3427 wxPy_BEGIN_ALLOW_THREADS
;
3428 _result
= (bool )wxPen_Ok(_arg0
);
3430 wxPy_END_ALLOW_THREADS
;
3431 } _resultobj
= Py_BuildValue("i",_result
);
3435 #define wxPen_SetCap(_swigobj,_swigarg0) (_swigobj->SetCap(_swigarg0))
3436 static PyObject
*_wrap_wxPen_SetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3437 PyObject
* _resultobj
;
3440 PyObject
* _argo0
= 0;
3441 char *_kwnames
[] = { "self","cap_style", NULL
};
3444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetCap",_kwnames
,&_argo0
,&_arg1
))
3447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetCap. Expected _wxPen_p.");
3454 wxPy_BEGIN_ALLOW_THREADS
;
3455 wxPen_SetCap(_arg0
,_arg1
);
3457 wxPy_END_ALLOW_THREADS
;
3458 } Py_INCREF(Py_None
);
3459 _resultobj
= Py_None
;
3463 #define wxPen_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
3464 static PyObject
*_wrap_wxPen_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3465 PyObject
* _resultobj
;
3468 PyObject
* _argo0
= 0;
3469 PyObject
* _argo1
= 0;
3470 char *_kwnames
[] = { "self","colour", NULL
};
3473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_SetColour",_kwnames
,&_argo0
,&_argo1
))
3476 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3477 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetColour. Expected _wxPen_p.");
3483 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3484 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
3485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPen_SetColour. Expected _wxColour_p.");
3490 wxPy_BEGIN_ALLOW_THREADS
;
3491 wxPen_SetColour(_arg0
,*_arg1
);
3493 wxPy_END_ALLOW_THREADS
;
3494 } Py_INCREF(Py_None
);
3495 _resultobj
= Py_None
;
3499 #define wxPen_SetJoin(_swigobj,_swigarg0) (_swigobj->SetJoin(_swigarg0))
3500 static PyObject
*_wrap_wxPen_SetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3501 PyObject
* _resultobj
;
3504 PyObject
* _argo0
= 0;
3505 char *_kwnames
[] = { "self","join_style", NULL
};
3508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetJoin",_kwnames
,&_argo0
,&_arg1
))
3511 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3512 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetJoin. Expected _wxPen_p.");
3518 wxPy_BEGIN_ALLOW_THREADS
;
3519 wxPen_SetJoin(_arg0
,_arg1
);
3521 wxPy_END_ALLOW_THREADS
;
3522 } Py_INCREF(Py_None
);
3523 _resultobj
= Py_None
;
3527 #define wxPen_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
3528 static PyObject
*_wrap_wxPen_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3529 PyObject
* _resultobj
;
3532 PyObject
* _argo0
= 0;
3533 char *_kwnames
[] = { "self","style", NULL
};
3536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetStyle",_kwnames
,&_argo0
,&_arg1
))
3539 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3540 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetStyle. Expected _wxPen_p.");
3546 wxPy_BEGIN_ALLOW_THREADS
;
3547 wxPen_SetStyle(_arg0
,_arg1
);
3549 wxPy_END_ALLOW_THREADS
;
3550 } Py_INCREF(Py_None
);
3551 _resultobj
= Py_None
;
3555 #define wxPen_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
3556 static PyObject
*_wrap_wxPen_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3557 PyObject
* _resultobj
;
3560 PyObject
* _argo0
= 0;
3561 char *_kwnames
[] = { "self","width", NULL
};
3564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetWidth",_kwnames
,&_argo0
,&_arg1
))
3567 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3568 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetWidth. Expected _wxPen_p.");
3574 wxPy_BEGIN_ALLOW_THREADS
;
3575 wxPen_SetWidth(_arg0
,_arg1
);
3577 wxPy_END_ALLOW_THREADS
;
3578 } Py_INCREF(Py_None
);
3579 _resultobj
= Py_None
;
3583 #define wxPen_GetDashes(_swigobj,_swigarg0) (_swigobj->GetDashes(_swigarg0))
3584 static PyObject
*_wrap_wxPen_GetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3585 PyObject
* _resultobj
;
3589 PyObject
* _argo0
= 0;
3590 PyObject
* _argo1
= 0;
3591 char *_kwnames
[] = { "self","dashes", NULL
};
3594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_GetDashes",_kwnames
,&_argo0
,&_argo1
))
3597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetDashes. Expected _wxPen_p.");
3604 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3605 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDash_pp")) {
3606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPen_GetDashes. Expected _wxDash_pp.");
3611 wxPy_BEGIN_ALLOW_THREADS
;
3612 _result
= (int )wxPen_GetDashes(_arg0
,_arg1
);
3614 wxPy_END_ALLOW_THREADS
;
3615 } _resultobj
= Py_BuildValue("i",_result
);
3619 #define wxPen_SetDashes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDashes(_swigarg0,_swigarg1))
3620 static PyObject
*_wrap_wxPen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3621 PyObject
* _resultobj
;
3625 PyObject
* _argo0
= 0;
3626 PyObject
* _obj2
= 0;
3627 char *_kwnames
[] = { "self","choices", NULL
};
3630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_SetDashes",_kwnames
,&_argo0
,&_obj2
))
3633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetDashes. Expected _wxPen_p.");
3641 _arg2
= (unsigned long*)long_LIST_helper(_obj2
);
3642 if (_arg2
== NULL
) {
3648 _arg1
= PyList_Size(_obj2
);
3655 wxPy_BEGIN_ALLOW_THREADS
;
3656 wxPen_SetDashes(_arg0
,_arg1
,_arg2
);
3658 wxPy_END_ALLOW_THREADS
;
3659 } Py_INCREF(Py_None
);
3660 _resultobj
= Py_None
;
3667 #define wxPen_GetStipple(_swigobj) (_swigobj->GetStipple())
3668 static PyObject
*_wrap_wxPen_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3669 PyObject
* _resultobj
;
3672 PyObject
* _argo0
= 0;
3673 char *_kwnames
[] = { "self", NULL
};
3677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetStipple",_kwnames
,&_argo0
))
3680 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3681 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetStipple. Expected _wxPen_p.");
3687 wxPy_BEGIN_ALLOW_THREADS
;
3688 _result
= (wxBitmap
*)wxPen_GetStipple(_arg0
);
3690 wxPy_END_ALLOW_THREADS
;
3692 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
3693 _resultobj
= Py_BuildValue("s",_ptemp
);
3696 _resultobj
= Py_None
;
3701 #define wxPen_SetStipple(_swigobj,_swigarg0) (_swigobj->SetStipple(_swigarg0))
3702 static PyObject
*_wrap_wxPen_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3703 PyObject
* _resultobj
;
3706 PyObject
* _argo0
= 0;
3707 PyObject
* _argo1
= 0;
3708 char *_kwnames
[] = { "self","stipple", NULL
};
3711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_SetStipple",_kwnames
,&_argo0
,&_argo1
))
3714 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3715 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetStipple. Expected _wxPen_p.");
3721 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3722 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
3723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPen_SetStipple. Expected _wxBitmap_p.");
3728 wxPy_BEGIN_ALLOW_THREADS
;
3729 wxPen_SetStipple(_arg0
,*_arg1
);
3731 wxPy_END_ALLOW_THREADS
;
3732 } Py_INCREF(Py_None
);
3733 _resultobj
= Py_None
;
3737 static wxBrush
*new_wxBrush(const wxColour
*colour
,int style
) {
3738 return wxTheBrushList
->FindOrCreateBrush(*colour
, style
);
3741 static PyObject
*_wrap_new_wxBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3742 PyObject
* _resultobj
;
3745 int _arg1
= (int ) wxSOLID
;
3746 PyObject
* _argo0
= 0;
3747 char *_kwnames
[] = { "colour","style", NULL
};
3751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxBrush",_kwnames
,&_argo0
,&_arg1
))
3754 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3755 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColour_p")) {
3756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBrush. Expected _wxColour_p.");
3761 wxPy_BEGIN_ALLOW_THREADS
;
3762 _result
= (wxBrush
*)new_wxBrush(_arg0
,_arg1
);
3764 wxPy_END_ALLOW_THREADS
;
3766 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
3767 _resultobj
= Py_BuildValue("s",_ptemp
);
3770 _resultobj
= Py_None
;
3775 #define wxBrush_GetColour(_swigobj) (_swigobj->GetColour())
3776 static PyObject
*_wrap_wxBrush_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3777 PyObject
* _resultobj
;
3780 PyObject
* _argo0
= 0;
3781 char *_kwnames
[] = { "self", NULL
};
3785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetColour",_kwnames
,&_argo0
))
3788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
3790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetColour. Expected _wxBrush_p.");
3795 wxPy_BEGIN_ALLOW_THREADS
;
3796 wxColour
& _result_ref
= wxBrush_GetColour(_arg0
);
3797 _result
= (wxColour
*) &_result_ref
;
3799 wxPy_END_ALLOW_THREADS
;
3801 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
3802 _resultobj
= Py_BuildValue("s",_ptemp
);
3805 _resultobj
= Py_None
;
3810 #define wxBrush_GetStipple(_swigobj) (_swigobj->GetStipple())
3811 static PyObject
*_wrap_wxBrush_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3812 PyObject
* _resultobj
;
3815 PyObject
* _argo0
= 0;
3816 char *_kwnames
[] = { "self", NULL
};
3820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetStipple",_kwnames
,&_argo0
))
3823 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3824 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
3825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStipple. Expected _wxBrush_p.");
3830 wxPy_BEGIN_ALLOW_THREADS
;
3831 _result
= (wxBitmap
*)wxBrush_GetStipple(_arg0
);
3833 wxPy_END_ALLOW_THREADS
;
3835 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
3836 _resultobj
= Py_BuildValue("s",_ptemp
);
3839 _resultobj
= Py_None
;
3844 #define wxBrush_GetStyle(_swigobj) (_swigobj->GetStyle())
3845 static PyObject
*_wrap_wxBrush_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3846 PyObject
* _resultobj
;
3849 PyObject
* _argo0
= 0;
3850 char *_kwnames
[] = { "self", NULL
};
3853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetStyle",_kwnames
,&_argo0
))
3856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
3858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStyle. Expected _wxBrush_p.");
3863 wxPy_BEGIN_ALLOW_THREADS
;
3864 _result
= (int )wxBrush_GetStyle(_arg0
);
3866 wxPy_END_ALLOW_THREADS
;
3867 } _resultobj
= Py_BuildValue("i",_result
);
3871 #define wxBrush_Ok(_swigobj) (_swigobj->Ok())
3872 static PyObject
*_wrap_wxBrush_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3873 PyObject
* _resultobj
;
3876 PyObject
* _argo0
= 0;
3877 char *_kwnames
[] = { "self", NULL
};
3880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_Ok",_kwnames
,&_argo0
))
3883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
3885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_Ok. Expected _wxBrush_p.");
3890 wxPy_BEGIN_ALLOW_THREADS
;
3891 _result
= (bool )wxBrush_Ok(_arg0
);
3893 wxPy_END_ALLOW_THREADS
;
3894 } _resultobj
= Py_BuildValue("i",_result
);
3898 #define wxBrush_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
3899 static PyObject
*_wrap_wxBrush_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3900 PyObject
* _resultobj
;
3903 PyObject
* _argo0
= 0;
3904 PyObject
* _argo1
= 0;
3905 char *_kwnames
[] = { "self","colour", NULL
};
3908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrush_SetColour",_kwnames
,&_argo0
,&_argo1
))
3911 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3912 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
3913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetColour. Expected _wxBrush_p.");
3918 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3919 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
3920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrush_SetColour. Expected _wxColour_p.");
3925 wxPy_BEGIN_ALLOW_THREADS
;
3926 wxBrush_SetColour(_arg0
,*_arg1
);
3928 wxPy_END_ALLOW_THREADS
;
3929 } Py_INCREF(Py_None
);
3930 _resultobj
= Py_None
;
3934 #define wxBrush_SetStipple(_swigobj,_swigarg0) (_swigobj->SetStipple(_swigarg0))
3935 static PyObject
*_wrap_wxBrush_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3936 PyObject
* _resultobj
;
3939 PyObject
* _argo0
= 0;
3940 PyObject
* _argo1
= 0;
3941 char *_kwnames
[] = { "self","bitmap", NULL
};
3944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrush_SetStipple",_kwnames
,&_argo0
,&_argo1
))
3947 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3948 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
3949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStipple. Expected _wxBrush_p.");
3954 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3955 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
3956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrush_SetStipple. Expected _wxBitmap_p.");
3961 wxPy_BEGIN_ALLOW_THREADS
;
3962 wxBrush_SetStipple(_arg0
,*_arg1
);
3964 wxPy_END_ALLOW_THREADS
;
3965 } Py_INCREF(Py_None
);
3966 _resultobj
= Py_None
;
3970 #define wxBrush_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
3971 static PyObject
*_wrap_wxBrush_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3972 PyObject
* _resultobj
;
3975 PyObject
* _argo0
= 0;
3976 char *_kwnames
[] = { "self","style", NULL
};
3979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBrush_SetStyle",_kwnames
,&_argo0
,&_arg1
))
3982 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3983 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
3984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStyle. Expected _wxBrush_p.");
3989 wxPy_BEGIN_ALLOW_THREADS
;
3990 wxBrush_SetStyle(_arg0
,_arg1
);
3992 wxPy_END_ALLOW_THREADS
;
3993 } Py_INCREF(Py_None
);
3994 _resultobj
= Py_None
;
3998 #define delete_wxDC(_swigobj) (delete _swigobj)
3999 static PyObject
*_wrap_delete_wxDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4000 PyObject
* _resultobj
;
4002 PyObject
* _argo0
= 0;
4003 char *_kwnames
[] = { "self", NULL
};
4006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDC",_kwnames
,&_argo0
))
4009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDC. Expected _wxDC_p.");
4016 wxPy_BEGIN_ALLOW_THREADS
;
4019 wxPy_END_ALLOW_THREADS
;
4020 } Py_INCREF(Py_None
);
4021 _resultobj
= Py_None
;
4025 #define wxDC_BeginDrawing(_swigobj) (_swigobj->BeginDrawing())
4026 static PyObject
*_wrap_wxDC_BeginDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4027 PyObject
* _resultobj
;
4029 PyObject
* _argo0
= 0;
4030 char *_kwnames
[] = { "self", NULL
};
4033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_BeginDrawing",_kwnames
,&_argo0
))
4036 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4037 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_BeginDrawing. Expected _wxDC_p.");
4043 wxPy_BEGIN_ALLOW_THREADS
;
4044 wxDC_BeginDrawing(_arg0
);
4046 wxPy_END_ALLOW_THREADS
;
4047 } Py_INCREF(Py_None
);
4048 _resultobj
= Py_None
;
4052 #define wxDC_Blit(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Blit(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
4053 static PyObject
*_wrap_wxDC_Blit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4054 PyObject
* _resultobj
;
4064 int _arg8
= (int ) wxCOPY
;
4065 int _arg9
= (int ) FALSE
;
4066 PyObject
* _argo0
= 0;
4067 PyObject
* _argo5
= 0;
4068 char *_kwnames
[] = { "self","xdest","ydest","width","height","source","xsrc","ysrc","logicalFunc","useMask", NULL
};
4071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllllOll|ii:wxDC_Blit",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_argo5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
))
4074 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4075 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Blit. Expected _wxDC_p.");
4081 if (_argo5
== Py_None
) { _arg5
= NULL
; }
4082 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxDC_p")) {
4083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxDC_Blit. Expected _wxDC_p.");
4088 wxPy_BEGIN_ALLOW_THREADS
;
4089 _result
= (bool )wxDC_Blit(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
4091 wxPy_END_ALLOW_THREADS
;
4092 } _resultobj
= Py_BuildValue("i",_result
);
4096 #define wxDC_Clear(_swigobj) (_swigobj->Clear())
4097 static PyObject
*_wrap_wxDC_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4098 PyObject
* _resultobj
;
4100 PyObject
* _argo0
= 0;
4101 char *_kwnames
[] = { "self", NULL
};
4104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_Clear",_kwnames
,&_argo0
))
4107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Clear. Expected _wxDC_p.");
4114 wxPy_BEGIN_ALLOW_THREADS
;
4117 wxPy_END_ALLOW_THREADS
;
4118 } Py_INCREF(Py_None
);
4119 _resultobj
= Py_None
;
4123 #define wxDC_CrossHair(_swigobj,_swigarg0,_swigarg1) (_swigobj->CrossHair(_swigarg0,_swigarg1))
4124 static PyObject
*_wrap_wxDC_CrossHair(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4125 PyObject
* _resultobj
;
4129 PyObject
* _argo0
= 0;
4130 char *_kwnames
[] = { "self","x","y", NULL
};
4133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_CrossHair",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CrossHair. Expected _wxDC_p.");
4143 wxPy_BEGIN_ALLOW_THREADS
;
4144 wxDC_CrossHair(_arg0
,_arg1
,_arg2
);
4146 wxPy_END_ALLOW_THREADS
;
4147 } Py_INCREF(Py_None
);
4148 _resultobj
= Py_None
;
4152 #define wxDC_DestroyClippingRegion(_swigobj) (_swigobj->DestroyClippingRegion())
4153 static PyObject
*_wrap_wxDC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4154 PyObject
* _resultobj
;
4156 PyObject
* _argo0
= 0;
4157 char *_kwnames
[] = { "self", NULL
};
4160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_DestroyClippingRegion",_kwnames
,&_argo0
))
4163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DestroyClippingRegion. Expected _wxDC_p.");
4170 wxPy_BEGIN_ALLOW_THREADS
;
4171 wxDC_DestroyClippingRegion(_arg0
);
4173 wxPy_END_ALLOW_THREADS
;
4174 } Py_INCREF(Py_None
);
4175 _resultobj
= Py_None
;
4179 #define wxDC_DeviceToLogicalX(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalX(_swigarg0))
4180 static PyObject
*_wrap_wxDC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4181 PyObject
* _resultobj
;
4185 PyObject
* _argo0
= 0;
4186 char *_kwnames
[] = { "self","x", NULL
};
4189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalX",_kwnames
,&_argo0
,&_arg1
))
4192 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4193 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalX. Expected _wxDC_p.");
4199 wxPy_BEGIN_ALLOW_THREADS
;
4200 _result
= (long )wxDC_DeviceToLogicalX(_arg0
,_arg1
);
4202 wxPy_END_ALLOW_THREADS
;
4203 } _resultobj
= Py_BuildValue("l",_result
);
4207 #define wxDC_DeviceToLogicalXRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalXRel(_swigarg0))
4208 static PyObject
*_wrap_wxDC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4209 PyObject
* _resultobj
;
4213 PyObject
* _argo0
= 0;
4214 char *_kwnames
[] = { "self","x", NULL
};
4217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalXRel",_kwnames
,&_argo0
,&_arg1
))
4220 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4221 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalXRel. Expected _wxDC_p.");
4227 wxPy_BEGIN_ALLOW_THREADS
;
4228 _result
= (long )wxDC_DeviceToLogicalXRel(_arg0
,_arg1
);
4230 wxPy_END_ALLOW_THREADS
;
4231 } _resultobj
= Py_BuildValue("l",_result
);
4235 #define wxDC_DeviceToLogicalY(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalY(_swigarg0))
4236 static PyObject
*_wrap_wxDC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4237 PyObject
* _resultobj
;
4241 PyObject
* _argo0
= 0;
4242 char *_kwnames
[] = { "self","y", NULL
};
4245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalY",_kwnames
,&_argo0
,&_arg1
))
4248 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4249 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalY. Expected _wxDC_p.");
4255 wxPy_BEGIN_ALLOW_THREADS
;
4256 _result
= (long )wxDC_DeviceToLogicalY(_arg0
,_arg1
);
4258 wxPy_END_ALLOW_THREADS
;
4259 } _resultobj
= Py_BuildValue("l",_result
);
4263 #define wxDC_DeviceToLogicalYRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalYRel(_swigarg0))
4264 static PyObject
*_wrap_wxDC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4265 PyObject
* _resultobj
;
4269 PyObject
* _argo0
= 0;
4270 char *_kwnames
[] = { "self","y", NULL
};
4273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalYRel",_kwnames
,&_argo0
,&_arg1
))
4276 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4277 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalYRel. Expected _wxDC_p.");
4283 wxPy_BEGIN_ALLOW_THREADS
;
4284 _result
= (long )wxDC_DeviceToLogicalYRel(_arg0
,_arg1
);
4286 wxPy_END_ALLOW_THREADS
;
4287 } _resultobj
= Py_BuildValue("l",_result
);
4291 #define wxDC_DrawArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4292 static PyObject
*_wrap_wxDC_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4293 PyObject
* _resultobj
;
4301 PyObject
* _argo0
= 0;
4302 char *_kwnames
[] = { "self","x1","y1","x2","y2","xc","yc", NULL
};
4305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollllll:wxDC_DrawArc",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
4308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawArc. Expected _wxDC_p.");
4315 wxPy_BEGIN_ALLOW_THREADS
;
4316 wxDC_DrawArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4318 wxPy_END_ALLOW_THREADS
;
4319 } Py_INCREF(Py_None
);
4320 _resultobj
= Py_None
;
4324 #define wxDC_DrawCircle(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawCircle(_swigarg0,_swigarg1,_swigarg2))
4325 static PyObject
*_wrap_wxDC_DrawCircle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4326 PyObject
* _resultobj
;
4331 PyObject
* _argo0
= 0;
4332 char *_kwnames
[] = { "self","x","y","radius", NULL
};
4335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olll:wxDC_DrawCircle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawCircle. Expected _wxDC_p.");
4345 wxPy_BEGIN_ALLOW_THREADS
;
4346 wxDC_DrawCircle(_arg0
,_arg1
,_arg2
,_arg3
);
4348 wxPy_END_ALLOW_THREADS
;
4349 } Py_INCREF(Py_None
);
4350 _resultobj
= Py_None
;
4354 #define wxDC_DrawEllipse(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawEllipse(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4355 static PyObject
*_wrap_wxDC_DrawEllipse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4356 PyObject
* _resultobj
;
4362 PyObject
* _argo0
= 0;
4363 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
4366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_DrawEllipse",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
4369 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4370 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipse. Expected _wxDC_p.");
4376 wxPy_BEGIN_ALLOW_THREADS
;
4377 wxDC_DrawEllipse(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4379 wxPy_END_ALLOW_THREADS
;
4380 } Py_INCREF(Py_None
);
4381 _resultobj
= Py_None
;
4385 #define wxDC_DrawEllipticArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawEllipticArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4386 static PyObject
*_wrap_wxDC_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4387 PyObject
* _resultobj
;
4395 PyObject
* _argo0
= 0;
4396 char *_kwnames
[] = { "self","x","y","width","height","start","end", NULL
};
4399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollllll:wxDC_DrawEllipticArc",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
4402 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4403 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipticArc. Expected _wxDC_p.");
4409 wxPy_BEGIN_ALLOW_THREADS
;
4410 wxDC_DrawEllipticArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4412 wxPy_END_ALLOW_THREADS
;
4413 } Py_INCREF(Py_None
);
4414 _resultobj
= Py_None
;
4418 #define wxDC_DrawIcon(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawIcon(_swigarg0,_swigarg1,_swigarg2))
4419 static PyObject
*_wrap_wxDC_DrawIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4420 PyObject
* _resultobj
;
4425 PyObject
* _argo0
= 0;
4426 PyObject
* _argo1
= 0;
4427 char *_kwnames
[] = { "self","icon","x","y", NULL
};
4430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOll:wxDC_DrawIcon",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
4433 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4434 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawIcon. Expected _wxDC_p.");
4440 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4441 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
4442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawIcon. Expected _wxIcon_p.");
4447 wxPy_BEGIN_ALLOW_THREADS
;
4448 wxDC_DrawIcon(_arg0
,*_arg1
,_arg2
,_arg3
);
4450 wxPy_END_ALLOW_THREADS
;
4451 } Py_INCREF(Py_None
);
4452 _resultobj
= Py_None
;
4456 #define wxDC_DrawLine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4457 static PyObject
*_wrap_wxDC_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4458 PyObject
* _resultobj
;
4464 PyObject
* _argo0
= 0;
4465 char *_kwnames
[] = { "self","x1","y1","x2","y2", NULL
};
4468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_DrawLine",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
4471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLine. Expected _wxDC_p.");
4478 wxPy_BEGIN_ALLOW_THREADS
;
4479 wxDC_DrawLine(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4481 wxPy_END_ALLOW_THREADS
;
4482 } Py_INCREF(Py_None
);
4483 _resultobj
= Py_None
;
4487 #define wxDC_DrawLines(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLines(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4488 static PyObject
*_wrap_wxDC_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4489 PyObject
* _resultobj
;
4493 long _arg3
= (long ) 0;
4494 long _arg4
= (long ) 0;
4495 PyObject
* _argo0
= 0;
4496 PyObject
* _obj2
= 0;
4497 char *_kwnames
[] = { "self","points","xoffset","yoffset", NULL
};
4500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ll:wxDC_DrawLines",_kwnames
,&_argo0
,&_obj2
,&_arg3
,&_arg4
))
4503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLines. Expected _wxDC_p.");
4511 _arg2
= wxPoint_LIST_helper(_obj2
);
4512 if (_arg2
== NULL
) {
4518 _arg1
= PyList_Size(_obj2
);
4525 wxPy_BEGIN_ALLOW_THREADS
;
4526 wxDC_DrawLines(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4528 wxPy_END_ALLOW_THREADS
;
4529 } Py_INCREF(Py_None
);
4530 _resultobj
= Py_None
;
4537 #define wxDC_DrawPolygon(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawPolygon(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4538 static PyObject
*_wrap_wxDC_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4539 PyObject
* _resultobj
;
4543 long _arg3
= (long ) 0;
4544 long _arg4
= (long ) 0;
4545 int _arg5
= (int ) wxODDEVEN_RULE
;
4546 PyObject
* _argo0
= 0;
4547 PyObject
* _obj2
= 0;
4548 char *_kwnames
[] = { "self","points","xoffset","yoffset","fill_style", NULL
};
4551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|lli:wxDC_DrawPolygon",_kwnames
,&_argo0
,&_obj2
,&_arg3
,&_arg4
,&_arg5
))
4554 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4555 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPolygon. Expected _wxDC_p.");
4562 _arg2
= wxPoint_LIST_helper(_obj2
);
4563 if (_arg2
== NULL
) {
4569 _arg1
= PyList_Size(_obj2
);
4576 wxPy_BEGIN_ALLOW_THREADS
;
4577 wxDC_DrawPolygon(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4579 wxPy_END_ALLOW_THREADS
;
4580 } Py_INCREF(Py_None
);
4581 _resultobj
= Py_None
;
4588 #define wxDC_DrawPoint(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawPoint(_swigarg0,_swigarg1))
4589 static PyObject
*_wrap_wxDC_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4590 PyObject
* _resultobj
;
4594 PyObject
* _argo0
= 0;
4595 char *_kwnames
[] = { "self","x","y", NULL
};
4598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_DrawPoint",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4601 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4602 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPoint. Expected _wxDC_p.");
4608 wxPy_BEGIN_ALLOW_THREADS
;
4609 wxDC_DrawPoint(_arg0
,_arg1
,_arg2
);
4611 wxPy_END_ALLOW_THREADS
;
4612 } Py_INCREF(Py_None
);
4613 _resultobj
= Py_None
;
4617 #define wxDC_DrawRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4618 static PyObject
*_wrap_wxDC_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4619 PyObject
* _resultobj
;
4625 PyObject
* _argo0
= 0;
4626 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
4629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_DrawRectangle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
4632 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4633 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRectangle. Expected _wxDC_p.");
4639 wxPy_BEGIN_ALLOW_THREADS
;
4640 wxDC_DrawRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4642 wxPy_END_ALLOW_THREADS
;
4643 } Py_INCREF(Py_None
);
4644 _resultobj
= Py_None
;
4648 #define wxDC_DrawRotatedText(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRotatedText(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4649 static PyObject
*_wrap_wxDC_DrawRotatedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4650 PyObject
* _resultobj
;
4656 PyObject
* _argo0
= 0;
4657 PyObject
* _obj1
= 0;
4658 char *_kwnames
[] = { "self","text","x","y","angle", NULL
};
4661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiid:wxDC_DrawRotatedText",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_arg4
))
4664 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4665 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRotatedText. Expected _wxDC_p.");
4671 if (!PyString_Check(_obj1
)) {
4672 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4675 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4678 wxPy_BEGIN_ALLOW_THREADS
;
4679 wxDC_DrawRotatedText(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
4681 wxPy_END_ALLOW_THREADS
;
4682 } Py_INCREF(Py_None
);
4683 _resultobj
= Py_None
;
4691 #define wxDC_DrawRoundedRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawRoundedRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4692 static PyObject
*_wrap_wxDC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4693 PyObject
* _resultobj
;
4699 long _arg5
= (long ) 20;
4700 PyObject
* _argo0
= 0;
4701 char *_kwnames
[] = { "self","x","y","width","height","radius", NULL
};
4704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll|l:wxDC_DrawRoundedRectangle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
4707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRoundedRectangle. Expected _wxDC_p.");
4714 wxPy_BEGIN_ALLOW_THREADS
;
4715 wxDC_DrawRoundedRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4717 wxPy_END_ALLOW_THREADS
;
4718 } Py_INCREF(Py_None
);
4719 _resultobj
= Py_None
;
4723 #define wxDC_DrawSpline(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawSpline(_swigarg0,_swigarg1))
4724 static PyObject
*_wrap_wxDC_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4725 PyObject
* _resultobj
;
4729 PyObject
* _argo0
= 0;
4730 PyObject
* _obj2
= 0;
4731 char *_kwnames
[] = { "self","points", NULL
};
4734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_DrawSpline",_kwnames
,&_argo0
,&_obj2
))
4737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawSpline. Expected _wxDC_p.");
4745 _arg2
= wxPoint_LIST_helper(_obj2
);
4746 if (_arg2
== NULL
) {
4752 _arg1
= PyList_Size(_obj2
);
4759 wxPy_BEGIN_ALLOW_THREADS
;
4760 wxDC_DrawSpline(_arg0
,_arg1
,_arg2
);
4762 wxPy_END_ALLOW_THREADS
;
4763 } Py_INCREF(Py_None
);
4764 _resultobj
= Py_None
;
4771 #define wxDC_DrawText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawText(_swigarg0,_swigarg1,_swigarg2))
4772 static PyObject
*_wrap_wxDC_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4773 PyObject
* _resultobj
;
4778 PyObject
* _argo0
= 0;
4779 PyObject
* _obj1
= 0;
4780 char *_kwnames
[] = { "self","text","x","y", NULL
};
4783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOll:wxDC_DrawText",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
))
4786 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4787 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawText. Expected _wxDC_p.");
4793 if (!PyString_Check(_obj1
)) {
4794 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4797 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4800 wxPy_BEGIN_ALLOW_THREADS
;
4801 wxDC_DrawText(_arg0
,*_arg1
,_arg2
,_arg3
);
4803 wxPy_END_ALLOW_THREADS
;
4804 } Py_INCREF(Py_None
);
4805 _resultobj
= Py_None
;
4813 #define wxDC_EndDoc(_swigobj) (_swigobj->EndDoc())
4814 static PyObject
*_wrap_wxDC_EndDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4815 PyObject
* _resultobj
;
4817 PyObject
* _argo0
= 0;
4818 char *_kwnames
[] = { "self", NULL
};
4821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndDoc",_kwnames
,&_argo0
))
4824 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4825 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDoc. Expected _wxDC_p.");
4831 wxPy_BEGIN_ALLOW_THREADS
;
4834 wxPy_END_ALLOW_THREADS
;
4835 } Py_INCREF(Py_None
);
4836 _resultobj
= Py_None
;
4840 #define wxDC_EndDrawing(_swigobj) (_swigobj->EndDrawing())
4841 static PyObject
*_wrap_wxDC_EndDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4842 PyObject
* _resultobj
;
4844 PyObject
* _argo0
= 0;
4845 char *_kwnames
[] = { "self", NULL
};
4848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndDrawing",_kwnames
,&_argo0
))
4851 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4852 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDrawing. Expected _wxDC_p.");
4858 wxPy_BEGIN_ALLOW_THREADS
;
4859 wxDC_EndDrawing(_arg0
);
4861 wxPy_END_ALLOW_THREADS
;
4862 } Py_INCREF(Py_None
);
4863 _resultobj
= Py_None
;
4867 #define wxDC_EndPage(_swigobj) (_swigobj->EndPage())
4868 static PyObject
*_wrap_wxDC_EndPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4869 PyObject
* _resultobj
;
4871 PyObject
* _argo0
= 0;
4872 char *_kwnames
[] = { "self", NULL
};
4875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndPage",_kwnames
,&_argo0
))
4878 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4879 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndPage. Expected _wxDC_p.");
4885 wxPy_BEGIN_ALLOW_THREADS
;
4886 wxDC_EndPage(_arg0
);
4888 wxPy_END_ALLOW_THREADS
;
4889 } Py_INCREF(Py_None
);
4890 _resultobj
= Py_None
;
4894 #define wxDC_FloodFill(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->FloodFill(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4895 static PyObject
*_wrap_wxDC_FloodFill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4896 PyObject
* _resultobj
;
4901 int _arg4
= (int ) wxFLOOD_SURFACE
;
4902 PyObject
* _argo0
= 0;
4903 PyObject
* _argo3
= 0;
4904 char *_kwnames
[] = { "self","x","y","colour","style", NULL
};
4907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO|i:wxDC_FloodFill",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
,&_arg4
))
4910 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4911 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_FloodFill. Expected _wxDC_p.");
4917 if (_argo3
== Py_None
) { _arg3
= NULL
; }
4918 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxColour_p")) {
4919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDC_FloodFill. Expected _wxColour_p.");
4924 wxPy_BEGIN_ALLOW_THREADS
;
4925 wxDC_FloodFill(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
4927 wxPy_END_ALLOW_THREADS
;
4928 } Py_INCREF(Py_None
);
4929 _resultobj
= Py_None
;
4933 #define wxDC_GetBackground(_swigobj) (_swigobj->GetBackground())
4934 static PyObject
*_wrap_wxDC_GetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4935 PyObject
* _resultobj
;
4938 PyObject
* _argo0
= 0;
4939 char *_kwnames
[] = { "self", NULL
};
4943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBackground",_kwnames
,&_argo0
))
4946 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4947 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBackground. Expected _wxDC_p.");
4953 wxPy_BEGIN_ALLOW_THREADS
;
4954 wxBrush
& _result_ref
= wxDC_GetBackground(_arg0
);
4955 _result
= (wxBrush
*) &_result_ref
;
4957 wxPy_END_ALLOW_THREADS
;
4959 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
4960 _resultobj
= Py_BuildValue("s",_ptemp
);
4963 _resultobj
= Py_None
;
4968 #define wxDC_GetBrush(_swigobj) (_swigobj->GetBrush())
4969 static PyObject
*_wrap_wxDC_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4970 PyObject
* _resultobj
;
4973 PyObject
* _argo0
= 0;
4974 char *_kwnames
[] = { "self", NULL
};
4978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBrush",_kwnames
,&_argo0
))
4981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBrush. Expected _wxDC_p.");
4988 wxPy_BEGIN_ALLOW_THREADS
;
4989 wxBrush
& _result_ref
= wxDC_GetBrush(_arg0
);
4990 _result
= (wxBrush
*) &_result_ref
;
4992 wxPy_END_ALLOW_THREADS
;
4994 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
4995 _resultobj
= Py_BuildValue("s",_ptemp
);
4998 _resultobj
= Py_None
;
5003 #define wxDC_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
5004 static PyObject
*_wrap_wxDC_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5005 PyObject
* _resultobj
;
5008 PyObject
* _argo0
= 0;
5009 char *_kwnames
[] = { "self", NULL
};
5012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetCharHeight",_kwnames
,&_argo0
))
5015 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5016 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharHeight. Expected _wxDC_p.");
5022 wxPy_BEGIN_ALLOW_THREADS
;
5023 _result
= (long )wxDC_GetCharHeight(_arg0
);
5025 wxPy_END_ALLOW_THREADS
;
5026 } _resultobj
= Py_BuildValue("l",_result
);
5030 #define wxDC_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
5031 static PyObject
*_wrap_wxDC_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5032 PyObject
* _resultobj
;
5035 PyObject
* _argo0
= 0;
5036 char *_kwnames
[] = { "self", NULL
};
5039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetCharWidth",_kwnames
,&_argo0
))
5042 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5043 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5044 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharWidth. Expected _wxDC_p.");
5049 wxPy_BEGIN_ALLOW_THREADS
;
5050 _result
= (long )wxDC_GetCharWidth(_arg0
);
5052 wxPy_END_ALLOW_THREADS
;
5053 } _resultobj
= Py_BuildValue("l",_result
);
5057 #define wxDC_GetClippingBox(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetClippingBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5058 static PyObject
*_wrap_wxDC_GetClippingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5059 PyObject
* _resultobj
;
5069 PyObject
* _argo0
= 0;
5070 char *_kwnames
[] = { "self", NULL
};
5085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetClippingBox",_kwnames
,&_argo0
))
5088 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5089 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetClippingBox. Expected _wxDC_p.");
5095 wxPy_BEGIN_ALLOW_THREADS
;
5096 wxDC_GetClippingBox(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5098 wxPy_END_ALLOW_THREADS
;
5099 } Py_INCREF(Py_None
);
5100 _resultobj
= Py_None
;
5103 o
= PyInt_FromLong((long) (*_arg1
));
5104 _resultobj
= t_output_helper(_resultobj
, o
);
5108 o
= PyInt_FromLong((long) (*_arg2
));
5109 _resultobj
= t_output_helper(_resultobj
, o
);
5113 o
= PyInt_FromLong((long) (*_arg3
));
5114 _resultobj
= t_output_helper(_resultobj
, o
);
5118 o
= PyInt_FromLong((long) (*_arg4
));
5119 _resultobj
= t_output_helper(_resultobj
, o
);
5124 #define wxDC_GetFont(_swigobj) (_swigobj->GetFont())
5125 static PyObject
*_wrap_wxDC_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5126 PyObject
* _resultobj
;
5129 PyObject
* _argo0
= 0;
5130 char *_kwnames
[] = { "self", NULL
};
5134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetFont",_kwnames
,&_argo0
))
5137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFont. Expected _wxDC_p.");
5144 wxPy_BEGIN_ALLOW_THREADS
;
5145 wxFont
& _result_ref
= wxDC_GetFont(_arg0
);
5146 _result
= (wxFont
*) &_result_ref
;
5148 wxPy_END_ALLOW_THREADS
;
5150 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
5151 _resultobj
= Py_BuildValue("s",_ptemp
);
5154 _resultobj
= Py_None
;
5159 #define wxDC_GetLogicalFunction(_swigobj) (_swigobj->GetLogicalFunction())
5160 static PyObject
*_wrap_wxDC_GetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5161 PyObject
* _resultobj
;
5164 PyObject
* _argo0
= 0;
5165 char *_kwnames
[] = { "self", NULL
};
5168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalFunction",_kwnames
,&_argo0
))
5171 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5172 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalFunction. Expected _wxDC_p.");
5178 wxPy_BEGIN_ALLOW_THREADS
;
5179 _result
= (int )wxDC_GetLogicalFunction(_arg0
);
5181 wxPy_END_ALLOW_THREADS
;
5182 } _resultobj
= Py_BuildValue("i",_result
);
5186 #define wxDC_GetLogicalScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLogicalScale(_swigarg0,_swigarg1))
5187 static PyObject
*_wrap_wxDC_GetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5188 PyObject
* _resultobj
;
5194 PyObject
* _argo0
= 0;
5195 char *_kwnames
[] = { "self", NULL
};
5204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalScale",_kwnames
,&_argo0
))
5207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalScale. Expected _wxDC_p.");
5214 wxPy_BEGIN_ALLOW_THREADS
;
5215 wxDC_GetLogicalScale(_arg0
,_arg1
,_arg2
);
5217 wxPy_END_ALLOW_THREADS
;
5218 } Py_INCREF(Py_None
);
5219 _resultobj
= Py_None
;
5222 o
= PyFloat_FromDouble((double) (*_arg1
));
5223 _resultobj
= t_output_helper(_resultobj
, o
);
5227 o
= PyFloat_FromDouble((double) (*_arg2
));
5228 _resultobj
= t_output_helper(_resultobj
, o
);
5233 #define wxDC_GetMapMode(_swigobj) (_swigobj->GetMapMode())
5234 static PyObject
*_wrap_wxDC_GetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5235 PyObject
* _resultobj
;
5238 PyObject
* _argo0
= 0;
5239 char *_kwnames
[] = { "self", NULL
};
5242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetMapMode",_kwnames
,&_argo0
))
5245 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5246 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetMapMode. Expected _wxDC_p.");
5252 wxPy_BEGIN_ALLOW_THREADS
;
5253 _result
= (int )wxDC_GetMapMode(_arg0
);
5255 wxPy_END_ALLOW_THREADS
;
5256 } _resultobj
= Py_BuildValue("i",_result
);
5260 #define wxDC_GetOptimization(_swigobj) (_swigobj->GetOptimization())
5261 static PyObject
*_wrap_wxDC_GetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5262 PyObject
* _resultobj
;
5265 PyObject
* _argo0
= 0;
5266 char *_kwnames
[] = { "self", NULL
};
5269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetOptimization",_kwnames
,&_argo0
))
5272 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5273 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetOptimization. Expected _wxDC_p.");
5279 wxPy_BEGIN_ALLOW_THREADS
;
5280 _result
= (bool )wxDC_GetOptimization(_arg0
);
5282 wxPy_END_ALLOW_THREADS
;
5283 } _resultobj
= Py_BuildValue("i",_result
);
5287 #define wxDC_GetPen(_swigobj) (_swigobj->GetPen())
5288 static PyObject
*_wrap_wxDC_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5289 PyObject
* _resultobj
;
5292 PyObject
* _argo0
= 0;
5293 char *_kwnames
[] = { "self", NULL
};
5297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetPen",_kwnames
,&_argo0
))
5300 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5301 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPen. Expected _wxDC_p.");
5307 wxPy_BEGIN_ALLOW_THREADS
;
5308 wxPen
& _result_ref
= wxDC_GetPen(_arg0
);
5309 _result
= (wxPen
*) &_result_ref
;
5311 wxPy_END_ALLOW_THREADS
;
5313 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
5314 _resultobj
= Py_BuildValue("s",_ptemp
);
5317 _resultobj
= Py_None
;
5322 static wxColour
* wxDC_GetPixel(wxDC
*self
,long x
,long y
) {
5323 wxColour
* wc
= new wxColour();
5324 self
->GetPixel(x
, y
, wc
);
5327 static PyObject
*_wrap_wxDC_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5328 PyObject
* _resultobj
;
5333 PyObject
* _argo0
= 0;
5334 char *_kwnames
[] = { "self","x","y", NULL
};
5338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_GetPixel",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5341 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5342 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPixel. Expected _wxDC_p.");
5348 wxPy_BEGIN_ALLOW_THREADS
;
5349 _result
= (wxColour
*)wxDC_GetPixel(_arg0
,_arg1
,_arg2
);
5351 wxPy_END_ALLOW_THREADS
;
5353 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
5354 _resultobj
= Py_BuildValue("s",_ptemp
);
5357 _resultobj
= Py_None
;
5362 #define wxDC_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
5363 static PyObject
*_wrap_wxDC_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5364 PyObject
* _resultobj
;
5370 PyObject
* _argo0
= 0;
5371 char *_kwnames
[] = { "self", NULL
};
5380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSizeTuple",_kwnames
,&_argo0
))
5383 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5384 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSizeTuple. Expected _wxDC_p.");
5390 wxPy_BEGIN_ALLOW_THREADS
;
5391 wxDC_GetSizeTuple(_arg0
,_arg1
,_arg2
);
5393 wxPy_END_ALLOW_THREADS
;
5394 } Py_INCREF(Py_None
);
5395 _resultobj
= Py_None
;
5398 o
= PyInt_FromLong((long) (*_arg1
));
5399 _resultobj
= t_output_helper(_resultobj
, o
);
5403 o
= PyInt_FromLong((long) (*_arg2
));
5404 _resultobj
= t_output_helper(_resultobj
, o
);
5409 #define wxDC_GetSize(_swigobj) (_swigobj->GetSize())
5410 static PyObject
*_wrap_wxDC_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5411 PyObject
* _resultobj
;
5414 PyObject
* _argo0
= 0;
5415 char *_kwnames
[] = { "self", NULL
};
5419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSize",_kwnames
,&_argo0
))
5422 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5423 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSize. Expected _wxDC_p.");
5429 wxPy_BEGIN_ALLOW_THREADS
;
5430 _result
= new wxSize (wxDC_GetSize(_arg0
));
5432 wxPy_END_ALLOW_THREADS
;
5433 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5434 _resultobj
= Py_BuildValue("s",_ptemp
);
5438 #define wxDC_GetSizeMM(_swigobj) (_swigobj->GetSizeMM())
5439 static PyObject
*_wrap_wxDC_GetSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5440 PyObject
* _resultobj
;
5443 PyObject
* _argo0
= 0;
5444 char *_kwnames
[] = { "self", NULL
};
5448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSizeMM",_kwnames
,&_argo0
))
5451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSizeMM. Expected _wxDC_p.");
5458 wxPy_BEGIN_ALLOW_THREADS
;
5459 _result
= new wxSize (wxDC_GetSizeMM(_arg0
));
5461 wxPy_END_ALLOW_THREADS
;
5462 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5463 _resultobj
= Py_BuildValue("s",_ptemp
);
5467 #define wxDC_GetTextBackground(_swigobj) (_swigobj->GetTextBackground())
5468 static PyObject
*_wrap_wxDC_GetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5469 PyObject
* _resultobj
;
5472 PyObject
* _argo0
= 0;
5473 char *_kwnames
[] = { "self", NULL
};
5477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetTextBackground",_kwnames
,&_argo0
))
5480 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5481 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextBackground. Expected _wxDC_p.");
5487 wxPy_BEGIN_ALLOW_THREADS
;
5488 wxColour
& _result_ref
= wxDC_GetTextBackground(_arg0
);
5489 _result
= (wxColour
*) &_result_ref
;
5491 wxPy_END_ALLOW_THREADS
;
5493 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
5494 _resultobj
= Py_BuildValue("s",_ptemp
);
5497 _resultobj
= Py_None
;
5502 #define wxDC_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
5503 static PyObject
*_wrap_wxDC_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5504 PyObject
* _resultobj
;
5511 PyObject
* _argo0
= 0;
5512 PyObject
* _obj1
= 0;
5513 char *_kwnames
[] = { "self","string", NULL
};
5522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_GetTextExtent",_kwnames
,&_argo0
,&_obj1
))
5525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextExtent. Expected _wxDC_p.");
5532 if (!PyString_Check(_obj1
)) {
5533 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5536 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5539 wxPy_BEGIN_ALLOW_THREADS
;
5540 wxDC_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
5542 wxPy_END_ALLOW_THREADS
;
5543 } Py_INCREF(Py_None
);
5544 _resultobj
= Py_None
;
5547 o
= PyInt_FromLong((long) (*_arg2
));
5548 _resultobj
= t_output_helper(_resultobj
, o
);
5552 o
= PyInt_FromLong((long) (*_arg3
));
5553 _resultobj
= t_output_helper(_resultobj
, o
);
5562 #define wxDC_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5563 static PyObject
*_wrap_wxDC_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5564 PyObject
* _resultobj
;
5575 wxFont
* _arg6
= (wxFont
*) NULL
;
5576 PyObject
* _argo0
= 0;
5577 PyObject
* _obj1
= 0;
5578 PyObject
* _argo6
= 0;
5579 char *_kwnames
[] = { "self","string","font", NULL
};
5594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxDC_GetFullTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo6
))
5597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFullTextExtent. Expected _wxDC_p.");
5604 if (!PyString_Check(_obj1
)) {
5605 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5608 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5611 if (_argo6
== Py_None
) { _arg6
= NULL
; }
5612 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
5613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxDC_GetFullTextExtent. Expected _wxFont_p.");
5618 wxPy_BEGIN_ALLOW_THREADS
;
5619 wxDC_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
5621 wxPy_END_ALLOW_THREADS
;
5622 } Py_INCREF(Py_None
);
5623 _resultobj
= Py_None
;
5626 o
= PyInt_FromLong((long) (*_arg2
));
5627 _resultobj
= t_output_helper(_resultobj
, o
);
5631 o
= PyInt_FromLong((long) (*_arg3
));
5632 _resultobj
= t_output_helper(_resultobj
, o
);
5636 o
= PyInt_FromLong((long) (*_arg4
));
5637 _resultobj
= t_output_helper(_resultobj
, o
);
5641 o
= PyInt_FromLong((long) (*_arg5
));
5642 _resultobj
= t_output_helper(_resultobj
, o
);
5651 #define wxDC_GetTextForeground(_swigobj) (_swigobj->GetTextForeground())
5652 static PyObject
*_wrap_wxDC_GetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5653 PyObject
* _resultobj
;
5656 PyObject
* _argo0
= 0;
5657 char *_kwnames
[] = { "self", NULL
};
5661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetTextForeground",_kwnames
,&_argo0
))
5664 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5665 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextForeground. Expected _wxDC_p.");
5671 wxPy_BEGIN_ALLOW_THREADS
;
5672 wxColour
& _result_ref
= wxDC_GetTextForeground(_arg0
);
5673 _result
= (wxColour
*) &_result_ref
;
5675 wxPy_END_ALLOW_THREADS
;
5677 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
5678 _resultobj
= Py_BuildValue("s",_ptemp
);
5681 _resultobj
= Py_None
;
5686 #define wxDC_GetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetUserScale(_swigarg0,_swigarg1))
5687 static PyObject
*_wrap_wxDC_GetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5688 PyObject
* _resultobj
;
5694 PyObject
* _argo0
= 0;
5695 char *_kwnames
[] = { "self", NULL
};
5704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetUserScale",_kwnames
,&_argo0
))
5707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetUserScale. Expected _wxDC_p.");
5714 wxPy_BEGIN_ALLOW_THREADS
;
5715 wxDC_GetUserScale(_arg0
,_arg1
,_arg2
);
5717 wxPy_END_ALLOW_THREADS
;
5718 } Py_INCREF(Py_None
);
5719 _resultobj
= Py_None
;
5722 o
= PyFloat_FromDouble((double) (*_arg1
));
5723 _resultobj
= t_output_helper(_resultobj
, o
);
5727 o
= PyFloat_FromDouble((double) (*_arg2
));
5728 _resultobj
= t_output_helper(_resultobj
, o
);
5733 #define wxDC_LogicalToDeviceX(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceX(_swigarg0))
5734 static PyObject
*_wrap_wxDC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5735 PyObject
* _resultobj
;
5739 PyObject
* _argo0
= 0;
5740 char *_kwnames
[] = { "self","x", NULL
};
5743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceX",_kwnames
,&_argo0
,&_arg1
))
5746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceX. Expected _wxDC_p.");
5753 wxPy_BEGIN_ALLOW_THREADS
;
5754 _result
= (long )wxDC_LogicalToDeviceX(_arg0
,_arg1
);
5756 wxPy_END_ALLOW_THREADS
;
5757 } _resultobj
= Py_BuildValue("l",_result
);
5761 #define wxDC_LogicalToDeviceXRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceXRel(_swigarg0))
5762 static PyObject
*_wrap_wxDC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5763 PyObject
* _resultobj
;
5767 PyObject
* _argo0
= 0;
5768 char *_kwnames
[] = { "self","x", NULL
};
5771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceXRel",_kwnames
,&_argo0
,&_arg1
))
5774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceXRel. Expected _wxDC_p.");
5781 wxPy_BEGIN_ALLOW_THREADS
;
5782 _result
= (long )wxDC_LogicalToDeviceXRel(_arg0
,_arg1
);
5784 wxPy_END_ALLOW_THREADS
;
5785 } _resultobj
= Py_BuildValue("l",_result
);
5789 #define wxDC_LogicalToDeviceY(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceY(_swigarg0))
5790 static PyObject
*_wrap_wxDC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5791 PyObject
* _resultobj
;
5795 PyObject
* _argo0
= 0;
5796 char *_kwnames
[] = { "self","y", NULL
};
5799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceY",_kwnames
,&_argo0
,&_arg1
))
5802 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5803 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceY. Expected _wxDC_p.");
5809 wxPy_BEGIN_ALLOW_THREADS
;
5810 _result
= (long )wxDC_LogicalToDeviceY(_arg0
,_arg1
);
5812 wxPy_END_ALLOW_THREADS
;
5813 } _resultobj
= Py_BuildValue("l",_result
);
5817 #define wxDC_LogicalToDeviceYRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceYRel(_swigarg0))
5818 static PyObject
*_wrap_wxDC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5819 PyObject
* _resultobj
;
5823 PyObject
* _argo0
= 0;
5824 char *_kwnames
[] = { "self","y", NULL
};
5827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceYRel",_kwnames
,&_argo0
,&_arg1
))
5830 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5831 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceYRel. Expected _wxDC_p.");
5837 wxPy_BEGIN_ALLOW_THREADS
;
5838 _result
= (long )wxDC_LogicalToDeviceYRel(_arg0
,_arg1
);
5840 wxPy_END_ALLOW_THREADS
;
5841 } _resultobj
= Py_BuildValue("l",_result
);
5845 #define wxDC_MaxX(_swigobj) (_swigobj->MaxX())
5846 static PyObject
*_wrap_wxDC_MaxX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5847 PyObject
* _resultobj
;
5850 PyObject
* _argo0
= 0;
5851 char *_kwnames
[] = { "self", NULL
};
5854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MaxX",_kwnames
,&_argo0
))
5857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxX. Expected _wxDC_p.");
5864 wxPy_BEGIN_ALLOW_THREADS
;
5865 _result
= (long )wxDC_MaxX(_arg0
);
5867 wxPy_END_ALLOW_THREADS
;
5868 } _resultobj
= Py_BuildValue("l",_result
);
5872 #define wxDC_MaxY(_swigobj) (_swigobj->MaxY())
5873 static PyObject
*_wrap_wxDC_MaxY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5874 PyObject
* _resultobj
;
5877 PyObject
* _argo0
= 0;
5878 char *_kwnames
[] = { "self", NULL
};
5881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MaxY",_kwnames
,&_argo0
))
5884 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5885 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxY. Expected _wxDC_p.");
5891 wxPy_BEGIN_ALLOW_THREADS
;
5892 _result
= (long )wxDC_MaxY(_arg0
);
5894 wxPy_END_ALLOW_THREADS
;
5895 } _resultobj
= Py_BuildValue("l",_result
);
5899 #define wxDC_MinX(_swigobj) (_swigobj->MinX())
5900 static PyObject
*_wrap_wxDC_MinX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5901 PyObject
* _resultobj
;
5904 PyObject
* _argo0
= 0;
5905 char *_kwnames
[] = { "self", NULL
};
5908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MinX",_kwnames
,&_argo0
))
5911 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5912 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinX. Expected _wxDC_p.");
5918 wxPy_BEGIN_ALLOW_THREADS
;
5919 _result
= (long )wxDC_MinX(_arg0
);
5921 wxPy_END_ALLOW_THREADS
;
5922 } _resultobj
= Py_BuildValue("l",_result
);
5926 #define wxDC_MinY(_swigobj) (_swigobj->MinY())
5927 static PyObject
*_wrap_wxDC_MinY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5928 PyObject
* _resultobj
;
5931 PyObject
* _argo0
= 0;
5932 char *_kwnames
[] = { "self", NULL
};
5935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MinY",_kwnames
,&_argo0
))
5938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinY. Expected _wxDC_p.");
5945 wxPy_BEGIN_ALLOW_THREADS
;
5946 _result
= (long )wxDC_MinY(_arg0
);
5948 wxPy_END_ALLOW_THREADS
;
5949 } _resultobj
= Py_BuildValue("l",_result
);
5953 #define wxDC_Ok(_swigobj) (_swigobj->Ok())
5954 static PyObject
*_wrap_wxDC_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5955 PyObject
* _resultobj
;
5958 PyObject
* _argo0
= 0;
5959 char *_kwnames
[] = { "self", NULL
};
5962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_Ok",_kwnames
,&_argo0
))
5965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Ok. Expected _wxDC_p.");
5972 wxPy_BEGIN_ALLOW_THREADS
;
5973 _result
= (bool )wxDC_Ok(_arg0
);
5975 wxPy_END_ALLOW_THREADS
;
5976 } _resultobj
= Py_BuildValue("i",_result
);
5980 #define wxDC_SetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDeviceOrigin(_swigarg0,_swigarg1))
5981 static PyObject
*_wrap_wxDC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5982 PyObject
* _resultobj
;
5986 PyObject
* _argo0
= 0;
5987 char *_kwnames
[] = { "self","x","y", NULL
};
5990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_SetDeviceOrigin",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5993 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5994 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetDeviceOrigin. Expected _wxDC_p.");
6000 wxPy_BEGIN_ALLOW_THREADS
;
6001 wxDC_SetDeviceOrigin(_arg0
,_arg1
,_arg2
);
6003 wxPy_END_ALLOW_THREADS
;
6004 } Py_INCREF(Py_None
);
6005 _resultobj
= Py_None
;
6009 #define wxDC_SetBackground(_swigobj,_swigarg0) (_swigobj->SetBackground(_swigarg0))
6010 static PyObject
*_wrap_wxDC_SetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6011 PyObject
* _resultobj
;
6014 PyObject
* _argo0
= 0;
6015 PyObject
* _argo1
= 0;
6016 char *_kwnames
[] = { "self","brush", NULL
};
6019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetBackground",_kwnames
,&_argo0
,&_argo1
))
6022 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6023 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackground. Expected _wxDC_p.");
6029 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6030 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
6031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBackground. Expected _wxBrush_p.");
6036 wxPy_BEGIN_ALLOW_THREADS
;
6037 wxDC_SetBackground(_arg0
,*_arg1
);
6039 wxPy_END_ALLOW_THREADS
;
6040 } Py_INCREF(Py_None
);
6041 _resultobj
= Py_None
;
6045 #define wxDC_SetBackgroundMode(_swigobj,_swigarg0) (_swigobj->SetBackgroundMode(_swigarg0))
6046 static PyObject
*_wrap_wxDC_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6047 PyObject
* _resultobj
;
6050 PyObject
* _argo0
= 0;
6051 char *_kwnames
[] = { "self","mode", NULL
};
6054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetBackgroundMode",_kwnames
,&_argo0
,&_arg1
))
6057 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6058 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackgroundMode. Expected _wxDC_p.");
6064 wxPy_BEGIN_ALLOW_THREADS
;
6065 wxDC_SetBackgroundMode(_arg0
,_arg1
);
6067 wxPy_END_ALLOW_THREADS
;
6068 } Py_INCREF(Py_None
);
6069 _resultobj
= Py_None
;
6073 #define wxDC_SetClippingRegion(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetClippingRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6074 static PyObject
*_wrap_wxDC_SetClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6075 PyObject
* _resultobj
;
6081 PyObject
* _argo0
= 0;
6082 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
6085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_SetClippingRegion",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
6088 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6089 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetClippingRegion. Expected _wxDC_p.");
6095 wxPy_BEGIN_ALLOW_THREADS
;
6096 wxDC_SetClippingRegion(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6098 wxPy_END_ALLOW_THREADS
;
6099 } Py_INCREF(Py_None
);
6100 _resultobj
= Py_None
;
6104 #define wxDC_SetPalette(_swigobj,_swigarg0) (_swigobj->SetPalette(_swigarg0))
6105 static PyObject
*_wrap_wxDC_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6106 PyObject
* _resultobj
;
6109 PyObject
* _argo0
= 0;
6110 PyObject
* _argo1
= 0;
6111 char *_kwnames
[] = { "self","colourMap", NULL
};
6114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetPalette",_kwnames
,&_argo0
,&_argo1
))
6117 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6118 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPalette. Expected _wxDC_p.");
6124 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6125 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPalette_p")) {
6126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPalette. Expected _wxPalette_p.");
6131 wxPy_BEGIN_ALLOW_THREADS
;
6132 wxDC_SetPalette(_arg0
,*_arg1
);
6134 wxPy_END_ALLOW_THREADS
;
6135 } Py_INCREF(Py_None
);
6136 _resultobj
= Py_None
;
6140 #define wxDC_SetBrush(_swigobj,_swigarg0) (_swigobj->SetBrush(_swigarg0))
6141 static PyObject
*_wrap_wxDC_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6142 PyObject
* _resultobj
;
6145 PyObject
* _argo0
= 0;
6146 PyObject
* _argo1
= 0;
6147 char *_kwnames
[] = { "self","brush", NULL
};
6150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetBrush",_kwnames
,&_argo0
,&_argo1
))
6153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBrush. Expected _wxDC_p.");
6160 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6161 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
6162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBrush. Expected _wxBrush_p.");
6167 wxPy_BEGIN_ALLOW_THREADS
;
6168 wxDC_SetBrush(_arg0
,*_arg1
);
6170 wxPy_END_ALLOW_THREADS
;
6171 } Py_INCREF(Py_None
);
6172 _resultobj
= Py_None
;
6176 #define wxDC_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
6177 static PyObject
*_wrap_wxDC_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6178 PyObject
* _resultobj
;
6181 PyObject
* _argo0
= 0;
6182 PyObject
* _argo1
= 0;
6183 char *_kwnames
[] = { "self","font", NULL
};
6186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetFont",_kwnames
,&_argo0
,&_argo1
))
6189 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6190 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetFont. Expected _wxDC_p.");
6196 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6197 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
6198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetFont. Expected _wxFont_p.");
6203 wxPy_BEGIN_ALLOW_THREADS
;
6204 wxDC_SetFont(_arg0
,*_arg1
);
6206 wxPy_END_ALLOW_THREADS
;
6207 } Py_INCREF(Py_None
);
6208 _resultobj
= Py_None
;
6212 #define wxDC_SetLogicalFunction(_swigobj,_swigarg0) (_swigobj->SetLogicalFunction(_swigarg0))
6213 static PyObject
*_wrap_wxDC_SetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6214 PyObject
* _resultobj
;
6217 PyObject
* _argo0
= 0;
6218 char *_kwnames
[] = { "self","function", NULL
};
6221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetLogicalFunction",_kwnames
,&_argo0
,&_arg1
))
6224 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6225 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalFunction. Expected _wxDC_p.");
6231 wxPy_BEGIN_ALLOW_THREADS
;
6232 wxDC_SetLogicalFunction(_arg0
,_arg1
);
6234 wxPy_END_ALLOW_THREADS
;
6235 } Py_INCREF(Py_None
);
6236 _resultobj
= Py_None
;
6240 #define wxDC_SetLogicalScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLogicalScale(_swigarg0,_swigarg1))
6241 static PyObject
*_wrap_wxDC_SetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6242 PyObject
* _resultobj
;
6246 PyObject
* _argo0
= 0;
6247 char *_kwnames
[] = { "self","x","y", NULL
};
6250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxDC_SetLogicalScale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6253 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6254 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalScale. Expected _wxDC_p.");
6260 wxPy_BEGIN_ALLOW_THREADS
;
6261 wxDC_SetLogicalScale(_arg0
,_arg1
,_arg2
);
6263 wxPy_END_ALLOW_THREADS
;
6264 } Py_INCREF(Py_None
);
6265 _resultobj
= Py_None
;
6269 #define wxDC_SetMapMode(_swigobj,_swigarg0) (_swigobj->SetMapMode(_swigarg0))
6270 static PyObject
*_wrap_wxDC_SetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6271 PyObject
* _resultobj
;
6274 PyObject
* _argo0
= 0;
6275 char *_kwnames
[] = { "self","mode", NULL
};
6278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetMapMode",_kwnames
,&_argo0
,&_arg1
))
6281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetMapMode. Expected _wxDC_p.");
6288 wxPy_BEGIN_ALLOW_THREADS
;
6289 wxDC_SetMapMode(_arg0
,_arg1
);
6291 wxPy_END_ALLOW_THREADS
;
6292 } Py_INCREF(Py_None
);
6293 _resultobj
= Py_None
;
6297 #define wxDC_SetOptimization(_swigobj,_swigarg0) (_swigobj->SetOptimization(_swigarg0))
6298 static PyObject
*_wrap_wxDC_SetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6299 PyObject
* _resultobj
;
6302 PyObject
* _argo0
= 0;
6304 char *_kwnames
[] = { "self","optimize", NULL
};
6307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetOptimization",_kwnames
,&_argo0
,&tempbool1
))
6310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetOptimization. Expected _wxDC_p.");
6316 _arg1
= (bool ) tempbool1
;
6318 wxPy_BEGIN_ALLOW_THREADS
;
6319 wxDC_SetOptimization(_arg0
,_arg1
);
6321 wxPy_END_ALLOW_THREADS
;
6322 } Py_INCREF(Py_None
);
6323 _resultobj
= Py_None
;
6327 #define wxDC_SetPen(_swigobj,_swigarg0) (_swigobj->SetPen(_swigarg0))
6328 static PyObject
*_wrap_wxDC_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6329 PyObject
* _resultobj
;
6332 PyObject
* _argo0
= 0;
6333 PyObject
* _argo1
= 0;
6334 char *_kwnames
[] = { "self","pen", NULL
};
6337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetPen",_kwnames
,&_argo0
,&_argo1
))
6340 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6341 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPen. Expected _wxDC_p.");
6347 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6348 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
6349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPen. Expected _wxPen_p.");
6354 wxPy_BEGIN_ALLOW_THREADS
;
6355 wxDC_SetPen(_arg0
,*_arg1
);
6357 wxPy_END_ALLOW_THREADS
;
6358 } Py_INCREF(Py_None
);
6359 _resultobj
= Py_None
;
6363 #define wxDC_SetTextBackground(_swigobj,_swigarg0) (_swigobj->SetTextBackground(_swigarg0))
6364 static PyObject
*_wrap_wxDC_SetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6365 PyObject
* _resultobj
;
6368 PyObject
* _argo0
= 0;
6369 PyObject
* _argo1
= 0;
6370 char *_kwnames
[] = { "self","colour", NULL
};
6373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetTextBackground",_kwnames
,&_argo0
,&_argo1
))
6376 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6377 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextBackground. Expected _wxDC_p.");
6383 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6384 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
6385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetTextBackground. Expected _wxColour_p.");
6390 wxPy_BEGIN_ALLOW_THREADS
;
6391 wxDC_SetTextBackground(_arg0
,*_arg1
);
6393 wxPy_END_ALLOW_THREADS
;
6394 } Py_INCREF(Py_None
);
6395 _resultobj
= Py_None
;
6399 #define wxDC_SetTextForeground(_swigobj,_swigarg0) (_swigobj->SetTextForeground(_swigarg0))
6400 static PyObject
*_wrap_wxDC_SetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6401 PyObject
* _resultobj
;
6404 PyObject
* _argo0
= 0;
6405 PyObject
* _argo1
= 0;
6406 char *_kwnames
[] = { "self","colour", NULL
};
6409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetTextForeground",_kwnames
,&_argo0
,&_argo1
))
6412 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6413 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextForeground. Expected _wxDC_p.");
6419 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6420 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
6421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetTextForeground. Expected _wxColour_p.");
6426 wxPy_BEGIN_ALLOW_THREADS
;
6427 wxDC_SetTextForeground(_arg0
,*_arg1
);
6429 wxPy_END_ALLOW_THREADS
;
6430 } Py_INCREF(Py_None
);
6431 _resultobj
= Py_None
;
6435 #define wxDC_SetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetUserScale(_swigarg0,_swigarg1))
6436 static PyObject
*_wrap_wxDC_SetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6437 PyObject
* _resultobj
;
6441 PyObject
* _argo0
= 0;
6442 char *_kwnames
[] = { "self","x_scale","y_scale", NULL
};
6445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxDC_SetUserScale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6448 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6449 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetUserScale. Expected _wxDC_p.");
6455 wxPy_BEGIN_ALLOW_THREADS
;
6456 wxDC_SetUserScale(_arg0
,_arg1
,_arg2
);
6458 wxPy_END_ALLOW_THREADS
;
6459 } Py_INCREF(Py_None
);
6460 _resultobj
= Py_None
;
6464 #define wxDC_StartDoc(_swigobj,_swigarg0) (_swigobj->StartDoc(_swigarg0))
6465 static PyObject
*_wrap_wxDC_StartDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6466 PyObject
* _resultobj
;
6470 PyObject
* _argo0
= 0;
6471 PyObject
* _obj1
= 0;
6472 char *_kwnames
[] = { "self","message", NULL
};
6475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_StartDoc",_kwnames
,&_argo0
,&_obj1
))
6478 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6479 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartDoc. Expected _wxDC_p.");
6485 if (!PyString_Check(_obj1
)) {
6486 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6489 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
6492 wxPy_BEGIN_ALLOW_THREADS
;
6493 _result
= (bool )wxDC_StartDoc(_arg0
,*_arg1
);
6495 wxPy_END_ALLOW_THREADS
;
6496 } _resultobj
= Py_BuildValue("i",_result
);
6504 #define wxDC_StartPage(_swigobj) (_swigobj->StartPage())
6505 static PyObject
*_wrap_wxDC_StartPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6506 PyObject
* _resultobj
;
6508 PyObject
* _argo0
= 0;
6509 char *_kwnames
[] = { "self", NULL
};
6512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_StartPage",_kwnames
,&_argo0
))
6515 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6516 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartPage. Expected _wxDC_p.");
6522 wxPy_BEGIN_ALLOW_THREADS
;
6523 wxDC_StartPage(_arg0
);
6525 wxPy_END_ALLOW_THREADS
;
6526 } Py_INCREF(Py_None
);
6527 _resultobj
= Py_None
;
6531 #define wxDC_DrawBitmap(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6532 static PyObject
*_wrap_wxDC_DrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6533 PyObject
* _resultobj
;
6538 int _arg4
= (int ) FALSE
;
6539 PyObject
* _argo0
= 0;
6540 PyObject
* _argo1
= 0;
6541 char *_kwnames
[] = { "self","bitmap","x","y","useMask", NULL
};
6544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOll|i:wxDC_DrawBitmap",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
))
6547 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6548 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawBitmap. Expected _wxDC_p.");
6554 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6555 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
6556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawBitmap. Expected _wxBitmap_p.");
6561 wxPy_BEGIN_ALLOW_THREADS
;
6562 wxDC_DrawBitmap(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
6564 wxPy_END_ALLOW_THREADS
;
6565 } Py_INCREF(Py_None
);
6566 _resultobj
= Py_None
;
6570 #define wxDC_CanDrawBitmap(_swigobj) (_swigobj->CanDrawBitmap())
6571 static PyObject
*_wrap_wxDC_CanDrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6572 PyObject
* _resultobj
;
6575 PyObject
* _argo0
= 0;
6576 char *_kwnames
[] = { "self", NULL
};
6579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_CanDrawBitmap",_kwnames
,&_argo0
))
6582 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6583 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CanDrawBitmap. Expected _wxDC_p.");
6589 wxPy_BEGIN_ALLOW_THREADS
;
6590 _result
= (bool )wxDC_CanDrawBitmap(_arg0
);
6592 wxPy_END_ALLOW_THREADS
;
6593 } _resultobj
= Py_BuildValue("i",_result
);
6597 #define wxDC_CanGetTextExtent(_swigobj) (_swigobj->CanGetTextExtent())
6598 static PyObject
*_wrap_wxDC_CanGetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6599 PyObject
* _resultobj
;
6602 PyObject
* _argo0
= 0;
6603 char *_kwnames
[] = { "self", NULL
};
6606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_CanGetTextExtent",_kwnames
,&_argo0
))
6609 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6610 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CanGetTextExtent. Expected _wxDC_p.");
6616 wxPy_BEGIN_ALLOW_THREADS
;
6617 _result
= (bool )wxDC_CanGetTextExtent(_arg0
);
6619 wxPy_END_ALLOW_THREADS
;
6620 } _resultobj
= Py_BuildValue("i",_result
);
6624 #define wxDC_GetDepth(_swigobj) (_swigobj->GetDepth())
6625 static PyObject
*_wrap_wxDC_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6626 PyObject
* _resultobj
;
6629 PyObject
* _argo0
= 0;
6630 char *_kwnames
[] = { "self", NULL
};
6633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetDepth",_kwnames
,&_argo0
))
6636 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6637 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetDepth. Expected _wxDC_p.");
6643 wxPy_BEGIN_ALLOW_THREADS
;
6644 _result
= (int )wxDC_GetDepth(_arg0
);
6646 wxPy_END_ALLOW_THREADS
;
6647 } _resultobj
= Py_BuildValue("i",_result
);
6651 #define wxDC_GetPPI(_swigobj) (_swigobj->GetPPI())
6652 static PyObject
*_wrap_wxDC_GetPPI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6653 PyObject
* _resultobj
;
6656 PyObject
* _argo0
= 0;
6657 char *_kwnames
[] = { "self", NULL
};
6661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetPPI",_kwnames
,&_argo0
))
6664 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6665 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPPI. Expected _wxDC_p.");
6671 wxPy_BEGIN_ALLOW_THREADS
;
6672 _result
= new wxSize (wxDC_GetPPI(_arg0
));
6674 wxPy_END_ALLOW_THREADS
;
6675 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
6676 _resultobj
= Py_BuildValue("s",_ptemp
);
6680 #define wxDC_GetLogicalOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLogicalOrigin(_swigarg0,_swigarg1))
6681 static PyObject
*_wrap_wxDC_GetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6682 PyObject
* _resultobj
;
6688 PyObject
* _argo0
= 0;
6689 char *_kwnames
[] = { "self", NULL
};
6698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalOrigin",_kwnames
,&_argo0
))
6701 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6702 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalOrigin. Expected _wxDC_p.");
6708 wxPy_BEGIN_ALLOW_THREADS
;
6709 wxDC_GetLogicalOrigin(_arg0
,_arg1
,_arg2
);
6711 wxPy_END_ALLOW_THREADS
;
6712 } Py_INCREF(Py_None
);
6713 _resultobj
= Py_None
;
6716 o
= PyInt_FromLong((long) (*_arg1
));
6717 _resultobj
= t_output_helper(_resultobj
, o
);
6721 o
= PyInt_FromLong((long) (*_arg2
));
6722 _resultobj
= t_output_helper(_resultobj
, o
);
6727 #define wxDC_SetLogicalOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLogicalOrigin(_swigarg0,_swigarg1))
6728 static PyObject
*_wrap_wxDC_SetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6729 PyObject
* _resultobj
;
6733 PyObject
* _argo0
= 0;
6734 char *_kwnames
[] = { "self","x","y", NULL
};
6737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_SetLogicalOrigin",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalOrigin. Expected _wxDC_p.");
6747 wxPy_BEGIN_ALLOW_THREADS
;
6748 wxDC_SetLogicalOrigin(_arg0
,_arg1
,_arg2
);
6750 wxPy_END_ALLOW_THREADS
;
6751 } Py_INCREF(Py_None
);
6752 _resultobj
= Py_None
;
6756 #define wxDC_GetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDeviceOrigin(_swigarg0,_swigarg1))
6757 static PyObject
*_wrap_wxDC_GetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6758 PyObject
* _resultobj
;
6764 PyObject
* _argo0
= 0;
6765 char *_kwnames
[] = { "self", NULL
};
6774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetDeviceOrigin",_kwnames
,&_argo0
))
6777 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6778 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetDeviceOrigin. Expected _wxDC_p.");
6784 wxPy_BEGIN_ALLOW_THREADS
;
6785 wxDC_GetDeviceOrigin(_arg0
,_arg1
,_arg2
);
6787 wxPy_END_ALLOW_THREADS
;
6788 } Py_INCREF(Py_None
);
6789 _resultobj
= Py_None
;
6792 o
= PyInt_FromLong((long) (*_arg1
));
6793 _resultobj
= t_output_helper(_resultobj
, o
);
6797 o
= PyInt_FromLong((long) (*_arg2
));
6798 _resultobj
= t_output_helper(_resultobj
, o
);
6803 #define wxDC_SetAxisOrientation(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAxisOrientation(_swigarg0,_swigarg1))
6804 static PyObject
*_wrap_wxDC_SetAxisOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6805 PyObject
* _resultobj
;
6809 PyObject
* _argo0
= 0;
6812 char *_kwnames
[] = { "self","xLeftRight","yBottomUp", NULL
};
6815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_SetAxisOrientation",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
6818 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6819 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetAxisOrientation. Expected _wxDC_p.");
6824 _arg1
= (bool ) tempbool1
;
6825 _arg2
= (bool ) tempbool2
;
6827 wxPy_BEGIN_ALLOW_THREADS
;
6828 wxDC_SetAxisOrientation(_arg0
,_arg1
,_arg2
);
6830 wxPy_END_ALLOW_THREADS
;
6831 } Py_INCREF(Py_None
);
6832 _resultobj
= Py_None
;
6836 static void *SwigwxMemoryDCTowxDC(void *ptr
) {
6839 src
= (wxMemoryDC
*) ptr
;
6840 dest
= (wxDC
*) src
;
6841 return (void *) dest
;
6844 #define new_wxMemoryDC() (new wxMemoryDC())
6845 static PyObject
*_wrap_new_wxMemoryDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6846 PyObject
* _resultobj
;
6847 wxMemoryDC
* _result
;
6848 char *_kwnames
[] = { NULL
};
6852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMemoryDC",_kwnames
))
6855 wxPy_BEGIN_ALLOW_THREADS
;
6856 _result
= (wxMemoryDC
*)new_wxMemoryDC();
6858 wxPy_END_ALLOW_THREADS
;
6860 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
6861 _resultobj
= Py_BuildValue("s",_ptemp
);
6864 _resultobj
= Py_None
;
6869 #define wxMemoryDC_SelectObject(_swigobj,_swigarg0) (_swigobj->SelectObject(_swigarg0))
6870 static PyObject
*_wrap_wxMemoryDC_SelectObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6871 PyObject
* _resultobj
;
6874 PyObject
* _argo0
= 0;
6875 PyObject
* _argo1
= 0;
6876 char *_kwnames
[] = { "self","bitmap", NULL
};
6879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMemoryDC_SelectObject",_kwnames
,&_argo0
,&_argo1
))
6882 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6883 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMemoryDC_p")) {
6884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDC_SelectObject. Expected _wxMemoryDC_p.");
6889 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6890 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
6891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMemoryDC_SelectObject. Expected _wxBitmap_p.");
6896 wxPy_BEGIN_ALLOW_THREADS
;
6897 wxMemoryDC_SelectObject(_arg0
,*_arg1
);
6899 wxPy_END_ALLOW_THREADS
;
6900 } Py_INCREF(Py_None
);
6901 _resultobj
= Py_None
;
6905 static void *SwigwxScreenDCTowxDC(void *ptr
) {
6908 src
= (wxScreenDC
*) ptr
;
6909 dest
= (wxDC
*) src
;
6910 return (void *) dest
;
6913 #define new_wxScreenDC() (new wxScreenDC())
6914 static PyObject
*_wrap_new_wxScreenDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6915 PyObject
* _resultobj
;
6916 wxScreenDC
* _result
;
6917 char *_kwnames
[] = { NULL
};
6921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxScreenDC",_kwnames
))
6924 wxPy_BEGIN_ALLOW_THREADS
;
6925 _result
= (wxScreenDC
*)new_wxScreenDC();
6927 wxPy_END_ALLOW_THREADS
;
6929 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScreenDC_p");
6930 _resultobj
= Py_BuildValue("s",_ptemp
);
6933 _resultobj
= Py_None
;
6938 #define wxScreenDC_StartDrawingOnTopWin(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
6939 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTopWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6940 PyObject
* _resultobj
;
6944 PyObject
* _argo0
= 0;
6945 PyObject
* _argo1
= 0;
6946 char *_kwnames
[] = { "self","window", NULL
};
6949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScreenDC_StartDrawingOnTopWin",_kwnames
,&_argo0
,&_argo1
))
6952 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6953 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
6954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTopWin. Expected _wxScreenDC_p.");
6959 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6960 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScreenDC_StartDrawingOnTopWin. Expected _wxWindow_p.");
6966 wxPy_BEGIN_ALLOW_THREADS
;
6967 _result
= (bool )wxScreenDC_StartDrawingOnTopWin(_arg0
,_arg1
);
6969 wxPy_END_ALLOW_THREADS
;
6970 } _resultobj
= Py_BuildValue("i",_result
);
6974 #define wxScreenDC_StartDrawingOnTop(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
6975 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6976 PyObject
* _resultobj
;
6979 wxRect
* _arg1
= (wxRect
*) NULL
;
6980 PyObject
* _argo0
= 0;
6982 PyObject
* _obj1
= 0;
6983 char *_kwnames
[] = { "self","rect", NULL
};
6986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxScreenDC_StartDrawingOnTop",_kwnames
,&_argo0
,&_obj1
))
6989 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6990 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
6991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTop. Expected _wxScreenDC_p.");
6998 if (! wxRect_helper(_obj1
, &_arg1
))
7002 wxPy_BEGIN_ALLOW_THREADS
;
7003 _result
= (bool )wxScreenDC_StartDrawingOnTop(_arg0
,_arg1
);
7005 wxPy_END_ALLOW_THREADS
;
7006 } _resultobj
= Py_BuildValue("i",_result
);
7010 #define wxScreenDC_EndDrawingOnTop(_swigobj) (_swigobj->EndDrawingOnTop())
7011 static PyObject
*_wrap_wxScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7012 PyObject
* _resultobj
;
7015 PyObject
* _argo0
= 0;
7016 char *_kwnames
[] = { "self", NULL
};
7019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScreenDC_EndDrawingOnTop",_kwnames
,&_argo0
))
7022 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7023 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
7024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_EndDrawingOnTop. Expected _wxScreenDC_p.");
7029 wxPy_BEGIN_ALLOW_THREADS
;
7030 _result
= (bool )wxScreenDC_EndDrawingOnTop(_arg0
);
7032 wxPy_END_ALLOW_THREADS
;
7033 } _resultobj
= Py_BuildValue("i",_result
);
7037 static void *SwigwxClientDCTowxDC(void *ptr
) {
7040 src
= (wxClientDC
*) ptr
;
7041 dest
= (wxDC
*) src
;
7042 return (void *) dest
;
7045 #define new_wxClientDC(_swigarg0) (new wxClientDC(_swigarg0))
7046 static PyObject
*_wrap_new_wxClientDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7047 PyObject
* _resultobj
;
7048 wxClientDC
* _result
;
7050 PyObject
* _argo0
= 0;
7051 char *_kwnames
[] = { "win", NULL
};
7055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxClientDC",_kwnames
,&_argo0
))
7058 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7059 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
7060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxClientDC. Expected _wxWindow_p.");
7065 wxPy_BEGIN_ALLOW_THREADS
;
7066 _result
= (wxClientDC
*)new_wxClientDC(_arg0
);
7068 wxPy_END_ALLOW_THREADS
;
7070 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxClientDC_p");
7071 _resultobj
= Py_BuildValue("s",_ptemp
);
7074 _resultobj
= Py_None
;
7079 static void *SwigwxPaintDCTowxDC(void *ptr
) {
7082 src
= (wxPaintDC
*) ptr
;
7083 dest
= (wxDC
*) src
;
7084 return (void *) dest
;
7087 #define new_wxPaintDC(_swigarg0) (new wxPaintDC(_swigarg0))
7088 static PyObject
*_wrap_new_wxPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7089 PyObject
* _resultobj
;
7090 wxPaintDC
* _result
;
7092 PyObject
* _argo0
= 0;
7093 char *_kwnames
[] = { "win", NULL
};
7097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPaintDC",_kwnames
,&_argo0
))
7100 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7101 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
7102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPaintDC. Expected _wxWindow_p.");
7107 wxPy_BEGIN_ALLOW_THREADS
;
7108 _result
= (wxPaintDC
*)new_wxPaintDC(_arg0
);
7110 wxPy_END_ALLOW_THREADS
;
7112 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPaintDC_p");
7113 _resultobj
= Py_BuildValue("s",_ptemp
);
7116 _resultobj
= Py_None
;
7121 static void *SwigwxWindowDCTowxDC(void *ptr
) {
7124 src
= (wxWindowDC
*) ptr
;
7125 dest
= (wxDC
*) src
;
7126 return (void *) dest
;
7129 #define new_wxWindowDC(_swigarg0) (new wxWindowDC(_swigarg0))
7130 static PyObject
*_wrap_new_wxWindowDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7131 PyObject
* _resultobj
;
7132 wxWindowDC
* _result
;
7134 PyObject
* _argo0
= 0;
7135 char *_kwnames
[] = { "win", NULL
};
7139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxWindowDC",_kwnames
,&_argo0
))
7142 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7143 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
7144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDC. Expected _wxWindow_p.");
7149 wxPy_BEGIN_ALLOW_THREADS
;
7150 _result
= (wxWindowDC
*)new_wxWindowDC(_arg0
);
7152 wxPy_END_ALLOW_THREADS
;
7154 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDC_p");
7155 _resultobj
= Py_BuildValue("s",_ptemp
);
7158 _resultobj
= Py_None
;
7163 static void *SwigwxPrinterDCTowxDC(void *ptr
) {
7166 src
= (wxPrinterDC
*) ptr
;
7167 dest
= (wxDC
*) src
;
7168 return (void *) dest
;
7171 #define new_wxPrinterDC(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxPrinterDC(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7172 static PyObject
*_wrap_new_wxPrinterDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7173 PyObject
* _resultobj
;
7174 wxPrinterDC
* _result
;
7178 bool _arg3
= (bool ) TRUE
;
7179 int _arg4
= (int ) wxPORTRAIT
;
7180 PyObject
* _obj0
= 0;
7181 PyObject
* _obj1
= 0;
7182 PyObject
* _obj2
= 0;
7183 int tempbool3
= (int) TRUE
;
7184 char *_kwnames
[] = { "driver","device","output","interactive","orientation", NULL
};
7188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|ii:new_wxPrinterDC",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&tempbool3
,&_arg4
))
7191 if (!PyString_Check(_obj0
)) {
7192 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7195 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
7198 if (!PyString_Check(_obj1
)) {
7199 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7202 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
7205 if (!PyString_Check(_obj2
)) {
7206 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7209 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
7211 _arg3
= (bool ) tempbool3
;
7213 wxPy_BEGIN_ALLOW_THREADS
;
7214 _result
= (wxPrinterDC
*)new_wxPrinterDC(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
7216 wxPy_END_ALLOW_THREADS
;
7218 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrinterDC_p");
7219 _resultobj
= Py_BuildValue("s",_ptemp
);
7222 _resultobj
= Py_None
;
7239 static void *SwigwxMetaFileDCTowxDC(void *ptr
) {
7242 src
= (wxMetaFileDC
*) ptr
;
7243 dest
= (wxDC
*) src
;
7244 return (void *) dest
;
7247 #define new_wxMetaFileDC(_swigarg0) (new wxMetaFileDC(_swigarg0))
7248 static PyObject
*_wrap_new_wxMetaFileDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7249 PyObject
* _resultobj
;
7250 wxMetaFileDC
* _result
;
7251 wxString
* _arg0
= (wxString
*) &wxPyEmptyStr
;
7252 PyObject
* _obj0
= 0;
7253 char *_kwnames
[] = { "filename", NULL
};
7257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxMetaFileDC",_kwnames
,&_obj0
))
7261 if (!PyString_Check(_obj0
)) {
7262 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7265 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
7268 wxPy_BEGIN_ALLOW_THREADS
;
7269 _result
= (wxMetaFileDC
*)new_wxMetaFileDC(*_arg0
);
7271 wxPy_END_ALLOW_THREADS
;
7273 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMetaFileDC_p");
7274 _resultobj
= Py_BuildValue("s",_ptemp
);
7277 _resultobj
= Py_None
;
7286 #define wxMetaFileDC_Close(_swigobj) (_swigobj->Close())
7287 static PyObject
*_wrap_wxMetaFileDC_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7288 PyObject
* _resultobj
;
7289 wxMetaFile
* _result
;
7290 wxMetaFileDC
* _arg0
;
7291 PyObject
* _argo0
= 0;
7292 char *_kwnames
[] = { "self", NULL
};
7296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMetaFileDC_Close",_kwnames
,&_argo0
))
7299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMetaFileDC_p")) {
7301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMetaFileDC_Close. Expected _wxMetaFileDC_p.");
7306 wxPy_BEGIN_ALLOW_THREADS
;
7307 _result
= (wxMetaFile
*)wxMetaFileDC_Close(_arg0
);
7309 wxPy_END_ALLOW_THREADS
;
7311 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMetaFile_p");
7312 _resultobj
= Py_BuildValue("s",_ptemp
);
7315 _resultobj
= Py_None
;
7320 #define new_wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7321 static PyObject
*_wrap_new_wxPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7322 PyObject
* _resultobj
;
7323 wxPalette
* _result
;
7328 PyObject
* _obj1
= 0;
7329 PyObject
* _obj2
= 0;
7330 PyObject
* _obj3
= 0;
7331 char *_kwnames
[] = { "choices","choices","choices", NULL
};
7335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:new_wxPalette",_kwnames
,&_obj1
,&_obj2
,&_obj3
))
7338 _arg1
= byte_LIST_helper(_obj1
);
7339 if (_arg1
== NULL
) {
7344 _arg2
= byte_LIST_helper(_obj2
);
7345 if (_arg2
== NULL
) {
7351 _arg3
= byte_LIST_helper(_obj3
);
7352 if (_arg3
== NULL
) {
7358 _arg0
= PyList_Size(_obj1
);
7365 wxPy_BEGIN_ALLOW_THREADS
;
7366 _result
= (wxPalette
*)new_wxPalette(_arg0
,_arg1
,_arg2
,_arg3
);
7368 wxPy_END_ALLOW_THREADS
;
7370 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPalette_p");
7371 _resultobj
= Py_BuildValue("s",_ptemp
);
7374 _resultobj
= Py_None
;
7388 #define delete_wxPalette(_swigobj) (delete _swigobj)
7389 static PyObject
*_wrap_delete_wxPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7390 PyObject
* _resultobj
;
7392 PyObject
* _argo0
= 0;
7393 char *_kwnames
[] = { "self", NULL
};
7396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPalette",_kwnames
,&_argo0
))
7399 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7400 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
7401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPalette. Expected _wxPalette_p.");
7406 wxPy_BEGIN_ALLOW_THREADS
;
7407 delete_wxPalette(_arg0
);
7409 wxPy_END_ALLOW_THREADS
;
7410 } Py_INCREF(Py_None
);
7411 _resultobj
= Py_None
;
7415 #define wxPalette_GetPixel(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetPixel(_swigarg0,_swigarg1,_swigarg2))
7416 static PyObject
*_wrap_wxPalette_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7417 PyObject
* _resultobj
;
7423 PyObject
* _argo0
= 0;
7424 char *_kwnames
[] = { "self","red","green","blue", NULL
};
7427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Obbb:wxPalette_GetPixel",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
7430 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7431 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
7432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetPixel. Expected _wxPalette_p.");
7437 wxPy_BEGIN_ALLOW_THREADS
;
7438 _result
= (int )wxPalette_GetPixel(_arg0
,_arg1
,_arg2
,_arg3
);
7440 wxPy_END_ALLOW_THREADS
;
7441 } _resultobj
= Py_BuildValue("i",_result
);
7445 #define wxPalette_GetRGB(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetRGB(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7446 static PyObject
*_wrap_wxPalette_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7447 PyObject
* _resultobj
;
7454 PyObject
* _argo0
= 0;
7455 PyObject
* _argo2
= 0;
7456 PyObject
* _argo3
= 0;
7457 PyObject
* _argo4
= 0;
7458 char *_kwnames
[] = { "self","pixel","OUTPUT","OUTPUT","OUTPUT", NULL
};
7461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOOO:wxPalette_GetRGB",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_argo4
))
7464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
7466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetRGB. Expected _wxPalette_p.");
7471 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7472 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_byte_p")) {
7473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPalette_GetRGB. Expected _byte_p.");
7478 if (_argo3
== Py_None
) { _arg3
= NULL
; }
7479 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_byte_p")) {
7480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxPalette_GetRGB. Expected _byte_p.");
7485 if (_argo4
== Py_None
) { _arg4
= NULL
; }
7486 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_byte_p")) {
7487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxPalette_GetRGB. Expected _byte_p.");
7492 wxPy_BEGIN_ALLOW_THREADS
;
7493 _result
= (bool )wxPalette_GetRGB(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7495 wxPy_END_ALLOW_THREADS
;
7496 } _resultobj
= Py_BuildValue("i",_result
);
7500 #define wxPalette_Ok(_swigobj) (_swigobj->Ok())
7501 static PyObject
*_wrap_wxPalette_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7502 PyObject
* _resultobj
;
7505 PyObject
* _argo0
= 0;
7506 char *_kwnames
[] = { "self", NULL
};
7509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPalette_Ok",_kwnames
,&_argo0
))
7512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
7514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_Ok. Expected _wxPalette_p.");
7519 wxPy_BEGIN_ALLOW_THREADS
;
7520 _result
= (bool )wxPalette_Ok(_arg0
);
7522 wxPy_END_ALLOW_THREADS
;
7523 } _resultobj
= Py_BuildValue("i",_result
);
7527 #define new_wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7528 static PyObject
*_wrap_new_wxImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7529 PyObject
* _resultobj
;
7530 wxImageList
* _result
;
7533 int _arg2
= (int ) FALSE
;
7534 int _arg3
= (int ) 1;
7535 char *_kwnames
[] = { "width","height","mask","initialCount", NULL
};
7539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ii|ii:new_wxImageList",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
7542 wxPy_BEGIN_ALLOW_THREADS
;
7543 _result
= (wxImageList
*)new_wxImageList(_arg0
,_arg1
,_arg2
,_arg3
);
7545 wxPy_END_ALLOW_THREADS
;
7547 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
7548 _resultobj
= Py_BuildValue("s",_ptemp
);
7551 _resultobj
= Py_None
;
7556 #define delete_wxImageList(_swigobj) (delete _swigobj)
7557 static PyObject
*_wrap_delete_wxImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7558 PyObject
* _resultobj
;
7559 wxImageList
* _arg0
;
7560 PyObject
* _argo0
= 0;
7561 char *_kwnames
[] = { "self", NULL
};
7564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxImageList",_kwnames
,&_argo0
))
7567 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7568 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
7569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxImageList. Expected _wxImageList_p.");
7574 wxPy_BEGIN_ALLOW_THREADS
;
7575 delete_wxImageList(_arg0
);
7577 wxPy_END_ALLOW_THREADS
;
7578 } Py_INCREF(Py_None
);
7579 _resultobj
= Py_None
;
7583 #define wxImageList_Add(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
7584 static PyObject
*_wrap_wxImageList_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7585 PyObject
* _resultobj
;
7587 wxImageList
* _arg0
;
7589 wxBitmap
* _arg2
= (wxBitmap
*) &wxNullBitmap
;
7590 PyObject
* _argo0
= 0;
7591 PyObject
* _argo1
= 0;
7592 PyObject
* _argo2
= 0;
7593 char *_kwnames
[] = { "self","bitmap","mask", NULL
};
7596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxImageList_Add",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
7599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
7601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Add. Expected _wxImageList_p.");
7606 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7607 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
7608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_Add. Expected _wxBitmap_p.");
7613 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7614 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
7615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Add. Expected _wxBitmap_p.");
7620 wxPy_BEGIN_ALLOW_THREADS
;
7621 _result
= (int )wxImageList_Add(_arg0
,*_arg1
,*_arg2
);
7623 wxPy_END_ALLOW_THREADS
;
7624 } _resultobj
= Py_BuildValue("i",_result
);
7628 #define wxImageList_AddWithColourMask(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
7629 static PyObject
*_wrap_wxImageList_AddWithColourMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7630 PyObject
* _resultobj
;
7632 wxImageList
* _arg0
;
7635 PyObject
* _argo0
= 0;
7636 PyObject
* _argo1
= 0;
7637 PyObject
* _argo2
= 0;
7638 char *_kwnames
[] = { "self","bitmap","maskColour", NULL
};
7641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxImageList_AddWithColourMask",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
7644 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7645 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
7646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_AddWithColourMask. Expected _wxImageList_p.");
7651 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7652 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
7653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_AddWithColourMask. Expected _wxBitmap_p.");
7658 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7659 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxColour_p")) {
7660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_AddWithColourMask. Expected _wxColour_p.");
7665 wxPy_BEGIN_ALLOW_THREADS
;
7666 _result
= (int )wxImageList_AddWithColourMask(_arg0
,*_arg1
,*_arg2
);
7668 wxPy_END_ALLOW_THREADS
;
7669 } _resultobj
= Py_BuildValue("i",_result
);
7673 #define wxImageList_AddIcon(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
7674 static PyObject
*_wrap_wxImageList_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7675 PyObject
* _resultobj
;
7677 wxImageList
* _arg0
;
7679 PyObject
* _argo0
= 0;
7680 PyObject
* _argo1
= 0;
7681 char *_kwnames
[] = { "self","icon", NULL
};
7684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxImageList_AddIcon",_kwnames
,&_argo0
,&_argo1
))
7687 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7688 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
7689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_AddIcon. Expected _wxImageList_p.");
7694 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7695 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
7696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_AddIcon. Expected _wxIcon_p.");
7701 wxPy_BEGIN_ALLOW_THREADS
;
7702 _result
= (int )wxImageList_AddIcon(_arg0
,*_arg1
);
7704 wxPy_END_ALLOW_THREADS
;
7705 } _resultobj
= Py_BuildValue("i",_result
);
7709 #define wxImageList_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
7710 static PyObject
*_wrap_wxImageList_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7711 PyObject
* _resultobj
;
7713 wxImageList
* _arg0
;
7716 wxBitmap
* _arg3
= (wxBitmap
*) &wxNullBitmap
;
7717 PyObject
* _argo0
= 0;
7718 PyObject
* _argo2
= 0;
7719 PyObject
* _argo3
= 0;
7720 char *_kwnames
[] = { "self","index","bitmap","mask", NULL
};
7723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|O:wxImageList_Replace",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_argo3
))
7726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
7728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Replace. Expected _wxImageList_p.");
7733 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7734 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
7735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Replace. Expected _wxBitmap_p.");
7740 if (_argo3
== Py_None
) { _arg3
= NULL
; }
7741 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
7742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxImageList_Replace. Expected _wxBitmap_p.");
7747 wxPy_BEGIN_ALLOW_THREADS
;
7748 _result
= (bool )wxImageList_Replace(_arg0
,_arg1
,*_arg2
,*_arg3
);
7750 wxPy_END_ALLOW_THREADS
;
7751 } _resultobj
= Py_BuildValue("i",_result
);
7755 #define wxImageList_ReplaceIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->Replace(_swigarg0,_swigarg1))
7756 static PyObject
*_wrap_wxImageList_ReplaceIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7757 PyObject
* _resultobj
;
7759 wxImageList
* _arg0
;
7762 PyObject
* _argo0
= 0;
7763 PyObject
* _argo2
= 0;
7764 char *_kwnames
[] = { "self","index","icon", NULL
};
7767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxImageList_ReplaceIcon",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
7770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
7772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_ReplaceIcon. Expected _wxImageList_p.");
7777 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7778 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxIcon_p")) {
7779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_ReplaceIcon. Expected _wxIcon_p.");
7784 wxPy_BEGIN_ALLOW_THREADS
;
7785 _result
= (bool )wxImageList_ReplaceIcon(_arg0
,_arg1
,*_arg2
);
7787 wxPy_END_ALLOW_THREADS
;
7788 } _resultobj
= Py_BuildValue("i",_result
);
7792 #define wxImageList_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7793 static PyObject
*_wrap_wxImageList_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7794 PyObject
* _resultobj
;
7796 wxImageList
* _arg0
;
7801 int _arg5
= (int ) (wxIMAGELIST_DRAW_NORMAL
);
7802 bool _arg6
= (bool ) FALSE
;
7803 PyObject
* _argo0
= 0;
7804 PyObject
* _argo2
= 0;
7805 int tempbool6
= (int) FALSE
;
7806 char *_kwnames
[] = { "self","index","dc","x","x","flags","solidBackground", NULL
};
7809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOii|ii:wxImageList_Draw",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
7812 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7813 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
7814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Draw. Expected _wxImageList_p.");
7819 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7820 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDC_p")) {
7821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Draw. Expected _wxDC_p.");
7825 _arg6
= (bool ) tempbool6
;
7827 wxPy_BEGIN_ALLOW_THREADS
;
7828 _result
= (bool )wxImageList_Draw(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
7830 wxPy_END_ALLOW_THREADS
;
7831 } _resultobj
= Py_BuildValue("i",_result
);
7835 #define wxImageList_GetImageCount(_swigobj) (_swigobj->GetImageCount())
7836 static PyObject
*_wrap_wxImageList_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7837 PyObject
* _resultobj
;
7839 wxImageList
* _arg0
;
7840 PyObject
* _argo0
= 0;
7841 char *_kwnames
[] = { "self", NULL
};
7844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxImageList_GetImageCount",_kwnames
,&_argo0
))
7847 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7848 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
7849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_GetImageCount. Expected _wxImageList_p.");
7854 wxPy_BEGIN_ALLOW_THREADS
;
7855 _result
= (int )wxImageList_GetImageCount(_arg0
);
7857 wxPy_END_ALLOW_THREADS
;
7858 } _resultobj
= Py_BuildValue("i",_result
);
7862 #define wxImageList_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
7863 static PyObject
*_wrap_wxImageList_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7864 PyObject
* _resultobj
;
7866 wxImageList
* _arg0
;
7868 PyObject
* _argo0
= 0;
7869 char *_kwnames
[] = { "self","index", NULL
};
7872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxImageList_Remove",_kwnames
,&_argo0
,&_arg1
))
7875 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7876 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
7877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Remove. Expected _wxImageList_p.");
7882 wxPy_BEGIN_ALLOW_THREADS
;
7883 _result
= (bool )wxImageList_Remove(_arg0
,_arg1
);
7885 wxPy_END_ALLOW_THREADS
;
7886 } _resultobj
= Py_BuildValue("i",_result
);
7890 #define wxImageList_RemoveAll(_swigobj) (_swigobj->RemoveAll())
7891 static PyObject
*_wrap_wxImageList_RemoveAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7892 PyObject
* _resultobj
;
7894 wxImageList
* _arg0
;
7895 PyObject
* _argo0
= 0;
7896 char *_kwnames
[] = { "self", NULL
};
7899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxImageList_RemoveAll",_kwnames
,&_argo0
))
7902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
7904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_RemoveAll. Expected _wxImageList_p.");
7909 wxPy_BEGIN_ALLOW_THREADS
;
7910 _result
= (bool )wxImageList_RemoveAll(_arg0
);
7912 wxPy_END_ALLOW_THREADS
;
7913 } _resultobj
= Py_BuildValue("i",_result
);
7917 static PyMethodDef gdicMethods
[] = {
7918 { "wxImageList_RemoveAll", (PyCFunction
) _wrap_wxImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
},
7919 { "wxImageList_Remove", (PyCFunction
) _wrap_wxImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
},
7920 { "wxImageList_GetImageCount", (PyCFunction
) _wrap_wxImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
7921 { "wxImageList_Draw", (PyCFunction
) _wrap_wxImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
},
7922 { "wxImageList_ReplaceIcon", (PyCFunction
) _wrap_wxImageList_ReplaceIcon
, METH_VARARGS
| METH_KEYWORDS
},
7923 { "wxImageList_Replace", (PyCFunction
) _wrap_wxImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
},
7924 { "wxImageList_AddIcon", (PyCFunction
) _wrap_wxImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
7925 { "wxImageList_AddWithColourMask", (PyCFunction
) _wrap_wxImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
},
7926 { "wxImageList_Add", (PyCFunction
) _wrap_wxImageList_Add
, METH_VARARGS
| METH_KEYWORDS
},
7927 { "delete_wxImageList", (PyCFunction
) _wrap_delete_wxImageList
, METH_VARARGS
| METH_KEYWORDS
},
7928 { "new_wxImageList", (PyCFunction
) _wrap_new_wxImageList
, METH_VARARGS
| METH_KEYWORDS
},
7929 { "wxPalette_Ok", (PyCFunction
) _wrap_wxPalette_Ok
, METH_VARARGS
| METH_KEYWORDS
},
7930 { "wxPalette_GetRGB", (PyCFunction
) _wrap_wxPalette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
7931 { "wxPalette_GetPixel", (PyCFunction
) _wrap_wxPalette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
7932 { "delete_wxPalette", (PyCFunction
) _wrap_delete_wxPalette
, METH_VARARGS
| METH_KEYWORDS
},
7933 { "new_wxPalette", (PyCFunction
) _wrap_new_wxPalette
, METH_VARARGS
| METH_KEYWORDS
},
7934 { "wxMetaFileDC_Close", (PyCFunction
) _wrap_wxMetaFileDC_Close
, METH_VARARGS
| METH_KEYWORDS
},
7935 { "new_wxMetaFileDC", (PyCFunction
) _wrap_new_wxMetaFileDC
, METH_VARARGS
| METH_KEYWORDS
},
7936 { "new_wxPrinterDC", (PyCFunction
) _wrap_new_wxPrinterDC
, METH_VARARGS
| METH_KEYWORDS
},
7937 { "new_wxWindowDC", (PyCFunction
) _wrap_new_wxWindowDC
, METH_VARARGS
| METH_KEYWORDS
},
7938 { "new_wxPaintDC", (PyCFunction
) _wrap_new_wxPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
7939 { "new_wxClientDC", (PyCFunction
) _wrap_new_wxClientDC
, METH_VARARGS
| METH_KEYWORDS
},
7940 { "wxScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_wxScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
7941 { "wxScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_wxScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
7942 { "wxScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_wxScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
},
7943 { "new_wxScreenDC", (PyCFunction
) _wrap_new_wxScreenDC
, METH_VARARGS
| METH_KEYWORDS
},
7944 { "wxMemoryDC_SelectObject", (PyCFunction
) _wrap_wxMemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
},
7945 { "new_wxMemoryDC", (PyCFunction
) _wrap_new_wxMemoryDC
, METH_VARARGS
| METH_KEYWORDS
},
7946 { "wxDC_SetAxisOrientation", (PyCFunction
) _wrap_wxDC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
},
7947 { "wxDC_GetDeviceOrigin", (PyCFunction
) _wrap_wxDC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
7948 { "wxDC_SetLogicalOrigin", (PyCFunction
) _wrap_wxDC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
7949 { "wxDC_GetLogicalOrigin", (PyCFunction
) _wrap_wxDC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
7950 { "wxDC_GetPPI", (PyCFunction
) _wrap_wxDC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
},
7951 { "wxDC_GetDepth", (PyCFunction
) _wrap_wxDC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
7952 { "wxDC_CanGetTextExtent", (PyCFunction
) _wrap_wxDC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
7953 { "wxDC_CanDrawBitmap", (PyCFunction
) _wrap_wxDC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
7954 { "wxDC_DrawBitmap", (PyCFunction
) _wrap_wxDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
7955 { "wxDC_StartPage", (PyCFunction
) _wrap_wxDC_StartPage
, METH_VARARGS
| METH_KEYWORDS
},
7956 { "wxDC_StartDoc", (PyCFunction
) _wrap_wxDC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
},
7957 { "wxDC_SetUserScale", (PyCFunction
) _wrap_wxDC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
7958 { "wxDC_SetTextForeground", (PyCFunction
) _wrap_wxDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
7959 { "wxDC_SetTextBackground", (PyCFunction
) _wrap_wxDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
7960 { "wxDC_SetPen", (PyCFunction
) _wrap_wxDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
7961 { "wxDC_SetOptimization", (PyCFunction
) _wrap_wxDC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
7962 { "wxDC_SetMapMode", (PyCFunction
) _wrap_wxDC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
7963 { "wxDC_SetLogicalScale", (PyCFunction
) _wrap_wxDC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
7964 { "wxDC_SetLogicalFunction", (PyCFunction
) _wrap_wxDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
7965 { "wxDC_SetFont", (PyCFunction
) _wrap_wxDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
7966 { "wxDC_SetBrush", (PyCFunction
) _wrap_wxDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
7967 { "wxDC_SetPalette", (PyCFunction
) _wrap_wxDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
7968 { "wxDC_SetClippingRegion", (PyCFunction
) _wrap_wxDC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
7969 { "wxDC_SetBackgroundMode", (PyCFunction
) _wrap_wxDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
7970 { "wxDC_SetBackground", (PyCFunction
) _wrap_wxDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
},
7971 { "wxDC_SetDeviceOrigin", (PyCFunction
) _wrap_wxDC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
7972 { "wxDC_Ok", (PyCFunction
) _wrap_wxDC_Ok
, METH_VARARGS
| METH_KEYWORDS
},
7973 { "wxDC_MinY", (PyCFunction
) _wrap_wxDC_MinY
, METH_VARARGS
| METH_KEYWORDS
},
7974 { "wxDC_MinX", (PyCFunction
) _wrap_wxDC_MinX
, METH_VARARGS
| METH_KEYWORDS
},
7975 { "wxDC_MaxY", (PyCFunction
) _wrap_wxDC_MaxY
, METH_VARARGS
| METH_KEYWORDS
},
7976 { "wxDC_MaxX", (PyCFunction
) _wrap_wxDC_MaxX
, METH_VARARGS
| METH_KEYWORDS
},
7977 { "wxDC_LogicalToDeviceYRel", (PyCFunction
) _wrap_wxDC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
},
7978 { "wxDC_LogicalToDeviceY", (PyCFunction
) _wrap_wxDC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
},
7979 { "wxDC_LogicalToDeviceXRel", (PyCFunction
) _wrap_wxDC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
},
7980 { "wxDC_LogicalToDeviceX", (PyCFunction
) _wrap_wxDC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
},
7981 { "wxDC_GetUserScale", (PyCFunction
) _wrap_wxDC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
7982 { "wxDC_GetTextForeground", (PyCFunction
) _wrap_wxDC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
7983 { "wxDC_GetFullTextExtent", (PyCFunction
) _wrap_wxDC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
7984 { "wxDC_GetTextExtent", (PyCFunction
) _wrap_wxDC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
7985 { "wxDC_GetTextBackground", (PyCFunction
) _wrap_wxDC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
7986 { "wxDC_GetSizeMM", (PyCFunction
) _wrap_wxDC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
7987 { "wxDC_GetSize", (PyCFunction
) _wrap_wxDC_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
7988 { "wxDC_GetSizeTuple", (PyCFunction
) _wrap_wxDC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
7989 { "wxDC_GetPixel", (PyCFunction
) _wrap_wxDC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
7990 { "wxDC_GetPen", (PyCFunction
) _wrap_wxDC_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
7991 { "wxDC_GetOptimization", (PyCFunction
) _wrap_wxDC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
7992 { "wxDC_GetMapMode", (PyCFunction
) _wrap_wxDC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
7993 { "wxDC_GetLogicalScale", (PyCFunction
) _wrap_wxDC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
7994 { "wxDC_GetLogicalFunction", (PyCFunction
) _wrap_wxDC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
7995 { "wxDC_GetFont", (PyCFunction
) _wrap_wxDC_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
7996 { "wxDC_GetClippingBox", (PyCFunction
) _wrap_wxDC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
},
7997 { "wxDC_GetCharWidth", (PyCFunction
) _wrap_wxDC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
7998 { "wxDC_GetCharHeight", (PyCFunction
) _wrap_wxDC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
7999 { "wxDC_GetBrush", (PyCFunction
) _wrap_wxDC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
8000 { "wxDC_GetBackground", (PyCFunction
) _wrap_wxDC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
},
8001 { "wxDC_FloodFill", (PyCFunction
) _wrap_wxDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
},
8002 { "wxDC_EndPage", (PyCFunction
) _wrap_wxDC_EndPage
, METH_VARARGS
| METH_KEYWORDS
},
8003 { "wxDC_EndDrawing", (PyCFunction
) _wrap_wxDC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
},
8004 { "wxDC_EndDoc", (PyCFunction
) _wrap_wxDC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
},
8005 { "wxDC_DrawText", (PyCFunction
) _wrap_wxDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
8006 { "wxDC_DrawSpline", (PyCFunction
) _wrap_wxDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
8007 { "wxDC_DrawRoundedRectangle", (PyCFunction
) _wrap_wxDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
8008 { "wxDC_DrawRotatedText", (PyCFunction
) _wrap_wxDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
},
8009 { "wxDC_DrawRectangle", (PyCFunction
) _wrap_wxDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
8010 { "wxDC_DrawPoint", (PyCFunction
) _wrap_wxDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
8011 { "wxDC_DrawPolygon", (PyCFunction
) _wrap_wxDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
8012 { "wxDC_DrawLines", (PyCFunction
) _wrap_wxDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
8013 { "wxDC_DrawLine", (PyCFunction
) _wrap_wxDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
8014 { "wxDC_DrawIcon", (PyCFunction
) _wrap_wxDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
},
8015 { "wxDC_DrawEllipticArc", (PyCFunction
) _wrap_wxDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
8016 { "wxDC_DrawEllipse", (PyCFunction
) _wrap_wxDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
8017 { "wxDC_DrawCircle", (PyCFunction
) _wrap_wxDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
},
8018 { "wxDC_DrawArc", (PyCFunction
) _wrap_wxDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
8019 { "wxDC_DeviceToLogicalYRel", (PyCFunction
) _wrap_wxDC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
},
8020 { "wxDC_DeviceToLogicalY", (PyCFunction
) _wrap_wxDC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
},
8021 { "wxDC_DeviceToLogicalXRel", (PyCFunction
) _wrap_wxDC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
},
8022 { "wxDC_DeviceToLogicalX", (PyCFunction
) _wrap_wxDC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
},
8023 { "wxDC_DestroyClippingRegion", (PyCFunction
) _wrap_wxDC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
8024 { "wxDC_CrossHair", (PyCFunction
) _wrap_wxDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
},
8025 { "wxDC_Clear", (PyCFunction
) _wrap_wxDC_Clear
, METH_VARARGS
| METH_KEYWORDS
},
8026 { "wxDC_Blit", (PyCFunction
) _wrap_wxDC_Blit
, METH_VARARGS
| METH_KEYWORDS
},
8027 { "wxDC_BeginDrawing", (PyCFunction
) _wrap_wxDC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
},
8028 { "delete_wxDC", (PyCFunction
) _wrap_delete_wxDC
, METH_VARARGS
| METH_KEYWORDS
},
8029 { "wxBrush_SetStyle", (PyCFunction
) _wrap_wxBrush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
8030 { "wxBrush_SetStipple", (PyCFunction
) _wrap_wxBrush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
8031 { "wxBrush_SetColour", (PyCFunction
) _wrap_wxBrush_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
8032 { "wxBrush_Ok", (PyCFunction
) _wrap_wxBrush_Ok
, METH_VARARGS
| METH_KEYWORDS
},
8033 { "wxBrush_GetStyle", (PyCFunction
) _wrap_wxBrush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
8034 { "wxBrush_GetStipple", (PyCFunction
) _wrap_wxBrush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
8035 { "wxBrush_GetColour", (PyCFunction
) _wrap_wxBrush_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
8036 { "new_wxBrush", (PyCFunction
) _wrap_new_wxBrush
, METH_VARARGS
| METH_KEYWORDS
},
8037 { "wxPen_SetStipple", (PyCFunction
) _wrap_wxPen_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
8038 { "wxPen_GetStipple", (PyCFunction
) _wrap_wxPen_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
8039 { "wxPen_SetDashes", (PyCFunction
) _wrap_wxPen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
8040 { "wxPen_GetDashes", (PyCFunction
) _wrap_wxPen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
},
8041 { "wxPen_SetWidth", (PyCFunction
) _wrap_wxPen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
8042 { "wxPen_SetStyle", (PyCFunction
) _wrap_wxPen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
8043 { "wxPen_SetJoin", (PyCFunction
) _wrap_wxPen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
},
8044 { "wxPen_SetColour", (PyCFunction
) _wrap_wxPen_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
8045 { "wxPen_SetCap", (PyCFunction
) _wrap_wxPen_SetCap
, METH_VARARGS
| METH_KEYWORDS
},
8046 { "wxPen_Ok", (PyCFunction
) _wrap_wxPen_Ok
, METH_VARARGS
| METH_KEYWORDS
},
8047 { "wxPen_GetWidth", (PyCFunction
) _wrap_wxPen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
8048 { "wxPen_GetStyle", (PyCFunction
) _wrap_wxPen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
8049 { "wxPen_GetJoin", (PyCFunction
) _wrap_wxPen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
},
8050 { "wxPen_GetColour", (PyCFunction
) _wrap_wxPen_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
8051 { "wxPen_GetCap", (PyCFunction
) _wrap_wxPen_GetCap
, METH_VARARGS
| METH_KEYWORDS
},
8052 { "new_wxPen", (PyCFunction
) _wrap_new_wxPen
, METH_VARARGS
| METH_KEYWORDS
},
8053 { "wxColour_Get", (PyCFunction
) _wrap_wxColour_Get
, METH_VARARGS
| METH_KEYWORDS
},
8054 { "wxColour_Set", (PyCFunction
) _wrap_wxColour_Set
, METH_VARARGS
| METH_KEYWORDS
},
8055 { "wxColour_Ok", (PyCFunction
) _wrap_wxColour_Ok
, METH_VARARGS
| METH_KEYWORDS
},
8056 { "wxColour_Blue", (PyCFunction
) _wrap_wxColour_Blue
, METH_VARARGS
| METH_KEYWORDS
},
8057 { "wxColour_Green", (PyCFunction
) _wrap_wxColour_Green
, METH_VARARGS
| METH_KEYWORDS
},
8058 { "wxColour_Red", (PyCFunction
) _wrap_wxColour_Red
, METH_VARARGS
| METH_KEYWORDS
},
8059 { "delete_wxColour", (PyCFunction
) _wrap_delete_wxColour
, METH_VARARGS
| METH_KEYWORDS
},
8060 { "new_wxColour", (PyCFunction
) _wrap_new_wxColour
, METH_VARARGS
| METH_KEYWORDS
},
8061 { "wxFont_GetWeightString", (PyCFunction
) _wrap_wxFont_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
},
8062 { "wxFont_GetStyleString", (PyCFunction
) _wrap_wxFont_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
},
8063 { "wxFont_GetFamilyString", (PyCFunction
) _wrap_wxFont_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
},
8064 { "wxFont_SetEncoding", (PyCFunction
) _wrap_wxFont_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
8065 { "wxFont_SetWeight", (PyCFunction
) _wrap_wxFont_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
8066 { "wxFont_SetUnderlined", (PyCFunction
) _wrap_wxFont_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
8067 { "wxFont_SetStyle", (PyCFunction
) _wrap_wxFont_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
8068 { "wxFont_SetPointSize", (PyCFunction
) _wrap_wxFont_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
8069 { "wxFont_SetFamily", (PyCFunction
) _wrap_wxFont_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
8070 { "wxFont_SetFaceName", (PyCFunction
) _wrap_wxFont_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
8071 { "wxFont_GetEncoding", (PyCFunction
) _wrap_wxFont_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
8072 { "wxFont_GetWeight", (PyCFunction
) _wrap_wxFont_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
8073 { "wxFont_GetUnderlined", (PyCFunction
) _wrap_wxFont_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
8074 { "wxFont_GetStyle", (PyCFunction
) _wrap_wxFont_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
8075 { "wxFont_GetPointSize", (PyCFunction
) _wrap_wxFont_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
8076 { "wxFont_GetFontId", (PyCFunction
) _wrap_wxFont_GetFontId
, METH_VARARGS
| METH_KEYWORDS
},
8077 { "wxFont_GetFamily", (PyCFunction
) _wrap_wxFont_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
8078 { "wxFont_GetFaceName", (PyCFunction
) _wrap_wxFont_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
8079 { "wxFont_Ok", (PyCFunction
) _wrap_wxFont_Ok
, METH_VARARGS
| METH_KEYWORDS
},
8080 { "new_wxFont", (PyCFunction
) _wrap_new_wxFont
, METH_VARARGS
| METH_KEYWORDS
},
8081 { "wxCursor_SetSize", (PyCFunction
) _wrap_wxCursor_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
8082 { "wxCursor_SetDepth", (PyCFunction
) _wrap_wxCursor_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
8083 { "wxCursor_SetHeight", (PyCFunction
) _wrap_wxCursor_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
8084 { "wxCursor_SetWidth", (PyCFunction
) _wrap_wxCursor_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
8085 { "wxCursor_GetDepth", (PyCFunction
) _wrap_wxCursor_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
8086 { "wxCursor_GetHeight", (PyCFunction
) _wrap_wxCursor_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
8087 { "wxCursor_GetWidth", (PyCFunction
) _wrap_wxCursor_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
8088 { "wxCursor_Ok", (PyCFunction
) _wrap_wxCursor_Ok
, METH_VARARGS
| METH_KEYWORDS
},
8089 { "wxCursor_SetHandle", (PyCFunction
) _wrap_wxCursor_SetHandle
, METH_VARARGS
| METH_KEYWORDS
},
8090 { "wxCursor_GetHandle", (PyCFunction
) _wrap_wxCursor_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
8091 { "delete_wxCursor", (PyCFunction
) _wrap_delete_wxCursor
, METH_VARARGS
| METH_KEYWORDS
},
8092 { "new_wxCursor", (PyCFunction
) _wrap_new_wxCursor
, METH_VARARGS
| METH_KEYWORDS
},
8093 { "wxIcon_SetSize", (PyCFunction
) _wrap_wxIcon_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
8094 { "wxIcon_SetDepth", (PyCFunction
) _wrap_wxIcon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
8095 { "wxIcon_SetHeight", (PyCFunction
) _wrap_wxIcon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
8096 { "wxIcon_SetWidth", (PyCFunction
) _wrap_wxIcon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
8097 { "wxIcon_GetDepth", (PyCFunction
) _wrap_wxIcon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
8098 { "wxIcon_GetHeight", (PyCFunction
) _wrap_wxIcon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
8099 { "wxIcon_GetWidth", (PyCFunction
) _wrap_wxIcon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
8100 { "wxIcon_Ok", (PyCFunction
) _wrap_wxIcon_Ok
, METH_VARARGS
| METH_KEYWORDS
},
8101 { "wxIcon_SetHandle", (PyCFunction
) _wrap_wxIcon_SetHandle
, METH_VARARGS
| METH_KEYWORDS
},
8102 { "wxIcon_GetHandle", (PyCFunction
) _wrap_wxIcon_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
8103 { "wxIcon_LoadFile", (PyCFunction
) _wrap_wxIcon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
8104 { "delete_wxIcon", (PyCFunction
) _wrap_delete_wxIcon
, METH_VARARGS
| METH_KEYWORDS
},
8105 { "new_wxIcon", (PyCFunction
) _wrap_new_wxIcon
, METH_VARARGS
| METH_KEYWORDS
},
8106 { "new_wxMask", (PyCFunction
) _wrap_new_wxMask
, METH_VARARGS
| METH_KEYWORDS
},
8107 { "wxBitmap_SetSize", (PyCFunction
) _wrap_wxBitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
8108 { "wxBitmap_SetDepth", (PyCFunction
) _wrap_wxBitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
8109 { "wxBitmap_SetHeight", (PyCFunction
) _wrap_wxBitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
8110 { "wxBitmap_SetWidth", (PyCFunction
) _wrap_wxBitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
8111 { "wxBitmap_GetDepth", (PyCFunction
) _wrap_wxBitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
8112 { "wxBitmap_GetHeight", (PyCFunction
) _wrap_wxBitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
8113 { "wxBitmap_GetWidth", (PyCFunction
) _wrap_wxBitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
8114 { "wxBitmap_Ok", (PyCFunction
) _wrap_wxBitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
},
8115 { "wxBitmap_SetHandle", (PyCFunction
) _wrap_wxBitmap_SetHandle
, METH_VARARGS
| METH_KEYWORDS
},
8116 { "wxBitmap_GetHandle", (PyCFunction
) _wrap_wxBitmap_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
8117 { "wxBitmap_SetPalette", (PyCFunction
) _wrap_wxBitmap_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
8118 { "wxBitmap_SetMask", (PyCFunction
) _wrap_wxBitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
8119 { "wxBitmap_SaveFile", (PyCFunction
) _wrap_wxBitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
8120 { "wxBitmap_LoadFile", (PyCFunction
) _wrap_wxBitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
8121 { "wxBitmap_GetMask", (PyCFunction
) _wrap_wxBitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
8122 { "wxBitmap_GetPalette", (PyCFunction
) _wrap_wxBitmap_GetPalette
, METH_VARARGS
| METH_KEYWORDS
},
8123 { "delete_wxBitmap", (PyCFunction
) _wrap_delete_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
8124 { "new_wxBitmap", (PyCFunction
) _wrap_new_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
8125 { "wxMemoryDCFromDC", (PyCFunction
) _wrap_wxMemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
},
8126 { "wxNamedColour", (PyCFunction
) _wrap_wxNamedColour
, METH_VARARGS
| METH_KEYWORDS
},
8127 { "wxFont_SetDefaultEncoding", (PyCFunction
) _wrap_wxFont_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
8128 { "wxFont_GetDefaultEncoding", (PyCFunction
) _wrap_wxFont_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
8129 { "wxStockCursor", (PyCFunction
) _wrap_wxStockCursor
, METH_VARARGS
| METH_KEYWORDS
},
8130 { "wxMaskColour", (PyCFunction
) _wrap_wxMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
8131 { "wxBitmapFromData", (PyCFunction
) _wrap_wxBitmapFromData
, METH_VARARGS
| METH_KEYWORDS
},
8132 { "wxEmptyBitmap", (PyCFunction
) _wrap_wxEmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
},
8139 * This table is used by the pointer type-checker
8141 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
8142 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
8143 { "_signed_long","_long",0},
8144 { "_wxPrintQuality","_wxCoord",0},
8145 { "_wxPrintQuality","_int",0},
8146 { "_wxPrintQuality","_signed_int",0},
8147 { "_wxPrintQuality","_unsigned_int",0},
8148 { "_wxPrintQuality","_wxWindowID",0},
8149 { "_wxPrintQuality","_uint",0},
8150 { "_wxPrintQuality","_EBool",0},
8151 { "_wxPrintQuality","_size_t",0},
8152 { "_class_wxRegionIterator","_wxRegionIterator",0},
8153 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
8154 { "_wxCursor","_class_wxCursor",0},
8155 { "_wxMask","_class_wxMask",0},
8156 { "_wxPen","_class_wxPen",0},
8157 { "_byte","_unsigned_char",0},
8158 { "_long","_wxDash",0},
8159 { "_long","_unsigned_long",0},
8160 { "_long","_signed_long",0},
8161 { "_wxImageList","_class_wxImageList",0},
8162 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
8163 { "_wxDC","_class_wxMetaFileDC",SwigwxMetaFileDCTowxDC
},
8164 { "_wxDC","_wxMetaFileDC",SwigwxMetaFileDCTowxDC
},
8165 { "_wxDC","_class_wxPrinterDC",SwigwxPrinterDCTowxDC
},
8166 { "_wxDC","_wxPrinterDC",SwigwxPrinterDCTowxDC
},
8167 { "_wxDC","_class_wxWindowDC",SwigwxWindowDCTowxDC
},
8168 { "_wxDC","_wxWindowDC",SwigwxWindowDCTowxDC
},
8169 { "_wxDC","_class_wxPaintDC",SwigwxPaintDCTowxDC
},
8170 { "_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC
},
8171 { "_wxDC","_class_wxClientDC",SwigwxClientDCTowxDC
},
8172 { "_wxDC","_wxClientDC",SwigwxClientDCTowxDC
},
8173 { "_wxDC","_class_wxScreenDC",SwigwxScreenDCTowxDC
},
8174 { "_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC
},
8175 { "_wxDC","_class_wxMemoryDC",SwigwxMemoryDCTowxDC
},
8176 { "_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC
},
8177 { "_wxDC","_class_wxDC",0},
8178 { "_size_t","_wxCoord",0},
8179 { "_size_t","_wxPrintQuality",0},
8180 { "_size_t","_unsigned_int",0},
8181 { "_size_t","_int",0},
8182 { "_size_t","_wxWindowID",0},
8183 { "_size_t","_uint",0},
8184 { "_class_wxRealPoint","_wxRealPoint",0},
8185 { "_wxPrinterDC","_class_wxPrinterDC",0},
8186 { "_class_wxMask","_wxMask",0},
8187 { "_wxColour","_class_wxColour",0},
8188 { "_wxBrush","_class_wxBrush",0},
8189 { "_uint","_wxCoord",0},
8190 { "_uint","_wxPrintQuality",0},
8191 { "_uint","_size_t",0},
8192 { "_uint","_unsigned_int",0},
8193 { "_uint","_int",0},
8194 { "_uint","_wxWindowID",0},
8195 { "_wxRect","_class_wxRect",0},
8196 { "_wxPoint","_class_wxPoint",0},
8197 { "_wxBitmap","_class_wxBitmap",0},
8198 { "_wxPyTimer","_class_wxPyTimer",0},
8199 { "_wxWindowDC","_class_wxWindowDC",0},
8200 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
8201 { "_EBool","_wxCoord",0},
8202 { "_EBool","_wxPrintQuality",0},
8203 { "_EBool","_signed_int",0},
8204 { "_EBool","_int",0},
8205 { "_EBool","_wxWindowID",0},
8206 { "_class_wxRegion","_wxRegion",0},
8207 { "_wxFont","_class_wxFont",0},
8208 { "_unsigned_long","_wxDash",0},
8209 { "_unsigned_long","_long",0},
8210 { "_class_wxRect","_wxRect",0},
8211 { "_class_wxDC","_class_wxMetaFileDC",SwigwxMetaFileDCTowxDC
},
8212 { "_class_wxDC","_wxMetaFileDC",SwigwxMetaFileDCTowxDC
},
8213 { "_class_wxDC","_class_wxPrinterDC",SwigwxPrinterDCTowxDC
},
8214 { "_class_wxDC","_wxPrinterDC",SwigwxPrinterDCTowxDC
},
8215 { "_class_wxDC","_class_wxWindowDC",SwigwxWindowDCTowxDC
},
8216 { "_class_wxDC","_wxWindowDC",SwigwxWindowDCTowxDC
},
8217 { "_class_wxDC","_class_wxPaintDC",SwigwxPaintDCTowxDC
},
8218 { "_class_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC
},
8219 { "_class_wxDC","_class_wxClientDC",SwigwxClientDCTowxDC
},
8220 { "_class_wxDC","_wxClientDC",SwigwxClientDCTowxDC
},
8221 { "_class_wxDC","_class_wxScreenDC",SwigwxScreenDCTowxDC
},
8222 { "_class_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC
},
8223 { "_class_wxDC","_class_wxMemoryDC",SwigwxMemoryDCTowxDC
},
8224 { "_class_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC
},
8225 { "_class_wxDC","_wxDC",0},
8226 { "_class_wxPyTimer","_wxPyTimer",0},
8227 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
8228 { "_signed_int","_wxCoord",0},
8229 { "_signed_int","_wxPrintQuality",0},
8230 { "_signed_int","_EBool",0},
8231 { "_signed_int","_wxWindowID",0},
8232 { "_signed_int","_int",0},
8233 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
8234 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
8235 { "_wxScreenDC","_class_wxScreenDC",0},
8236 { "_WXTYPE","_short",0},
8237 { "_WXTYPE","_signed_short",0},
8238 { "_WXTYPE","_unsigned_short",0},
8239 { "_class_wxBrush","_wxBrush",0},
8240 { "_unsigned_short","_WXTYPE",0},
8241 { "_unsigned_short","_short",0},
8242 { "_class_wxFont","_wxFont",0},
8243 { "_wxBusyInfo","_class_wxBusyInfo",0},
8244 { "_wxClientDC","_class_wxClientDC",0},
8245 { "_class_wxPoint","_wxPoint",0},
8246 { "_wxRealPoint","_class_wxRealPoint",0},
8247 { "_signed_short","_WXTYPE",0},
8248 { "_signed_short","_short",0},
8249 { "_wxMemoryDC","_class_wxMemoryDC",0},
8250 { "_wxPaintDC","_class_wxPaintDC",0},
8251 { "_class_wxWindowDC","_wxWindowDC",0},
8252 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
8253 { "_class_wxCursor","_wxCursor",0},
8254 { "_unsigned_char","_byte",0},
8255 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
8256 { "_unsigned_int","_wxCoord",0},
8257 { "_unsigned_int","_wxPrintQuality",0},
8258 { "_unsigned_int","_size_t",0},
8259 { "_unsigned_int","_uint",0},
8260 { "_unsigned_int","_wxWindowID",0},
8261 { "_unsigned_int","_int",0},
8262 { "_wxIcon","_class_wxIcon",0},
8263 { "_class_wxPen","_wxPen",0},
8264 { "_short","_WXTYPE",0},
8265 { "_short","_unsigned_short",0},
8266 { "_short","_signed_short",0},
8267 { "_class_wxImageList","_wxImageList",0},
8268 { "_wxWindowID","_wxCoord",0},
8269 { "_wxWindowID","_wxPrintQuality",0},
8270 { "_wxWindowID","_size_t",0},
8271 { "_wxWindowID","_EBool",0},
8272 { "_wxWindowID","_uint",0},
8273 { "_wxWindowID","_int",0},
8274 { "_wxWindowID","_signed_int",0},
8275 { "_wxWindowID","_unsigned_int",0},
8276 { "_int","_wxCoord",0},
8277 { "_int","_wxPrintQuality",0},
8278 { "_int","_size_t",0},
8279 { "_int","_EBool",0},
8280 { "_int","_uint",0},
8281 { "_int","_wxWindowID",0},
8282 { "_int","_unsigned_int",0},
8283 { "_int","_signed_int",0},
8284 { "_wxSize","_class_wxSize",0},
8285 { "_wxRegionIterator","_class_wxRegionIterator",0},
8286 { "_class_wxPrinterDC","_wxPrinterDC",0},
8287 { "_class_wxPaintDC","_wxPaintDC",0},
8288 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
8289 { "_class_wxIcon","_wxIcon",0},
8290 { "_class_wxColour","_wxColour",0},
8291 { "_class_wxScreenDC","_wxScreenDC",0},
8292 { "_wxPalette","_class_wxPalette",0},
8293 { "_wxCoord","_int",0},
8294 { "_wxCoord","_signed_int",0},
8295 { "_wxCoord","_unsigned_int",0},
8296 { "_wxCoord","_wxWindowID",0},
8297 { "_wxCoord","_uint",0},
8298 { "_wxCoord","_EBool",0},
8299 { "_wxCoord","_size_t",0},
8300 { "_wxCoord","_wxPrintQuality",0},
8301 { "_wxRegion","_class_wxRegion",0},
8302 { "_class_wxBusyInfo","_wxBusyInfo",0},
8303 { "_class_wxClientDC","_wxClientDC",0},
8304 { "_class_wxSize","_wxSize",0},
8305 { "_class_wxBitmap","_wxBitmap",0},
8306 { "_class_wxMemoryDC","_wxMemoryDC",0},
8307 { "_wxDash","_unsigned_long",0},
8308 { "_wxDash","_long",0},
8309 { "_class_wxPalette","_wxPalette",0},
8312 static PyObject
*SWIG_globals
;
8316 SWIGEXPORT(void) initgdic() {
8318 SWIG_globals
= SWIG_newvarlink();
8319 m
= Py_InitModule("gdic", gdicMethods
);
8320 d
= PyModule_GetDict(m
);
8321 PyDict_SetItemString(d
,"wxFONTENCODING_SYSTEM", PyInt_FromLong((long) wxFONTENCODING_SYSTEM
));
8322 PyDict_SetItemString(d
,"wxFONTENCODING_DEFAULT", PyInt_FromLong((long) wxFONTENCODING_DEFAULT
));
8323 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_1", PyInt_FromLong((long) wxFONTENCODING_ISO8859_1
));
8324 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_2", PyInt_FromLong((long) wxFONTENCODING_ISO8859_2
));
8325 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_3", PyInt_FromLong((long) wxFONTENCODING_ISO8859_3
));
8326 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_4", PyInt_FromLong((long) wxFONTENCODING_ISO8859_4
));
8327 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_5", PyInt_FromLong((long) wxFONTENCODING_ISO8859_5
));
8328 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_6", PyInt_FromLong((long) wxFONTENCODING_ISO8859_6
));
8329 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_7", PyInt_FromLong((long) wxFONTENCODING_ISO8859_7
));
8330 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_8", PyInt_FromLong((long) wxFONTENCODING_ISO8859_8
));
8331 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_9", PyInt_FromLong((long) wxFONTENCODING_ISO8859_9
));
8332 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_10", PyInt_FromLong((long) wxFONTENCODING_ISO8859_10
));
8333 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_11", PyInt_FromLong((long) wxFONTENCODING_ISO8859_11
));
8334 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_12", PyInt_FromLong((long) wxFONTENCODING_ISO8859_12
));
8335 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_13", PyInt_FromLong((long) wxFONTENCODING_ISO8859_13
));
8336 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_14", PyInt_FromLong((long) wxFONTENCODING_ISO8859_14
));
8337 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_15", PyInt_FromLong((long) wxFONTENCODING_ISO8859_15
));
8338 PyDict_SetItemString(d
,"wxFONTENCODING_KOI8", PyInt_FromLong((long) wxFONTENCODING_KOI8
));
8339 PyDict_SetItemString(d
,"wxFONTENCODING_ALTERNATIVE", PyInt_FromLong((long) wxFONTENCODING_ALTERNATIVE
));
8340 PyDict_SetItemString(d
,"wxFONTENCODING_BULGARIAN", PyInt_FromLong((long) wxFONTENCODING_BULGARIAN
));
8341 PyDict_SetItemString(d
,"wxFONTENCODING_CP437", PyInt_FromLong((long) wxFONTENCODING_CP437
));
8342 PyDict_SetItemString(d
,"wxFONTENCODING_CP850", PyInt_FromLong((long) wxFONTENCODING_CP850
));
8343 PyDict_SetItemString(d
,"wxFONTENCODING_CP852", PyInt_FromLong((long) wxFONTENCODING_CP852
));
8344 PyDict_SetItemString(d
,"wxFONTENCODING_CP855", PyInt_FromLong((long) wxFONTENCODING_CP855
));
8345 PyDict_SetItemString(d
,"wxFONTENCODING_CP866", PyInt_FromLong((long) wxFONTENCODING_CP866
));
8346 PyDict_SetItemString(d
,"wxFONTENCODING_CP1250", PyInt_FromLong((long) wxFONTENCODING_CP1250
));
8347 PyDict_SetItemString(d
,"wxFONTENCODING_CP1251", PyInt_FromLong((long) wxFONTENCODING_CP1251
));
8348 PyDict_SetItemString(d
,"wxFONTENCODING_CP1252", PyInt_FromLong((long) wxFONTENCODING_CP1252
));
8349 PyDict_SetItemString(d
,"wxFONTENCODING_MAX", PyInt_FromLong((long) wxFONTENCODING_MAX
));
8350 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
8351 SWIG_addvarlink(SWIG_globals
,"wxNORMAL_FONT",_wrap_wxNORMAL_FONT_get
, _wrap_wxNORMAL_FONT_set
);
8352 SWIG_addvarlink(SWIG_globals
,"wxSMALL_FONT",_wrap_wxSMALL_FONT_get
, _wrap_wxSMALL_FONT_set
);
8353 SWIG_addvarlink(SWIG_globals
,"wxITALIC_FONT",_wrap_wxITALIC_FONT_get
, _wrap_wxITALIC_FONT_set
);
8354 SWIG_addvarlink(SWIG_globals
,"wxSWISS_FONT",_wrap_wxSWISS_FONT_get
, _wrap_wxSWISS_FONT_set
);
8355 SWIG_addvarlink(SWIG_globals
,"wxRED_PEN",_wrap_wxRED_PEN_get
, _wrap_wxRED_PEN_set
);
8356 SWIG_addvarlink(SWIG_globals
,"wxCYAN_PEN",_wrap_wxCYAN_PEN_get
, _wrap_wxCYAN_PEN_set
);
8357 SWIG_addvarlink(SWIG_globals
,"wxGREEN_PEN",_wrap_wxGREEN_PEN_get
, _wrap_wxGREEN_PEN_set
);
8358 SWIG_addvarlink(SWIG_globals
,"wxBLACK_PEN",_wrap_wxBLACK_PEN_get
, _wrap_wxBLACK_PEN_set
);
8359 SWIG_addvarlink(SWIG_globals
,"wxWHITE_PEN",_wrap_wxWHITE_PEN_get
, _wrap_wxWHITE_PEN_set
);
8360 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_PEN",_wrap_wxTRANSPARENT_PEN_get
, _wrap_wxTRANSPARENT_PEN_set
);
8361 SWIG_addvarlink(SWIG_globals
,"wxBLACK_DASHED_PEN",_wrap_wxBLACK_DASHED_PEN_get
, _wrap_wxBLACK_DASHED_PEN_set
);
8362 SWIG_addvarlink(SWIG_globals
,"wxGREY_PEN",_wrap_wxGREY_PEN_get
, _wrap_wxGREY_PEN_set
);
8363 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_PEN",_wrap_wxMEDIUM_GREY_PEN_get
, _wrap_wxMEDIUM_GREY_PEN_set
);
8364 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_PEN",_wrap_wxLIGHT_GREY_PEN_get
, _wrap_wxLIGHT_GREY_PEN_set
);
8365 SWIG_addvarlink(SWIG_globals
,"wxBLUE_BRUSH",_wrap_wxBLUE_BRUSH_get
, _wrap_wxBLUE_BRUSH_set
);
8366 SWIG_addvarlink(SWIG_globals
,"wxGREEN_BRUSH",_wrap_wxGREEN_BRUSH_get
, _wrap_wxGREEN_BRUSH_set
);
8367 SWIG_addvarlink(SWIG_globals
,"wxWHITE_BRUSH",_wrap_wxWHITE_BRUSH_get
, _wrap_wxWHITE_BRUSH_set
);
8368 SWIG_addvarlink(SWIG_globals
,"wxBLACK_BRUSH",_wrap_wxBLACK_BRUSH_get
, _wrap_wxBLACK_BRUSH_set
);
8369 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_BRUSH",_wrap_wxTRANSPARENT_BRUSH_get
, _wrap_wxTRANSPARENT_BRUSH_set
);
8370 SWIG_addvarlink(SWIG_globals
,"wxCYAN_BRUSH",_wrap_wxCYAN_BRUSH_get
, _wrap_wxCYAN_BRUSH_set
);
8371 SWIG_addvarlink(SWIG_globals
,"wxRED_BRUSH",_wrap_wxRED_BRUSH_get
, _wrap_wxRED_BRUSH_set
);
8372 SWIG_addvarlink(SWIG_globals
,"wxGREY_BRUSH",_wrap_wxGREY_BRUSH_get
, _wrap_wxGREY_BRUSH_set
);
8373 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_BRUSH",_wrap_wxMEDIUM_GREY_BRUSH_get
, _wrap_wxMEDIUM_GREY_BRUSH_set
);
8374 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_BRUSH",_wrap_wxLIGHT_GREY_BRUSH_get
, _wrap_wxLIGHT_GREY_BRUSH_set
);
8375 SWIG_addvarlink(SWIG_globals
,"wxBLACK",_wrap_wxBLACK_get
, _wrap_wxBLACK_set
);
8376 SWIG_addvarlink(SWIG_globals
,"wxWHITE",_wrap_wxWHITE_get
, _wrap_wxWHITE_set
);
8377 SWIG_addvarlink(SWIG_globals
,"wxRED",_wrap_wxRED_get
, _wrap_wxRED_set
);
8378 SWIG_addvarlink(SWIG_globals
,"wxBLUE",_wrap_wxBLUE_get
, _wrap_wxBLUE_set
);
8379 SWIG_addvarlink(SWIG_globals
,"wxGREEN",_wrap_wxGREEN_get
, _wrap_wxGREEN_set
);
8380 SWIG_addvarlink(SWIG_globals
,"wxCYAN",_wrap_wxCYAN_get
, _wrap_wxCYAN_set
);
8381 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY",_wrap_wxLIGHT_GREY_get
, _wrap_wxLIGHT_GREY_set
);
8382 SWIG_addvarlink(SWIG_globals
,"wxSTANDARD_CURSOR",_wrap_wxSTANDARD_CURSOR_get
, _wrap_wxSTANDARD_CURSOR_set
);
8383 SWIG_addvarlink(SWIG_globals
,"wxHOURGLASS_CURSOR",_wrap_wxHOURGLASS_CURSOR_get
, _wrap_wxHOURGLASS_CURSOR_set
);
8384 SWIG_addvarlink(SWIG_globals
,"wxCROSS_CURSOR",_wrap_wxCROSS_CURSOR_get
, _wrap_wxCROSS_CURSOR_set
);
8385 SWIG_addvarlink(SWIG_globals
,"wxNullBitmap",_wrap_wxNullBitmap_get
, _wrap_wxNullBitmap_set
);
8386 SWIG_addvarlink(SWIG_globals
,"wxNullIcon",_wrap_wxNullIcon_get
, _wrap_wxNullIcon_set
);
8387 SWIG_addvarlink(SWIG_globals
,"wxNullCursor",_wrap_wxNullCursor_get
, _wrap_wxNullCursor_set
);
8388 SWIG_addvarlink(SWIG_globals
,"wxNullPen",_wrap_wxNullPen_get
, _wrap_wxNullPen_set
);
8389 SWIG_addvarlink(SWIG_globals
,"wxNullBrush",_wrap_wxNullBrush_get
, _wrap_wxNullBrush_set
);
8390 SWIG_addvarlink(SWIG_globals
,"wxNullPalette",_wrap_wxNullPalette_get
, _wrap_wxNullPalette_set
);
8391 SWIG_addvarlink(SWIG_globals
,"wxNullFont",_wrap_wxNullFont_get
, _wrap_wxNullFont_set
);
8392 SWIG_addvarlink(SWIG_globals
,"wxNullColour",_wrap_wxNullColour_get
, _wrap_wxNullColour_set
);
8393 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_NORMAL", PyInt_FromLong((long) wxIMAGELIST_DRAW_NORMAL
));
8394 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_TRANSPARENT", PyInt_FromLong((long) wxIMAGELIST_DRAW_TRANSPARENT
));
8395 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_SELECTED", PyInt_FromLong((long) wxIMAGELIST_DRAW_SELECTED
));
8396 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_FOCUSED", PyInt_FromLong((long) wxIMAGELIST_DRAW_FOCUSED
));
8397 PyDict_SetItemString(d
,"wxIMAGE_LIST_NORMAL", PyInt_FromLong((long) wxIMAGE_LIST_NORMAL
));
8398 PyDict_SetItemString(d
,"wxIMAGE_LIST_SMALL", PyInt_FromLong((long) wxIMAGE_LIST_SMALL
));
8399 PyDict_SetItemString(d
,"wxIMAGE_LIST_STATE", PyInt_FromLong((long) wxIMAGE_LIST_STATE
));
8402 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
8403 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);