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_FromString(WXSTRINGCAST
*(_result
));
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_FromString(WXSTRINGCAST
*(_result
));
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_FromString(WXSTRINGCAST
*(_result
));
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_FromString(WXSTRINGCAST
*(_result
));
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","LIST", 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(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","LIST","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","LIST","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","LIST", 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_GetMapMode(_swigobj) (_swigobj->GetMapMode())
5187 static PyObject
*_wrap_wxDC_GetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5188 PyObject
* _resultobj
;
5191 PyObject
* _argo0
= 0;
5192 char *_kwnames
[] = { "self", NULL
};
5195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetMapMode",_kwnames
,&_argo0
))
5198 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5199 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetMapMode. Expected _wxDC_p.");
5205 wxPy_BEGIN_ALLOW_THREADS
;
5206 _result
= (int )wxDC_GetMapMode(_arg0
);
5208 wxPy_END_ALLOW_THREADS
;
5209 } _resultobj
= Py_BuildValue("i",_result
);
5213 #define wxDC_GetOptimization(_swigobj) (_swigobj->GetOptimization())
5214 static PyObject
*_wrap_wxDC_GetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5215 PyObject
* _resultobj
;
5218 PyObject
* _argo0
= 0;
5219 char *_kwnames
[] = { "self", NULL
};
5222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetOptimization",_kwnames
,&_argo0
))
5225 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5226 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetOptimization. Expected _wxDC_p.");
5232 wxPy_BEGIN_ALLOW_THREADS
;
5233 _result
= (bool )wxDC_GetOptimization(_arg0
);
5235 wxPy_END_ALLOW_THREADS
;
5236 } _resultobj
= Py_BuildValue("i",_result
);
5240 #define wxDC_GetPen(_swigobj) (_swigobj->GetPen())
5241 static PyObject
*_wrap_wxDC_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5242 PyObject
* _resultobj
;
5245 PyObject
* _argo0
= 0;
5246 char *_kwnames
[] = { "self", NULL
};
5250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetPen",_kwnames
,&_argo0
))
5253 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5254 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPen. Expected _wxDC_p.");
5260 wxPy_BEGIN_ALLOW_THREADS
;
5261 wxPen
& _result_ref
= wxDC_GetPen(_arg0
);
5262 _result
= (wxPen
*) &_result_ref
;
5264 wxPy_END_ALLOW_THREADS
;
5266 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
5267 _resultobj
= Py_BuildValue("s",_ptemp
);
5270 _resultobj
= Py_None
;
5275 static wxColour
* wxDC_GetPixel(wxDC
*self
,long x
,long y
) {
5276 wxColour
* wc
= new wxColour();
5277 self
->GetPixel(x
, y
, wc
);
5280 static PyObject
*_wrap_wxDC_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5281 PyObject
* _resultobj
;
5286 PyObject
* _argo0
= 0;
5287 char *_kwnames
[] = { "self","x","y", NULL
};
5291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_GetPixel",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPixel. Expected _wxDC_p.");
5301 wxPy_BEGIN_ALLOW_THREADS
;
5302 _result
= (wxColour
*)wxDC_GetPixel(_arg0
,_arg1
,_arg2
);
5304 wxPy_END_ALLOW_THREADS
;
5306 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
5307 _resultobj
= Py_BuildValue("s",_ptemp
);
5310 _resultobj
= Py_None
;
5315 #define wxDC_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
5316 static PyObject
*_wrap_wxDC_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5317 PyObject
* _resultobj
;
5323 PyObject
* _argo0
= 0;
5324 char *_kwnames
[] = { "self", NULL
};
5333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSizeTuple",_kwnames
,&_argo0
))
5336 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5337 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSizeTuple. Expected _wxDC_p.");
5343 wxPy_BEGIN_ALLOW_THREADS
;
5344 wxDC_GetSizeTuple(_arg0
,_arg1
,_arg2
);
5346 wxPy_END_ALLOW_THREADS
;
5347 } Py_INCREF(Py_None
);
5348 _resultobj
= Py_None
;
5351 o
= PyInt_FromLong((long) (*_arg1
));
5352 _resultobj
= t_output_helper(_resultobj
, o
);
5356 o
= PyInt_FromLong((long) (*_arg2
));
5357 _resultobj
= t_output_helper(_resultobj
, o
);
5362 #define wxDC_GetSize(_swigobj) (_swigobj->GetSize())
5363 static PyObject
*_wrap_wxDC_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5364 PyObject
* _resultobj
;
5367 PyObject
* _argo0
= 0;
5368 char *_kwnames
[] = { "self", NULL
};
5372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSize",_kwnames
,&_argo0
))
5375 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5376 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSize. Expected _wxDC_p.");
5382 wxPy_BEGIN_ALLOW_THREADS
;
5383 _result
= new wxSize (wxDC_GetSize(_arg0
));
5385 wxPy_END_ALLOW_THREADS
;
5386 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5387 _resultobj
= Py_BuildValue("s",_ptemp
);
5391 #define wxDC_GetTextBackground(_swigobj) (_swigobj->GetTextBackground())
5392 static PyObject
*_wrap_wxDC_GetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5393 PyObject
* _resultobj
;
5396 PyObject
* _argo0
= 0;
5397 char *_kwnames
[] = { "self", NULL
};
5401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetTextBackground",_kwnames
,&_argo0
))
5404 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5405 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextBackground. Expected _wxDC_p.");
5411 wxPy_BEGIN_ALLOW_THREADS
;
5412 wxColour
& _result_ref
= wxDC_GetTextBackground(_arg0
);
5413 _result
= (wxColour
*) &_result_ref
;
5415 wxPy_END_ALLOW_THREADS
;
5417 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
5418 _resultobj
= Py_BuildValue("s",_ptemp
);
5421 _resultobj
= Py_None
;
5426 #define wxDC_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
5427 static PyObject
*_wrap_wxDC_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5428 PyObject
* _resultobj
;
5435 PyObject
* _argo0
= 0;
5436 PyObject
* _obj1
= 0;
5437 char *_kwnames
[] = { "self","string", NULL
};
5446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_GetTextExtent",_kwnames
,&_argo0
,&_obj1
))
5449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextExtent. Expected _wxDC_p.");
5456 if (!PyString_Check(_obj1
)) {
5457 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5460 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5463 wxPy_BEGIN_ALLOW_THREADS
;
5464 wxDC_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
5466 wxPy_END_ALLOW_THREADS
;
5467 } Py_INCREF(Py_None
);
5468 _resultobj
= Py_None
;
5471 o
= PyInt_FromLong((long) (*_arg2
));
5472 _resultobj
= t_output_helper(_resultobj
, o
);
5476 o
= PyInt_FromLong((long) (*_arg3
));
5477 _resultobj
= t_output_helper(_resultobj
, o
);
5486 #define wxDC_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5487 static PyObject
*_wrap_wxDC_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5488 PyObject
* _resultobj
;
5499 wxFont
* _arg6
= (wxFont
*) NULL
;
5500 PyObject
* _argo0
= 0;
5501 PyObject
* _obj1
= 0;
5502 PyObject
* _argo6
= 0;
5503 char *_kwnames
[] = { "self","string","font", NULL
};
5518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxDC_GetFullTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo6
))
5521 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5522 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFullTextExtent. Expected _wxDC_p.");
5528 if (!PyString_Check(_obj1
)) {
5529 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5532 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5535 if (_argo6
== Py_None
) { _arg6
= NULL
; }
5536 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
5537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxDC_GetFullTextExtent. Expected _wxFont_p.");
5542 wxPy_BEGIN_ALLOW_THREADS
;
5543 wxDC_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
5545 wxPy_END_ALLOW_THREADS
;
5546 } Py_INCREF(Py_None
);
5547 _resultobj
= Py_None
;
5550 o
= PyInt_FromLong((long) (*_arg2
));
5551 _resultobj
= t_output_helper(_resultobj
, o
);
5555 o
= PyInt_FromLong((long) (*_arg3
));
5556 _resultobj
= t_output_helper(_resultobj
, o
);
5560 o
= PyInt_FromLong((long) (*_arg4
));
5561 _resultobj
= t_output_helper(_resultobj
, o
);
5565 o
= PyInt_FromLong((long) (*_arg5
));
5566 _resultobj
= t_output_helper(_resultobj
, o
);
5575 #define wxDC_GetTextForeground(_swigobj) (_swigobj->GetTextForeground())
5576 static PyObject
*_wrap_wxDC_GetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5577 PyObject
* _resultobj
;
5580 PyObject
* _argo0
= 0;
5581 char *_kwnames
[] = { "self", NULL
};
5585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetTextForeground",_kwnames
,&_argo0
))
5588 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5589 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextForeground. Expected _wxDC_p.");
5595 wxPy_BEGIN_ALLOW_THREADS
;
5596 wxColour
& _result_ref
= wxDC_GetTextForeground(_arg0
);
5597 _result
= (wxColour
*) &_result_ref
;
5599 wxPy_END_ALLOW_THREADS
;
5601 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
5602 _resultobj
= Py_BuildValue("s",_ptemp
);
5605 _resultobj
= Py_None
;
5610 #define wxDC_LogicalToDeviceX(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceX(_swigarg0))
5611 static PyObject
*_wrap_wxDC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5612 PyObject
* _resultobj
;
5616 PyObject
* _argo0
= 0;
5617 char *_kwnames
[] = { "self","x", NULL
};
5620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceX",_kwnames
,&_argo0
,&_arg1
))
5623 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5624 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceX. Expected _wxDC_p.");
5630 wxPy_BEGIN_ALLOW_THREADS
;
5631 _result
= (long )wxDC_LogicalToDeviceX(_arg0
,_arg1
);
5633 wxPy_END_ALLOW_THREADS
;
5634 } _resultobj
= Py_BuildValue("l",_result
);
5638 #define wxDC_LogicalToDeviceXRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceXRel(_swigarg0))
5639 static PyObject
*_wrap_wxDC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5640 PyObject
* _resultobj
;
5644 PyObject
* _argo0
= 0;
5645 char *_kwnames
[] = { "self","x", NULL
};
5648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceXRel",_kwnames
,&_argo0
,&_arg1
))
5651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceXRel. Expected _wxDC_p.");
5658 wxPy_BEGIN_ALLOW_THREADS
;
5659 _result
= (long )wxDC_LogicalToDeviceXRel(_arg0
,_arg1
);
5661 wxPy_END_ALLOW_THREADS
;
5662 } _resultobj
= Py_BuildValue("l",_result
);
5666 #define wxDC_LogicalToDeviceY(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceY(_swigarg0))
5667 static PyObject
*_wrap_wxDC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5668 PyObject
* _resultobj
;
5672 PyObject
* _argo0
= 0;
5673 char *_kwnames
[] = { "self","y", NULL
};
5676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceY",_kwnames
,&_argo0
,&_arg1
))
5679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceY. Expected _wxDC_p.");
5686 wxPy_BEGIN_ALLOW_THREADS
;
5687 _result
= (long )wxDC_LogicalToDeviceY(_arg0
,_arg1
);
5689 wxPy_END_ALLOW_THREADS
;
5690 } _resultobj
= Py_BuildValue("l",_result
);
5694 #define wxDC_LogicalToDeviceYRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceYRel(_swigarg0))
5695 static PyObject
*_wrap_wxDC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5696 PyObject
* _resultobj
;
5700 PyObject
* _argo0
= 0;
5701 char *_kwnames
[] = { "self","y", NULL
};
5704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceYRel",_kwnames
,&_argo0
,&_arg1
))
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_LogicalToDeviceYRel. Expected _wxDC_p.");
5714 wxPy_BEGIN_ALLOW_THREADS
;
5715 _result
= (long )wxDC_LogicalToDeviceYRel(_arg0
,_arg1
);
5717 wxPy_END_ALLOW_THREADS
;
5718 } _resultobj
= Py_BuildValue("l",_result
);
5722 #define wxDC_MaxX(_swigobj) (_swigobj->MaxX())
5723 static PyObject
*_wrap_wxDC_MaxX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5724 PyObject
* _resultobj
;
5727 PyObject
* _argo0
= 0;
5728 char *_kwnames
[] = { "self", NULL
};
5731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MaxX",_kwnames
,&_argo0
))
5734 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5735 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxX. Expected _wxDC_p.");
5741 wxPy_BEGIN_ALLOW_THREADS
;
5742 _result
= (long )wxDC_MaxX(_arg0
);
5744 wxPy_END_ALLOW_THREADS
;
5745 } _resultobj
= Py_BuildValue("l",_result
);
5749 #define wxDC_MaxY(_swigobj) (_swigobj->MaxY())
5750 static PyObject
*_wrap_wxDC_MaxY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5751 PyObject
* _resultobj
;
5754 PyObject
* _argo0
= 0;
5755 char *_kwnames
[] = { "self", NULL
};
5758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MaxY",_kwnames
,&_argo0
))
5761 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5762 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxY. Expected _wxDC_p.");
5768 wxPy_BEGIN_ALLOW_THREADS
;
5769 _result
= (long )wxDC_MaxY(_arg0
);
5771 wxPy_END_ALLOW_THREADS
;
5772 } _resultobj
= Py_BuildValue("l",_result
);
5776 #define wxDC_MinX(_swigobj) (_swigobj->MinX())
5777 static PyObject
*_wrap_wxDC_MinX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5778 PyObject
* _resultobj
;
5781 PyObject
* _argo0
= 0;
5782 char *_kwnames
[] = { "self", NULL
};
5785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MinX",_kwnames
,&_argo0
))
5788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinX. Expected _wxDC_p.");
5795 wxPy_BEGIN_ALLOW_THREADS
;
5796 _result
= (long )wxDC_MinX(_arg0
);
5798 wxPy_END_ALLOW_THREADS
;
5799 } _resultobj
= Py_BuildValue("l",_result
);
5803 #define wxDC_MinY(_swigobj) (_swigobj->MinY())
5804 static PyObject
*_wrap_wxDC_MinY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5805 PyObject
* _resultobj
;
5808 PyObject
* _argo0
= 0;
5809 char *_kwnames
[] = { "self", NULL
};
5812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MinY",_kwnames
,&_argo0
))
5815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinY. Expected _wxDC_p.");
5822 wxPy_BEGIN_ALLOW_THREADS
;
5823 _result
= (long )wxDC_MinY(_arg0
);
5825 wxPy_END_ALLOW_THREADS
;
5826 } _resultobj
= Py_BuildValue("l",_result
);
5830 #define wxDC_Ok(_swigobj) (_swigobj->Ok())
5831 static PyObject
*_wrap_wxDC_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5832 PyObject
* _resultobj
;
5835 PyObject
* _argo0
= 0;
5836 char *_kwnames
[] = { "self", NULL
};
5839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_Ok",_kwnames
,&_argo0
))
5842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Ok. Expected _wxDC_p.");
5849 wxPy_BEGIN_ALLOW_THREADS
;
5850 _result
= (bool )wxDC_Ok(_arg0
);
5852 wxPy_END_ALLOW_THREADS
;
5853 } _resultobj
= Py_BuildValue("i",_result
);
5857 #define wxDC_SetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDeviceOrigin(_swigarg0,_swigarg1))
5858 static PyObject
*_wrap_wxDC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5859 PyObject
* _resultobj
;
5863 PyObject
* _argo0
= 0;
5864 char *_kwnames
[] = { "self","x","y", NULL
};
5867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_SetDeviceOrigin",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5870 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5871 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetDeviceOrigin. Expected _wxDC_p.");
5877 wxPy_BEGIN_ALLOW_THREADS
;
5878 wxDC_SetDeviceOrigin(_arg0
,_arg1
,_arg2
);
5880 wxPy_END_ALLOW_THREADS
;
5881 } Py_INCREF(Py_None
);
5882 _resultobj
= Py_None
;
5886 #define wxDC_SetBackground(_swigobj,_swigarg0) (_swigobj->SetBackground(_swigarg0))
5887 static PyObject
*_wrap_wxDC_SetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5888 PyObject
* _resultobj
;
5891 PyObject
* _argo0
= 0;
5892 PyObject
* _argo1
= 0;
5893 char *_kwnames
[] = { "self","brush", NULL
};
5896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetBackground",_kwnames
,&_argo0
,&_argo1
))
5899 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5900 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackground. Expected _wxDC_p.");
5906 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5907 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
5908 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBackground. Expected _wxBrush_p.");
5913 wxPy_BEGIN_ALLOW_THREADS
;
5914 wxDC_SetBackground(_arg0
,*_arg1
);
5916 wxPy_END_ALLOW_THREADS
;
5917 } Py_INCREF(Py_None
);
5918 _resultobj
= Py_None
;
5922 #define wxDC_SetBackgroundMode(_swigobj,_swigarg0) (_swigobj->SetBackgroundMode(_swigarg0))
5923 static PyObject
*_wrap_wxDC_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5924 PyObject
* _resultobj
;
5927 PyObject
* _argo0
= 0;
5928 char *_kwnames
[] = { "self","mode", NULL
};
5931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetBackgroundMode",_kwnames
,&_argo0
,&_arg1
))
5934 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5935 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackgroundMode. Expected _wxDC_p.");
5941 wxPy_BEGIN_ALLOW_THREADS
;
5942 wxDC_SetBackgroundMode(_arg0
,_arg1
);
5944 wxPy_END_ALLOW_THREADS
;
5945 } Py_INCREF(Py_None
);
5946 _resultobj
= Py_None
;
5950 #define wxDC_SetClippingRegion(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetClippingRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5951 static PyObject
*_wrap_wxDC_SetClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5952 PyObject
* _resultobj
;
5958 PyObject
* _argo0
= 0;
5959 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
5962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_SetClippingRegion",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
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_SetClippingRegion. Expected _wxDC_p.");
5972 wxPy_BEGIN_ALLOW_THREADS
;
5973 wxDC_SetClippingRegion(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5975 wxPy_END_ALLOW_THREADS
;
5976 } Py_INCREF(Py_None
);
5977 _resultobj
= Py_None
;
5981 #define wxDC_SetPalette(_swigobj,_swigarg0) (_swigobj->SetPalette(_swigarg0))
5982 static PyObject
*_wrap_wxDC_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5983 PyObject
* _resultobj
;
5986 PyObject
* _argo0
= 0;
5987 PyObject
* _argo1
= 0;
5988 char *_kwnames
[] = { "self","colourMap", NULL
};
5991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetPalette",_kwnames
,&_argo0
,&_argo1
))
5994 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5995 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPalette. Expected _wxDC_p.");
6001 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6002 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPalette_p")) {
6003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPalette. Expected _wxPalette_p.");
6008 wxPy_BEGIN_ALLOW_THREADS
;
6009 wxDC_SetPalette(_arg0
,*_arg1
);
6011 wxPy_END_ALLOW_THREADS
;
6012 } Py_INCREF(Py_None
);
6013 _resultobj
= Py_None
;
6017 #define wxDC_SetBrush(_swigobj,_swigarg0) (_swigobj->SetBrush(_swigarg0))
6018 static PyObject
*_wrap_wxDC_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6019 PyObject
* _resultobj
;
6022 PyObject
* _argo0
= 0;
6023 PyObject
* _argo1
= 0;
6024 char *_kwnames
[] = { "self","brush", NULL
};
6027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetBrush",_kwnames
,&_argo0
,&_argo1
))
6030 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6031 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBrush. Expected _wxDC_p.");
6037 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6038 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
6039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBrush. Expected _wxBrush_p.");
6044 wxPy_BEGIN_ALLOW_THREADS
;
6045 wxDC_SetBrush(_arg0
,*_arg1
);
6047 wxPy_END_ALLOW_THREADS
;
6048 } Py_INCREF(Py_None
);
6049 _resultobj
= Py_None
;
6053 #define wxDC_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
6054 static PyObject
*_wrap_wxDC_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6055 PyObject
* _resultobj
;
6058 PyObject
* _argo0
= 0;
6059 PyObject
* _argo1
= 0;
6060 char *_kwnames
[] = { "self","font", NULL
};
6063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetFont",_kwnames
,&_argo0
,&_argo1
))
6066 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6067 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetFont. Expected _wxDC_p.");
6073 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6074 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
6075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetFont. Expected _wxFont_p.");
6080 wxPy_BEGIN_ALLOW_THREADS
;
6081 wxDC_SetFont(_arg0
,*_arg1
);
6083 wxPy_END_ALLOW_THREADS
;
6084 } Py_INCREF(Py_None
);
6085 _resultobj
= Py_None
;
6089 #define wxDC_SetLogicalFunction(_swigobj,_swigarg0) (_swigobj->SetLogicalFunction(_swigarg0))
6090 static PyObject
*_wrap_wxDC_SetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6091 PyObject
* _resultobj
;
6094 PyObject
* _argo0
= 0;
6095 char *_kwnames
[] = { "self","function", NULL
};
6098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetLogicalFunction",_kwnames
,&_argo0
,&_arg1
))
6101 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6102 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalFunction. Expected _wxDC_p.");
6108 wxPy_BEGIN_ALLOW_THREADS
;
6109 wxDC_SetLogicalFunction(_arg0
,_arg1
);
6111 wxPy_END_ALLOW_THREADS
;
6112 } Py_INCREF(Py_None
);
6113 _resultobj
= Py_None
;
6117 #define wxDC_SetMapMode(_swigobj,_swigarg0) (_swigobj->SetMapMode(_swigarg0))
6118 static PyObject
*_wrap_wxDC_SetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6119 PyObject
* _resultobj
;
6122 PyObject
* _argo0
= 0;
6123 char *_kwnames
[] = { "self","mode", NULL
};
6126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetMapMode",_kwnames
,&_argo0
,&_arg1
))
6129 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6130 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetMapMode. Expected _wxDC_p.");
6136 wxPy_BEGIN_ALLOW_THREADS
;
6137 wxDC_SetMapMode(_arg0
,_arg1
);
6139 wxPy_END_ALLOW_THREADS
;
6140 } Py_INCREF(Py_None
);
6141 _resultobj
= Py_None
;
6145 #define wxDC_SetOptimization(_swigobj,_swigarg0) (_swigobj->SetOptimization(_swigarg0))
6146 static PyObject
*_wrap_wxDC_SetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6147 PyObject
* _resultobj
;
6150 PyObject
* _argo0
= 0;
6152 char *_kwnames
[] = { "self","optimize", NULL
};
6155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetOptimization",_kwnames
,&_argo0
,&tempbool1
))
6158 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6159 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetOptimization. Expected _wxDC_p.");
6164 _arg1
= (bool ) tempbool1
;
6166 wxPy_BEGIN_ALLOW_THREADS
;
6167 wxDC_SetOptimization(_arg0
,_arg1
);
6169 wxPy_END_ALLOW_THREADS
;
6170 } Py_INCREF(Py_None
);
6171 _resultobj
= Py_None
;
6175 #define wxDC_SetPen(_swigobj,_swigarg0) (_swigobj->SetPen(_swigarg0))
6176 static PyObject
*_wrap_wxDC_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6177 PyObject
* _resultobj
;
6180 PyObject
* _argo0
= 0;
6181 PyObject
* _argo1
= 0;
6182 char *_kwnames
[] = { "self","pen", NULL
};
6185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetPen",_kwnames
,&_argo0
,&_argo1
))
6188 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6189 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPen. Expected _wxDC_p.");
6195 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6196 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
6197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPen. Expected _wxPen_p.");
6202 wxPy_BEGIN_ALLOW_THREADS
;
6203 wxDC_SetPen(_arg0
,*_arg1
);
6205 wxPy_END_ALLOW_THREADS
;
6206 } Py_INCREF(Py_None
);
6207 _resultobj
= Py_None
;
6211 #define wxDC_SetTextBackground(_swigobj,_swigarg0) (_swigobj->SetTextBackground(_swigarg0))
6212 static PyObject
*_wrap_wxDC_SetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6213 PyObject
* _resultobj
;
6216 PyObject
* _argo0
= 0;
6217 PyObject
* _argo1
= 0;
6218 char *_kwnames
[] = { "self","colour", NULL
};
6221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetTextBackground",_kwnames
,&_argo0
,&_argo1
))
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_SetTextBackground. Expected _wxDC_p.");
6231 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6232 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
6233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetTextBackground. Expected _wxColour_p.");
6238 wxPy_BEGIN_ALLOW_THREADS
;
6239 wxDC_SetTextBackground(_arg0
,*_arg1
);
6241 wxPy_END_ALLOW_THREADS
;
6242 } Py_INCREF(Py_None
);
6243 _resultobj
= Py_None
;
6247 #define wxDC_SetTextForeground(_swigobj,_swigarg0) (_swigobj->SetTextForeground(_swigarg0))
6248 static PyObject
*_wrap_wxDC_SetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6249 PyObject
* _resultobj
;
6252 PyObject
* _argo0
= 0;
6253 PyObject
* _argo1
= 0;
6254 char *_kwnames
[] = { "self","colour", NULL
};
6257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetTextForeground",_kwnames
,&_argo0
,&_argo1
))
6260 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6261 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextForeground. Expected _wxDC_p.");
6267 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6268 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
6269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetTextForeground. Expected _wxColour_p.");
6274 wxPy_BEGIN_ALLOW_THREADS
;
6275 wxDC_SetTextForeground(_arg0
,*_arg1
);
6277 wxPy_END_ALLOW_THREADS
;
6278 } Py_INCREF(Py_None
);
6279 _resultobj
= Py_None
;
6283 #define wxDC_SetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetUserScale(_swigarg0,_swigarg1))
6284 static PyObject
*_wrap_wxDC_SetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6285 PyObject
* _resultobj
;
6289 PyObject
* _argo0
= 0;
6290 char *_kwnames
[] = { "self","x_scale","y_scale", NULL
};
6293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxDC_SetUserScale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetUserScale. Expected _wxDC_p.");
6303 wxPy_BEGIN_ALLOW_THREADS
;
6304 wxDC_SetUserScale(_arg0
,_arg1
,_arg2
);
6306 wxPy_END_ALLOW_THREADS
;
6307 } Py_INCREF(Py_None
);
6308 _resultobj
= Py_None
;
6312 #define wxDC_StartDoc(_swigobj,_swigarg0) (_swigobj->StartDoc(_swigarg0))
6313 static PyObject
*_wrap_wxDC_StartDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6314 PyObject
* _resultobj
;
6318 PyObject
* _argo0
= 0;
6319 PyObject
* _obj1
= 0;
6320 char *_kwnames
[] = { "self","message", NULL
};
6323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_StartDoc",_kwnames
,&_argo0
,&_obj1
))
6326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartDoc. Expected _wxDC_p.");
6333 if (!PyString_Check(_obj1
)) {
6334 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6337 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
6340 wxPy_BEGIN_ALLOW_THREADS
;
6341 _result
= (bool )wxDC_StartDoc(_arg0
,*_arg1
);
6343 wxPy_END_ALLOW_THREADS
;
6344 } _resultobj
= Py_BuildValue("i",_result
);
6352 #define wxDC_StartPage(_swigobj) (_swigobj->StartPage())
6353 static PyObject
*_wrap_wxDC_StartPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6354 PyObject
* _resultobj
;
6356 PyObject
* _argo0
= 0;
6357 char *_kwnames
[] = { "self", NULL
};
6360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_StartPage",_kwnames
,&_argo0
))
6363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartPage. Expected _wxDC_p.");
6370 wxPy_BEGIN_ALLOW_THREADS
;
6371 wxDC_StartPage(_arg0
);
6373 wxPy_END_ALLOW_THREADS
;
6374 } Py_INCREF(Py_None
);
6375 _resultobj
= Py_None
;
6379 #define wxDC_DrawBitmap(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6380 static PyObject
*_wrap_wxDC_DrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6381 PyObject
* _resultobj
;
6386 int _arg4
= (int ) FALSE
;
6387 PyObject
* _argo0
= 0;
6388 PyObject
* _argo1
= 0;
6389 char *_kwnames
[] = { "self","bitmap","x","y","useMask", NULL
};
6392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOll|i:wxDC_DrawBitmap",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
))
6395 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6396 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawBitmap. Expected _wxDC_p.");
6402 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6403 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
6404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawBitmap. Expected _wxBitmap_p.");
6409 wxPy_BEGIN_ALLOW_THREADS
;
6410 wxDC_DrawBitmap(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
6412 wxPy_END_ALLOW_THREADS
;
6413 } Py_INCREF(Py_None
);
6414 _resultobj
= Py_None
;
6418 static void *SwigwxMemoryDCTowxDC(void *ptr
) {
6421 src
= (wxMemoryDC
*) ptr
;
6422 dest
= (wxDC
*) src
;
6423 return (void *) dest
;
6426 #define new_wxMemoryDC() (new wxMemoryDC())
6427 static PyObject
*_wrap_new_wxMemoryDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6428 PyObject
* _resultobj
;
6429 wxMemoryDC
* _result
;
6430 char *_kwnames
[] = { NULL
};
6434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMemoryDC",_kwnames
))
6437 wxPy_BEGIN_ALLOW_THREADS
;
6438 _result
= (wxMemoryDC
*)new_wxMemoryDC();
6440 wxPy_END_ALLOW_THREADS
;
6442 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
6443 _resultobj
= Py_BuildValue("s",_ptemp
);
6446 _resultobj
= Py_None
;
6451 #define wxMemoryDC_SelectObject(_swigobj,_swigarg0) (_swigobj->SelectObject(_swigarg0))
6452 static PyObject
*_wrap_wxMemoryDC_SelectObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6453 PyObject
* _resultobj
;
6456 PyObject
* _argo0
= 0;
6457 PyObject
* _argo1
= 0;
6458 char *_kwnames
[] = { "self","bitmap", NULL
};
6461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMemoryDC_SelectObject",_kwnames
,&_argo0
,&_argo1
))
6464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMemoryDC_p")) {
6466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDC_SelectObject. Expected _wxMemoryDC_p.");
6471 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6472 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
6473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMemoryDC_SelectObject. Expected _wxBitmap_p.");
6478 wxPy_BEGIN_ALLOW_THREADS
;
6479 wxMemoryDC_SelectObject(_arg0
,*_arg1
);
6481 wxPy_END_ALLOW_THREADS
;
6482 } Py_INCREF(Py_None
);
6483 _resultobj
= Py_None
;
6487 static void *SwigwxScreenDCTowxDC(void *ptr
) {
6490 src
= (wxScreenDC
*) ptr
;
6491 dest
= (wxDC
*) src
;
6492 return (void *) dest
;
6495 #define new_wxScreenDC() (new wxScreenDC())
6496 static PyObject
*_wrap_new_wxScreenDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6497 PyObject
* _resultobj
;
6498 wxScreenDC
* _result
;
6499 char *_kwnames
[] = { NULL
};
6503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxScreenDC",_kwnames
))
6506 wxPy_BEGIN_ALLOW_THREADS
;
6507 _result
= (wxScreenDC
*)new_wxScreenDC();
6509 wxPy_END_ALLOW_THREADS
;
6511 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScreenDC_p");
6512 _resultobj
= Py_BuildValue("s",_ptemp
);
6515 _resultobj
= Py_None
;
6520 #define wxScreenDC_StartDrawingOnTop(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
6521 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6522 PyObject
* _resultobj
;
6526 PyObject
* _argo0
= 0;
6527 PyObject
* _argo1
= 0;
6528 char *_kwnames
[] = { "self","window", NULL
};
6531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScreenDC_StartDrawingOnTop",_kwnames
,&_argo0
,&_argo1
))
6534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
6536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTop. Expected _wxScreenDC_p.");
6541 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6542 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScreenDC_StartDrawingOnTop. Expected _wxWindow_p.");
6548 wxPy_BEGIN_ALLOW_THREADS
;
6549 _result
= (bool )wxScreenDC_StartDrawingOnTop(_arg0
,_arg1
);
6551 wxPy_END_ALLOW_THREADS
;
6552 } _resultobj
= Py_BuildValue("i",_result
);
6556 #define wxScreenDC_StartDrawingOnTopRect(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
6557 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTopRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6558 PyObject
* _resultobj
;
6561 wxRect
* _arg1
= (wxRect
*) NULL
;
6562 PyObject
* _argo0
= 0;
6564 PyObject
* _obj1
= 0;
6565 char *_kwnames
[] = { "self","rect", NULL
};
6568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxScreenDC_StartDrawingOnTopRect",_kwnames
,&_argo0
,&_obj1
))
6571 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6572 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
6573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTopRect. Expected _wxScreenDC_p.");
6580 if (! wxRect_helper(_obj1
, &_arg1
))
6584 wxPy_BEGIN_ALLOW_THREADS
;
6585 _result
= (bool )wxScreenDC_StartDrawingOnTopRect(_arg0
,_arg1
);
6587 wxPy_END_ALLOW_THREADS
;
6588 } _resultobj
= Py_BuildValue("i",_result
);
6592 #define wxScreenDC_EndDrawingOnTop(_swigobj) (_swigobj->EndDrawingOnTop())
6593 static PyObject
*_wrap_wxScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6594 PyObject
* _resultobj
;
6597 PyObject
* _argo0
= 0;
6598 char *_kwnames
[] = { "self", NULL
};
6601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScreenDC_EndDrawingOnTop",_kwnames
,&_argo0
))
6604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
6606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_EndDrawingOnTop. Expected _wxScreenDC_p.");
6611 wxPy_BEGIN_ALLOW_THREADS
;
6612 _result
= (bool )wxScreenDC_EndDrawingOnTop(_arg0
);
6614 wxPy_END_ALLOW_THREADS
;
6615 } _resultobj
= Py_BuildValue("i",_result
);
6619 static void *SwigwxClientDCTowxDC(void *ptr
) {
6622 src
= (wxClientDC
*) ptr
;
6623 dest
= (wxDC
*) src
;
6624 return (void *) dest
;
6627 #define new_wxClientDC(_swigarg0) (new wxClientDC(_swigarg0))
6628 static PyObject
*_wrap_new_wxClientDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6629 PyObject
* _resultobj
;
6630 wxClientDC
* _result
;
6632 PyObject
* _argo0
= 0;
6633 char *_kwnames
[] = { "win", NULL
};
6637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxClientDC",_kwnames
,&_argo0
))
6640 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6641 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxClientDC. Expected _wxWindow_p.");
6647 wxPy_BEGIN_ALLOW_THREADS
;
6648 _result
= (wxClientDC
*)new_wxClientDC(_arg0
);
6650 wxPy_END_ALLOW_THREADS
;
6652 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxClientDC_p");
6653 _resultobj
= Py_BuildValue("s",_ptemp
);
6656 _resultobj
= Py_None
;
6661 static void *SwigwxPaintDCTowxDC(void *ptr
) {
6664 src
= (wxPaintDC
*) ptr
;
6665 dest
= (wxDC
*) src
;
6666 return (void *) dest
;
6669 #define new_wxPaintDC(_swigarg0) (new wxPaintDC(_swigarg0))
6670 static PyObject
*_wrap_new_wxPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6671 PyObject
* _resultobj
;
6672 wxPaintDC
* _result
;
6674 PyObject
* _argo0
= 0;
6675 char *_kwnames
[] = { "win", NULL
};
6679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPaintDC",_kwnames
,&_argo0
))
6682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPaintDC. Expected _wxWindow_p.");
6689 wxPy_BEGIN_ALLOW_THREADS
;
6690 _result
= (wxPaintDC
*)new_wxPaintDC(_arg0
);
6692 wxPy_END_ALLOW_THREADS
;
6694 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPaintDC_p");
6695 _resultobj
= Py_BuildValue("s",_ptemp
);
6698 _resultobj
= Py_None
;
6703 static void *SwigwxWindowDCTowxDC(void *ptr
) {
6706 src
= (wxWindowDC
*) ptr
;
6707 dest
= (wxDC
*) src
;
6708 return (void *) dest
;
6711 #define new_wxWindowDC(_swigarg0) (new wxWindowDC(_swigarg0))
6712 static PyObject
*_wrap_new_wxWindowDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6713 PyObject
* _resultobj
;
6714 wxWindowDC
* _result
;
6716 PyObject
* _argo0
= 0;
6717 char *_kwnames
[] = { "win", NULL
};
6721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxWindowDC",_kwnames
,&_argo0
))
6724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDC. Expected _wxWindow_p.");
6731 wxPy_BEGIN_ALLOW_THREADS
;
6732 _result
= (wxWindowDC
*)new_wxWindowDC(_arg0
);
6734 wxPy_END_ALLOW_THREADS
;
6736 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDC_p");
6737 _resultobj
= Py_BuildValue("s",_ptemp
);
6740 _resultobj
= Py_None
;
6745 static void *SwigwxPrinterDCTowxDC(void *ptr
) {
6748 src
= (wxPrinterDC
*) ptr
;
6749 dest
= (wxDC
*) src
;
6750 return (void *) dest
;
6753 #define new_wxPrinterDC(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxPrinterDC(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6754 static PyObject
*_wrap_new_wxPrinterDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6755 PyObject
* _resultobj
;
6756 wxPrinterDC
* _result
;
6760 bool _arg3
= (bool ) TRUE
;
6761 int _arg4
= (int ) wxPORTRAIT
;
6762 PyObject
* _obj0
= 0;
6763 PyObject
* _obj1
= 0;
6764 PyObject
* _obj2
= 0;
6765 int tempbool3
= (int) TRUE
;
6766 char *_kwnames
[] = { "driver","device","output","interactive","orientation", NULL
};
6770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|ii:new_wxPrinterDC",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&tempbool3
,&_arg4
))
6773 if (!PyString_Check(_obj0
)) {
6774 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6777 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
6780 if (!PyString_Check(_obj1
)) {
6781 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6784 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
6787 if (!PyString_Check(_obj2
)) {
6788 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6791 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6793 _arg3
= (bool ) tempbool3
;
6795 wxPy_BEGIN_ALLOW_THREADS
;
6796 _result
= (wxPrinterDC
*)new_wxPrinterDC(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
6798 wxPy_END_ALLOW_THREADS
;
6800 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrinterDC_p");
6801 _resultobj
= Py_BuildValue("s",_ptemp
);
6804 _resultobj
= Py_None
;
6821 static void *SwigwxMetaFileDCTowxDC(void *ptr
) {
6824 src
= (wxMetaFileDC
*) ptr
;
6825 dest
= (wxDC
*) src
;
6826 return (void *) dest
;
6829 #define new_wxMetaFileDC(_swigarg0) (new wxMetaFileDC(_swigarg0))
6830 static PyObject
*_wrap_new_wxMetaFileDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6831 PyObject
* _resultobj
;
6832 wxMetaFileDC
* _result
;
6833 wxString
* _arg0
= (wxString
*) &wxPyEmptyStr
;
6834 PyObject
* _obj0
= 0;
6835 char *_kwnames
[] = { "filename", NULL
};
6839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxMetaFileDC",_kwnames
,&_obj0
))
6843 if (!PyString_Check(_obj0
)) {
6844 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6847 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
6850 wxPy_BEGIN_ALLOW_THREADS
;
6851 _result
= (wxMetaFileDC
*)new_wxMetaFileDC(*_arg0
);
6853 wxPy_END_ALLOW_THREADS
;
6855 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMetaFileDC_p");
6856 _resultobj
= Py_BuildValue("s",_ptemp
);
6859 _resultobj
= Py_None
;
6868 #define wxMetaFileDC_Close(_swigobj) (_swigobj->Close())
6869 static PyObject
*_wrap_wxMetaFileDC_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6870 PyObject
* _resultobj
;
6871 wxMetaFile
* _result
;
6872 wxMetaFileDC
* _arg0
;
6873 PyObject
* _argo0
= 0;
6874 char *_kwnames
[] = { "self", NULL
};
6878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMetaFileDC_Close",_kwnames
,&_argo0
))
6881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMetaFileDC_p")) {
6883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMetaFileDC_Close. Expected _wxMetaFileDC_p.");
6888 wxPy_BEGIN_ALLOW_THREADS
;
6889 _result
= (wxMetaFile
*)wxMetaFileDC_Close(_arg0
);
6891 wxPy_END_ALLOW_THREADS
;
6893 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMetaFile_p");
6894 _resultobj
= Py_BuildValue("s",_ptemp
);
6897 _resultobj
= Py_None
;
6902 #define new_wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6903 static PyObject
*_wrap_new_wxPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6904 PyObject
* _resultobj
;
6905 wxPalette
* _result
;
6910 PyObject
* _obj1
= 0;
6911 PyObject
* _obj2
= 0;
6912 PyObject
* _obj3
= 0;
6913 char *_kwnames
[] = { "LIST","LIST","LIST", NULL
};
6917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:new_wxPalette",_kwnames
,&_obj1
,&_obj2
,&_obj3
))
6920 _arg1
= byte_LIST_helper(_obj1
);
6921 if (_arg1
== NULL
) {
6926 _arg2
= byte_LIST_helper(_obj2
);
6927 if (_arg2
== NULL
) {
6933 _arg3
= byte_LIST_helper(_obj3
);
6934 if (_arg3
== NULL
) {
6940 _arg0
= PyList_Size(_obj1
);
6947 wxPy_BEGIN_ALLOW_THREADS
;
6948 _result
= (wxPalette
*)new_wxPalette(_arg0
,_arg1
,_arg2
,_arg3
);
6950 wxPy_END_ALLOW_THREADS
;
6952 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPalette_p");
6953 _resultobj
= Py_BuildValue("s",_ptemp
);
6956 _resultobj
= Py_None
;
6970 #define delete_wxPalette(_swigobj) (delete _swigobj)
6971 static PyObject
*_wrap_delete_wxPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6972 PyObject
* _resultobj
;
6974 PyObject
* _argo0
= 0;
6975 char *_kwnames
[] = { "self", NULL
};
6978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPalette",_kwnames
,&_argo0
))
6981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
6983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPalette. Expected _wxPalette_p.");
6988 wxPy_BEGIN_ALLOW_THREADS
;
6989 delete_wxPalette(_arg0
);
6991 wxPy_END_ALLOW_THREADS
;
6992 } Py_INCREF(Py_None
);
6993 _resultobj
= Py_None
;
6997 #define wxPalette_GetPixel(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetPixel(_swigarg0,_swigarg1,_swigarg2))
6998 static PyObject
*_wrap_wxPalette_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6999 PyObject
* _resultobj
;
7005 PyObject
* _argo0
= 0;
7006 char *_kwnames
[] = { "self","red","green","blue", NULL
};
7009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Obbb:wxPalette_GetPixel",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
7012 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7013 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
7014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetPixel. Expected _wxPalette_p.");
7019 wxPy_BEGIN_ALLOW_THREADS
;
7020 _result
= (int )wxPalette_GetPixel(_arg0
,_arg1
,_arg2
,_arg3
);
7022 wxPy_END_ALLOW_THREADS
;
7023 } _resultobj
= Py_BuildValue("i",_result
);
7027 #define wxPalette_GetRGB(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetRGB(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7028 static PyObject
*_wrap_wxPalette_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7029 PyObject
* _resultobj
;
7036 PyObject
* _argo0
= 0;
7037 PyObject
* _argo2
= 0;
7038 PyObject
* _argo3
= 0;
7039 PyObject
* _argo4
= 0;
7040 char *_kwnames
[] = { "self","pixel","OUTPUT","OUTPUT","OUTPUT", NULL
};
7043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOOO:wxPalette_GetRGB",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_argo4
))
7046 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7047 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
7048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetRGB. Expected _wxPalette_p.");
7053 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7054 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_byte_p")) {
7055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPalette_GetRGB. Expected _byte_p.");
7060 if (_argo3
== Py_None
) { _arg3
= NULL
; }
7061 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_byte_p")) {
7062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxPalette_GetRGB. Expected _byte_p.");
7067 if (_argo4
== Py_None
) { _arg4
= NULL
; }
7068 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_byte_p")) {
7069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxPalette_GetRGB. Expected _byte_p.");
7074 wxPy_BEGIN_ALLOW_THREADS
;
7075 _result
= (bool )wxPalette_GetRGB(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7077 wxPy_END_ALLOW_THREADS
;
7078 } _resultobj
= Py_BuildValue("i",_result
);
7082 #define wxPalette_Ok(_swigobj) (_swigobj->Ok())
7083 static PyObject
*_wrap_wxPalette_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7084 PyObject
* _resultobj
;
7087 PyObject
* _argo0
= 0;
7088 char *_kwnames
[] = { "self", NULL
};
7091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPalette_Ok",_kwnames
,&_argo0
))
7094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
7096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_Ok. Expected _wxPalette_p.");
7101 wxPy_BEGIN_ALLOW_THREADS
;
7102 _result
= (bool )wxPalette_Ok(_arg0
);
7104 wxPy_END_ALLOW_THREADS
;
7105 } _resultobj
= Py_BuildValue("i",_result
);
7109 #define new_wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7110 static PyObject
*_wrap_new_wxImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7111 PyObject
* _resultobj
;
7112 wxImageList
* _result
;
7115 int _arg2
= (int ) TRUE
;
7116 int _arg3
= (int ) 1;
7117 char *_kwnames
[] = { "width","height","mask","initialCount", NULL
};
7121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ii|ii:new_wxImageList",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
7124 wxPy_BEGIN_ALLOW_THREADS
;
7125 _result
= (wxImageList
*)new_wxImageList(_arg0
,_arg1
,_arg2
,_arg3
);
7127 wxPy_END_ALLOW_THREADS
;
7129 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
7130 _resultobj
= Py_BuildValue("s",_ptemp
);
7133 _resultobj
= Py_None
;
7138 #define delete_wxImageList(_swigobj) (delete _swigobj)
7139 static PyObject
*_wrap_delete_wxImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7140 PyObject
* _resultobj
;
7141 wxImageList
* _arg0
;
7142 PyObject
* _argo0
= 0;
7143 char *_kwnames
[] = { "self", NULL
};
7146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxImageList",_kwnames
,&_argo0
))
7149 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7150 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
7151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxImageList. Expected _wxImageList_p.");
7156 wxPy_BEGIN_ALLOW_THREADS
;
7157 delete_wxImageList(_arg0
);
7159 wxPy_END_ALLOW_THREADS
;
7160 } Py_INCREF(Py_None
);
7161 _resultobj
= Py_None
;
7165 #define wxImageList_Add(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
7166 static PyObject
*_wrap_wxImageList_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7167 PyObject
* _resultobj
;
7169 wxImageList
* _arg0
;
7171 wxBitmap
* _arg2
= (wxBitmap
*) &wxNullBitmap
;
7172 PyObject
* _argo0
= 0;
7173 PyObject
* _argo1
= 0;
7174 PyObject
* _argo2
= 0;
7175 char *_kwnames
[] = { "self","bitmap","mask", NULL
};
7178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxImageList_Add",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
7181 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7182 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
7183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Add. Expected _wxImageList_p.");
7188 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7189 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
7190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_Add. Expected _wxBitmap_p.");
7195 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7196 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
7197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Add. Expected _wxBitmap_p.");
7202 wxPy_BEGIN_ALLOW_THREADS
;
7203 _result
= (int )wxImageList_Add(_arg0
,*_arg1
,*_arg2
);
7205 wxPy_END_ALLOW_THREADS
;
7206 } _resultobj
= Py_BuildValue("i",_result
);
7210 #define wxImageList_AddWithColourMask(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
7211 static PyObject
*_wrap_wxImageList_AddWithColourMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7212 PyObject
* _resultobj
;
7214 wxImageList
* _arg0
;
7217 PyObject
* _argo0
= 0;
7218 PyObject
* _argo1
= 0;
7219 PyObject
* _argo2
= 0;
7220 char *_kwnames
[] = { "self","bitmap","maskColour", NULL
};
7223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxImageList_AddWithColourMask",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
7226 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7227 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
7228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_AddWithColourMask. Expected _wxImageList_p.");
7233 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7234 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
7235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_AddWithColourMask. Expected _wxBitmap_p.");
7240 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7241 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxColour_p")) {
7242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_AddWithColourMask. Expected _wxColour_p.");
7247 wxPy_BEGIN_ALLOW_THREADS
;
7248 _result
= (int )wxImageList_AddWithColourMask(_arg0
,*_arg1
,*_arg2
);
7250 wxPy_END_ALLOW_THREADS
;
7251 } _resultobj
= Py_BuildValue("i",_result
);
7255 #define wxImageList_AddIcon(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
7256 static PyObject
*_wrap_wxImageList_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7257 PyObject
* _resultobj
;
7259 wxImageList
* _arg0
;
7261 PyObject
* _argo0
= 0;
7262 PyObject
* _argo1
= 0;
7263 char *_kwnames
[] = { "self","icon", NULL
};
7266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxImageList_AddIcon",_kwnames
,&_argo0
,&_argo1
))
7269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
7271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_AddIcon. Expected _wxImageList_p.");
7276 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7277 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
7278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_AddIcon. Expected _wxIcon_p.");
7283 wxPy_BEGIN_ALLOW_THREADS
;
7284 _result
= (int )wxImageList_AddIcon(_arg0
,*_arg1
);
7286 wxPy_END_ALLOW_THREADS
;
7287 } _resultobj
= Py_BuildValue("i",_result
);
7291 #define wxImageList_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
7292 static PyObject
*_wrap_wxImageList_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7293 PyObject
* _resultobj
;
7295 wxImageList
* _arg0
;
7298 wxBitmap
* _arg3
= (wxBitmap
*) &wxNullBitmap
;
7299 PyObject
* _argo0
= 0;
7300 PyObject
* _argo2
= 0;
7301 PyObject
* _argo3
= 0;
7302 char *_kwnames
[] = { "self","index","bitmap","mask", NULL
};
7305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|O:wxImageList_Replace",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_argo3
))
7308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
7310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Replace. Expected _wxImageList_p.");
7315 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7316 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
7317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Replace. Expected _wxBitmap_p.");
7322 if (_argo3
== Py_None
) { _arg3
= NULL
; }
7323 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
7324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxImageList_Replace. Expected _wxBitmap_p.");
7329 wxPy_BEGIN_ALLOW_THREADS
;
7330 _result
= (bool )wxImageList_Replace(_arg0
,_arg1
,*_arg2
,*_arg3
);
7332 wxPy_END_ALLOW_THREADS
;
7333 } _resultobj
= Py_BuildValue("i",_result
);
7337 #define wxImageList_ReplaceIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->Replace(_swigarg0,_swigarg1))
7338 static PyObject
*_wrap_wxImageList_ReplaceIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7339 PyObject
* _resultobj
;
7341 wxImageList
* _arg0
;
7344 PyObject
* _argo0
= 0;
7345 PyObject
* _argo2
= 0;
7346 char *_kwnames
[] = { "self","index","icon", NULL
};
7349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxImageList_ReplaceIcon",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
7352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
7354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_ReplaceIcon. Expected _wxImageList_p.");
7359 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7360 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxIcon_p")) {
7361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_ReplaceIcon. Expected _wxIcon_p.");
7366 wxPy_BEGIN_ALLOW_THREADS
;
7367 _result
= (bool )wxImageList_ReplaceIcon(_arg0
,_arg1
,*_arg2
);
7369 wxPy_END_ALLOW_THREADS
;
7370 } _resultobj
= Py_BuildValue("i",_result
);
7374 #define wxImageList_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7375 static PyObject
*_wrap_wxImageList_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7376 PyObject
* _resultobj
;
7378 wxImageList
* _arg0
;
7383 int _arg5
= (int ) (wxIMAGELIST_DRAW_NORMAL
);
7384 bool _arg6
= (bool ) FALSE
;
7385 PyObject
* _argo0
= 0;
7386 PyObject
* _argo2
= 0;
7387 int tempbool6
= (int) FALSE
;
7388 char *_kwnames
[] = { "self","index","dc","x","x","flags","solidBackground", NULL
};
7391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOii|ii:wxImageList_Draw",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
7394 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7395 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
7396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Draw. Expected _wxImageList_p.");
7401 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7402 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDC_p")) {
7403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Draw. Expected _wxDC_p.");
7407 _arg6
= (bool ) tempbool6
;
7409 wxPy_BEGIN_ALLOW_THREADS
;
7410 _result
= (bool )wxImageList_Draw(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
7412 wxPy_END_ALLOW_THREADS
;
7413 } _resultobj
= Py_BuildValue("i",_result
);
7417 #define wxImageList_GetImageCount(_swigobj) (_swigobj->GetImageCount())
7418 static PyObject
*_wrap_wxImageList_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7419 PyObject
* _resultobj
;
7421 wxImageList
* _arg0
;
7422 PyObject
* _argo0
= 0;
7423 char *_kwnames
[] = { "self", NULL
};
7426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxImageList_GetImageCount",_kwnames
,&_argo0
))
7429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
7431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_GetImageCount. Expected _wxImageList_p.");
7436 wxPy_BEGIN_ALLOW_THREADS
;
7437 _result
= (int )wxImageList_GetImageCount(_arg0
);
7439 wxPy_END_ALLOW_THREADS
;
7440 } _resultobj
= Py_BuildValue("i",_result
);
7444 #define wxImageList_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
7445 static PyObject
*_wrap_wxImageList_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7446 PyObject
* _resultobj
;
7448 wxImageList
* _arg0
;
7450 PyObject
* _argo0
= 0;
7451 char *_kwnames
[] = { "self","index", NULL
};
7454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxImageList_Remove",_kwnames
,&_argo0
,&_arg1
))
7457 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7458 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
7459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Remove. Expected _wxImageList_p.");
7464 wxPy_BEGIN_ALLOW_THREADS
;
7465 _result
= (bool )wxImageList_Remove(_arg0
,_arg1
);
7467 wxPy_END_ALLOW_THREADS
;
7468 } _resultobj
= Py_BuildValue("i",_result
);
7472 #define wxImageList_RemoveAll(_swigobj) (_swigobj->RemoveAll())
7473 static PyObject
*_wrap_wxImageList_RemoveAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7474 PyObject
* _resultobj
;
7476 wxImageList
* _arg0
;
7477 PyObject
* _argo0
= 0;
7478 char *_kwnames
[] = { "self", NULL
};
7481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxImageList_RemoveAll",_kwnames
,&_argo0
))
7484 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7485 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
7486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_RemoveAll. Expected _wxImageList_p.");
7491 wxPy_BEGIN_ALLOW_THREADS
;
7492 _result
= (bool )wxImageList_RemoveAll(_arg0
);
7494 wxPy_END_ALLOW_THREADS
;
7495 } _resultobj
= Py_BuildValue("i",_result
);
7499 static PyMethodDef gdicMethods
[] = {
7500 { "wxImageList_RemoveAll", (PyCFunction
) _wrap_wxImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
},
7501 { "wxImageList_Remove", (PyCFunction
) _wrap_wxImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
},
7502 { "wxImageList_GetImageCount", (PyCFunction
) _wrap_wxImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
7503 { "wxImageList_Draw", (PyCFunction
) _wrap_wxImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
},
7504 { "wxImageList_ReplaceIcon", (PyCFunction
) _wrap_wxImageList_ReplaceIcon
, METH_VARARGS
| METH_KEYWORDS
},
7505 { "wxImageList_Replace", (PyCFunction
) _wrap_wxImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
},
7506 { "wxImageList_AddIcon", (PyCFunction
) _wrap_wxImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
7507 { "wxImageList_AddWithColourMask", (PyCFunction
) _wrap_wxImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
},
7508 { "wxImageList_Add", (PyCFunction
) _wrap_wxImageList_Add
, METH_VARARGS
| METH_KEYWORDS
},
7509 { "delete_wxImageList", (PyCFunction
) _wrap_delete_wxImageList
, METH_VARARGS
| METH_KEYWORDS
},
7510 { "new_wxImageList", (PyCFunction
) _wrap_new_wxImageList
, METH_VARARGS
| METH_KEYWORDS
},
7511 { "wxPalette_Ok", (PyCFunction
) _wrap_wxPalette_Ok
, METH_VARARGS
| METH_KEYWORDS
},
7512 { "wxPalette_GetRGB", (PyCFunction
) _wrap_wxPalette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
7513 { "wxPalette_GetPixel", (PyCFunction
) _wrap_wxPalette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
7514 { "delete_wxPalette", (PyCFunction
) _wrap_delete_wxPalette
, METH_VARARGS
| METH_KEYWORDS
},
7515 { "new_wxPalette", (PyCFunction
) _wrap_new_wxPalette
, METH_VARARGS
| METH_KEYWORDS
},
7516 { "wxMetaFileDC_Close", (PyCFunction
) _wrap_wxMetaFileDC_Close
, METH_VARARGS
| METH_KEYWORDS
},
7517 { "new_wxMetaFileDC", (PyCFunction
) _wrap_new_wxMetaFileDC
, METH_VARARGS
| METH_KEYWORDS
},
7518 { "new_wxPrinterDC", (PyCFunction
) _wrap_new_wxPrinterDC
, METH_VARARGS
| METH_KEYWORDS
},
7519 { "new_wxWindowDC", (PyCFunction
) _wrap_new_wxWindowDC
, METH_VARARGS
| METH_KEYWORDS
},
7520 { "new_wxPaintDC", (PyCFunction
) _wrap_new_wxPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
7521 { "new_wxClientDC", (PyCFunction
) _wrap_new_wxClientDC
, METH_VARARGS
| METH_KEYWORDS
},
7522 { "wxScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_wxScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
7523 { "wxScreenDC_StartDrawingOnTopRect", (PyCFunction
) _wrap_wxScreenDC_StartDrawingOnTopRect
, METH_VARARGS
| METH_KEYWORDS
},
7524 { "wxScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_wxScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
7525 { "new_wxScreenDC", (PyCFunction
) _wrap_new_wxScreenDC
, METH_VARARGS
| METH_KEYWORDS
},
7526 { "wxMemoryDC_SelectObject", (PyCFunction
) _wrap_wxMemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
},
7527 { "new_wxMemoryDC", (PyCFunction
) _wrap_new_wxMemoryDC
, METH_VARARGS
| METH_KEYWORDS
},
7528 { "wxDC_DrawBitmap", (PyCFunction
) _wrap_wxDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
7529 { "wxDC_StartPage", (PyCFunction
) _wrap_wxDC_StartPage
, METH_VARARGS
| METH_KEYWORDS
},
7530 { "wxDC_StartDoc", (PyCFunction
) _wrap_wxDC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
},
7531 { "wxDC_SetUserScale", (PyCFunction
) _wrap_wxDC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
7532 { "wxDC_SetTextForeground", (PyCFunction
) _wrap_wxDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
7533 { "wxDC_SetTextBackground", (PyCFunction
) _wrap_wxDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
7534 { "wxDC_SetPen", (PyCFunction
) _wrap_wxDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
7535 { "wxDC_SetOptimization", (PyCFunction
) _wrap_wxDC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
7536 { "wxDC_SetMapMode", (PyCFunction
) _wrap_wxDC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
7537 { "wxDC_SetLogicalFunction", (PyCFunction
) _wrap_wxDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
7538 { "wxDC_SetFont", (PyCFunction
) _wrap_wxDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
7539 { "wxDC_SetBrush", (PyCFunction
) _wrap_wxDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
7540 { "wxDC_SetPalette", (PyCFunction
) _wrap_wxDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
7541 { "wxDC_SetClippingRegion", (PyCFunction
) _wrap_wxDC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
7542 { "wxDC_SetBackgroundMode", (PyCFunction
) _wrap_wxDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
7543 { "wxDC_SetBackground", (PyCFunction
) _wrap_wxDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
},
7544 { "wxDC_SetDeviceOrigin", (PyCFunction
) _wrap_wxDC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
7545 { "wxDC_Ok", (PyCFunction
) _wrap_wxDC_Ok
, METH_VARARGS
| METH_KEYWORDS
},
7546 { "wxDC_MinY", (PyCFunction
) _wrap_wxDC_MinY
, METH_VARARGS
| METH_KEYWORDS
},
7547 { "wxDC_MinX", (PyCFunction
) _wrap_wxDC_MinX
, METH_VARARGS
| METH_KEYWORDS
},
7548 { "wxDC_MaxY", (PyCFunction
) _wrap_wxDC_MaxY
, METH_VARARGS
| METH_KEYWORDS
},
7549 { "wxDC_MaxX", (PyCFunction
) _wrap_wxDC_MaxX
, METH_VARARGS
| METH_KEYWORDS
},
7550 { "wxDC_LogicalToDeviceYRel", (PyCFunction
) _wrap_wxDC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
},
7551 { "wxDC_LogicalToDeviceY", (PyCFunction
) _wrap_wxDC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
},
7552 { "wxDC_LogicalToDeviceXRel", (PyCFunction
) _wrap_wxDC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
},
7553 { "wxDC_LogicalToDeviceX", (PyCFunction
) _wrap_wxDC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
},
7554 { "wxDC_GetTextForeground", (PyCFunction
) _wrap_wxDC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
7555 { "wxDC_GetFullTextExtent", (PyCFunction
) _wrap_wxDC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
7556 { "wxDC_GetTextExtent", (PyCFunction
) _wrap_wxDC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
7557 { "wxDC_GetTextBackground", (PyCFunction
) _wrap_wxDC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
7558 { "wxDC_GetSize", (PyCFunction
) _wrap_wxDC_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
7559 { "wxDC_GetSizeTuple", (PyCFunction
) _wrap_wxDC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
7560 { "wxDC_GetPixel", (PyCFunction
) _wrap_wxDC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
7561 { "wxDC_GetPen", (PyCFunction
) _wrap_wxDC_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
7562 { "wxDC_GetOptimization", (PyCFunction
) _wrap_wxDC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
7563 { "wxDC_GetMapMode", (PyCFunction
) _wrap_wxDC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
7564 { "wxDC_GetLogicalFunction", (PyCFunction
) _wrap_wxDC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
7565 { "wxDC_GetFont", (PyCFunction
) _wrap_wxDC_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
7566 { "wxDC_GetClippingBox", (PyCFunction
) _wrap_wxDC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
},
7567 { "wxDC_GetCharWidth", (PyCFunction
) _wrap_wxDC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
7568 { "wxDC_GetCharHeight", (PyCFunction
) _wrap_wxDC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
7569 { "wxDC_GetBrush", (PyCFunction
) _wrap_wxDC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
7570 { "wxDC_GetBackground", (PyCFunction
) _wrap_wxDC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
},
7571 { "wxDC_FloodFill", (PyCFunction
) _wrap_wxDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
},
7572 { "wxDC_EndPage", (PyCFunction
) _wrap_wxDC_EndPage
, METH_VARARGS
| METH_KEYWORDS
},
7573 { "wxDC_EndDrawing", (PyCFunction
) _wrap_wxDC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
},
7574 { "wxDC_EndDoc", (PyCFunction
) _wrap_wxDC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
},
7575 { "wxDC_DrawText", (PyCFunction
) _wrap_wxDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
7576 { "wxDC_DrawSpline", (PyCFunction
) _wrap_wxDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
7577 { "wxDC_DrawRoundedRectangle", (PyCFunction
) _wrap_wxDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
7578 { "wxDC_DrawRotatedText", (PyCFunction
) _wrap_wxDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
},
7579 { "wxDC_DrawRectangle", (PyCFunction
) _wrap_wxDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
7580 { "wxDC_DrawPoint", (PyCFunction
) _wrap_wxDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
7581 { "wxDC_DrawPolygon", (PyCFunction
) _wrap_wxDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
7582 { "wxDC_DrawLines", (PyCFunction
) _wrap_wxDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
7583 { "wxDC_DrawLine", (PyCFunction
) _wrap_wxDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
7584 { "wxDC_DrawIcon", (PyCFunction
) _wrap_wxDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
},
7585 { "wxDC_DrawEllipticArc", (PyCFunction
) _wrap_wxDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
7586 { "wxDC_DrawEllipse", (PyCFunction
) _wrap_wxDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
7587 { "wxDC_DrawCircle", (PyCFunction
) _wrap_wxDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
},
7588 { "wxDC_DrawArc", (PyCFunction
) _wrap_wxDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
7589 { "wxDC_DeviceToLogicalYRel", (PyCFunction
) _wrap_wxDC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
},
7590 { "wxDC_DeviceToLogicalY", (PyCFunction
) _wrap_wxDC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
},
7591 { "wxDC_DeviceToLogicalXRel", (PyCFunction
) _wrap_wxDC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
},
7592 { "wxDC_DeviceToLogicalX", (PyCFunction
) _wrap_wxDC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
},
7593 { "wxDC_DestroyClippingRegion", (PyCFunction
) _wrap_wxDC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
7594 { "wxDC_CrossHair", (PyCFunction
) _wrap_wxDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
},
7595 { "wxDC_Clear", (PyCFunction
) _wrap_wxDC_Clear
, METH_VARARGS
| METH_KEYWORDS
},
7596 { "wxDC_Blit", (PyCFunction
) _wrap_wxDC_Blit
, METH_VARARGS
| METH_KEYWORDS
},
7597 { "wxDC_BeginDrawing", (PyCFunction
) _wrap_wxDC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
},
7598 { "delete_wxDC", (PyCFunction
) _wrap_delete_wxDC
, METH_VARARGS
| METH_KEYWORDS
},
7599 { "wxBrush_SetStyle", (PyCFunction
) _wrap_wxBrush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
7600 { "wxBrush_SetStipple", (PyCFunction
) _wrap_wxBrush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
7601 { "wxBrush_SetColour", (PyCFunction
) _wrap_wxBrush_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
7602 { "wxBrush_Ok", (PyCFunction
) _wrap_wxBrush_Ok
, METH_VARARGS
| METH_KEYWORDS
},
7603 { "wxBrush_GetStyle", (PyCFunction
) _wrap_wxBrush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
7604 { "wxBrush_GetStipple", (PyCFunction
) _wrap_wxBrush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
7605 { "wxBrush_GetColour", (PyCFunction
) _wrap_wxBrush_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
7606 { "new_wxBrush", (PyCFunction
) _wrap_new_wxBrush
, METH_VARARGS
| METH_KEYWORDS
},
7607 { "wxPen_SetStipple", (PyCFunction
) _wrap_wxPen_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
7608 { "wxPen_GetStipple", (PyCFunction
) _wrap_wxPen_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
7609 { "wxPen_SetDashes", (PyCFunction
) _wrap_wxPen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
7610 { "wxPen_GetDashes", (PyCFunction
) _wrap_wxPen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
},
7611 { "wxPen_SetWidth", (PyCFunction
) _wrap_wxPen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
7612 { "wxPen_SetStyle", (PyCFunction
) _wrap_wxPen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
7613 { "wxPen_SetJoin", (PyCFunction
) _wrap_wxPen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
},
7614 { "wxPen_SetColour", (PyCFunction
) _wrap_wxPen_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
7615 { "wxPen_SetCap", (PyCFunction
) _wrap_wxPen_SetCap
, METH_VARARGS
| METH_KEYWORDS
},
7616 { "wxPen_Ok", (PyCFunction
) _wrap_wxPen_Ok
, METH_VARARGS
| METH_KEYWORDS
},
7617 { "wxPen_GetWidth", (PyCFunction
) _wrap_wxPen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
7618 { "wxPen_GetStyle", (PyCFunction
) _wrap_wxPen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
7619 { "wxPen_GetJoin", (PyCFunction
) _wrap_wxPen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
},
7620 { "wxPen_GetColour", (PyCFunction
) _wrap_wxPen_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
7621 { "wxPen_GetCap", (PyCFunction
) _wrap_wxPen_GetCap
, METH_VARARGS
| METH_KEYWORDS
},
7622 { "new_wxPen", (PyCFunction
) _wrap_new_wxPen
, METH_VARARGS
| METH_KEYWORDS
},
7623 { "wxColour_Get", (PyCFunction
) _wrap_wxColour_Get
, METH_VARARGS
| METH_KEYWORDS
},
7624 { "wxColour_Set", (PyCFunction
) _wrap_wxColour_Set
, METH_VARARGS
| METH_KEYWORDS
},
7625 { "wxColour_Ok", (PyCFunction
) _wrap_wxColour_Ok
, METH_VARARGS
| METH_KEYWORDS
},
7626 { "wxColour_Blue", (PyCFunction
) _wrap_wxColour_Blue
, METH_VARARGS
| METH_KEYWORDS
},
7627 { "wxColour_Green", (PyCFunction
) _wrap_wxColour_Green
, METH_VARARGS
| METH_KEYWORDS
},
7628 { "wxColour_Red", (PyCFunction
) _wrap_wxColour_Red
, METH_VARARGS
| METH_KEYWORDS
},
7629 { "delete_wxColour", (PyCFunction
) _wrap_delete_wxColour
, METH_VARARGS
| METH_KEYWORDS
},
7630 { "new_wxColour", (PyCFunction
) _wrap_new_wxColour
, METH_VARARGS
| METH_KEYWORDS
},
7631 { "wxFont_GetWeightString", (PyCFunction
) _wrap_wxFont_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
},
7632 { "wxFont_GetStyleString", (PyCFunction
) _wrap_wxFont_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
},
7633 { "wxFont_GetFamilyString", (PyCFunction
) _wrap_wxFont_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
},
7634 { "wxFont_SetEncoding", (PyCFunction
) _wrap_wxFont_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
7635 { "wxFont_SetWeight", (PyCFunction
) _wrap_wxFont_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
7636 { "wxFont_SetUnderlined", (PyCFunction
) _wrap_wxFont_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
7637 { "wxFont_SetStyle", (PyCFunction
) _wrap_wxFont_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
7638 { "wxFont_SetPointSize", (PyCFunction
) _wrap_wxFont_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
7639 { "wxFont_SetFamily", (PyCFunction
) _wrap_wxFont_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
7640 { "wxFont_SetFaceName", (PyCFunction
) _wrap_wxFont_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
7641 { "wxFont_GetEncoding", (PyCFunction
) _wrap_wxFont_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
7642 { "wxFont_GetWeight", (PyCFunction
) _wrap_wxFont_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
7643 { "wxFont_GetUnderlined", (PyCFunction
) _wrap_wxFont_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
7644 { "wxFont_GetStyle", (PyCFunction
) _wrap_wxFont_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
7645 { "wxFont_GetPointSize", (PyCFunction
) _wrap_wxFont_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
7646 { "wxFont_GetFontId", (PyCFunction
) _wrap_wxFont_GetFontId
, METH_VARARGS
| METH_KEYWORDS
},
7647 { "wxFont_GetFamily", (PyCFunction
) _wrap_wxFont_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
7648 { "wxFont_GetFaceName", (PyCFunction
) _wrap_wxFont_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
7649 { "wxFont_Ok", (PyCFunction
) _wrap_wxFont_Ok
, METH_VARARGS
| METH_KEYWORDS
},
7650 { "new_wxFont", (PyCFunction
) _wrap_new_wxFont
, METH_VARARGS
| METH_KEYWORDS
},
7651 { "wxCursor_SetSize", (PyCFunction
) _wrap_wxCursor_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
7652 { "wxCursor_SetDepth", (PyCFunction
) _wrap_wxCursor_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
7653 { "wxCursor_SetHeight", (PyCFunction
) _wrap_wxCursor_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
7654 { "wxCursor_SetWidth", (PyCFunction
) _wrap_wxCursor_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
7655 { "wxCursor_GetDepth", (PyCFunction
) _wrap_wxCursor_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
7656 { "wxCursor_GetHeight", (PyCFunction
) _wrap_wxCursor_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
7657 { "wxCursor_GetWidth", (PyCFunction
) _wrap_wxCursor_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
7658 { "wxCursor_Ok", (PyCFunction
) _wrap_wxCursor_Ok
, METH_VARARGS
| METH_KEYWORDS
},
7659 { "wxCursor_SetHandle", (PyCFunction
) _wrap_wxCursor_SetHandle
, METH_VARARGS
| METH_KEYWORDS
},
7660 { "wxCursor_GetHandle", (PyCFunction
) _wrap_wxCursor_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
7661 { "delete_wxCursor", (PyCFunction
) _wrap_delete_wxCursor
, METH_VARARGS
| METH_KEYWORDS
},
7662 { "new_wxCursor", (PyCFunction
) _wrap_new_wxCursor
, METH_VARARGS
| METH_KEYWORDS
},
7663 { "wxIcon_SetSize", (PyCFunction
) _wrap_wxIcon_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
7664 { "wxIcon_SetDepth", (PyCFunction
) _wrap_wxIcon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
7665 { "wxIcon_SetHeight", (PyCFunction
) _wrap_wxIcon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
7666 { "wxIcon_SetWidth", (PyCFunction
) _wrap_wxIcon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
7667 { "wxIcon_GetDepth", (PyCFunction
) _wrap_wxIcon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
7668 { "wxIcon_GetHeight", (PyCFunction
) _wrap_wxIcon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
7669 { "wxIcon_GetWidth", (PyCFunction
) _wrap_wxIcon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
7670 { "wxIcon_Ok", (PyCFunction
) _wrap_wxIcon_Ok
, METH_VARARGS
| METH_KEYWORDS
},
7671 { "wxIcon_SetHandle", (PyCFunction
) _wrap_wxIcon_SetHandle
, METH_VARARGS
| METH_KEYWORDS
},
7672 { "wxIcon_GetHandle", (PyCFunction
) _wrap_wxIcon_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
7673 { "wxIcon_LoadFile", (PyCFunction
) _wrap_wxIcon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
7674 { "delete_wxIcon", (PyCFunction
) _wrap_delete_wxIcon
, METH_VARARGS
| METH_KEYWORDS
},
7675 { "new_wxIcon", (PyCFunction
) _wrap_new_wxIcon
, METH_VARARGS
| METH_KEYWORDS
},
7676 { "new_wxMask", (PyCFunction
) _wrap_new_wxMask
, METH_VARARGS
| METH_KEYWORDS
},
7677 { "wxBitmap_SetSize", (PyCFunction
) _wrap_wxBitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
7678 { "wxBitmap_SetDepth", (PyCFunction
) _wrap_wxBitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
7679 { "wxBitmap_SetHeight", (PyCFunction
) _wrap_wxBitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
7680 { "wxBitmap_SetWidth", (PyCFunction
) _wrap_wxBitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
7681 { "wxBitmap_GetDepth", (PyCFunction
) _wrap_wxBitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
7682 { "wxBitmap_GetHeight", (PyCFunction
) _wrap_wxBitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
7683 { "wxBitmap_GetWidth", (PyCFunction
) _wrap_wxBitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
7684 { "wxBitmap_Ok", (PyCFunction
) _wrap_wxBitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
},
7685 { "wxBitmap_SetHandle", (PyCFunction
) _wrap_wxBitmap_SetHandle
, METH_VARARGS
| METH_KEYWORDS
},
7686 { "wxBitmap_GetHandle", (PyCFunction
) _wrap_wxBitmap_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
7687 { "wxBitmap_SetPalette", (PyCFunction
) _wrap_wxBitmap_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
7688 { "wxBitmap_SetMask", (PyCFunction
) _wrap_wxBitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
7689 { "wxBitmap_SaveFile", (PyCFunction
) _wrap_wxBitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
7690 { "wxBitmap_LoadFile", (PyCFunction
) _wrap_wxBitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
7691 { "wxBitmap_GetMask", (PyCFunction
) _wrap_wxBitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
7692 { "wxBitmap_GetPalette", (PyCFunction
) _wrap_wxBitmap_GetPalette
, METH_VARARGS
| METH_KEYWORDS
},
7693 { "delete_wxBitmap", (PyCFunction
) _wrap_delete_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
7694 { "new_wxBitmap", (PyCFunction
) _wrap_new_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
7695 { "wxMemoryDCFromDC", (PyCFunction
) _wrap_wxMemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
},
7696 { "wxNamedColour", (PyCFunction
) _wrap_wxNamedColour
, METH_VARARGS
| METH_KEYWORDS
},
7697 { "wxFont_SetDefaultEncoding", (PyCFunction
) _wrap_wxFont_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
7698 { "wxFont_GetDefaultEncoding", (PyCFunction
) _wrap_wxFont_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
7699 { "wxStockCursor", (PyCFunction
) _wrap_wxStockCursor
, METH_VARARGS
| METH_KEYWORDS
},
7700 { "wxMaskColour", (PyCFunction
) _wrap_wxMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
7701 { "wxBitmapFromData", (PyCFunction
) _wrap_wxBitmapFromData
, METH_VARARGS
| METH_KEYWORDS
},
7702 { "wxEmptyBitmap", (PyCFunction
) _wrap_wxEmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
},
7709 * This table is used by the pointer type-checker
7711 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
7712 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
7713 { "_signed_long","_long",0},
7714 { "_wxPrintQuality","_wxCoord",0},
7715 { "_wxPrintQuality","_int",0},
7716 { "_wxPrintQuality","_signed_int",0},
7717 { "_wxPrintQuality","_unsigned_int",0},
7718 { "_wxPrintQuality","_wxWindowID",0},
7719 { "_wxPrintQuality","_uint",0},
7720 { "_wxPrintQuality","_EBool",0},
7721 { "_wxPrintQuality","_size_t",0},
7722 { "_class_wxRegionIterator","_wxRegionIterator",0},
7723 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
7724 { "_wxCursor","_class_wxCursor",0},
7725 { "_wxMask","_class_wxMask",0},
7726 { "_wxPen","_class_wxPen",0},
7727 { "_byte","_unsigned_char",0},
7728 { "_long","_wxDash",0},
7729 { "_long","_unsigned_long",0},
7730 { "_long","_signed_long",0},
7731 { "_wxImageList","_class_wxImageList",0},
7732 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
7733 { "_wxDC","_class_wxMetaFileDC",SwigwxMetaFileDCTowxDC
},
7734 { "_wxDC","_wxMetaFileDC",SwigwxMetaFileDCTowxDC
},
7735 { "_wxDC","_class_wxPrinterDC",SwigwxPrinterDCTowxDC
},
7736 { "_wxDC","_wxPrinterDC",SwigwxPrinterDCTowxDC
},
7737 { "_wxDC","_class_wxWindowDC",SwigwxWindowDCTowxDC
},
7738 { "_wxDC","_wxWindowDC",SwigwxWindowDCTowxDC
},
7739 { "_wxDC","_class_wxPaintDC",SwigwxPaintDCTowxDC
},
7740 { "_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC
},
7741 { "_wxDC","_class_wxClientDC",SwigwxClientDCTowxDC
},
7742 { "_wxDC","_wxClientDC",SwigwxClientDCTowxDC
},
7743 { "_wxDC","_class_wxScreenDC",SwigwxScreenDCTowxDC
},
7744 { "_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC
},
7745 { "_wxDC","_class_wxMemoryDC",SwigwxMemoryDCTowxDC
},
7746 { "_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC
},
7747 { "_wxDC","_class_wxDC",0},
7748 { "_size_t","_wxCoord",0},
7749 { "_size_t","_wxPrintQuality",0},
7750 { "_size_t","_unsigned_int",0},
7751 { "_size_t","_int",0},
7752 { "_size_t","_wxWindowID",0},
7753 { "_size_t","_uint",0},
7754 { "_class_wxRealPoint","_wxRealPoint",0},
7755 { "_wxPrinterDC","_class_wxPrinterDC",0},
7756 { "_class_wxMask","_wxMask",0},
7757 { "_wxColour","_class_wxColour",0},
7758 { "_wxBrush","_class_wxBrush",0},
7759 { "_uint","_wxCoord",0},
7760 { "_uint","_wxPrintQuality",0},
7761 { "_uint","_size_t",0},
7762 { "_uint","_unsigned_int",0},
7763 { "_uint","_int",0},
7764 { "_uint","_wxWindowID",0},
7765 { "_wxRect","_class_wxRect",0},
7766 { "_wxPoint","_class_wxPoint",0},
7767 { "_wxBitmap","_class_wxBitmap",0},
7768 { "_wxPyTimer","_class_wxPyTimer",0},
7769 { "_wxWindowDC","_class_wxWindowDC",0},
7770 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
7771 { "_EBool","_wxCoord",0},
7772 { "_EBool","_wxPrintQuality",0},
7773 { "_EBool","_signed_int",0},
7774 { "_EBool","_int",0},
7775 { "_EBool","_wxWindowID",0},
7776 { "_class_wxRegion","_wxRegion",0},
7777 { "_wxFont","_class_wxFont",0},
7778 { "_unsigned_long","_wxDash",0},
7779 { "_unsigned_long","_long",0},
7780 { "_class_wxRect","_wxRect",0},
7781 { "_class_wxDC","_class_wxMetaFileDC",SwigwxMetaFileDCTowxDC
},
7782 { "_class_wxDC","_wxMetaFileDC",SwigwxMetaFileDCTowxDC
},
7783 { "_class_wxDC","_class_wxPrinterDC",SwigwxPrinterDCTowxDC
},
7784 { "_class_wxDC","_wxPrinterDC",SwigwxPrinterDCTowxDC
},
7785 { "_class_wxDC","_class_wxWindowDC",SwigwxWindowDCTowxDC
},
7786 { "_class_wxDC","_wxWindowDC",SwigwxWindowDCTowxDC
},
7787 { "_class_wxDC","_class_wxPaintDC",SwigwxPaintDCTowxDC
},
7788 { "_class_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC
},
7789 { "_class_wxDC","_class_wxClientDC",SwigwxClientDCTowxDC
},
7790 { "_class_wxDC","_wxClientDC",SwigwxClientDCTowxDC
},
7791 { "_class_wxDC","_class_wxScreenDC",SwigwxScreenDCTowxDC
},
7792 { "_class_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC
},
7793 { "_class_wxDC","_class_wxMemoryDC",SwigwxMemoryDCTowxDC
},
7794 { "_class_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC
},
7795 { "_class_wxDC","_wxDC",0},
7796 { "_class_wxPyTimer","_wxPyTimer",0},
7797 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
7798 { "_signed_int","_wxCoord",0},
7799 { "_signed_int","_wxPrintQuality",0},
7800 { "_signed_int","_EBool",0},
7801 { "_signed_int","_wxWindowID",0},
7802 { "_signed_int","_int",0},
7803 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
7804 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
7805 { "_wxScreenDC","_class_wxScreenDC",0},
7806 { "_WXTYPE","_short",0},
7807 { "_WXTYPE","_signed_short",0},
7808 { "_WXTYPE","_unsigned_short",0},
7809 { "_class_wxBrush","_wxBrush",0},
7810 { "_unsigned_short","_WXTYPE",0},
7811 { "_unsigned_short","_short",0},
7812 { "_class_wxFont","_wxFont",0},
7813 { "_wxBusyInfo","_class_wxBusyInfo",0},
7814 { "_wxClientDC","_class_wxClientDC",0},
7815 { "_class_wxPoint","_wxPoint",0},
7816 { "_wxRealPoint","_class_wxRealPoint",0},
7817 { "_signed_short","_WXTYPE",0},
7818 { "_signed_short","_short",0},
7819 { "_wxMemoryDC","_class_wxMemoryDC",0},
7820 { "_wxPaintDC","_class_wxPaintDC",0},
7821 { "_class_wxWindowDC","_wxWindowDC",0},
7822 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
7823 { "_class_wxCursor","_wxCursor",0},
7824 { "_unsigned_char","_byte",0},
7825 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
7826 { "_unsigned_int","_wxCoord",0},
7827 { "_unsigned_int","_wxPrintQuality",0},
7828 { "_unsigned_int","_size_t",0},
7829 { "_unsigned_int","_uint",0},
7830 { "_unsigned_int","_wxWindowID",0},
7831 { "_unsigned_int","_int",0},
7832 { "_wxIcon","_class_wxIcon",0},
7833 { "_class_wxPen","_wxPen",0},
7834 { "_short","_WXTYPE",0},
7835 { "_short","_unsigned_short",0},
7836 { "_short","_signed_short",0},
7837 { "_class_wxImageList","_wxImageList",0},
7838 { "_wxWindowID","_wxCoord",0},
7839 { "_wxWindowID","_wxPrintQuality",0},
7840 { "_wxWindowID","_size_t",0},
7841 { "_wxWindowID","_EBool",0},
7842 { "_wxWindowID","_uint",0},
7843 { "_wxWindowID","_int",0},
7844 { "_wxWindowID","_signed_int",0},
7845 { "_wxWindowID","_unsigned_int",0},
7846 { "_int","_wxCoord",0},
7847 { "_int","_wxPrintQuality",0},
7848 { "_int","_size_t",0},
7849 { "_int","_EBool",0},
7850 { "_int","_uint",0},
7851 { "_int","_wxWindowID",0},
7852 { "_int","_unsigned_int",0},
7853 { "_int","_signed_int",0},
7854 { "_wxSize","_class_wxSize",0},
7855 { "_wxRegionIterator","_class_wxRegionIterator",0},
7856 { "_class_wxPrinterDC","_wxPrinterDC",0},
7857 { "_class_wxPaintDC","_wxPaintDC",0},
7858 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
7859 { "_class_wxIcon","_wxIcon",0},
7860 { "_class_wxColour","_wxColour",0},
7861 { "_class_wxScreenDC","_wxScreenDC",0},
7862 { "_wxPalette","_class_wxPalette",0},
7863 { "_wxCoord","_int",0},
7864 { "_wxCoord","_signed_int",0},
7865 { "_wxCoord","_unsigned_int",0},
7866 { "_wxCoord","_wxWindowID",0},
7867 { "_wxCoord","_uint",0},
7868 { "_wxCoord","_EBool",0},
7869 { "_wxCoord","_size_t",0},
7870 { "_wxCoord","_wxPrintQuality",0},
7871 { "_wxRegion","_class_wxRegion",0},
7872 { "_class_wxBusyInfo","_wxBusyInfo",0},
7873 { "_class_wxClientDC","_wxClientDC",0},
7874 { "_class_wxSize","_wxSize",0},
7875 { "_class_wxBitmap","_wxBitmap",0},
7876 { "_class_wxMemoryDC","_wxMemoryDC",0},
7877 { "_wxDash","_unsigned_long",0},
7878 { "_wxDash","_long",0},
7879 { "_class_wxPalette","_wxPalette",0},
7882 static PyObject
*SWIG_globals
;
7886 SWIGEXPORT(void) initgdic() {
7888 SWIG_globals
= SWIG_newvarlink();
7889 m
= Py_InitModule("gdic", gdicMethods
);
7890 d
= PyModule_GetDict(m
);
7891 PyDict_SetItemString(d
,"wxFONTENCODING_SYSTEM", PyInt_FromLong((long) wxFONTENCODING_SYSTEM
));
7892 PyDict_SetItemString(d
,"wxFONTENCODING_DEFAULT", PyInt_FromLong((long) wxFONTENCODING_DEFAULT
));
7893 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_1", PyInt_FromLong((long) wxFONTENCODING_ISO8859_1
));
7894 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_2", PyInt_FromLong((long) wxFONTENCODING_ISO8859_2
));
7895 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_3", PyInt_FromLong((long) wxFONTENCODING_ISO8859_3
));
7896 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_4", PyInt_FromLong((long) wxFONTENCODING_ISO8859_4
));
7897 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_5", PyInt_FromLong((long) wxFONTENCODING_ISO8859_5
));
7898 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_6", PyInt_FromLong((long) wxFONTENCODING_ISO8859_6
));
7899 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_7", PyInt_FromLong((long) wxFONTENCODING_ISO8859_7
));
7900 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_8", PyInt_FromLong((long) wxFONTENCODING_ISO8859_8
));
7901 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_9", PyInt_FromLong((long) wxFONTENCODING_ISO8859_9
));
7902 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_10", PyInt_FromLong((long) wxFONTENCODING_ISO8859_10
));
7903 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_11", PyInt_FromLong((long) wxFONTENCODING_ISO8859_11
));
7904 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_12", PyInt_FromLong((long) wxFONTENCODING_ISO8859_12
));
7905 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_13", PyInt_FromLong((long) wxFONTENCODING_ISO8859_13
));
7906 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_14", PyInt_FromLong((long) wxFONTENCODING_ISO8859_14
));
7907 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_15", PyInt_FromLong((long) wxFONTENCODING_ISO8859_15
));
7908 PyDict_SetItemString(d
,"wxFONTENCODING_KOI8", PyInt_FromLong((long) wxFONTENCODING_KOI8
));
7909 PyDict_SetItemString(d
,"wxFONTENCODING_ALTERNATIVE", PyInt_FromLong((long) wxFONTENCODING_ALTERNATIVE
));
7910 PyDict_SetItemString(d
,"wxFONTENCODING_BULGARIAN", PyInt_FromLong((long) wxFONTENCODING_BULGARIAN
));
7911 PyDict_SetItemString(d
,"wxFONTENCODING_CP437", PyInt_FromLong((long) wxFONTENCODING_CP437
));
7912 PyDict_SetItemString(d
,"wxFONTENCODING_CP850", PyInt_FromLong((long) wxFONTENCODING_CP850
));
7913 PyDict_SetItemString(d
,"wxFONTENCODING_CP852", PyInt_FromLong((long) wxFONTENCODING_CP852
));
7914 PyDict_SetItemString(d
,"wxFONTENCODING_CP855", PyInt_FromLong((long) wxFONTENCODING_CP855
));
7915 PyDict_SetItemString(d
,"wxFONTENCODING_CP866", PyInt_FromLong((long) wxFONTENCODING_CP866
));
7916 PyDict_SetItemString(d
,"wxFONTENCODING_CP1250", PyInt_FromLong((long) wxFONTENCODING_CP1250
));
7917 PyDict_SetItemString(d
,"wxFONTENCODING_CP1251", PyInt_FromLong((long) wxFONTENCODING_CP1251
));
7918 PyDict_SetItemString(d
,"wxFONTENCODING_CP1252", PyInt_FromLong((long) wxFONTENCODING_CP1252
));
7919 PyDict_SetItemString(d
,"wxFONTENCODING_MAX", PyInt_FromLong((long) wxFONTENCODING_MAX
));
7920 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
7921 SWIG_addvarlink(SWIG_globals
,"wxNORMAL_FONT",_wrap_wxNORMAL_FONT_get
, _wrap_wxNORMAL_FONT_set
);
7922 SWIG_addvarlink(SWIG_globals
,"wxSMALL_FONT",_wrap_wxSMALL_FONT_get
, _wrap_wxSMALL_FONT_set
);
7923 SWIG_addvarlink(SWIG_globals
,"wxITALIC_FONT",_wrap_wxITALIC_FONT_get
, _wrap_wxITALIC_FONT_set
);
7924 SWIG_addvarlink(SWIG_globals
,"wxSWISS_FONT",_wrap_wxSWISS_FONT_get
, _wrap_wxSWISS_FONT_set
);
7925 SWIG_addvarlink(SWIG_globals
,"wxRED_PEN",_wrap_wxRED_PEN_get
, _wrap_wxRED_PEN_set
);
7926 SWIG_addvarlink(SWIG_globals
,"wxCYAN_PEN",_wrap_wxCYAN_PEN_get
, _wrap_wxCYAN_PEN_set
);
7927 SWIG_addvarlink(SWIG_globals
,"wxGREEN_PEN",_wrap_wxGREEN_PEN_get
, _wrap_wxGREEN_PEN_set
);
7928 SWIG_addvarlink(SWIG_globals
,"wxBLACK_PEN",_wrap_wxBLACK_PEN_get
, _wrap_wxBLACK_PEN_set
);
7929 SWIG_addvarlink(SWIG_globals
,"wxWHITE_PEN",_wrap_wxWHITE_PEN_get
, _wrap_wxWHITE_PEN_set
);
7930 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_PEN",_wrap_wxTRANSPARENT_PEN_get
, _wrap_wxTRANSPARENT_PEN_set
);
7931 SWIG_addvarlink(SWIG_globals
,"wxBLACK_DASHED_PEN",_wrap_wxBLACK_DASHED_PEN_get
, _wrap_wxBLACK_DASHED_PEN_set
);
7932 SWIG_addvarlink(SWIG_globals
,"wxGREY_PEN",_wrap_wxGREY_PEN_get
, _wrap_wxGREY_PEN_set
);
7933 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_PEN",_wrap_wxMEDIUM_GREY_PEN_get
, _wrap_wxMEDIUM_GREY_PEN_set
);
7934 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_PEN",_wrap_wxLIGHT_GREY_PEN_get
, _wrap_wxLIGHT_GREY_PEN_set
);
7935 SWIG_addvarlink(SWIG_globals
,"wxBLUE_BRUSH",_wrap_wxBLUE_BRUSH_get
, _wrap_wxBLUE_BRUSH_set
);
7936 SWIG_addvarlink(SWIG_globals
,"wxGREEN_BRUSH",_wrap_wxGREEN_BRUSH_get
, _wrap_wxGREEN_BRUSH_set
);
7937 SWIG_addvarlink(SWIG_globals
,"wxWHITE_BRUSH",_wrap_wxWHITE_BRUSH_get
, _wrap_wxWHITE_BRUSH_set
);
7938 SWIG_addvarlink(SWIG_globals
,"wxBLACK_BRUSH",_wrap_wxBLACK_BRUSH_get
, _wrap_wxBLACK_BRUSH_set
);
7939 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_BRUSH",_wrap_wxTRANSPARENT_BRUSH_get
, _wrap_wxTRANSPARENT_BRUSH_set
);
7940 SWIG_addvarlink(SWIG_globals
,"wxCYAN_BRUSH",_wrap_wxCYAN_BRUSH_get
, _wrap_wxCYAN_BRUSH_set
);
7941 SWIG_addvarlink(SWIG_globals
,"wxRED_BRUSH",_wrap_wxRED_BRUSH_get
, _wrap_wxRED_BRUSH_set
);
7942 SWIG_addvarlink(SWIG_globals
,"wxGREY_BRUSH",_wrap_wxGREY_BRUSH_get
, _wrap_wxGREY_BRUSH_set
);
7943 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_BRUSH",_wrap_wxMEDIUM_GREY_BRUSH_get
, _wrap_wxMEDIUM_GREY_BRUSH_set
);
7944 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_BRUSH",_wrap_wxLIGHT_GREY_BRUSH_get
, _wrap_wxLIGHT_GREY_BRUSH_set
);
7945 SWIG_addvarlink(SWIG_globals
,"wxBLACK",_wrap_wxBLACK_get
, _wrap_wxBLACK_set
);
7946 SWIG_addvarlink(SWIG_globals
,"wxWHITE",_wrap_wxWHITE_get
, _wrap_wxWHITE_set
);
7947 SWIG_addvarlink(SWIG_globals
,"wxRED",_wrap_wxRED_get
, _wrap_wxRED_set
);
7948 SWIG_addvarlink(SWIG_globals
,"wxBLUE",_wrap_wxBLUE_get
, _wrap_wxBLUE_set
);
7949 SWIG_addvarlink(SWIG_globals
,"wxGREEN",_wrap_wxGREEN_get
, _wrap_wxGREEN_set
);
7950 SWIG_addvarlink(SWIG_globals
,"wxCYAN",_wrap_wxCYAN_get
, _wrap_wxCYAN_set
);
7951 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY",_wrap_wxLIGHT_GREY_get
, _wrap_wxLIGHT_GREY_set
);
7952 SWIG_addvarlink(SWIG_globals
,"wxSTANDARD_CURSOR",_wrap_wxSTANDARD_CURSOR_get
, _wrap_wxSTANDARD_CURSOR_set
);
7953 SWIG_addvarlink(SWIG_globals
,"wxHOURGLASS_CURSOR",_wrap_wxHOURGLASS_CURSOR_get
, _wrap_wxHOURGLASS_CURSOR_set
);
7954 SWIG_addvarlink(SWIG_globals
,"wxCROSS_CURSOR",_wrap_wxCROSS_CURSOR_get
, _wrap_wxCROSS_CURSOR_set
);
7955 SWIG_addvarlink(SWIG_globals
,"wxNullBitmap",_wrap_wxNullBitmap_get
, _wrap_wxNullBitmap_set
);
7956 SWIG_addvarlink(SWIG_globals
,"wxNullIcon",_wrap_wxNullIcon_get
, _wrap_wxNullIcon_set
);
7957 SWIG_addvarlink(SWIG_globals
,"wxNullCursor",_wrap_wxNullCursor_get
, _wrap_wxNullCursor_set
);
7958 SWIG_addvarlink(SWIG_globals
,"wxNullPen",_wrap_wxNullPen_get
, _wrap_wxNullPen_set
);
7959 SWIG_addvarlink(SWIG_globals
,"wxNullBrush",_wrap_wxNullBrush_get
, _wrap_wxNullBrush_set
);
7960 SWIG_addvarlink(SWIG_globals
,"wxNullPalette",_wrap_wxNullPalette_get
, _wrap_wxNullPalette_set
);
7961 SWIG_addvarlink(SWIG_globals
,"wxNullFont",_wrap_wxNullFont_get
, _wrap_wxNullFont_set
);
7962 SWIG_addvarlink(SWIG_globals
,"wxNullColour",_wrap_wxNullColour_get
, _wrap_wxNullColour_set
);
7963 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_NORMAL", PyInt_FromLong((long) wxIMAGELIST_DRAW_NORMAL
));
7964 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_TRANSPARENT", PyInt_FromLong((long) wxIMAGELIST_DRAW_TRANSPARENT
));
7965 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_SELECTED", PyInt_FromLong((long) wxIMAGELIST_DRAW_SELECTED
));
7966 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_FOCUSED", PyInt_FromLong((long) wxIMAGELIST_DRAW_FOCUSED
));
7967 PyDict_SetItemString(d
,"wxIMAGE_LIST_NORMAL", PyInt_FromLong((long) wxIMAGE_LIST_NORMAL
));
7968 PyDict_SetItemString(d
,"wxIMAGE_LIST_SMALL", PyInt_FromLong((long) wxIMAGE_LIST_SMALL
));
7969 PyDict_SetItemString(d
,"wxIMAGE_LIST_STATE", PyInt_FromLong((long) wxIMAGE_LIST_STATE
));
7972 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
7973 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);