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(PyObject
* data
, long type
,
118 int width
, int height
, int depth
= 1) {
119 if (! PyString_Check(data
)) {
120 PyErr_SetString(PyExc_TypeError
, "Expected string object");
124 return new wxBitmap((void*)PyString_AsString(data
), type
, width
, height
, depth
);
128 wxMask
* wxMaskColour(const wxBitmap
& bitmap
, const wxColour
& colour
) {
129 return new wxMask(bitmap
, colour
);
131 // Alternate 'constructor'
132 wxCursor
* wxPyStockCursor(int id
) {
133 return new wxCursor(id
);
136 wxFontEncoding
wxFont_GetDefaultEncoding() {
137 return wxFont::GetDefaultEncoding();
140 void wxFont_SetDefaultEncoding(wxFontEncoding encoding
) {
141 wxFont::SetDefaultEncoding(encoding
);
143 // Alternate 'constructor'
144 wxColour
* wxNamedColour(const wxString
& colorName
) {
145 return new wxColour(colorName
);
147 // Alternate 'constructor'
148 wxMemoryDC
* wxMemoryDCFromDC(wxDC
* oldDC
) {
149 return new wxMemoryDC(oldDC
);
153 extern wxFont
* wxNORMAL_FONT
;
154 extern wxFont
* wxSMALL_FONT
;
155 extern wxFont
* wxITALIC_FONT
;
156 extern wxFont
* wxSWISS_FONT
;
157 extern wxPen
* wxRED_PEN
;
158 extern wxPen
* wxCYAN_PEN
;
159 extern wxPen
* wxGREEN_PEN
;
160 extern wxPen
* wxBLACK_PEN
;
161 extern wxPen
* wxWHITE_PEN
;
162 extern wxPen
* wxTRANSPARENT_PEN
;
163 extern wxPen
* wxBLACK_DASHED_PEN
;
164 extern wxPen
* wxGREY_PEN
;
165 extern wxPen
* wxMEDIUM_GREY_PEN
;
166 extern wxPen
* wxLIGHT_GREY_PEN
;
167 extern wxBrush
* wxBLUE_BRUSH
;
168 extern wxBrush
* wxGREEN_BRUSH
;
169 extern wxBrush
* wxWHITE_BRUSH
;
170 extern wxBrush
* wxBLACK_BRUSH
;
171 extern wxBrush
* wxTRANSPARENT_BRUSH
;
172 extern wxBrush
* wxCYAN_BRUSH
;
173 extern wxBrush
* wxRED_BRUSH
;
174 extern wxBrush
* wxGREY_BRUSH
;
175 extern wxBrush
* wxMEDIUM_GREY_BRUSH
;
176 extern wxBrush
* wxLIGHT_GREY_BRUSH
;
177 extern wxColour
* wxBLACK
;
178 extern wxColour
* wxWHITE
;
179 extern wxColour
* wxRED
;
180 extern wxColour
* wxBLUE
;
181 extern wxColour
* wxGREEN
;
182 extern wxColour
* wxCYAN
;
183 extern wxColour
* wxLIGHT_GREY
;
184 extern wxCursor
* wxSTANDARD_CURSOR
;
185 extern wxCursor
* wxHOURGLASS_CURSOR
;
186 extern wxCursor
* wxCROSS_CURSOR
;
187 extern wxBitmap wxNullBitmap
;
188 extern wxIcon wxNullIcon
;
189 extern wxCursor wxNullCursor
;
190 extern wxPen wxNullPen
;
191 extern wxBrush wxNullBrush
;
192 extern wxPalette wxNullPalette
;
193 extern wxFont wxNullFont
;
194 extern wxColour wxNullColour
;
200 static PyObject
*_wrap_wxEmptyBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
201 PyObject
* _resultobj
;
205 int _arg2
= (int ) -1;
206 char *_kwnames
[] = { "width","height","depth", NULL
};
210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ii|i:wxEmptyBitmap",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
213 wxPy_BEGIN_ALLOW_THREADS
;
214 _result
= (wxBitmap
*)wxEmptyBitmap(_arg0
,_arg1
,_arg2
);
216 wxPy_END_ALLOW_THREADS
;
218 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
219 _resultobj
= Py_BuildValue("s",_ptemp
);
222 _resultobj
= Py_None
;
227 static PyObject
*_wrap_wxMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
228 PyObject
* _resultobj
;
232 PyObject
* _argo0
= 0;
234 PyObject
* _obj1
= 0;
235 char *_kwnames
[] = { "bitmap","colour", NULL
};
239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMaskColour",_kwnames
,&_argo0
,&_obj1
))
242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMaskColour. Expected _wxBitmap_p.");
250 if (! wxColour_helper(_obj1
, &_arg1
))
254 wxPy_BEGIN_ALLOW_THREADS
;
255 _result
= (wxMask
*)wxMaskColour(*_arg0
,*_arg1
);
257 wxPy_END_ALLOW_THREADS
;
259 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
260 _resultobj
= Py_BuildValue("s",_ptemp
);
263 _resultobj
= Py_None
;
268 static PyObject
*_wrap_wxStockCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
269 PyObject
* _resultobj
;
272 char *_kwnames
[] = { "id", NULL
};
276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxStockCursor",_kwnames
,&_arg0
))
279 wxPy_BEGIN_ALLOW_THREADS
;
280 _result
= (wxCursor
*)wxPyStockCursor(_arg0
);
282 wxPy_END_ALLOW_THREADS
;
284 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCursor_p");
285 _resultobj
= Py_BuildValue("s",_ptemp
);
288 _resultobj
= Py_None
;
293 static PyObject
*_wrap_wxFont_GetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
294 PyObject
* _resultobj
;
295 wxFontEncoding _result
;
296 char *_kwnames
[] = { NULL
};
299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxFont_GetDefaultEncoding",_kwnames
))
302 wxPy_BEGIN_ALLOW_THREADS
;
303 _result
= (wxFontEncoding
)wxFont_GetDefaultEncoding();
305 wxPy_END_ALLOW_THREADS
;
306 } _resultobj
= Py_BuildValue("i",_result
);
310 static PyObject
*_wrap_wxFont_SetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
311 PyObject
* _resultobj
;
312 wxFontEncoding _arg0
;
313 char *_kwnames
[] = { "encoding", NULL
};
316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxFont_SetDefaultEncoding",_kwnames
,&_arg0
))
319 wxPy_BEGIN_ALLOW_THREADS
;
320 wxFont_SetDefaultEncoding(_arg0
);
322 wxPy_END_ALLOW_THREADS
;
323 } Py_INCREF(Py_None
);
324 _resultobj
= Py_None
;
328 static PyObject
*_wrap_wxNamedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
329 PyObject
* _resultobj
;
332 PyObject
* _obj0
= 0;
333 char *_kwnames
[] = { "colorName", NULL
};
337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNamedColour",_kwnames
,&_obj0
))
340 if (!PyString_Check(_obj0
)) {
341 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
344 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
347 wxPy_BEGIN_ALLOW_THREADS
;
348 _result
= (wxColour
*)wxNamedColour(*_arg0
);
350 wxPy_END_ALLOW_THREADS
;
352 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
353 _resultobj
= Py_BuildValue("s",_ptemp
);
356 _resultobj
= Py_None
;
365 static PyObject
*_wrap_wxMemoryDCFromDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
366 PyObject
* _resultobj
;
367 wxMemoryDC
* _result
;
369 PyObject
* _argo0
= 0;
370 char *_kwnames
[] = { "oldDC", NULL
};
374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMemoryDCFromDC",_kwnames
,&_argo0
))
377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDCFromDC. Expected _wxDC_p.");
384 wxPy_BEGIN_ALLOW_THREADS
;
385 _result
= (wxMemoryDC
*)wxMemoryDCFromDC(_arg0
);
387 wxPy_END_ALLOW_THREADS
;
389 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
390 _resultobj
= Py_BuildValue("s",_ptemp
);
393 _resultobj
= Py_None
;
398 static int _wrap_wxNORMAL_FONT_set(PyObject
*val
) {
400 PyErr_SetString(PyExc_TypeError
,"Variable wxNORMAL_FONT is read-only.");
404 static PyObject
*_wrap_wxNORMAL_FONT_get() {
408 SWIG_MakePtr(ptemp
, (char *) wxNORMAL_FONT
,"_wxFont_p");
409 pyobj
= PyString_FromString(ptemp
);
413 static int _wrap_wxSMALL_FONT_set(PyObject
*val
) {
415 PyErr_SetString(PyExc_TypeError
,"Variable wxSMALL_FONT is read-only.");
419 static PyObject
*_wrap_wxSMALL_FONT_get() {
423 SWIG_MakePtr(ptemp
, (char *) wxSMALL_FONT
,"_wxFont_p");
424 pyobj
= PyString_FromString(ptemp
);
428 static int _wrap_wxITALIC_FONT_set(PyObject
*val
) {
430 PyErr_SetString(PyExc_TypeError
,"Variable wxITALIC_FONT is read-only.");
434 static PyObject
*_wrap_wxITALIC_FONT_get() {
438 SWIG_MakePtr(ptemp
, (char *) wxITALIC_FONT
,"_wxFont_p");
439 pyobj
= PyString_FromString(ptemp
);
443 static int _wrap_wxSWISS_FONT_set(PyObject
*val
) {
445 PyErr_SetString(PyExc_TypeError
,"Variable wxSWISS_FONT is read-only.");
449 static PyObject
*_wrap_wxSWISS_FONT_get() {
453 SWIG_MakePtr(ptemp
, (char *) wxSWISS_FONT
,"_wxFont_p");
454 pyobj
= PyString_FromString(ptemp
);
458 static int _wrap_wxRED_PEN_set(PyObject
*val
) {
460 PyErr_SetString(PyExc_TypeError
,"Variable wxRED_PEN is read-only.");
464 static PyObject
*_wrap_wxRED_PEN_get() {
468 SWIG_MakePtr(ptemp
, (char *) wxRED_PEN
,"_wxPen_p");
469 pyobj
= PyString_FromString(ptemp
);
473 static int _wrap_wxCYAN_PEN_set(PyObject
*val
) {
475 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN_PEN is read-only.");
479 static PyObject
*_wrap_wxCYAN_PEN_get() {
483 SWIG_MakePtr(ptemp
, (char *) wxCYAN_PEN
,"_wxPen_p");
484 pyobj
= PyString_FromString(ptemp
);
488 static int _wrap_wxGREEN_PEN_set(PyObject
*val
) {
490 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN_PEN is read-only.");
494 static PyObject
*_wrap_wxGREEN_PEN_get() {
498 SWIG_MakePtr(ptemp
, (char *) wxGREEN_PEN
,"_wxPen_p");
499 pyobj
= PyString_FromString(ptemp
);
503 static int _wrap_wxBLACK_PEN_set(PyObject
*val
) {
505 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_PEN is read-only.");
509 static PyObject
*_wrap_wxBLACK_PEN_get() {
513 SWIG_MakePtr(ptemp
, (char *) wxBLACK_PEN
,"_wxPen_p");
514 pyobj
= PyString_FromString(ptemp
);
518 static int _wrap_wxWHITE_PEN_set(PyObject
*val
) {
520 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE_PEN is read-only.");
524 static PyObject
*_wrap_wxWHITE_PEN_get() {
528 SWIG_MakePtr(ptemp
, (char *) wxWHITE_PEN
,"_wxPen_p");
529 pyobj
= PyString_FromString(ptemp
);
533 static int _wrap_wxTRANSPARENT_PEN_set(PyObject
*val
) {
535 PyErr_SetString(PyExc_TypeError
,"Variable wxTRANSPARENT_PEN is read-only.");
539 static PyObject
*_wrap_wxTRANSPARENT_PEN_get() {
543 SWIG_MakePtr(ptemp
, (char *) wxTRANSPARENT_PEN
,"_wxPen_p");
544 pyobj
= PyString_FromString(ptemp
);
548 static int _wrap_wxBLACK_DASHED_PEN_set(PyObject
*val
) {
550 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_DASHED_PEN is read-only.");
554 static PyObject
*_wrap_wxBLACK_DASHED_PEN_get() {
558 SWIG_MakePtr(ptemp
, (char *) wxBLACK_DASHED_PEN
,"_wxPen_p");
559 pyobj
= PyString_FromString(ptemp
);
563 static int _wrap_wxGREY_PEN_set(PyObject
*val
) {
565 PyErr_SetString(PyExc_TypeError
,"Variable wxGREY_PEN is read-only.");
569 static PyObject
*_wrap_wxGREY_PEN_get() {
573 SWIG_MakePtr(ptemp
, (char *) wxGREY_PEN
,"_wxPen_p");
574 pyobj
= PyString_FromString(ptemp
);
578 static int _wrap_wxMEDIUM_GREY_PEN_set(PyObject
*val
) {
580 PyErr_SetString(PyExc_TypeError
,"Variable wxMEDIUM_GREY_PEN is read-only.");
584 static PyObject
*_wrap_wxMEDIUM_GREY_PEN_get() {
588 SWIG_MakePtr(ptemp
, (char *) wxMEDIUM_GREY_PEN
,"_wxPen_p");
589 pyobj
= PyString_FromString(ptemp
);
593 static int _wrap_wxLIGHT_GREY_PEN_set(PyObject
*val
) {
595 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY_PEN is read-only.");
599 static PyObject
*_wrap_wxLIGHT_GREY_PEN_get() {
603 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY_PEN
,"_wxPen_p");
604 pyobj
= PyString_FromString(ptemp
);
608 static int _wrap_wxBLUE_BRUSH_set(PyObject
*val
) {
610 PyErr_SetString(PyExc_TypeError
,"Variable wxBLUE_BRUSH is read-only.");
614 static PyObject
*_wrap_wxBLUE_BRUSH_get() {
618 SWIG_MakePtr(ptemp
, (char *) wxBLUE_BRUSH
,"_wxBrush_p");
619 pyobj
= PyString_FromString(ptemp
);
623 static int _wrap_wxGREEN_BRUSH_set(PyObject
*val
) {
625 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN_BRUSH is read-only.");
629 static PyObject
*_wrap_wxGREEN_BRUSH_get() {
633 SWIG_MakePtr(ptemp
, (char *) wxGREEN_BRUSH
,"_wxBrush_p");
634 pyobj
= PyString_FromString(ptemp
);
638 static int _wrap_wxWHITE_BRUSH_set(PyObject
*val
) {
640 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE_BRUSH is read-only.");
644 static PyObject
*_wrap_wxWHITE_BRUSH_get() {
648 SWIG_MakePtr(ptemp
, (char *) wxWHITE_BRUSH
,"_wxBrush_p");
649 pyobj
= PyString_FromString(ptemp
);
653 static int _wrap_wxBLACK_BRUSH_set(PyObject
*val
) {
655 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_BRUSH is read-only.");
659 static PyObject
*_wrap_wxBLACK_BRUSH_get() {
663 SWIG_MakePtr(ptemp
, (char *) wxBLACK_BRUSH
,"_wxBrush_p");
664 pyobj
= PyString_FromString(ptemp
);
668 static int _wrap_wxTRANSPARENT_BRUSH_set(PyObject
*val
) {
670 PyErr_SetString(PyExc_TypeError
,"Variable wxTRANSPARENT_BRUSH is read-only.");
674 static PyObject
*_wrap_wxTRANSPARENT_BRUSH_get() {
678 SWIG_MakePtr(ptemp
, (char *) wxTRANSPARENT_BRUSH
,"_wxBrush_p");
679 pyobj
= PyString_FromString(ptemp
);
683 static int _wrap_wxCYAN_BRUSH_set(PyObject
*val
) {
685 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN_BRUSH is read-only.");
689 static PyObject
*_wrap_wxCYAN_BRUSH_get() {
693 SWIG_MakePtr(ptemp
, (char *) wxCYAN_BRUSH
,"_wxBrush_p");
694 pyobj
= PyString_FromString(ptemp
);
698 static int _wrap_wxRED_BRUSH_set(PyObject
*val
) {
700 PyErr_SetString(PyExc_TypeError
,"Variable wxRED_BRUSH is read-only.");
704 static PyObject
*_wrap_wxRED_BRUSH_get() {
708 SWIG_MakePtr(ptemp
, (char *) wxRED_BRUSH
,"_wxBrush_p");
709 pyobj
= PyString_FromString(ptemp
);
713 static int _wrap_wxGREY_BRUSH_set(PyObject
*val
) {
715 PyErr_SetString(PyExc_TypeError
,"Variable wxGREY_BRUSH is read-only.");
719 static PyObject
*_wrap_wxGREY_BRUSH_get() {
723 SWIG_MakePtr(ptemp
, (char *) wxGREY_BRUSH
,"_wxBrush_p");
724 pyobj
= PyString_FromString(ptemp
);
728 static int _wrap_wxMEDIUM_GREY_BRUSH_set(PyObject
*val
) {
730 PyErr_SetString(PyExc_TypeError
,"Variable wxMEDIUM_GREY_BRUSH is read-only.");
734 static PyObject
*_wrap_wxMEDIUM_GREY_BRUSH_get() {
738 SWIG_MakePtr(ptemp
, (char *) wxMEDIUM_GREY_BRUSH
,"_wxBrush_p");
739 pyobj
= PyString_FromString(ptemp
);
743 static int _wrap_wxLIGHT_GREY_BRUSH_set(PyObject
*val
) {
745 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY_BRUSH is read-only.");
749 static PyObject
*_wrap_wxLIGHT_GREY_BRUSH_get() {
753 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY_BRUSH
,"_wxBrush_p");
754 pyobj
= PyString_FromString(ptemp
);
758 static int _wrap_wxBLACK_set(PyObject
*val
) {
760 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK is read-only.");
764 static PyObject
*_wrap_wxBLACK_get() {
768 SWIG_MakePtr(ptemp
, (char *) wxBLACK
,"_wxColour_p");
769 pyobj
= PyString_FromString(ptemp
);
773 static int _wrap_wxWHITE_set(PyObject
*val
) {
775 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE is read-only.");
779 static PyObject
*_wrap_wxWHITE_get() {
783 SWIG_MakePtr(ptemp
, (char *) wxWHITE
,"_wxColour_p");
784 pyobj
= PyString_FromString(ptemp
);
788 static int _wrap_wxRED_set(PyObject
*val
) {
790 PyErr_SetString(PyExc_TypeError
,"Variable wxRED is read-only.");
794 static PyObject
*_wrap_wxRED_get() {
798 SWIG_MakePtr(ptemp
, (char *) wxRED
,"_wxColour_p");
799 pyobj
= PyString_FromString(ptemp
);
803 static int _wrap_wxBLUE_set(PyObject
*val
) {
805 PyErr_SetString(PyExc_TypeError
,"Variable wxBLUE is read-only.");
809 static PyObject
*_wrap_wxBLUE_get() {
813 SWIG_MakePtr(ptemp
, (char *) wxBLUE
,"_wxColour_p");
814 pyobj
= PyString_FromString(ptemp
);
818 static int _wrap_wxGREEN_set(PyObject
*val
) {
820 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN is read-only.");
824 static PyObject
*_wrap_wxGREEN_get() {
828 SWIG_MakePtr(ptemp
, (char *) wxGREEN
,"_wxColour_p");
829 pyobj
= PyString_FromString(ptemp
);
833 static int _wrap_wxCYAN_set(PyObject
*val
) {
835 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN is read-only.");
839 static PyObject
*_wrap_wxCYAN_get() {
843 SWIG_MakePtr(ptemp
, (char *) wxCYAN
,"_wxColour_p");
844 pyobj
= PyString_FromString(ptemp
);
848 static int _wrap_wxLIGHT_GREY_set(PyObject
*val
) {
850 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY is read-only.");
854 static PyObject
*_wrap_wxLIGHT_GREY_get() {
858 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY
,"_wxColour_p");
859 pyobj
= PyString_FromString(ptemp
);
863 static int _wrap_wxSTANDARD_CURSOR_set(PyObject
*val
) {
865 PyErr_SetString(PyExc_TypeError
,"Variable wxSTANDARD_CURSOR is read-only.");
869 static PyObject
*_wrap_wxSTANDARD_CURSOR_get() {
873 SWIG_MakePtr(ptemp
, (char *) wxSTANDARD_CURSOR
,"_wxCursor_p");
874 pyobj
= PyString_FromString(ptemp
);
878 static int _wrap_wxHOURGLASS_CURSOR_set(PyObject
*val
) {
880 PyErr_SetString(PyExc_TypeError
,"Variable wxHOURGLASS_CURSOR is read-only.");
884 static PyObject
*_wrap_wxHOURGLASS_CURSOR_get() {
888 SWIG_MakePtr(ptemp
, (char *) wxHOURGLASS_CURSOR
,"_wxCursor_p");
889 pyobj
= PyString_FromString(ptemp
);
893 static int _wrap_wxCROSS_CURSOR_set(PyObject
*val
) {
895 PyErr_SetString(PyExc_TypeError
,"Variable wxCROSS_CURSOR is read-only.");
899 static PyObject
*_wrap_wxCROSS_CURSOR_get() {
903 SWIG_MakePtr(ptemp
, (char *) wxCROSS_CURSOR
,"_wxCursor_p");
904 pyobj
= PyString_FromString(ptemp
);
908 static int _wrap_wxNullBitmap_set(PyObject
*val
) {
910 PyErr_SetString(PyExc_TypeError
,"Variable wxNullBitmap is read-only.");
914 static PyObject
*_wrap_wxNullBitmap_get() {
918 SWIG_MakePtr(ptemp
,(char *) &wxNullBitmap
,"_wxBitmap_p");
919 pyobj
= PyString_FromString(ptemp
);
923 static int _wrap_wxNullIcon_set(PyObject
*val
) {
925 PyErr_SetString(PyExc_TypeError
,"Variable wxNullIcon is read-only.");
929 static PyObject
*_wrap_wxNullIcon_get() {
933 SWIG_MakePtr(ptemp
,(char *) &wxNullIcon
,"_wxIcon_p");
934 pyobj
= PyString_FromString(ptemp
);
938 static int _wrap_wxNullCursor_set(PyObject
*val
) {
940 PyErr_SetString(PyExc_TypeError
,"Variable wxNullCursor is read-only.");
944 static PyObject
*_wrap_wxNullCursor_get() {
948 SWIG_MakePtr(ptemp
,(char *) &wxNullCursor
,"_wxCursor_p");
949 pyobj
= PyString_FromString(ptemp
);
953 static int _wrap_wxNullPen_set(PyObject
*val
) {
955 PyErr_SetString(PyExc_TypeError
,"Variable wxNullPen is read-only.");
959 static PyObject
*_wrap_wxNullPen_get() {
963 SWIG_MakePtr(ptemp
,(char *) &wxNullPen
,"_wxPen_p");
964 pyobj
= PyString_FromString(ptemp
);
968 static int _wrap_wxNullBrush_set(PyObject
*val
) {
970 PyErr_SetString(PyExc_TypeError
,"Variable wxNullBrush is read-only.");
974 static PyObject
*_wrap_wxNullBrush_get() {
978 SWIG_MakePtr(ptemp
,(char *) &wxNullBrush
,"_wxBrush_p");
979 pyobj
= PyString_FromString(ptemp
);
983 static int _wrap_wxNullPalette_set(PyObject
*val
) {
985 PyErr_SetString(PyExc_TypeError
,"Variable wxNullPalette is read-only.");
989 static PyObject
*_wrap_wxNullPalette_get() {
993 SWIG_MakePtr(ptemp
,(char *) &wxNullPalette
,"_wxPalette_p");
994 pyobj
= PyString_FromString(ptemp
);
998 static int _wrap_wxNullFont_set(PyObject
*val
) {
1000 PyErr_SetString(PyExc_TypeError
,"Variable wxNullFont is read-only.");
1004 static PyObject
*_wrap_wxNullFont_get() {
1008 SWIG_MakePtr(ptemp
,(char *) &wxNullFont
,"_wxFont_p");
1009 pyobj
= PyString_FromString(ptemp
);
1013 static int _wrap_wxNullColour_set(PyObject
*val
) {
1015 PyErr_SetString(PyExc_TypeError
,"Variable wxNullColour is read-only.");
1019 static PyObject
*_wrap_wxNullColour_get() {
1023 SWIG_MakePtr(ptemp
,(char *) &wxNullColour
,"_wxColour_p");
1024 pyobj
= PyString_FromString(ptemp
);
1028 #define new_wxBitmap(_swigarg0,_swigarg1) (new wxBitmap(_swigarg0,_swigarg1))
1029 static PyObject
*_wrap_new_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1030 PyObject
* _resultobj
;
1034 PyObject
* _obj0
= 0;
1035 char *_kwnames
[] = { "name","type", NULL
};
1039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:new_wxBitmap",_kwnames
,&_obj0
,&_arg1
))
1042 if (!PyString_Check(_obj0
)) {
1043 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1046 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
1049 wxPy_BEGIN_ALLOW_THREADS
;
1050 _result
= (wxBitmap
*)new_wxBitmap(*_arg0
,_arg1
);
1052 wxPy_END_ALLOW_THREADS
;
1054 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1055 _resultobj
= Py_BuildValue("s",_ptemp
);
1058 _resultobj
= Py_None
;
1067 #define delete_wxBitmap(_swigobj) (delete _swigobj)
1068 static PyObject
*_wrap_delete_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1069 PyObject
* _resultobj
;
1071 PyObject
* _argo0
= 0;
1072 char *_kwnames
[] = { "self", NULL
};
1075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBitmap",_kwnames
,&_argo0
))
1078 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1079 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBitmap. Expected _wxBitmap_p.");
1085 wxPy_BEGIN_ALLOW_THREADS
;
1086 delete_wxBitmap(_arg0
);
1088 wxPy_END_ALLOW_THREADS
;
1089 } Py_INCREF(Py_None
);
1090 _resultobj
= Py_None
;
1094 #define wxBitmap_GetPalette(_swigobj) (_swigobj->GetPalette())
1095 static PyObject
*_wrap_wxBitmap_GetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1096 PyObject
* _resultobj
;
1097 wxPalette
* _result
;
1099 PyObject
* _argo0
= 0;
1100 char *_kwnames
[] = { "self", NULL
};
1104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetPalette",_kwnames
,&_argo0
))
1107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetPalette. Expected _wxBitmap_p.");
1114 wxPy_BEGIN_ALLOW_THREADS
;
1115 _result
= (wxPalette
*)wxBitmap_GetPalette(_arg0
);
1117 wxPy_END_ALLOW_THREADS
;
1119 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPalette_p");
1120 _resultobj
= Py_BuildValue("s",_ptemp
);
1123 _resultobj
= Py_None
;
1128 #define wxBitmap_GetMask(_swigobj) (_swigobj->GetMask())
1129 static PyObject
*_wrap_wxBitmap_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1130 PyObject
* _resultobj
;
1133 PyObject
* _argo0
= 0;
1134 char *_kwnames
[] = { "self", NULL
};
1138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetMask",_kwnames
,&_argo0
))
1141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetMask. Expected _wxBitmap_p.");
1148 wxPy_BEGIN_ALLOW_THREADS
;
1149 _result
= (wxMask
*)wxBitmap_GetMask(_arg0
);
1151 wxPy_END_ALLOW_THREADS
;
1153 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
1154 _resultobj
= Py_BuildValue("s",_ptemp
);
1157 _resultobj
= Py_None
;
1162 #define wxBitmap_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
1163 static PyObject
*_wrap_wxBitmap_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1164 PyObject
* _resultobj
;
1169 PyObject
* _argo0
= 0;
1170 PyObject
* _obj1
= 0;
1171 char *_kwnames
[] = { "self","name","flags", NULL
};
1174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOl:wxBitmap_LoadFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_LoadFile. Expected _wxBitmap_p.");
1184 if (!PyString_Check(_obj1
)) {
1185 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1188 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1191 wxPy_BEGIN_ALLOW_THREADS
;
1192 _result
= (bool )wxBitmap_LoadFile(_arg0
,*_arg1
,_arg2
);
1194 wxPy_END_ALLOW_THREADS
;
1195 } _resultobj
= Py_BuildValue("i",_result
);
1203 #define wxBitmap_SaveFile(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SaveFile(_swigarg0,_swigarg1,_swigarg2))
1204 static PyObject
*_wrap_wxBitmap_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1205 PyObject
* _resultobj
;
1210 wxPalette
* _arg3
= (wxPalette
*) NULL
;
1211 PyObject
* _argo0
= 0;
1212 PyObject
* _obj1
= 0;
1213 PyObject
* _argo3
= 0;
1214 char *_kwnames
[] = { "self","name","type","palette", NULL
};
1217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|O:wxBitmap_SaveFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_argo3
))
1220 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1221 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SaveFile. Expected _wxBitmap_p.");
1227 if (!PyString_Check(_obj1
)) {
1228 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1231 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1234 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1235 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxPalette_p")) {
1236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxBitmap_SaveFile. Expected _wxPalette_p.");
1241 wxPy_BEGIN_ALLOW_THREADS
;
1242 _result
= (bool )wxBitmap_SaveFile(_arg0
,*_arg1
,_arg2
,_arg3
);
1244 wxPy_END_ALLOW_THREADS
;
1245 } _resultobj
= Py_BuildValue("i",_result
);
1253 #define wxBitmap_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
1254 static PyObject
*_wrap_wxBitmap_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1255 PyObject
* _resultobj
;
1258 PyObject
* _argo0
= 0;
1259 PyObject
* _argo1
= 0;
1260 char *_kwnames
[] = { "self","mask", NULL
};
1263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_SetMask",_kwnames
,&_argo0
,&_argo1
))
1266 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1267 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetMask. Expected _wxBitmap_p.");
1273 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1274 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMask_p")) {
1275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmap_SetMask. Expected _wxMask_p.");
1280 wxPy_BEGIN_ALLOW_THREADS
;
1281 wxBitmap_SetMask(_arg0
,_arg1
);
1283 wxPy_END_ALLOW_THREADS
;
1284 } Py_INCREF(Py_None
);
1285 _resultobj
= Py_None
;
1289 #define wxBitmap_Ok(_swigobj) (_swigobj->Ok())
1290 static PyObject
*_wrap_wxBitmap_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1291 PyObject
* _resultobj
;
1294 PyObject
* _argo0
= 0;
1295 char *_kwnames
[] = { "self", NULL
};
1298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_Ok",_kwnames
,&_argo0
))
1301 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1302 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_Ok. Expected _wxBitmap_p.");
1308 wxPy_BEGIN_ALLOW_THREADS
;
1309 _result
= (bool )wxBitmap_Ok(_arg0
);
1311 wxPy_END_ALLOW_THREADS
;
1312 } _resultobj
= Py_BuildValue("i",_result
);
1316 #define wxBitmap_GetWidth(_swigobj) (_swigobj->GetWidth())
1317 static PyObject
*_wrap_wxBitmap_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1318 PyObject
* _resultobj
;
1321 PyObject
* _argo0
= 0;
1322 char *_kwnames
[] = { "self", NULL
};
1325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetWidth",_kwnames
,&_argo0
))
1328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetWidth. Expected _wxBitmap_p.");
1335 wxPy_BEGIN_ALLOW_THREADS
;
1336 _result
= (int )wxBitmap_GetWidth(_arg0
);
1338 wxPy_END_ALLOW_THREADS
;
1339 } _resultobj
= Py_BuildValue("i",_result
);
1343 #define wxBitmap_GetHeight(_swigobj) (_swigobj->GetHeight())
1344 static PyObject
*_wrap_wxBitmap_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1345 PyObject
* _resultobj
;
1348 PyObject
* _argo0
= 0;
1349 char *_kwnames
[] = { "self", NULL
};
1352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetHeight",_kwnames
,&_argo0
))
1355 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1356 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetHeight. Expected _wxBitmap_p.");
1362 wxPy_BEGIN_ALLOW_THREADS
;
1363 _result
= (int )wxBitmap_GetHeight(_arg0
);
1365 wxPy_END_ALLOW_THREADS
;
1366 } _resultobj
= Py_BuildValue("i",_result
);
1370 #define wxBitmap_GetDepth(_swigobj) (_swigobj->GetDepth())
1371 static PyObject
*_wrap_wxBitmap_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1372 PyObject
* _resultobj
;
1375 PyObject
* _argo0
= 0;
1376 char *_kwnames
[] = { "self", NULL
};
1379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetDepth",_kwnames
,&_argo0
))
1382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetDepth. Expected _wxBitmap_p.");
1389 wxPy_BEGIN_ALLOW_THREADS
;
1390 _result
= (int )wxBitmap_GetDepth(_arg0
);
1392 wxPy_END_ALLOW_THREADS
;
1393 } _resultobj
= Py_BuildValue("i",_result
);
1397 #define wxBitmap_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1398 static PyObject
*_wrap_wxBitmap_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1399 PyObject
* _resultobj
;
1402 PyObject
* _argo0
= 0;
1403 char *_kwnames
[] = { "self","w", NULL
};
1406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBitmap_SetWidth",_kwnames
,&_argo0
,&_arg1
))
1409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetWidth. Expected _wxBitmap_p.");
1416 wxPy_BEGIN_ALLOW_THREADS
;
1417 wxBitmap_SetWidth(_arg0
,_arg1
);
1419 wxPy_END_ALLOW_THREADS
;
1420 } Py_INCREF(Py_None
);
1421 _resultobj
= Py_None
;
1425 #define wxBitmap_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1426 static PyObject
*_wrap_wxBitmap_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1427 PyObject
* _resultobj
;
1430 PyObject
* _argo0
= 0;
1431 char *_kwnames
[] = { "self","h", NULL
};
1434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBitmap_SetHeight",_kwnames
,&_argo0
,&_arg1
))
1437 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1438 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetHeight. Expected _wxBitmap_p.");
1444 wxPy_BEGIN_ALLOW_THREADS
;
1445 wxBitmap_SetHeight(_arg0
,_arg1
);
1447 wxPy_END_ALLOW_THREADS
;
1448 } Py_INCREF(Py_None
);
1449 _resultobj
= Py_None
;
1453 #define wxBitmap_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
1454 static PyObject
*_wrap_wxBitmap_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1455 PyObject
* _resultobj
;
1458 PyObject
* _argo0
= 0;
1459 char *_kwnames
[] = { "self","d", NULL
};
1462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBitmap_SetDepth",_kwnames
,&_argo0
,&_arg1
))
1465 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1466 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetDepth. Expected _wxBitmap_p.");
1472 wxPy_BEGIN_ALLOW_THREADS
;
1473 wxBitmap_SetDepth(_arg0
,_arg1
);
1475 wxPy_END_ALLOW_THREADS
;
1476 } Py_INCREF(Py_None
);
1477 _resultobj
= Py_None
;
1481 #define wxBitmap_GetSubBitmap(_swigobj,_swigarg0) (_swigobj->GetSubBitmap(_swigarg0))
1482 static PyObject
*_wrap_wxBitmap_GetSubBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1483 PyObject
* _resultobj
;
1487 PyObject
* _argo0
= 0;
1489 PyObject
* _obj1
= 0;
1490 char *_kwnames
[] = { "self","rect", NULL
};
1494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_GetSubBitmap",_kwnames
,&_argo0
,&_obj1
))
1497 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1498 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetSubBitmap. Expected _wxBitmap_p.");
1505 if (! wxRect_helper(_obj1
, &_arg1
))
1509 wxPy_BEGIN_ALLOW_THREADS
;
1510 _result
= new wxBitmap (wxBitmap_GetSubBitmap(_arg0
,*_arg1
));
1512 wxPy_END_ALLOW_THREADS
;
1513 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1514 _resultobj
= Py_BuildValue("s",_ptemp
);
1518 #define new_wxMask(_swigarg0) (new wxMask(_swigarg0))
1519 static PyObject
*_wrap_new_wxMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1520 PyObject
* _resultobj
;
1523 PyObject
* _argo0
= 0;
1524 char *_kwnames
[] = { "bitmap", NULL
};
1528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxMask",_kwnames
,&_argo0
))
1531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMask. Expected _wxBitmap_p.");
1538 wxPy_BEGIN_ALLOW_THREADS
;
1539 _result
= (wxMask
*)new_wxMask(*_arg0
);
1541 wxPy_END_ALLOW_THREADS
;
1543 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
1544 _resultobj
= Py_BuildValue("s",_ptemp
);
1547 _resultobj
= Py_None
;
1552 #define new_wxIcon(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxIcon(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1553 static PyObject
*_wrap_new_wxIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1554 PyObject
* _resultobj
;
1558 int _arg2
= (int ) -1;
1559 int _arg3
= (int ) -1;
1560 PyObject
* _obj0
= 0;
1561 char *_kwnames
[] = { "name","flags","desiredWidth","desiredHeight", NULL
};
1565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|ii:new_wxIcon",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_arg3
))
1568 if (!PyString_Check(_obj0
)) {
1569 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1572 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
1575 wxPy_BEGIN_ALLOW_THREADS
;
1576 _result
= (wxIcon
*)new_wxIcon(*_arg0
,_arg1
,_arg2
,_arg3
);
1578 wxPy_END_ALLOW_THREADS
;
1580 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
1581 _resultobj
= Py_BuildValue("s",_ptemp
);
1584 _resultobj
= Py_None
;
1593 #define delete_wxIcon(_swigobj) (delete _swigobj)
1594 static PyObject
*_wrap_delete_wxIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1595 PyObject
* _resultobj
;
1597 PyObject
* _argo0
= 0;
1598 char *_kwnames
[] = { "self", NULL
};
1601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxIcon",_kwnames
,&_argo0
))
1604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxIcon. Expected _wxIcon_p.");
1611 wxPy_BEGIN_ALLOW_THREADS
;
1612 delete_wxIcon(_arg0
);
1614 wxPy_END_ALLOW_THREADS
;
1615 } Py_INCREF(Py_None
);
1616 _resultobj
= Py_None
;
1620 #define wxIcon_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
1621 static PyObject
*_wrap_wxIcon_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1622 PyObject
* _resultobj
;
1627 PyObject
* _argo0
= 0;
1628 PyObject
* _obj1
= 0;
1629 char *_kwnames
[] = { "self","name","flags", NULL
};
1632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOl:wxIcon_LoadFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1635 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1636 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_LoadFile. Expected _wxIcon_p.");
1642 if (!PyString_Check(_obj1
)) {
1643 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1646 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1649 wxPy_BEGIN_ALLOW_THREADS
;
1650 _result
= (bool )wxIcon_LoadFile(_arg0
,*_arg1
,_arg2
);
1652 wxPy_END_ALLOW_THREADS
;
1653 } _resultobj
= Py_BuildValue("i",_result
);
1661 #define wxIcon_Ok(_swigobj) (_swigobj->Ok())
1662 static PyObject
*_wrap_wxIcon_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1663 PyObject
* _resultobj
;
1666 PyObject
* _argo0
= 0;
1667 char *_kwnames
[] = { "self", NULL
};
1670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_Ok",_kwnames
,&_argo0
))
1673 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1674 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_Ok. Expected _wxIcon_p.");
1680 wxPy_BEGIN_ALLOW_THREADS
;
1681 _result
= (bool )wxIcon_Ok(_arg0
);
1683 wxPy_END_ALLOW_THREADS
;
1684 } _resultobj
= Py_BuildValue("i",_result
);
1688 #define wxIcon_GetWidth(_swigobj) (_swigobj->GetWidth())
1689 static PyObject
*_wrap_wxIcon_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1690 PyObject
* _resultobj
;
1693 PyObject
* _argo0
= 0;
1694 char *_kwnames
[] = { "self", NULL
};
1697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetWidth",_kwnames
,&_argo0
))
1700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetWidth. Expected _wxIcon_p.");
1707 wxPy_BEGIN_ALLOW_THREADS
;
1708 _result
= (int )wxIcon_GetWidth(_arg0
);
1710 wxPy_END_ALLOW_THREADS
;
1711 } _resultobj
= Py_BuildValue("i",_result
);
1715 #define wxIcon_GetHeight(_swigobj) (_swigobj->GetHeight())
1716 static PyObject
*_wrap_wxIcon_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1717 PyObject
* _resultobj
;
1720 PyObject
* _argo0
= 0;
1721 char *_kwnames
[] = { "self", NULL
};
1724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetHeight",_kwnames
,&_argo0
))
1727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetHeight. Expected _wxIcon_p.");
1734 wxPy_BEGIN_ALLOW_THREADS
;
1735 _result
= (int )wxIcon_GetHeight(_arg0
);
1737 wxPy_END_ALLOW_THREADS
;
1738 } _resultobj
= Py_BuildValue("i",_result
);
1742 #define wxIcon_GetDepth(_swigobj) (_swigobj->GetDepth())
1743 static PyObject
*_wrap_wxIcon_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1744 PyObject
* _resultobj
;
1747 PyObject
* _argo0
= 0;
1748 char *_kwnames
[] = { "self", NULL
};
1751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetDepth",_kwnames
,&_argo0
))
1754 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1755 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetDepth. Expected _wxIcon_p.");
1761 wxPy_BEGIN_ALLOW_THREADS
;
1762 _result
= (int )wxIcon_GetDepth(_arg0
);
1764 wxPy_END_ALLOW_THREADS
;
1765 } _resultobj
= Py_BuildValue("i",_result
);
1769 #define wxIcon_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1770 static PyObject
*_wrap_wxIcon_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1771 PyObject
* _resultobj
;
1774 PyObject
* _argo0
= 0;
1775 char *_kwnames
[] = { "self","w", NULL
};
1778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetWidth",_kwnames
,&_argo0
,&_arg1
))
1781 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1782 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetWidth. Expected _wxIcon_p.");
1788 wxPy_BEGIN_ALLOW_THREADS
;
1789 wxIcon_SetWidth(_arg0
,_arg1
);
1791 wxPy_END_ALLOW_THREADS
;
1792 } Py_INCREF(Py_None
);
1793 _resultobj
= Py_None
;
1797 #define wxIcon_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1798 static PyObject
*_wrap_wxIcon_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1799 PyObject
* _resultobj
;
1802 PyObject
* _argo0
= 0;
1803 char *_kwnames
[] = { "self","h", NULL
};
1806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetHeight",_kwnames
,&_argo0
,&_arg1
))
1809 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1810 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetHeight. Expected _wxIcon_p.");
1816 wxPy_BEGIN_ALLOW_THREADS
;
1817 wxIcon_SetHeight(_arg0
,_arg1
);
1819 wxPy_END_ALLOW_THREADS
;
1820 } Py_INCREF(Py_None
);
1821 _resultobj
= Py_None
;
1825 #define wxIcon_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
1826 static PyObject
*_wrap_wxIcon_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1827 PyObject
* _resultobj
;
1830 PyObject
* _argo0
= 0;
1831 char *_kwnames
[] = { "self","d", NULL
};
1834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetDepth",_kwnames
,&_argo0
,&_arg1
))
1837 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1838 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetDepth. Expected _wxIcon_p.");
1844 wxPy_BEGIN_ALLOW_THREADS
;
1845 wxIcon_SetDepth(_arg0
,_arg1
);
1847 wxPy_END_ALLOW_THREADS
;
1848 } Py_INCREF(Py_None
);
1849 _resultobj
= Py_None
;
1853 #define delete_wxCursor(_swigobj) (delete _swigobj)
1854 static PyObject
*_wrap_delete_wxCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1855 PyObject
* _resultobj
;
1857 PyObject
* _argo0
= 0;
1858 char *_kwnames
[] = { "self", NULL
};
1861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCursor",_kwnames
,&_argo0
))
1864 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1865 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1866 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCursor. Expected _wxCursor_p.");
1871 wxPy_BEGIN_ALLOW_THREADS
;
1872 delete_wxCursor(_arg0
);
1874 wxPy_END_ALLOW_THREADS
;
1875 } Py_INCREF(Py_None
);
1876 _resultobj
= Py_None
;
1880 #define wxCursor_Ok(_swigobj) (_swigobj->Ok())
1881 static PyObject
*_wrap_wxCursor_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1882 PyObject
* _resultobj
;
1885 PyObject
* _argo0
= 0;
1886 char *_kwnames
[] = { "self", NULL
};
1889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCursor_Ok",_kwnames
,&_argo0
))
1892 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1893 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_Ok. Expected _wxCursor_p.");
1899 wxPy_BEGIN_ALLOW_THREADS
;
1900 _result
= (bool )wxCursor_Ok(_arg0
);
1902 wxPy_END_ALLOW_THREADS
;
1903 } _resultobj
= Py_BuildValue("i",_result
);
1907 static wxFont
*new_wxFont(int pointSize
,int family
,int style
,int weight
,int underline
,char *faceName
,wxFontEncoding encoding
) {
1909 return wxTheFontList
->FindOrCreateFont(pointSize
, family
, style
, weight
,
1910 underline
, faceName
, encoding
);
1913 static PyObject
*_wrap_new_wxFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1914 PyObject
* _resultobj
;
1920 int _arg4
= (int ) FALSE
;
1921 char * _arg5
= (char *) "";
1922 wxFontEncoding _arg6
= (wxFontEncoding
) (wxFONTENCODING_DEFAULT
);
1923 char *_kwnames
[] = { "pointSize","family","style","weight","underline","faceName","encoding", NULL
};
1927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiii|isi:new_wxFont",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
1930 wxPy_BEGIN_ALLOW_THREADS
;
1931 _result
= (wxFont
*)new_wxFont(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1933 wxPy_END_ALLOW_THREADS
;
1935 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1936 _resultobj
= Py_BuildValue("s",_ptemp
);
1939 _resultobj
= Py_None
;
1944 #define wxFont_Ok(_swigobj) (_swigobj->Ok())
1945 static PyObject
*_wrap_wxFont_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1946 PyObject
* _resultobj
;
1949 PyObject
* _argo0
= 0;
1950 char *_kwnames
[] = { "self", NULL
};
1953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_Ok",_kwnames
,&_argo0
))
1956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_Ok. Expected _wxFont_p.");
1963 wxPy_BEGIN_ALLOW_THREADS
;
1964 _result
= (bool )wxFont_Ok(_arg0
);
1966 wxPy_END_ALLOW_THREADS
;
1967 } _resultobj
= Py_BuildValue("i",_result
);
1971 #define wxFont_GetFaceName(_swigobj) (_swigobj->GetFaceName())
1972 static PyObject
*_wrap_wxFont_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1973 PyObject
* _resultobj
;
1976 PyObject
* _argo0
= 0;
1977 char *_kwnames
[] = { "self", NULL
};
1980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFaceName",_kwnames
,&_argo0
))
1983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFaceName. Expected _wxFont_p.");
1990 wxPy_BEGIN_ALLOW_THREADS
;
1991 _result
= new wxString (wxFont_GetFaceName(_arg0
));
1993 wxPy_END_ALLOW_THREADS
;
1995 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2003 #define wxFont_GetFamily(_swigobj) (_swigobj->GetFamily())
2004 static PyObject
*_wrap_wxFont_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2005 PyObject
* _resultobj
;
2008 PyObject
* _argo0
= 0;
2009 char *_kwnames
[] = { "self", NULL
};
2012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFamily",_kwnames
,&_argo0
))
2015 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2016 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFamily. Expected _wxFont_p.");
2022 wxPy_BEGIN_ALLOW_THREADS
;
2023 _result
= (int )wxFont_GetFamily(_arg0
);
2025 wxPy_END_ALLOW_THREADS
;
2026 } _resultobj
= Py_BuildValue("i",_result
);
2030 #define wxFont_GetPointSize(_swigobj) (_swigobj->GetPointSize())
2031 static PyObject
*_wrap_wxFont_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2032 PyObject
* _resultobj
;
2035 PyObject
* _argo0
= 0;
2036 char *_kwnames
[] = { "self", NULL
};
2039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetPointSize",_kwnames
,&_argo0
))
2042 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2043 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2044 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetPointSize. Expected _wxFont_p.");
2049 wxPy_BEGIN_ALLOW_THREADS
;
2050 _result
= (int )wxFont_GetPointSize(_arg0
);
2052 wxPy_END_ALLOW_THREADS
;
2053 } _resultobj
= Py_BuildValue("i",_result
);
2057 #define wxFont_GetStyle(_swigobj) (_swigobj->GetStyle())
2058 static PyObject
*_wrap_wxFont_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2059 PyObject
* _resultobj
;
2062 PyObject
* _argo0
= 0;
2063 char *_kwnames
[] = { "self", NULL
};
2066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetStyle",_kwnames
,&_argo0
))
2069 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2070 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetStyle. Expected _wxFont_p.");
2076 wxPy_BEGIN_ALLOW_THREADS
;
2077 _result
= (int )wxFont_GetStyle(_arg0
);
2079 wxPy_END_ALLOW_THREADS
;
2080 } _resultobj
= Py_BuildValue("i",_result
);
2084 #define wxFont_GetUnderlined(_swigobj) (_swigobj->GetUnderlined())
2085 static PyObject
*_wrap_wxFont_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2086 PyObject
* _resultobj
;
2089 PyObject
* _argo0
= 0;
2090 char *_kwnames
[] = { "self", NULL
};
2093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetUnderlined",_kwnames
,&_argo0
))
2096 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2097 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetUnderlined. Expected _wxFont_p.");
2103 wxPy_BEGIN_ALLOW_THREADS
;
2104 _result
= (bool )wxFont_GetUnderlined(_arg0
);
2106 wxPy_END_ALLOW_THREADS
;
2107 } _resultobj
= Py_BuildValue("i",_result
);
2111 #define wxFont_GetWeight(_swigobj) (_swigobj->GetWeight())
2112 static PyObject
*_wrap_wxFont_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2113 PyObject
* _resultobj
;
2116 PyObject
* _argo0
= 0;
2117 char *_kwnames
[] = { "self", NULL
};
2120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetWeight",_kwnames
,&_argo0
))
2123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetWeight. Expected _wxFont_p.");
2130 wxPy_BEGIN_ALLOW_THREADS
;
2131 _result
= (int )wxFont_GetWeight(_arg0
);
2133 wxPy_END_ALLOW_THREADS
;
2134 } _resultobj
= Py_BuildValue("i",_result
);
2138 #define wxFont_GetEncoding(_swigobj) (_swigobj->GetEncoding())
2139 static PyObject
*_wrap_wxFont_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2140 PyObject
* _resultobj
;
2141 wxFontEncoding _result
;
2143 PyObject
* _argo0
= 0;
2144 char *_kwnames
[] = { "self", NULL
};
2147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetEncoding",_kwnames
,&_argo0
))
2150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetEncoding. Expected _wxFont_p.");
2157 wxPy_BEGIN_ALLOW_THREADS
;
2158 _result
= (wxFontEncoding
)wxFont_GetEncoding(_arg0
);
2160 wxPy_END_ALLOW_THREADS
;
2161 } _resultobj
= Py_BuildValue("i",_result
);
2165 #define wxFont_SetFaceName(_swigobj,_swigarg0) (_swigobj->SetFaceName(_swigarg0))
2166 static PyObject
*_wrap_wxFont_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2167 PyObject
* _resultobj
;
2170 PyObject
* _argo0
= 0;
2171 PyObject
* _obj1
= 0;
2172 char *_kwnames
[] = { "self","faceName", NULL
};
2175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFont_SetFaceName",_kwnames
,&_argo0
,&_obj1
))
2178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetFaceName. Expected _wxFont_p.");
2185 if (!PyString_Check(_obj1
)) {
2186 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2189 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2192 wxPy_BEGIN_ALLOW_THREADS
;
2193 wxFont_SetFaceName(_arg0
,*_arg1
);
2195 wxPy_END_ALLOW_THREADS
;
2196 } Py_INCREF(Py_None
);
2197 _resultobj
= Py_None
;
2205 #define wxFont_SetFamily(_swigobj,_swigarg0) (_swigobj->SetFamily(_swigarg0))
2206 static PyObject
*_wrap_wxFont_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2207 PyObject
* _resultobj
;
2210 PyObject
* _argo0
= 0;
2211 char *_kwnames
[] = { "self","family", NULL
};
2214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetFamily",_kwnames
,&_argo0
,&_arg1
))
2217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetFamily. Expected _wxFont_p.");
2224 wxPy_BEGIN_ALLOW_THREADS
;
2225 wxFont_SetFamily(_arg0
,_arg1
);
2227 wxPy_END_ALLOW_THREADS
;
2228 } Py_INCREF(Py_None
);
2229 _resultobj
= Py_None
;
2233 #define wxFont_SetPointSize(_swigobj,_swigarg0) (_swigobj->SetPointSize(_swigarg0))
2234 static PyObject
*_wrap_wxFont_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2235 PyObject
* _resultobj
;
2238 PyObject
* _argo0
= 0;
2239 char *_kwnames
[] = { "self","pointSize", NULL
};
2242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetPointSize",_kwnames
,&_argo0
,&_arg1
))
2245 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2246 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetPointSize. Expected _wxFont_p.");
2252 wxPy_BEGIN_ALLOW_THREADS
;
2253 wxFont_SetPointSize(_arg0
,_arg1
);
2255 wxPy_END_ALLOW_THREADS
;
2256 } Py_INCREF(Py_None
);
2257 _resultobj
= Py_None
;
2261 #define wxFont_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
2262 static PyObject
*_wrap_wxFont_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2263 PyObject
* _resultobj
;
2266 PyObject
* _argo0
= 0;
2267 char *_kwnames
[] = { "self","style", NULL
};
2270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetStyle",_kwnames
,&_argo0
,&_arg1
))
2273 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2274 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetStyle. Expected _wxFont_p.");
2280 wxPy_BEGIN_ALLOW_THREADS
;
2281 wxFont_SetStyle(_arg0
,_arg1
);
2283 wxPy_END_ALLOW_THREADS
;
2284 } Py_INCREF(Py_None
);
2285 _resultobj
= Py_None
;
2289 #define wxFont_SetUnderlined(_swigobj,_swigarg0) (_swigobj->SetUnderlined(_swigarg0))
2290 static PyObject
*_wrap_wxFont_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2291 PyObject
* _resultobj
;
2294 PyObject
* _argo0
= 0;
2296 char *_kwnames
[] = { "self","underlined", NULL
};
2299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetUnderlined",_kwnames
,&_argo0
,&tempbool1
))
2302 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2303 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetUnderlined. Expected _wxFont_p.");
2308 _arg1
= (bool ) tempbool1
;
2310 wxPy_BEGIN_ALLOW_THREADS
;
2311 wxFont_SetUnderlined(_arg0
,_arg1
);
2313 wxPy_END_ALLOW_THREADS
;
2314 } Py_INCREF(Py_None
);
2315 _resultobj
= Py_None
;
2319 #define wxFont_SetWeight(_swigobj,_swigarg0) (_swigobj->SetWeight(_swigarg0))
2320 static PyObject
*_wrap_wxFont_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2321 PyObject
* _resultobj
;
2324 PyObject
* _argo0
= 0;
2325 char *_kwnames
[] = { "self","weight", NULL
};
2328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetWeight",_kwnames
,&_argo0
,&_arg1
))
2331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetWeight. Expected _wxFont_p.");
2338 wxPy_BEGIN_ALLOW_THREADS
;
2339 wxFont_SetWeight(_arg0
,_arg1
);
2341 wxPy_END_ALLOW_THREADS
;
2342 } Py_INCREF(Py_None
);
2343 _resultobj
= Py_None
;
2347 #define wxFont_SetEncoding(_swigobj,_swigarg0) (_swigobj->SetEncoding(_swigarg0))
2348 static PyObject
*_wrap_wxFont_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2349 PyObject
* _resultobj
;
2351 wxFontEncoding _arg1
;
2352 PyObject
* _argo0
= 0;
2353 char *_kwnames
[] = { "self","encoding", NULL
};
2356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetEncoding",_kwnames
,&_argo0
,&_arg1
))
2359 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2360 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetEncoding. Expected _wxFont_p.");
2366 wxPy_BEGIN_ALLOW_THREADS
;
2367 wxFont_SetEncoding(_arg0
,_arg1
);
2369 wxPy_END_ALLOW_THREADS
;
2370 } Py_INCREF(Py_None
);
2371 _resultobj
= Py_None
;
2375 #define wxFont_GetFamilyString(_swigobj) (_swigobj->GetFamilyString())
2376 static PyObject
*_wrap_wxFont_GetFamilyString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2377 PyObject
* _resultobj
;
2380 PyObject
* _argo0
= 0;
2381 char *_kwnames
[] = { "self", NULL
};
2384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFamilyString",_kwnames
,&_argo0
))
2387 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2388 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFamilyString. Expected _wxFont_p.");
2394 wxPy_BEGIN_ALLOW_THREADS
;
2395 _result
= new wxString (wxFont_GetFamilyString(_arg0
));
2397 wxPy_END_ALLOW_THREADS
;
2399 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2407 #define wxFont_GetStyleString(_swigobj) (_swigobj->GetStyleString())
2408 static PyObject
*_wrap_wxFont_GetStyleString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2409 PyObject
* _resultobj
;
2412 PyObject
* _argo0
= 0;
2413 char *_kwnames
[] = { "self", NULL
};
2416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetStyleString",_kwnames
,&_argo0
))
2419 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2420 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetStyleString. Expected _wxFont_p.");
2426 wxPy_BEGIN_ALLOW_THREADS
;
2427 _result
= new wxString (wxFont_GetStyleString(_arg0
));
2429 wxPy_END_ALLOW_THREADS
;
2431 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2439 #define wxFont_GetWeightString(_swigobj) (_swigobj->GetWeightString())
2440 static PyObject
*_wrap_wxFont_GetWeightString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2441 PyObject
* _resultobj
;
2444 PyObject
* _argo0
= 0;
2445 char *_kwnames
[] = { "self", NULL
};
2448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetWeightString",_kwnames
,&_argo0
))
2451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetWeightString. Expected _wxFont_p.");
2458 wxPy_BEGIN_ALLOW_THREADS
;
2459 _result
= new wxString (wxFont_GetWeightString(_arg0
));
2461 wxPy_END_ALLOW_THREADS
;
2463 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2471 #define new_wxColour(_swigarg0,_swigarg1,_swigarg2) (new wxColour(_swigarg0,_swigarg1,_swigarg2))
2472 static PyObject
*_wrap_new_wxColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2473 PyObject
* _resultobj
;
2475 unsigned char _arg0
= (unsigned char ) 0;
2476 unsigned char _arg1
= (unsigned char ) 0;
2477 unsigned char _arg2
= (unsigned char ) 0;
2478 char *_kwnames
[] = { "red","green","blue", NULL
};
2482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|bbb:new_wxColour",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
2485 wxPy_BEGIN_ALLOW_THREADS
;
2486 _result
= (wxColour
*)new_wxColour(_arg0
,_arg1
,_arg2
);
2488 wxPy_END_ALLOW_THREADS
;
2490 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
2491 _resultobj
= Py_BuildValue("s",_ptemp
);
2494 _resultobj
= Py_None
;
2499 #define delete_wxColour(_swigobj) (delete _swigobj)
2500 static PyObject
*_wrap_delete_wxColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2501 PyObject
* _resultobj
;
2504 PyObject
* _obj0
= 0;
2505 char *_kwnames
[] = { "self", NULL
};
2508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxColour",_kwnames
,&_obj0
))
2512 if (! wxColour_helper(_obj0
, &_arg0
))
2516 wxPy_BEGIN_ALLOW_THREADS
;
2517 delete_wxColour(_arg0
);
2519 wxPy_END_ALLOW_THREADS
;
2520 } Py_INCREF(Py_None
);
2521 _resultobj
= Py_None
;
2525 #define wxColour_Red(_swigobj) (_swigobj->Red())
2526 static PyObject
*_wrap_wxColour_Red(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2527 PyObject
* _resultobj
;
2528 unsigned char _result
;
2531 PyObject
* _obj0
= 0;
2532 char *_kwnames
[] = { "self", NULL
};
2535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Red",_kwnames
,&_obj0
))
2539 if (! wxColour_helper(_obj0
, &_arg0
))
2543 wxPy_BEGIN_ALLOW_THREADS
;
2544 _result
= (unsigned char )wxColour_Red(_arg0
);
2546 wxPy_END_ALLOW_THREADS
;
2547 } _resultobj
= Py_BuildValue("b",_result
);
2551 #define wxColour_Green(_swigobj) (_swigobj->Green())
2552 static PyObject
*_wrap_wxColour_Green(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2553 PyObject
* _resultobj
;
2554 unsigned char _result
;
2557 PyObject
* _obj0
= 0;
2558 char *_kwnames
[] = { "self", NULL
};
2561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Green",_kwnames
,&_obj0
))
2565 if (! wxColour_helper(_obj0
, &_arg0
))
2569 wxPy_BEGIN_ALLOW_THREADS
;
2570 _result
= (unsigned char )wxColour_Green(_arg0
);
2572 wxPy_END_ALLOW_THREADS
;
2573 } _resultobj
= Py_BuildValue("b",_result
);
2577 #define wxColour_Blue(_swigobj) (_swigobj->Blue())
2578 static PyObject
*_wrap_wxColour_Blue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2579 PyObject
* _resultobj
;
2580 unsigned char _result
;
2583 PyObject
* _obj0
= 0;
2584 char *_kwnames
[] = { "self", NULL
};
2587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Blue",_kwnames
,&_obj0
))
2591 if (! wxColour_helper(_obj0
, &_arg0
))
2595 wxPy_BEGIN_ALLOW_THREADS
;
2596 _result
= (unsigned char )wxColour_Blue(_arg0
);
2598 wxPy_END_ALLOW_THREADS
;
2599 } _resultobj
= Py_BuildValue("b",_result
);
2603 #define wxColour_Ok(_swigobj) (_swigobj->Ok())
2604 static PyObject
*_wrap_wxColour_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2605 PyObject
* _resultobj
;
2609 PyObject
* _obj0
= 0;
2610 char *_kwnames
[] = { "self", NULL
};
2613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Ok",_kwnames
,&_obj0
))
2617 if (! wxColour_helper(_obj0
, &_arg0
))
2621 wxPy_BEGIN_ALLOW_THREADS
;
2622 _result
= (bool )wxColour_Ok(_arg0
);
2624 wxPy_END_ALLOW_THREADS
;
2625 } _resultobj
= Py_BuildValue("i",_result
);
2629 #define wxColour_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
2630 static PyObject
*_wrap_wxColour_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2631 PyObject
* _resultobj
;
2633 unsigned char _arg1
;
2634 unsigned char _arg2
;
2635 unsigned char _arg3
;
2637 PyObject
* _obj0
= 0;
2638 char *_kwnames
[] = { "self","red","green","blue", NULL
};
2641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Obbb:wxColour_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_arg3
))
2645 if (! wxColour_helper(_obj0
, &_arg0
))
2649 wxPy_BEGIN_ALLOW_THREADS
;
2650 wxColour_Set(_arg0
,_arg1
,_arg2
,_arg3
);
2652 wxPy_END_ALLOW_THREADS
;
2653 } Py_INCREF(Py_None
);
2654 _resultobj
= Py_None
;
2658 static PyObject
* wxColour_Get(wxColour
*self
) {
2659 PyObject
* rv
= PyTuple_New(3);
2660 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
2661 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
2662 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
2665 static PyObject
*_wrap_wxColour_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2666 PyObject
* _resultobj
;
2670 PyObject
* _obj0
= 0;
2671 char *_kwnames
[] = { "self", NULL
};
2674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Get",_kwnames
,&_obj0
))
2678 if (! wxColour_helper(_obj0
, &_arg0
))
2682 wxPy_BEGIN_ALLOW_THREADS
;
2683 _result
= (PyObject
*)wxColour_Get(_arg0
);
2685 wxPy_END_ALLOW_THREADS
;
2687 _resultobj
= _result
;
2692 static wxPen
*new_wxPen(wxColour
*colour
,int width
,int style
) {
2693 return wxThePenList
->FindOrCreatePen(*colour
, width
, style
);
2696 static PyObject
*_wrap_new_wxPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2697 PyObject
* _resultobj
;
2700 int _arg1
= (int ) 1;
2701 int _arg2
= (int ) wxSOLID
;
2703 PyObject
* _obj0
= 0;
2704 char *_kwnames
[] = { "colour","width","style", NULL
};
2708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:new_wxPen",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
2712 if (! wxColour_helper(_obj0
, &_arg0
))
2716 wxPy_BEGIN_ALLOW_THREADS
;
2717 _result
= (wxPen
*)new_wxPen(_arg0
,_arg1
,_arg2
);
2719 wxPy_END_ALLOW_THREADS
;
2721 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
2722 _resultobj
= Py_BuildValue("s",_ptemp
);
2725 _resultobj
= Py_None
;
2730 #define wxPen_GetCap(_swigobj) (_swigobj->GetCap())
2731 static PyObject
*_wrap_wxPen_GetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2732 PyObject
* _resultobj
;
2735 PyObject
* _argo0
= 0;
2736 char *_kwnames
[] = { "self", NULL
};
2739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetCap",_kwnames
,&_argo0
))
2742 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2743 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
2744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetCap. Expected _wxPen_p.");
2749 wxPy_BEGIN_ALLOW_THREADS
;
2750 _result
= (int )wxPen_GetCap(_arg0
);
2752 wxPy_END_ALLOW_THREADS
;
2753 } _resultobj
= Py_BuildValue("i",_result
);
2757 #define wxPen_GetColour(_swigobj) (_swigobj->GetColour())
2758 static PyObject
*_wrap_wxPen_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2759 PyObject
* _resultobj
;
2762 PyObject
* _argo0
= 0;
2763 char *_kwnames
[] = { "self", NULL
};
2767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetColour",_kwnames
,&_argo0
))
2770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
2772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetColour. Expected _wxPen_p.");
2777 wxPy_BEGIN_ALLOW_THREADS
;
2778 wxColour
& _result_ref
= wxPen_GetColour(_arg0
);
2779 _result
= (wxColour
*) &_result_ref
;
2781 wxPy_END_ALLOW_THREADS
;
2783 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
2784 _resultobj
= Py_BuildValue("s",_ptemp
);
2787 _resultobj
= Py_None
;
2792 #define wxPen_GetJoin(_swigobj) (_swigobj->GetJoin())
2793 static PyObject
*_wrap_wxPen_GetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2794 PyObject
* _resultobj
;
2797 PyObject
* _argo0
= 0;
2798 char *_kwnames
[] = { "self", NULL
};
2801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetJoin",_kwnames
,&_argo0
))
2804 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2805 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
2806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetJoin. Expected _wxPen_p.");
2811 wxPy_BEGIN_ALLOW_THREADS
;
2812 _result
= (int )wxPen_GetJoin(_arg0
);
2814 wxPy_END_ALLOW_THREADS
;
2815 } _resultobj
= Py_BuildValue("i",_result
);
2819 #define wxPen_GetStyle(_swigobj) (_swigobj->GetStyle())
2820 static PyObject
*_wrap_wxPen_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2821 PyObject
* _resultobj
;
2824 PyObject
* _argo0
= 0;
2825 char *_kwnames
[] = { "self", NULL
};
2828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetStyle",_kwnames
,&_argo0
))
2831 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2832 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
2833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetStyle. Expected _wxPen_p.");
2838 wxPy_BEGIN_ALLOW_THREADS
;
2839 _result
= (int )wxPen_GetStyle(_arg0
);
2841 wxPy_END_ALLOW_THREADS
;
2842 } _resultobj
= Py_BuildValue("i",_result
);
2846 #define wxPen_GetWidth(_swigobj) (_swigobj->GetWidth())
2847 static PyObject
*_wrap_wxPen_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2848 PyObject
* _resultobj
;
2851 PyObject
* _argo0
= 0;
2852 char *_kwnames
[] = { "self", NULL
};
2855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetWidth",_kwnames
,&_argo0
))
2858 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2859 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
2860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetWidth. Expected _wxPen_p.");
2865 wxPy_BEGIN_ALLOW_THREADS
;
2866 _result
= (int )wxPen_GetWidth(_arg0
);
2868 wxPy_END_ALLOW_THREADS
;
2869 } _resultobj
= Py_BuildValue("i",_result
);
2873 #define wxPen_Ok(_swigobj) (_swigobj->Ok())
2874 static PyObject
*_wrap_wxPen_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2875 PyObject
* _resultobj
;
2878 PyObject
* _argo0
= 0;
2879 char *_kwnames
[] = { "self", NULL
};
2882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_Ok",_kwnames
,&_argo0
))
2885 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2886 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
2887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_Ok. Expected _wxPen_p.");
2892 wxPy_BEGIN_ALLOW_THREADS
;
2893 _result
= (bool )wxPen_Ok(_arg0
);
2895 wxPy_END_ALLOW_THREADS
;
2896 } _resultobj
= Py_BuildValue("i",_result
);
2900 #define wxPen_SetCap(_swigobj,_swigarg0) (_swigobj->SetCap(_swigarg0))
2901 static PyObject
*_wrap_wxPen_SetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2902 PyObject
* _resultobj
;
2905 PyObject
* _argo0
= 0;
2906 char *_kwnames
[] = { "self","cap_style", NULL
};
2909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetCap",_kwnames
,&_argo0
,&_arg1
))
2912 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2913 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
2914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetCap. Expected _wxPen_p.");
2919 wxPy_BEGIN_ALLOW_THREADS
;
2920 wxPen_SetCap(_arg0
,_arg1
);
2922 wxPy_END_ALLOW_THREADS
;
2923 } Py_INCREF(Py_None
);
2924 _resultobj
= Py_None
;
2928 #define wxPen_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
2929 static PyObject
*_wrap_wxPen_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2930 PyObject
* _resultobj
;
2933 PyObject
* _argo0
= 0;
2935 PyObject
* _obj1
= 0;
2936 char *_kwnames
[] = { "self","colour", NULL
};
2939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_SetColour",_kwnames
,&_argo0
,&_obj1
))
2942 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2943 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
2944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetColour. Expected _wxPen_p.");
2950 if (! wxColour_helper(_obj1
, &_arg1
))
2954 wxPy_BEGIN_ALLOW_THREADS
;
2955 wxPen_SetColour(_arg0
,*_arg1
);
2957 wxPy_END_ALLOW_THREADS
;
2958 } Py_INCREF(Py_None
);
2959 _resultobj
= Py_None
;
2963 #define wxPen_SetJoin(_swigobj,_swigarg0) (_swigobj->SetJoin(_swigarg0))
2964 static PyObject
*_wrap_wxPen_SetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2965 PyObject
* _resultobj
;
2968 PyObject
* _argo0
= 0;
2969 char *_kwnames
[] = { "self","join_style", NULL
};
2972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetJoin",_kwnames
,&_argo0
,&_arg1
))
2975 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2976 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
2977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetJoin. Expected _wxPen_p.");
2982 wxPy_BEGIN_ALLOW_THREADS
;
2983 wxPen_SetJoin(_arg0
,_arg1
);
2985 wxPy_END_ALLOW_THREADS
;
2986 } Py_INCREF(Py_None
);
2987 _resultobj
= Py_None
;
2991 #define wxPen_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
2992 static PyObject
*_wrap_wxPen_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2993 PyObject
* _resultobj
;
2996 PyObject
* _argo0
= 0;
2997 char *_kwnames
[] = { "self","style", NULL
};
3000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetStyle",_kwnames
,&_argo0
,&_arg1
))
3003 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3004 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetStyle. Expected _wxPen_p.");
3010 wxPy_BEGIN_ALLOW_THREADS
;
3011 wxPen_SetStyle(_arg0
,_arg1
);
3013 wxPy_END_ALLOW_THREADS
;
3014 } Py_INCREF(Py_None
);
3015 _resultobj
= Py_None
;
3019 #define wxPen_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
3020 static PyObject
*_wrap_wxPen_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3021 PyObject
* _resultobj
;
3024 PyObject
* _argo0
= 0;
3025 char *_kwnames
[] = { "self","width", NULL
};
3028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetWidth",_kwnames
,&_argo0
,&_arg1
))
3031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetWidth. Expected _wxPen_p.");
3038 wxPy_BEGIN_ALLOW_THREADS
;
3039 wxPen_SetWidth(_arg0
,_arg1
);
3041 wxPy_END_ALLOW_THREADS
;
3042 } Py_INCREF(Py_None
);
3043 _resultobj
= Py_None
;
3047 #define wxPen_GetDashes(_swigobj,_swigarg0) (_swigobj->GetDashes(_swigarg0))
3048 static PyObject
*_wrap_wxPen_GetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3049 PyObject
* _resultobj
;
3053 PyObject
* _argo0
= 0;
3054 PyObject
* _argo1
= 0;
3055 char *_kwnames
[] = { "self","dashes", NULL
};
3058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_GetDashes",_kwnames
,&_argo0
,&_argo1
))
3061 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3062 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3063 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetDashes. Expected _wxPen_p.");
3068 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3069 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDash_pp")) {
3070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPen_GetDashes. Expected _wxDash_pp.");
3075 wxPy_BEGIN_ALLOW_THREADS
;
3076 _result
= (int )wxPen_GetDashes(_arg0
,_arg1
);
3078 wxPy_END_ALLOW_THREADS
;
3079 } _resultobj
= Py_BuildValue("i",_result
);
3083 #define wxPen_SetDashes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDashes(_swigarg0,_swigarg1))
3084 static PyObject
*_wrap_wxPen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3085 PyObject
* _resultobj
;
3089 PyObject
* _argo0
= 0;
3090 PyObject
* _obj2
= 0;
3091 char *_kwnames
[] = { "self","choices", NULL
};
3094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_SetDashes",_kwnames
,&_argo0
,&_obj2
))
3097 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3098 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetDashes. Expected _wxPen_p.");
3105 _arg2
= (wxDash
*)byte_LIST_helper(_obj2
);
3106 if (_arg2
== NULL
) {
3112 _arg1
= PyList_Size(_obj2
);
3119 wxPy_BEGIN_ALLOW_THREADS
;
3120 wxPen_SetDashes(_arg0
,_arg1
,_arg2
);
3122 wxPy_END_ALLOW_THREADS
;
3123 } Py_INCREF(Py_None
);
3124 _resultobj
= Py_None
;
3131 static wxBrush
*new_wxBrush(const wxColour
*colour
,int style
) {
3132 return wxTheBrushList
->FindOrCreateBrush(*colour
, style
);
3135 static PyObject
*_wrap_new_wxBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3136 PyObject
* _resultobj
;
3139 int _arg1
= (int ) wxSOLID
;
3141 PyObject
* _obj0
= 0;
3142 char *_kwnames
[] = { "colour","style", NULL
};
3146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxBrush",_kwnames
,&_obj0
,&_arg1
))
3150 if (! wxColour_helper(_obj0
, &_arg0
))
3154 wxPy_BEGIN_ALLOW_THREADS
;
3155 _result
= (wxBrush
*)new_wxBrush(_arg0
,_arg1
);
3157 wxPy_END_ALLOW_THREADS
;
3159 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
3160 _resultobj
= Py_BuildValue("s",_ptemp
);
3163 _resultobj
= Py_None
;
3168 #define wxBrush_GetColour(_swigobj) (_swigobj->GetColour())
3169 static PyObject
*_wrap_wxBrush_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3170 PyObject
* _resultobj
;
3173 PyObject
* _argo0
= 0;
3174 char *_kwnames
[] = { "self", NULL
};
3178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetColour",_kwnames
,&_argo0
))
3181 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3182 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
3183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetColour. Expected _wxBrush_p.");
3188 wxPy_BEGIN_ALLOW_THREADS
;
3189 wxColour
& _result_ref
= wxBrush_GetColour(_arg0
);
3190 _result
= (wxColour
*) &_result_ref
;
3192 wxPy_END_ALLOW_THREADS
;
3194 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
3195 _resultobj
= Py_BuildValue("s",_ptemp
);
3198 _resultobj
= Py_None
;
3203 #define wxBrush_GetStipple(_swigobj) (_swigobj->GetStipple())
3204 static PyObject
*_wrap_wxBrush_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3205 PyObject
* _resultobj
;
3208 PyObject
* _argo0
= 0;
3209 char *_kwnames
[] = { "self", NULL
};
3213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetStipple",_kwnames
,&_argo0
))
3216 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3217 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
3218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStipple. Expected _wxBrush_p.");
3223 wxPy_BEGIN_ALLOW_THREADS
;
3224 _result
= (wxBitmap
*)wxBrush_GetStipple(_arg0
);
3226 wxPy_END_ALLOW_THREADS
;
3228 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
3229 _resultobj
= Py_BuildValue("s",_ptemp
);
3232 _resultobj
= Py_None
;
3237 #define wxBrush_GetStyle(_swigobj) (_swigobj->GetStyle())
3238 static PyObject
*_wrap_wxBrush_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3239 PyObject
* _resultobj
;
3242 PyObject
* _argo0
= 0;
3243 char *_kwnames
[] = { "self", NULL
};
3246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetStyle",_kwnames
,&_argo0
))
3249 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3250 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
3251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStyle. Expected _wxBrush_p.");
3256 wxPy_BEGIN_ALLOW_THREADS
;
3257 _result
= (int )wxBrush_GetStyle(_arg0
);
3259 wxPy_END_ALLOW_THREADS
;
3260 } _resultobj
= Py_BuildValue("i",_result
);
3264 #define wxBrush_Ok(_swigobj) (_swigobj->Ok())
3265 static PyObject
*_wrap_wxBrush_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3266 PyObject
* _resultobj
;
3269 PyObject
* _argo0
= 0;
3270 char *_kwnames
[] = { "self", NULL
};
3273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_Ok",_kwnames
,&_argo0
))
3276 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3277 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
3278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_Ok. Expected _wxBrush_p.");
3283 wxPy_BEGIN_ALLOW_THREADS
;
3284 _result
= (bool )wxBrush_Ok(_arg0
);
3286 wxPy_END_ALLOW_THREADS
;
3287 } _resultobj
= Py_BuildValue("i",_result
);
3291 #define wxBrush_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
3292 static PyObject
*_wrap_wxBrush_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3293 PyObject
* _resultobj
;
3296 PyObject
* _argo0
= 0;
3298 PyObject
* _obj1
= 0;
3299 char *_kwnames
[] = { "self","colour", NULL
};
3302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrush_SetColour",_kwnames
,&_argo0
,&_obj1
))
3305 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3306 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
3307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetColour. Expected _wxBrush_p.");
3313 if (! wxColour_helper(_obj1
, &_arg1
))
3317 wxPy_BEGIN_ALLOW_THREADS
;
3318 wxBrush_SetColour(_arg0
,*_arg1
);
3320 wxPy_END_ALLOW_THREADS
;
3321 } Py_INCREF(Py_None
);
3322 _resultobj
= Py_None
;
3326 #define wxBrush_SetStipple(_swigobj,_swigarg0) (_swigobj->SetStipple(_swigarg0))
3327 static PyObject
*_wrap_wxBrush_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3328 PyObject
* _resultobj
;
3331 PyObject
* _argo0
= 0;
3332 PyObject
* _argo1
= 0;
3333 char *_kwnames
[] = { "self","bitmap", NULL
};
3336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrush_SetStipple",_kwnames
,&_argo0
,&_argo1
))
3339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
3341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStipple. Expected _wxBrush_p.");
3346 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3347 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
3348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrush_SetStipple. Expected _wxBitmap_p.");
3353 wxPy_BEGIN_ALLOW_THREADS
;
3354 wxBrush_SetStipple(_arg0
,*_arg1
);
3356 wxPy_END_ALLOW_THREADS
;
3357 } Py_INCREF(Py_None
);
3358 _resultobj
= Py_None
;
3362 #define wxBrush_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
3363 static PyObject
*_wrap_wxBrush_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3364 PyObject
* _resultobj
;
3367 PyObject
* _argo0
= 0;
3368 char *_kwnames
[] = { "self","style", NULL
};
3371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBrush_SetStyle",_kwnames
,&_argo0
,&_arg1
))
3374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
3376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStyle. Expected _wxBrush_p.");
3381 wxPy_BEGIN_ALLOW_THREADS
;
3382 wxBrush_SetStyle(_arg0
,_arg1
);
3384 wxPy_END_ALLOW_THREADS
;
3385 } Py_INCREF(Py_None
);
3386 _resultobj
= Py_None
;
3390 #define delete_wxDC(_swigobj) (delete _swigobj)
3391 static PyObject
*_wrap_delete_wxDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3392 PyObject
* _resultobj
;
3394 PyObject
* _argo0
= 0;
3395 char *_kwnames
[] = { "self", NULL
};
3398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDC",_kwnames
,&_argo0
))
3401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDC. Expected _wxDC_p.");
3408 wxPy_BEGIN_ALLOW_THREADS
;
3411 wxPy_END_ALLOW_THREADS
;
3412 } Py_INCREF(Py_None
);
3413 _resultobj
= Py_None
;
3417 #define wxDC_BeginDrawing(_swigobj) (_swigobj->BeginDrawing())
3418 static PyObject
*_wrap_wxDC_BeginDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3419 PyObject
* _resultobj
;
3421 PyObject
* _argo0
= 0;
3422 char *_kwnames
[] = { "self", NULL
};
3425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_BeginDrawing",_kwnames
,&_argo0
))
3428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_BeginDrawing. Expected _wxDC_p.");
3435 wxPy_BEGIN_ALLOW_THREADS
;
3436 wxDC_BeginDrawing(_arg0
);
3438 wxPy_END_ALLOW_THREADS
;
3439 } Py_INCREF(Py_None
);
3440 _resultobj
= Py_None
;
3444 #define wxDC_Blit(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Blit(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
3445 static PyObject
*_wrap_wxDC_Blit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3446 PyObject
* _resultobj
;
3456 int _arg8
= (int ) wxCOPY
;
3457 int _arg9
= (int ) FALSE
;
3458 PyObject
* _argo0
= 0;
3459 PyObject
* _argo5
= 0;
3460 char *_kwnames
[] = { "self","xdest","ydest","width","height","source","xsrc","ysrc","logicalFunc","useMask", NULL
};
3463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllllOll|ii:wxDC_Blit",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_argo5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
))
3466 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3467 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Blit. Expected _wxDC_p.");
3473 if (_argo5
== Py_None
) { _arg5
= NULL
; }
3474 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxDC_p")) {
3475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxDC_Blit. Expected _wxDC_p.");
3480 wxPy_BEGIN_ALLOW_THREADS
;
3481 _result
= (bool )wxDC_Blit(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
3483 wxPy_END_ALLOW_THREADS
;
3484 } _resultobj
= Py_BuildValue("i",_result
);
3488 #define wxDC_Clear(_swigobj) (_swigobj->Clear())
3489 static PyObject
*_wrap_wxDC_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3490 PyObject
* _resultobj
;
3492 PyObject
* _argo0
= 0;
3493 char *_kwnames
[] = { "self", NULL
};
3496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_Clear",_kwnames
,&_argo0
))
3499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Clear. Expected _wxDC_p.");
3506 wxPy_BEGIN_ALLOW_THREADS
;
3509 wxPy_END_ALLOW_THREADS
;
3510 } Py_INCREF(Py_None
);
3511 _resultobj
= Py_None
;
3515 #define wxDC_CrossHair(_swigobj,_swigarg0,_swigarg1) (_swigobj->CrossHair(_swigarg0,_swigarg1))
3516 static PyObject
*_wrap_wxDC_CrossHair(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3517 PyObject
* _resultobj
;
3521 PyObject
* _argo0
= 0;
3522 char *_kwnames
[] = { "self","x","y", NULL
};
3525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_CrossHair",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CrossHair. Expected _wxDC_p.");
3535 wxPy_BEGIN_ALLOW_THREADS
;
3536 wxDC_CrossHair(_arg0
,_arg1
,_arg2
);
3538 wxPy_END_ALLOW_THREADS
;
3539 } Py_INCREF(Py_None
);
3540 _resultobj
= Py_None
;
3544 #define wxDC_DestroyClippingRegion(_swigobj) (_swigobj->DestroyClippingRegion())
3545 static PyObject
*_wrap_wxDC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3546 PyObject
* _resultobj
;
3548 PyObject
* _argo0
= 0;
3549 char *_kwnames
[] = { "self", NULL
};
3552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_DestroyClippingRegion",_kwnames
,&_argo0
))
3555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DestroyClippingRegion. Expected _wxDC_p.");
3562 wxPy_BEGIN_ALLOW_THREADS
;
3563 wxDC_DestroyClippingRegion(_arg0
);
3565 wxPy_END_ALLOW_THREADS
;
3566 } Py_INCREF(Py_None
);
3567 _resultobj
= Py_None
;
3571 #define wxDC_DeviceToLogicalX(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalX(_swigarg0))
3572 static PyObject
*_wrap_wxDC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3573 PyObject
* _resultobj
;
3577 PyObject
* _argo0
= 0;
3578 char *_kwnames
[] = { "self","x", NULL
};
3581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalX",_kwnames
,&_argo0
,&_arg1
))
3584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalX. Expected _wxDC_p.");
3591 wxPy_BEGIN_ALLOW_THREADS
;
3592 _result
= (long )wxDC_DeviceToLogicalX(_arg0
,_arg1
);
3594 wxPy_END_ALLOW_THREADS
;
3595 } _resultobj
= Py_BuildValue("l",_result
);
3599 #define wxDC_DeviceToLogicalXRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalXRel(_swigarg0))
3600 static PyObject
*_wrap_wxDC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3601 PyObject
* _resultobj
;
3605 PyObject
* _argo0
= 0;
3606 char *_kwnames
[] = { "self","x", NULL
};
3609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalXRel",_kwnames
,&_argo0
,&_arg1
))
3612 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3613 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalXRel. Expected _wxDC_p.");
3619 wxPy_BEGIN_ALLOW_THREADS
;
3620 _result
= (long )wxDC_DeviceToLogicalXRel(_arg0
,_arg1
);
3622 wxPy_END_ALLOW_THREADS
;
3623 } _resultobj
= Py_BuildValue("l",_result
);
3627 #define wxDC_DeviceToLogicalY(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalY(_swigarg0))
3628 static PyObject
*_wrap_wxDC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3629 PyObject
* _resultobj
;
3633 PyObject
* _argo0
= 0;
3634 char *_kwnames
[] = { "self","y", NULL
};
3637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalY",_kwnames
,&_argo0
,&_arg1
))
3640 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3641 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalY. Expected _wxDC_p.");
3647 wxPy_BEGIN_ALLOW_THREADS
;
3648 _result
= (long )wxDC_DeviceToLogicalY(_arg0
,_arg1
);
3650 wxPy_END_ALLOW_THREADS
;
3651 } _resultobj
= Py_BuildValue("l",_result
);
3655 #define wxDC_DeviceToLogicalYRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalYRel(_swigarg0))
3656 static PyObject
*_wrap_wxDC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3657 PyObject
* _resultobj
;
3661 PyObject
* _argo0
= 0;
3662 char *_kwnames
[] = { "self","y", NULL
};
3665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalYRel",_kwnames
,&_argo0
,&_arg1
))
3668 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3669 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalYRel. Expected _wxDC_p.");
3675 wxPy_BEGIN_ALLOW_THREADS
;
3676 _result
= (long )wxDC_DeviceToLogicalYRel(_arg0
,_arg1
);
3678 wxPy_END_ALLOW_THREADS
;
3679 } _resultobj
= Py_BuildValue("l",_result
);
3683 #define wxDC_DrawArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3684 static PyObject
*_wrap_wxDC_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3685 PyObject
* _resultobj
;
3693 PyObject
* _argo0
= 0;
3694 char *_kwnames
[] = { "self","x1","y1","x2","y2","xc","yc", NULL
};
3697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollllll:wxDC_DrawArc",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
3700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawArc. Expected _wxDC_p.");
3707 wxPy_BEGIN_ALLOW_THREADS
;
3708 wxDC_DrawArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
3710 wxPy_END_ALLOW_THREADS
;
3711 } Py_INCREF(Py_None
);
3712 _resultobj
= Py_None
;
3716 #define wxDC_DrawCircle(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawCircle(_swigarg0,_swigarg1,_swigarg2))
3717 static PyObject
*_wrap_wxDC_DrawCircle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3718 PyObject
* _resultobj
;
3723 PyObject
* _argo0
= 0;
3724 char *_kwnames
[] = { "self","x","y","radius", NULL
};
3727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olll:wxDC_DrawCircle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawCircle. Expected _wxDC_p.");
3737 wxPy_BEGIN_ALLOW_THREADS
;
3738 wxDC_DrawCircle(_arg0
,_arg1
,_arg2
,_arg3
);
3740 wxPy_END_ALLOW_THREADS
;
3741 } Py_INCREF(Py_None
);
3742 _resultobj
= Py_None
;
3746 #define wxDC_DrawEllipse(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawEllipse(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3747 static PyObject
*_wrap_wxDC_DrawEllipse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3748 PyObject
* _resultobj
;
3754 PyObject
* _argo0
= 0;
3755 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
3758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_DrawEllipse",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3761 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3762 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipse. Expected _wxDC_p.");
3768 wxPy_BEGIN_ALLOW_THREADS
;
3769 wxDC_DrawEllipse(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3771 wxPy_END_ALLOW_THREADS
;
3772 } Py_INCREF(Py_None
);
3773 _resultobj
= Py_None
;
3777 #define wxDC_DrawEllipticArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawEllipticArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3778 static PyObject
*_wrap_wxDC_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3779 PyObject
* _resultobj
;
3787 PyObject
* _argo0
= 0;
3788 char *_kwnames
[] = { "self","x","y","width","height","start","end", NULL
};
3791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollllll:wxDC_DrawEllipticArc",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
3794 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3795 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipticArc. Expected _wxDC_p.");
3801 wxPy_BEGIN_ALLOW_THREADS
;
3802 wxDC_DrawEllipticArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
3804 wxPy_END_ALLOW_THREADS
;
3805 } Py_INCREF(Py_None
);
3806 _resultobj
= Py_None
;
3810 #define wxDC_DrawIcon(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawIcon(_swigarg0,_swigarg1,_swigarg2))
3811 static PyObject
*_wrap_wxDC_DrawIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3812 PyObject
* _resultobj
;
3817 PyObject
* _argo0
= 0;
3818 PyObject
* _argo1
= 0;
3819 char *_kwnames
[] = { "self","icon","x","y", NULL
};
3822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOll:wxDC_DrawIcon",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3825 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3826 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawIcon. Expected _wxDC_p.");
3832 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3833 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
3834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawIcon. Expected _wxIcon_p.");
3839 wxPy_BEGIN_ALLOW_THREADS
;
3840 wxDC_DrawIcon(_arg0
,*_arg1
,_arg2
,_arg3
);
3842 wxPy_END_ALLOW_THREADS
;
3843 } Py_INCREF(Py_None
);
3844 _resultobj
= Py_None
;
3848 #define wxDC_DrawLine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3849 static PyObject
*_wrap_wxDC_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3850 PyObject
* _resultobj
;
3856 PyObject
* _argo0
= 0;
3857 char *_kwnames
[] = { "self","x1","y1","x2","y2", NULL
};
3860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_DrawLine",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3863 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3864 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLine. Expected _wxDC_p.");
3870 wxPy_BEGIN_ALLOW_THREADS
;
3871 wxDC_DrawLine(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3873 wxPy_END_ALLOW_THREADS
;
3874 } Py_INCREF(Py_None
);
3875 _resultobj
= Py_None
;
3879 #define wxDC_DrawLines(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLines(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3880 static PyObject
*_wrap_wxDC_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3881 PyObject
* _resultobj
;
3885 long _arg3
= (long ) 0;
3886 long _arg4
= (long ) 0;
3887 PyObject
* _argo0
= 0;
3888 PyObject
* _obj2
= 0;
3889 char *_kwnames
[] = { "self","points","xoffset","yoffset", NULL
};
3892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ll:wxDC_DrawLines",_kwnames
,&_argo0
,&_obj2
,&_arg3
,&_arg4
))
3895 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3896 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLines. Expected _wxDC_p.");
3903 _arg2
= wxPoint_LIST_helper(_obj2
);
3904 if (_arg2
== NULL
) {
3910 _arg1
= PyList_Size(_obj2
);
3917 wxPy_BEGIN_ALLOW_THREADS
;
3918 wxDC_DrawLines(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3920 wxPy_END_ALLOW_THREADS
;
3921 } Py_INCREF(Py_None
);
3922 _resultobj
= Py_None
;
3929 #define wxDC_DrawPolygon(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawPolygon(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3930 static PyObject
*_wrap_wxDC_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3931 PyObject
* _resultobj
;
3935 long _arg3
= (long ) 0;
3936 long _arg4
= (long ) 0;
3937 int _arg5
= (int ) wxODDEVEN_RULE
;
3938 PyObject
* _argo0
= 0;
3939 PyObject
* _obj2
= 0;
3940 char *_kwnames
[] = { "self","points","xoffset","yoffset","fill_style", NULL
};
3943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|lli:wxDC_DrawPolygon",_kwnames
,&_argo0
,&_obj2
,&_arg3
,&_arg4
,&_arg5
))
3946 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3947 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPolygon. Expected _wxDC_p.");
3954 _arg2
= wxPoint_LIST_helper(_obj2
);
3955 if (_arg2
== NULL
) {
3961 _arg1
= PyList_Size(_obj2
);
3968 wxPy_BEGIN_ALLOW_THREADS
;
3969 wxDC_DrawPolygon(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3971 wxPy_END_ALLOW_THREADS
;
3972 } Py_INCREF(Py_None
);
3973 _resultobj
= Py_None
;
3980 #define wxDC_DrawPoint(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawPoint(_swigarg0,_swigarg1))
3981 static PyObject
*_wrap_wxDC_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3982 PyObject
* _resultobj
;
3986 PyObject
* _argo0
= 0;
3987 char *_kwnames
[] = { "self","x","y", NULL
};
3990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_DrawPoint",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3993 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3994 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPoint. Expected _wxDC_p.");
4000 wxPy_BEGIN_ALLOW_THREADS
;
4001 wxDC_DrawPoint(_arg0
,_arg1
,_arg2
);
4003 wxPy_END_ALLOW_THREADS
;
4004 } Py_INCREF(Py_None
);
4005 _resultobj
= Py_None
;
4009 #define wxDC_DrawRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4010 static PyObject
*_wrap_wxDC_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4011 PyObject
* _resultobj
;
4017 PyObject
* _argo0
= 0;
4018 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
4021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_DrawRectangle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
4024 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4025 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRectangle. Expected _wxDC_p.");
4031 wxPy_BEGIN_ALLOW_THREADS
;
4032 wxDC_DrawRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4034 wxPy_END_ALLOW_THREADS
;
4035 } Py_INCREF(Py_None
);
4036 _resultobj
= Py_None
;
4040 #define wxDC_DrawRotatedText(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRotatedText(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4041 static PyObject
*_wrap_wxDC_DrawRotatedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4042 PyObject
* _resultobj
;
4048 PyObject
* _argo0
= 0;
4049 PyObject
* _obj1
= 0;
4050 char *_kwnames
[] = { "self","text","x","y","angle", NULL
};
4053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiid:wxDC_DrawRotatedText",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_arg4
))
4056 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4057 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRotatedText. Expected _wxDC_p.");
4063 if (!PyString_Check(_obj1
)) {
4064 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4067 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4070 wxPy_BEGIN_ALLOW_THREADS
;
4071 wxDC_DrawRotatedText(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
4073 wxPy_END_ALLOW_THREADS
;
4074 } Py_INCREF(Py_None
);
4075 _resultobj
= Py_None
;
4083 #define wxDC_DrawRoundedRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawRoundedRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4084 static PyObject
*_wrap_wxDC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4085 PyObject
* _resultobj
;
4091 long _arg5
= (long ) 20;
4092 PyObject
* _argo0
= 0;
4093 char *_kwnames
[] = { "self","x","y","width","height","radius", NULL
};
4096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll|l:wxDC_DrawRoundedRectangle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
4099 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4100 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRoundedRectangle. Expected _wxDC_p.");
4106 wxPy_BEGIN_ALLOW_THREADS
;
4107 wxDC_DrawRoundedRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4109 wxPy_END_ALLOW_THREADS
;
4110 } Py_INCREF(Py_None
);
4111 _resultobj
= Py_None
;
4115 #define wxDC_DrawSpline(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawSpline(_swigarg0,_swigarg1))
4116 static PyObject
*_wrap_wxDC_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4117 PyObject
* _resultobj
;
4121 PyObject
* _argo0
= 0;
4122 PyObject
* _obj2
= 0;
4123 char *_kwnames
[] = { "self","points", NULL
};
4126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_DrawSpline",_kwnames
,&_argo0
,&_obj2
))
4129 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4130 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawSpline. Expected _wxDC_p.");
4137 _arg2
= wxPoint_LIST_helper(_obj2
);
4138 if (_arg2
== NULL
) {
4144 _arg1
= PyList_Size(_obj2
);
4151 wxPy_BEGIN_ALLOW_THREADS
;
4152 wxDC_DrawSpline(_arg0
,_arg1
,_arg2
);
4154 wxPy_END_ALLOW_THREADS
;
4155 } Py_INCREF(Py_None
);
4156 _resultobj
= Py_None
;
4163 #define wxDC_DrawText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawText(_swigarg0,_swigarg1,_swigarg2))
4164 static PyObject
*_wrap_wxDC_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4165 PyObject
* _resultobj
;
4170 PyObject
* _argo0
= 0;
4171 PyObject
* _obj1
= 0;
4172 char *_kwnames
[] = { "self","text","x","y", NULL
};
4175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOll:wxDC_DrawText",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
))
4178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawText. Expected _wxDC_p.");
4185 if (!PyString_Check(_obj1
)) {
4186 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4189 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4192 wxPy_BEGIN_ALLOW_THREADS
;
4193 wxDC_DrawText(_arg0
,*_arg1
,_arg2
,_arg3
);
4195 wxPy_END_ALLOW_THREADS
;
4196 } Py_INCREF(Py_None
);
4197 _resultobj
= Py_None
;
4205 #define wxDC_EndDoc(_swigobj) (_swigobj->EndDoc())
4206 static PyObject
*_wrap_wxDC_EndDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4207 PyObject
* _resultobj
;
4209 PyObject
* _argo0
= 0;
4210 char *_kwnames
[] = { "self", NULL
};
4213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndDoc",_kwnames
,&_argo0
))
4216 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4217 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDoc. Expected _wxDC_p.");
4223 wxPy_BEGIN_ALLOW_THREADS
;
4226 wxPy_END_ALLOW_THREADS
;
4227 } Py_INCREF(Py_None
);
4228 _resultobj
= Py_None
;
4232 #define wxDC_EndDrawing(_swigobj) (_swigobj->EndDrawing())
4233 static PyObject
*_wrap_wxDC_EndDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4234 PyObject
* _resultobj
;
4236 PyObject
* _argo0
= 0;
4237 char *_kwnames
[] = { "self", NULL
};
4240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndDrawing",_kwnames
,&_argo0
))
4243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDrawing. Expected _wxDC_p.");
4250 wxPy_BEGIN_ALLOW_THREADS
;
4251 wxDC_EndDrawing(_arg0
);
4253 wxPy_END_ALLOW_THREADS
;
4254 } Py_INCREF(Py_None
);
4255 _resultobj
= Py_None
;
4259 #define wxDC_EndPage(_swigobj) (_swigobj->EndPage())
4260 static PyObject
*_wrap_wxDC_EndPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4261 PyObject
* _resultobj
;
4263 PyObject
* _argo0
= 0;
4264 char *_kwnames
[] = { "self", NULL
};
4267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndPage",_kwnames
,&_argo0
))
4270 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4271 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndPage. Expected _wxDC_p.");
4277 wxPy_BEGIN_ALLOW_THREADS
;
4278 wxDC_EndPage(_arg0
);
4280 wxPy_END_ALLOW_THREADS
;
4281 } Py_INCREF(Py_None
);
4282 _resultobj
= Py_None
;
4286 #define wxDC_FloodFill(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->FloodFill(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4287 static PyObject
*_wrap_wxDC_FloodFill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4288 PyObject
* _resultobj
;
4293 int _arg4
= (int ) wxFLOOD_SURFACE
;
4294 PyObject
* _argo0
= 0;
4296 PyObject
* _obj3
= 0;
4297 char *_kwnames
[] = { "self","x","y","colour","style", NULL
};
4300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO|i:wxDC_FloodFill",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_arg4
))
4303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_FloodFill. Expected _wxDC_p.");
4311 if (! wxColour_helper(_obj3
, &_arg3
))
4315 wxPy_BEGIN_ALLOW_THREADS
;
4316 wxDC_FloodFill(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
4318 wxPy_END_ALLOW_THREADS
;
4319 } Py_INCREF(Py_None
);
4320 _resultobj
= Py_None
;
4324 #define wxDC_GetBackground(_swigobj) (_swigobj->GetBackground())
4325 static PyObject
*_wrap_wxDC_GetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4326 PyObject
* _resultobj
;
4329 PyObject
* _argo0
= 0;
4330 char *_kwnames
[] = { "self", NULL
};
4334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBackground",_kwnames
,&_argo0
))
4337 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4338 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBackground. Expected _wxDC_p.");
4344 wxPy_BEGIN_ALLOW_THREADS
;
4345 wxBrush
& _result_ref
= wxDC_GetBackground(_arg0
);
4346 _result
= (wxBrush
*) &_result_ref
;
4348 wxPy_END_ALLOW_THREADS
;
4350 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
4351 _resultobj
= Py_BuildValue("s",_ptemp
);
4354 _resultobj
= Py_None
;
4359 #define wxDC_GetBrush(_swigobj) (_swigobj->GetBrush())
4360 static PyObject
*_wrap_wxDC_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4361 PyObject
* _resultobj
;
4364 PyObject
* _argo0
= 0;
4365 char *_kwnames
[] = { "self", NULL
};
4369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBrush",_kwnames
,&_argo0
))
4372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBrush. Expected _wxDC_p.");
4379 wxPy_BEGIN_ALLOW_THREADS
;
4380 wxBrush
& _result_ref
= wxDC_GetBrush(_arg0
);
4381 _result
= (wxBrush
*) &_result_ref
;
4383 wxPy_END_ALLOW_THREADS
;
4385 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
4386 _resultobj
= Py_BuildValue("s",_ptemp
);
4389 _resultobj
= Py_None
;
4394 #define wxDC_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
4395 static PyObject
*_wrap_wxDC_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4396 PyObject
* _resultobj
;
4399 PyObject
* _argo0
= 0;
4400 char *_kwnames
[] = { "self", NULL
};
4403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetCharHeight",_kwnames
,&_argo0
))
4406 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4407 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharHeight. Expected _wxDC_p.");
4413 wxPy_BEGIN_ALLOW_THREADS
;
4414 _result
= (long )wxDC_GetCharHeight(_arg0
);
4416 wxPy_END_ALLOW_THREADS
;
4417 } _resultobj
= Py_BuildValue("l",_result
);
4421 #define wxDC_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
4422 static PyObject
*_wrap_wxDC_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4423 PyObject
* _resultobj
;
4426 PyObject
* _argo0
= 0;
4427 char *_kwnames
[] = { "self", NULL
};
4430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetCharWidth",_kwnames
,&_argo0
))
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_GetCharWidth. Expected _wxDC_p.");
4440 wxPy_BEGIN_ALLOW_THREADS
;
4441 _result
= (long )wxDC_GetCharWidth(_arg0
);
4443 wxPy_END_ALLOW_THREADS
;
4444 } _resultobj
= Py_BuildValue("l",_result
);
4448 #define wxDC_GetClippingBox(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetClippingBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4449 static PyObject
*_wrap_wxDC_GetClippingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4450 PyObject
* _resultobj
;
4460 PyObject
* _argo0
= 0;
4461 char *_kwnames
[] = { "self", NULL
};
4476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetClippingBox",_kwnames
,&_argo0
))
4479 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4480 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetClippingBox. Expected _wxDC_p.");
4486 wxPy_BEGIN_ALLOW_THREADS
;
4487 wxDC_GetClippingBox(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4489 wxPy_END_ALLOW_THREADS
;
4490 } Py_INCREF(Py_None
);
4491 _resultobj
= Py_None
;
4494 o
= PyInt_FromLong((long) (*_arg1
));
4495 _resultobj
= t_output_helper(_resultobj
, o
);
4499 o
= PyInt_FromLong((long) (*_arg2
));
4500 _resultobj
= t_output_helper(_resultobj
, o
);
4504 o
= PyInt_FromLong((long) (*_arg3
));
4505 _resultobj
= t_output_helper(_resultobj
, o
);
4509 o
= PyInt_FromLong((long) (*_arg4
));
4510 _resultobj
= t_output_helper(_resultobj
, o
);
4515 #define wxDC_GetFont(_swigobj) (_swigobj->GetFont())
4516 static PyObject
*_wrap_wxDC_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4517 PyObject
* _resultobj
;
4520 PyObject
* _argo0
= 0;
4521 char *_kwnames
[] = { "self", NULL
};
4525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetFont",_kwnames
,&_argo0
))
4528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFont. Expected _wxDC_p.");
4535 wxPy_BEGIN_ALLOW_THREADS
;
4536 wxFont
& _result_ref
= wxDC_GetFont(_arg0
);
4537 _result
= (wxFont
*) &_result_ref
;
4539 wxPy_END_ALLOW_THREADS
;
4541 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
4542 _resultobj
= Py_BuildValue("s",_ptemp
);
4545 _resultobj
= Py_None
;
4550 #define wxDC_GetLogicalFunction(_swigobj) (_swigobj->GetLogicalFunction())
4551 static PyObject
*_wrap_wxDC_GetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4552 PyObject
* _resultobj
;
4555 PyObject
* _argo0
= 0;
4556 char *_kwnames
[] = { "self", NULL
};
4559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalFunction",_kwnames
,&_argo0
))
4562 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4563 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalFunction. Expected _wxDC_p.");
4569 wxPy_BEGIN_ALLOW_THREADS
;
4570 _result
= (int )wxDC_GetLogicalFunction(_arg0
);
4572 wxPy_END_ALLOW_THREADS
;
4573 } _resultobj
= Py_BuildValue("i",_result
);
4577 #define wxDC_GetLogicalScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLogicalScale(_swigarg0,_swigarg1))
4578 static PyObject
*_wrap_wxDC_GetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4579 PyObject
* _resultobj
;
4585 PyObject
* _argo0
= 0;
4586 char *_kwnames
[] = { "self", NULL
};
4595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalScale",_kwnames
,&_argo0
))
4598 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4599 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalScale. Expected _wxDC_p.");
4605 wxPy_BEGIN_ALLOW_THREADS
;
4606 wxDC_GetLogicalScale(_arg0
,_arg1
,_arg2
);
4608 wxPy_END_ALLOW_THREADS
;
4609 } Py_INCREF(Py_None
);
4610 _resultobj
= Py_None
;
4613 o
= PyFloat_FromDouble((double) (*_arg1
));
4614 _resultobj
= t_output_helper(_resultobj
, o
);
4618 o
= PyFloat_FromDouble((double) (*_arg2
));
4619 _resultobj
= t_output_helper(_resultobj
, o
);
4624 #define wxDC_GetMapMode(_swigobj) (_swigobj->GetMapMode())
4625 static PyObject
*_wrap_wxDC_GetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4626 PyObject
* _resultobj
;
4629 PyObject
* _argo0
= 0;
4630 char *_kwnames
[] = { "self", NULL
};
4633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetMapMode",_kwnames
,&_argo0
))
4636 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4637 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetMapMode. Expected _wxDC_p.");
4643 wxPy_BEGIN_ALLOW_THREADS
;
4644 _result
= (int )wxDC_GetMapMode(_arg0
);
4646 wxPy_END_ALLOW_THREADS
;
4647 } _resultobj
= Py_BuildValue("i",_result
);
4651 #define wxDC_GetOptimization(_swigobj) (_swigobj->GetOptimization())
4652 static PyObject
*_wrap_wxDC_GetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4653 PyObject
* _resultobj
;
4656 PyObject
* _argo0
= 0;
4657 char *_kwnames
[] = { "self", NULL
};
4660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetOptimization",_kwnames
,&_argo0
))
4663 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4664 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetOptimization. Expected _wxDC_p.");
4670 wxPy_BEGIN_ALLOW_THREADS
;
4671 _result
= (bool )wxDC_GetOptimization(_arg0
);
4673 wxPy_END_ALLOW_THREADS
;
4674 } _resultobj
= Py_BuildValue("i",_result
);
4678 #define wxDC_GetPen(_swigobj) (_swigobj->GetPen())
4679 static PyObject
*_wrap_wxDC_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4680 PyObject
* _resultobj
;
4683 PyObject
* _argo0
= 0;
4684 char *_kwnames
[] = { "self", NULL
};
4688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetPen",_kwnames
,&_argo0
))
4691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPen. Expected _wxDC_p.");
4698 wxPy_BEGIN_ALLOW_THREADS
;
4699 wxPen
& _result_ref
= wxDC_GetPen(_arg0
);
4700 _result
= (wxPen
*) &_result_ref
;
4702 wxPy_END_ALLOW_THREADS
;
4704 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
4705 _resultobj
= Py_BuildValue("s",_ptemp
);
4708 _resultobj
= Py_None
;
4713 static wxColour
* wxDC_GetPixel(wxDC
*self
,long x
,long y
) {
4714 wxColour
* wc
= new wxColour();
4715 self
->GetPixel(x
, y
, wc
);
4718 static PyObject
*_wrap_wxDC_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4719 PyObject
* _resultobj
;
4724 PyObject
* _argo0
= 0;
4725 char *_kwnames
[] = { "self","x","y", NULL
};
4729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_GetPixel",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4732 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4733 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPixel. Expected _wxDC_p.");
4739 wxPy_BEGIN_ALLOW_THREADS
;
4740 _result
= (wxColour
*)wxDC_GetPixel(_arg0
,_arg1
,_arg2
);
4742 wxPy_END_ALLOW_THREADS
;
4744 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
4745 _resultobj
= Py_BuildValue("s",_ptemp
);
4748 _resultobj
= Py_None
;
4753 #define wxDC_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
4754 static PyObject
*_wrap_wxDC_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4755 PyObject
* _resultobj
;
4761 PyObject
* _argo0
= 0;
4762 char *_kwnames
[] = { "self", NULL
};
4771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSizeTuple",_kwnames
,&_argo0
))
4774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSizeTuple. Expected _wxDC_p.");
4781 wxPy_BEGIN_ALLOW_THREADS
;
4782 wxDC_GetSizeTuple(_arg0
,_arg1
,_arg2
);
4784 wxPy_END_ALLOW_THREADS
;
4785 } Py_INCREF(Py_None
);
4786 _resultobj
= Py_None
;
4789 o
= PyInt_FromLong((long) (*_arg1
));
4790 _resultobj
= t_output_helper(_resultobj
, o
);
4794 o
= PyInt_FromLong((long) (*_arg2
));
4795 _resultobj
= t_output_helper(_resultobj
, o
);
4800 #define wxDC_GetSize(_swigobj) (_swigobj->GetSize())
4801 static PyObject
*_wrap_wxDC_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4802 PyObject
* _resultobj
;
4805 PyObject
* _argo0
= 0;
4806 char *_kwnames
[] = { "self", NULL
};
4810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSize",_kwnames
,&_argo0
))
4813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSize. Expected _wxDC_p.");
4820 wxPy_BEGIN_ALLOW_THREADS
;
4821 _result
= new wxSize (wxDC_GetSize(_arg0
));
4823 wxPy_END_ALLOW_THREADS
;
4824 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4825 _resultobj
= Py_BuildValue("s",_ptemp
);
4829 #define wxDC_GetSizeMM(_swigobj) (_swigobj->GetSizeMM())
4830 static PyObject
*_wrap_wxDC_GetSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4831 PyObject
* _resultobj
;
4834 PyObject
* _argo0
= 0;
4835 char *_kwnames
[] = { "self", NULL
};
4839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSizeMM",_kwnames
,&_argo0
))
4842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSizeMM. Expected _wxDC_p.");
4849 wxPy_BEGIN_ALLOW_THREADS
;
4850 _result
= new wxSize (wxDC_GetSizeMM(_arg0
));
4852 wxPy_END_ALLOW_THREADS
;
4853 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4854 _resultobj
= Py_BuildValue("s",_ptemp
);
4858 #define wxDC_GetTextBackground(_swigobj) (_swigobj->GetTextBackground())
4859 static PyObject
*_wrap_wxDC_GetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4860 PyObject
* _resultobj
;
4863 PyObject
* _argo0
= 0;
4864 char *_kwnames
[] = { "self", NULL
};
4868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetTextBackground",_kwnames
,&_argo0
))
4871 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4872 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextBackground. Expected _wxDC_p.");
4878 wxPy_BEGIN_ALLOW_THREADS
;
4879 wxColour
& _result_ref
= wxDC_GetTextBackground(_arg0
);
4880 _result
= (wxColour
*) &_result_ref
;
4882 wxPy_END_ALLOW_THREADS
;
4884 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
4885 _resultobj
= Py_BuildValue("s",_ptemp
);
4888 _resultobj
= Py_None
;
4893 #define wxDC_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
4894 static PyObject
*_wrap_wxDC_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4895 PyObject
* _resultobj
;
4902 PyObject
* _argo0
= 0;
4903 PyObject
* _obj1
= 0;
4904 char *_kwnames
[] = { "self","string", NULL
};
4913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_GetTextExtent",_kwnames
,&_argo0
,&_obj1
))
4916 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4917 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextExtent. Expected _wxDC_p.");
4923 if (!PyString_Check(_obj1
)) {
4924 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4927 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4930 wxPy_BEGIN_ALLOW_THREADS
;
4931 wxDC_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
4933 wxPy_END_ALLOW_THREADS
;
4934 } Py_INCREF(Py_None
);
4935 _resultobj
= Py_None
;
4938 o
= PyInt_FromLong((long) (*_arg2
));
4939 _resultobj
= t_output_helper(_resultobj
, o
);
4943 o
= PyInt_FromLong((long) (*_arg3
));
4944 _resultobj
= t_output_helper(_resultobj
, o
);
4953 #define wxDC_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4954 static PyObject
*_wrap_wxDC_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4955 PyObject
* _resultobj
;
4966 wxFont
* _arg6
= (wxFont
*) NULL
;
4967 PyObject
* _argo0
= 0;
4968 PyObject
* _obj1
= 0;
4969 PyObject
* _argo6
= 0;
4970 char *_kwnames
[] = { "self","string","font", NULL
};
4985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxDC_GetFullTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo6
))
4988 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4989 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFullTextExtent. Expected _wxDC_p.");
4995 if (!PyString_Check(_obj1
)) {
4996 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4999 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5002 if (_argo6
== Py_None
) { _arg6
= NULL
; }
5003 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
5004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxDC_GetFullTextExtent. Expected _wxFont_p.");
5009 wxPy_BEGIN_ALLOW_THREADS
;
5010 wxDC_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
5012 wxPy_END_ALLOW_THREADS
;
5013 } Py_INCREF(Py_None
);
5014 _resultobj
= Py_None
;
5017 o
= PyInt_FromLong((long) (*_arg2
));
5018 _resultobj
= t_output_helper(_resultobj
, o
);
5022 o
= PyInt_FromLong((long) (*_arg3
));
5023 _resultobj
= t_output_helper(_resultobj
, o
);
5027 o
= PyInt_FromLong((long) (*_arg4
));
5028 _resultobj
= t_output_helper(_resultobj
, o
);
5032 o
= PyInt_FromLong((long) (*_arg5
));
5033 _resultobj
= t_output_helper(_resultobj
, o
);
5042 #define wxDC_GetTextForeground(_swigobj) (_swigobj->GetTextForeground())
5043 static PyObject
*_wrap_wxDC_GetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5044 PyObject
* _resultobj
;
5047 PyObject
* _argo0
= 0;
5048 char *_kwnames
[] = { "self", NULL
};
5052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetTextForeground",_kwnames
,&_argo0
))
5055 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5056 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5057 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextForeground. Expected _wxDC_p.");
5062 wxPy_BEGIN_ALLOW_THREADS
;
5063 wxColour
& _result_ref
= wxDC_GetTextForeground(_arg0
);
5064 _result
= (wxColour
*) &_result_ref
;
5066 wxPy_END_ALLOW_THREADS
;
5068 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
5069 _resultobj
= Py_BuildValue("s",_ptemp
);
5072 _resultobj
= Py_None
;
5077 #define wxDC_GetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetUserScale(_swigarg0,_swigarg1))
5078 static PyObject
*_wrap_wxDC_GetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5079 PyObject
* _resultobj
;
5085 PyObject
* _argo0
= 0;
5086 char *_kwnames
[] = { "self", NULL
};
5095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetUserScale",_kwnames
,&_argo0
))
5098 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5099 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetUserScale. Expected _wxDC_p.");
5105 wxPy_BEGIN_ALLOW_THREADS
;
5106 wxDC_GetUserScale(_arg0
,_arg1
,_arg2
);
5108 wxPy_END_ALLOW_THREADS
;
5109 } Py_INCREF(Py_None
);
5110 _resultobj
= Py_None
;
5113 o
= PyFloat_FromDouble((double) (*_arg1
));
5114 _resultobj
= t_output_helper(_resultobj
, o
);
5118 o
= PyFloat_FromDouble((double) (*_arg2
));
5119 _resultobj
= t_output_helper(_resultobj
, o
);
5124 #define wxDC_LogicalToDeviceX(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceX(_swigarg0))
5125 static PyObject
*_wrap_wxDC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5126 PyObject
* _resultobj
;
5130 PyObject
* _argo0
= 0;
5131 char *_kwnames
[] = { "self","x", NULL
};
5134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceX",_kwnames
,&_argo0
,&_arg1
))
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_LogicalToDeviceX. Expected _wxDC_p.");
5144 wxPy_BEGIN_ALLOW_THREADS
;
5145 _result
= (long )wxDC_LogicalToDeviceX(_arg0
,_arg1
);
5147 wxPy_END_ALLOW_THREADS
;
5148 } _resultobj
= Py_BuildValue("l",_result
);
5152 #define wxDC_LogicalToDeviceXRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceXRel(_swigarg0))
5153 static PyObject
*_wrap_wxDC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5154 PyObject
* _resultobj
;
5158 PyObject
* _argo0
= 0;
5159 char *_kwnames
[] = { "self","x", NULL
};
5162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceXRel",_kwnames
,&_argo0
,&_arg1
))
5165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceXRel. Expected _wxDC_p.");
5172 wxPy_BEGIN_ALLOW_THREADS
;
5173 _result
= (long )wxDC_LogicalToDeviceXRel(_arg0
,_arg1
);
5175 wxPy_END_ALLOW_THREADS
;
5176 } _resultobj
= Py_BuildValue("l",_result
);
5180 #define wxDC_LogicalToDeviceY(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceY(_swigarg0))
5181 static PyObject
*_wrap_wxDC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5182 PyObject
* _resultobj
;
5186 PyObject
* _argo0
= 0;
5187 char *_kwnames
[] = { "self","y", NULL
};
5190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceY",_kwnames
,&_argo0
,&_arg1
))
5193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceY. Expected _wxDC_p.");
5200 wxPy_BEGIN_ALLOW_THREADS
;
5201 _result
= (long )wxDC_LogicalToDeviceY(_arg0
,_arg1
);
5203 wxPy_END_ALLOW_THREADS
;
5204 } _resultobj
= Py_BuildValue("l",_result
);
5208 #define wxDC_LogicalToDeviceYRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceYRel(_swigarg0))
5209 static PyObject
*_wrap_wxDC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5210 PyObject
* _resultobj
;
5214 PyObject
* _argo0
= 0;
5215 char *_kwnames
[] = { "self","y", NULL
};
5218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceYRel",_kwnames
,&_argo0
,&_arg1
))
5221 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5222 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceYRel. Expected _wxDC_p.");
5228 wxPy_BEGIN_ALLOW_THREADS
;
5229 _result
= (long )wxDC_LogicalToDeviceYRel(_arg0
,_arg1
);
5231 wxPy_END_ALLOW_THREADS
;
5232 } _resultobj
= Py_BuildValue("l",_result
);
5236 #define wxDC_MaxX(_swigobj) (_swigobj->MaxX())
5237 static PyObject
*_wrap_wxDC_MaxX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5238 PyObject
* _resultobj
;
5241 PyObject
* _argo0
= 0;
5242 char *_kwnames
[] = { "self", NULL
};
5245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MaxX",_kwnames
,&_argo0
))
5248 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5249 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxX. Expected _wxDC_p.");
5255 wxPy_BEGIN_ALLOW_THREADS
;
5256 _result
= (long )wxDC_MaxX(_arg0
);
5258 wxPy_END_ALLOW_THREADS
;
5259 } _resultobj
= Py_BuildValue("l",_result
);
5263 #define wxDC_MaxY(_swigobj) (_swigobj->MaxY())
5264 static PyObject
*_wrap_wxDC_MaxY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5265 PyObject
* _resultobj
;
5268 PyObject
* _argo0
= 0;
5269 char *_kwnames
[] = { "self", NULL
};
5272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MaxY",_kwnames
,&_argo0
))
5275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxY. Expected _wxDC_p.");
5282 wxPy_BEGIN_ALLOW_THREADS
;
5283 _result
= (long )wxDC_MaxY(_arg0
);
5285 wxPy_END_ALLOW_THREADS
;
5286 } _resultobj
= Py_BuildValue("l",_result
);
5290 #define wxDC_MinX(_swigobj) (_swigobj->MinX())
5291 static PyObject
*_wrap_wxDC_MinX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5292 PyObject
* _resultobj
;
5295 PyObject
* _argo0
= 0;
5296 char *_kwnames
[] = { "self", NULL
};
5299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MinX",_kwnames
,&_argo0
))
5302 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5303 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinX. Expected _wxDC_p.");
5309 wxPy_BEGIN_ALLOW_THREADS
;
5310 _result
= (long )wxDC_MinX(_arg0
);
5312 wxPy_END_ALLOW_THREADS
;
5313 } _resultobj
= Py_BuildValue("l",_result
);
5317 #define wxDC_MinY(_swigobj) (_swigobj->MinY())
5318 static PyObject
*_wrap_wxDC_MinY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5319 PyObject
* _resultobj
;
5322 PyObject
* _argo0
= 0;
5323 char *_kwnames
[] = { "self", NULL
};
5326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MinY",_kwnames
,&_argo0
))
5329 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5330 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinY. Expected _wxDC_p.");
5336 wxPy_BEGIN_ALLOW_THREADS
;
5337 _result
= (long )wxDC_MinY(_arg0
);
5339 wxPy_END_ALLOW_THREADS
;
5340 } _resultobj
= Py_BuildValue("l",_result
);
5344 #define wxDC_Ok(_swigobj) (_swigobj->Ok())
5345 static PyObject
*_wrap_wxDC_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5346 PyObject
* _resultobj
;
5349 PyObject
* _argo0
= 0;
5350 char *_kwnames
[] = { "self", NULL
};
5353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_Ok",_kwnames
,&_argo0
))
5356 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5357 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Ok. Expected _wxDC_p.");
5363 wxPy_BEGIN_ALLOW_THREADS
;
5364 _result
= (bool )wxDC_Ok(_arg0
);
5366 wxPy_END_ALLOW_THREADS
;
5367 } _resultobj
= Py_BuildValue("i",_result
);
5371 #define wxDC_SetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDeviceOrigin(_swigarg0,_swigarg1))
5372 static PyObject
*_wrap_wxDC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5373 PyObject
* _resultobj
;
5377 PyObject
* _argo0
= 0;
5378 char *_kwnames
[] = { "self","x","y", NULL
};
5381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_SetDeviceOrigin",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetDeviceOrigin. Expected _wxDC_p.");
5391 wxPy_BEGIN_ALLOW_THREADS
;
5392 wxDC_SetDeviceOrigin(_arg0
,_arg1
,_arg2
);
5394 wxPy_END_ALLOW_THREADS
;
5395 } Py_INCREF(Py_None
);
5396 _resultobj
= Py_None
;
5400 #define wxDC_SetBackground(_swigobj,_swigarg0) (_swigobj->SetBackground(_swigarg0))
5401 static PyObject
*_wrap_wxDC_SetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5402 PyObject
* _resultobj
;
5405 PyObject
* _argo0
= 0;
5406 PyObject
* _argo1
= 0;
5407 char *_kwnames
[] = { "self","brush", NULL
};
5410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetBackground",_kwnames
,&_argo0
,&_argo1
))
5413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackground. Expected _wxDC_p.");
5420 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5421 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
5422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBackground. Expected _wxBrush_p.");
5427 wxPy_BEGIN_ALLOW_THREADS
;
5428 wxDC_SetBackground(_arg0
,*_arg1
);
5430 wxPy_END_ALLOW_THREADS
;
5431 } Py_INCREF(Py_None
);
5432 _resultobj
= Py_None
;
5436 #define wxDC_SetBackgroundMode(_swigobj,_swigarg0) (_swigobj->SetBackgroundMode(_swigarg0))
5437 static PyObject
*_wrap_wxDC_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5438 PyObject
* _resultobj
;
5441 PyObject
* _argo0
= 0;
5442 char *_kwnames
[] = { "self","mode", NULL
};
5445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetBackgroundMode",_kwnames
,&_argo0
,&_arg1
))
5448 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5449 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackgroundMode. Expected _wxDC_p.");
5455 wxPy_BEGIN_ALLOW_THREADS
;
5456 wxDC_SetBackgroundMode(_arg0
,_arg1
);
5458 wxPy_END_ALLOW_THREADS
;
5459 } Py_INCREF(Py_None
);
5460 _resultobj
= Py_None
;
5464 #define wxDC_SetClippingRegion(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetClippingRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5465 static PyObject
*_wrap_wxDC_SetClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5466 PyObject
* _resultobj
;
5472 PyObject
* _argo0
= 0;
5473 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
5476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_SetClippingRegion",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
5479 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5480 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetClippingRegion. Expected _wxDC_p.");
5486 wxPy_BEGIN_ALLOW_THREADS
;
5487 wxDC_SetClippingRegion(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5489 wxPy_END_ALLOW_THREADS
;
5490 } Py_INCREF(Py_None
);
5491 _resultobj
= Py_None
;
5495 #define wxDC_SetPalette(_swigobj,_swigarg0) (_swigobj->SetPalette(_swigarg0))
5496 static PyObject
*_wrap_wxDC_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5497 PyObject
* _resultobj
;
5500 PyObject
* _argo0
= 0;
5501 PyObject
* _argo1
= 0;
5502 char *_kwnames
[] = { "self","colourMap", NULL
};
5505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetPalette",_kwnames
,&_argo0
,&_argo1
))
5508 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5509 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPalette. Expected _wxDC_p.");
5515 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5516 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPalette_p")) {
5517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPalette. Expected _wxPalette_p.");
5522 wxPy_BEGIN_ALLOW_THREADS
;
5523 wxDC_SetPalette(_arg0
,*_arg1
);
5525 wxPy_END_ALLOW_THREADS
;
5526 } Py_INCREF(Py_None
);
5527 _resultobj
= Py_None
;
5531 #define wxDC_SetBrush(_swigobj,_swigarg0) (_swigobj->SetBrush(_swigarg0))
5532 static PyObject
*_wrap_wxDC_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5533 PyObject
* _resultobj
;
5536 PyObject
* _argo0
= 0;
5537 PyObject
* _argo1
= 0;
5538 char *_kwnames
[] = { "self","brush", NULL
};
5541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetBrush",_kwnames
,&_argo0
,&_argo1
))
5544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBrush. Expected _wxDC_p.");
5551 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5552 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
5553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBrush. Expected _wxBrush_p.");
5558 wxPy_BEGIN_ALLOW_THREADS
;
5559 wxDC_SetBrush(_arg0
,*_arg1
);
5561 wxPy_END_ALLOW_THREADS
;
5562 } Py_INCREF(Py_None
);
5563 _resultobj
= Py_None
;
5567 #define wxDC_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
5568 static PyObject
*_wrap_wxDC_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5569 PyObject
* _resultobj
;
5572 PyObject
* _argo0
= 0;
5573 PyObject
* _argo1
= 0;
5574 char *_kwnames
[] = { "self","font", NULL
};
5577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetFont",_kwnames
,&_argo0
,&_argo1
))
5580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetFont. Expected _wxDC_p.");
5587 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5588 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
5589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetFont. Expected _wxFont_p.");
5594 wxPy_BEGIN_ALLOW_THREADS
;
5595 wxDC_SetFont(_arg0
,*_arg1
);
5597 wxPy_END_ALLOW_THREADS
;
5598 } Py_INCREF(Py_None
);
5599 _resultobj
= Py_None
;
5603 #define wxDC_SetLogicalFunction(_swigobj,_swigarg0) (_swigobj->SetLogicalFunction(_swigarg0))
5604 static PyObject
*_wrap_wxDC_SetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5605 PyObject
* _resultobj
;
5608 PyObject
* _argo0
= 0;
5609 char *_kwnames
[] = { "self","function", NULL
};
5612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetLogicalFunction",_kwnames
,&_argo0
,&_arg1
))
5615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalFunction. Expected _wxDC_p.");
5622 wxPy_BEGIN_ALLOW_THREADS
;
5623 wxDC_SetLogicalFunction(_arg0
,_arg1
);
5625 wxPy_END_ALLOW_THREADS
;
5626 } Py_INCREF(Py_None
);
5627 _resultobj
= Py_None
;
5631 #define wxDC_SetLogicalScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLogicalScale(_swigarg0,_swigarg1))
5632 static PyObject
*_wrap_wxDC_SetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5633 PyObject
* _resultobj
;
5637 PyObject
* _argo0
= 0;
5638 char *_kwnames
[] = { "self","x","y", NULL
};
5641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxDC_SetLogicalScale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5644 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5645 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalScale. Expected _wxDC_p.");
5651 wxPy_BEGIN_ALLOW_THREADS
;
5652 wxDC_SetLogicalScale(_arg0
,_arg1
,_arg2
);
5654 wxPy_END_ALLOW_THREADS
;
5655 } Py_INCREF(Py_None
);
5656 _resultobj
= Py_None
;
5660 #define wxDC_SetMapMode(_swigobj,_swigarg0) (_swigobj->SetMapMode(_swigarg0))
5661 static PyObject
*_wrap_wxDC_SetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5662 PyObject
* _resultobj
;
5665 PyObject
* _argo0
= 0;
5666 char *_kwnames
[] = { "self","mode", NULL
};
5669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetMapMode",_kwnames
,&_argo0
,&_arg1
))
5672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetMapMode. Expected _wxDC_p.");
5679 wxPy_BEGIN_ALLOW_THREADS
;
5680 wxDC_SetMapMode(_arg0
,_arg1
);
5682 wxPy_END_ALLOW_THREADS
;
5683 } Py_INCREF(Py_None
);
5684 _resultobj
= Py_None
;
5688 #define wxDC_SetOptimization(_swigobj,_swigarg0) (_swigobj->SetOptimization(_swigarg0))
5689 static PyObject
*_wrap_wxDC_SetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5690 PyObject
* _resultobj
;
5693 PyObject
* _argo0
= 0;
5695 char *_kwnames
[] = { "self","optimize", NULL
};
5698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetOptimization",_kwnames
,&_argo0
,&tempbool1
))
5701 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5702 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetOptimization. Expected _wxDC_p.");
5707 _arg1
= (bool ) tempbool1
;
5709 wxPy_BEGIN_ALLOW_THREADS
;
5710 wxDC_SetOptimization(_arg0
,_arg1
);
5712 wxPy_END_ALLOW_THREADS
;
5713 } Py_INCREF(Py_None
);
5714 _resultobj
= Py_None
;
5718 #define wxDC_SetPen(_swigobj,_swigarg0) (_swigobj->SetPen(_swigarg0))
5719 static PyObject
*_wrap_wxDC_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5720 PyObject
* _resultobj
;
5723 PyObject
* _argo0
= 0;
5724 PyObject
* _argo1
= 0;
5725 char *_kwnames
[] = { "self","pen", NULL
};
5728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetPen",_kwnames
,&_argo0
,&_argo1
))
5731 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5732 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPen. Expected _wxDC_p.");
5738 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5739 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
5740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPen. Expected _wxPen_p.");
5745 wxPy_BEGIN_ALLOW_THREADS
;
5746 wxDC_SetPen(_arg0
,*_arg1
);
5748 wxPy_END_ALLOW_THREADS
;
5749 } Py_INCREF(Py_None
);
5750 _resultobj
= Py_None
;
5754 #define wxDC_SetTextBackground(_swigobj,_swigarg0) (_swigobj->SetTextBackground(_swigarg0))
5755 static PyObject
*_wrap_wxDC_SetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5756 PyObject
* _resultobj
;
5759 PyObject
* _argo0
= 0;
5761 PyObject
* _obj1
= 0;
5762 char *_kwnames
[] = { "self","colour", NULL
};
5765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetTextBackground",_kwnames
,&_argo0
,&_obj1
))
5768 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5769 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextBackground. Expected _wxDC_p.");
5776 if (! wxColour_helper(_obj1
, &_arg1
))
5780 wxPy_BEGIN_ALLOW_THREADS
;
5781 wxDC_SetTextBackground(_arg0
,*_arg1
);
5783 wxPy_END_ALLOW_THREADS
;
5784 } Py_INCREF(Py_None
);
5785 _resultobj
= Py_None
;
5789 #define wxDC_SetTextForeground(_swigobj,_swigarg0) (_swigobj->SetTextForeground(_swigarg0))
5790 static PyObject
*_wrap_wxDC_SetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5791 PyObject
* _resultobj
;
5794 PyObject
* _argo0
= 0;
5796 PyObject
* _obj1
= 0;
5797 char *_kwnames
[] = { "self","colour", NULL
};
5800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetTextForeground",_kwnames
,&_argo0
,&_obj1
))
5803 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5804 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextForeground. Expected _wxDC_p.");
5811 if (! wxColour_helper(_obj1
, &_arg1
))
5815 wxPy_BEGIN_ALLOW_THREADS
;
5816 wxDC_SetTextForeground(_arg0
,*_arg1
);
5818 wxPy_END_ALLOW_THREADS
;
5819 } Py_INCREF(Py_None
);
5820 _resultobj
= Py_None
;
5824 #define wxDC_SetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetUserScale(_swigarg0,_swigarg1))
5825 static PyObject
*_wrap_wxDC_SetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5826 PyObject
* _resultobj
;
5830 PyObject
* _argo0
= 0;
5831 char *_kwnames
[] = { "self","x_scale","y_scale", NULL
};
5834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxDC_SetUserScale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5837 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5838 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetUserScale. Expected _wxDC_p.");
5844 wxPy_BEGIN_ALLOW_THREADS
;
5845 wxDC_SetUserScale(_arg0
,_arg1
,_arg2
);
5847 wxPy_END_ALLOW_THREADS
;
5848 } Py_INCREF(Py_None
);
5849 _resultobj
= Py_None
;
5853 #define wxDC_StartDoc(_swigobj,_swigarg0) (_swigobj->StartDoc(_swigarg0))
5854 static PyObject
*_wrap_wxDC_StartDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5855 PyObject
* _resultobj
;
5859 PyObject
* _argo0
= 0;
5860 PyObject
* _obj1
= 0;
5861 char *_kwnames
[] = { "self","message", NULL
};
5864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_StartDoc",_kwnames
,&_argo0
,&_obj1
))
5867 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5868 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartDoc. Expected _wxDC_p.");
5874 if (!PyString_Check(_obj1
)) {
5875 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5878 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5881 wxPy_BEGIN_ALLOW_THREADS
;
5882 _result
= (bool )wxDC_StartDoc(_arg0
,*_arg1
);
5884 wxPy_END_ALLOW_THREADS
;
5885 } _resultobj
= Py_BuildValue("i",_result
);
5893 #define wxDC_StartPage(_swigobj) (_swigobj->StartPage())
5894 static PyObject
*_wrap_wxDC_StartPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5895 PyObject
* _resultobj
;
5897 PyObject
* _argo0
= 0;
5898 char *_kwnames
[] = { "self", NULL
};
5901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_StartPage",_kwnames
,&_argo0
))
5904 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5905 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartPage. Expected _wxDC_p.");
5911 wxPy_BEGIN_ALLOW_THREADS
;
5912 wxDC_StartPage(_arg0
);
5914 wxPy_END_ALLOW_THREADS
;
5915 } Py_INCREF(Py_None
);
5916 _resultobj
= Py_None
;
5920 #define wxDC_DrawBitmap(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5921 static PyObject
*_wrap_wxDC_DrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5922 PyObject
* _resultobj
;
5927 int _arg4
= (int ) FALSE
;
5928 PyObject
* _argo0
= 0;
5929 PyObject
* _argo1
= 0;
5930 char *_kwnames
[] = { "self","bitmap","x","y","useMask", NULL
};
5933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOll|i:wxDC_DrawBitmap",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
))
5936 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5937 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawBitmap. Expected _wxDC_p.");
5943 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5944 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
5945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawBitmap. Expected _wxBitmap_p.");
5950 wxPy_BEGIN_ALLOW_THREADS
;
5951 wxDC_DrawBitmap(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
5953 wxPy_END_ALLOW_THREADS
;
5954 } Py_INCREF(Py_None
);
5955 _resultobj
= Py_None
;
5959 #define wxDC_CanDrawBitmap(_swigobj) (_swigobj->CanDrawBitmap())
5960 static PyObject
*_wrap_wxDC_CanDrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5961 PyObject
* _resultobj
;
5964 PyObject
* _argo0
= 0;
5965 char *_kwnames
[] = { "self", NULL
};
5968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_CanDrawBitmap",_kwnames
,&_argo0
))
5971 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5972 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CanDrawBitmap. Expected _wxDC_p.");
5978 wxPy_BEGIN_ALLOW_THREADS
;
5979 _result
= (bool )wxDC_CanDrawBitmap(_arg0
);
5981 wxPy_END_ALLOW_THREADS
;
5982 } _resultobj
= Py_BuildValue("i",_result
);
5986 #define wxDC_CanGetTextExtent(_swigobj) (_swigobj->CanGetTextExtent())
5987 static PyObject
*_wrap_wxDC_CanGetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5988 PyObject
* _resultobj
;
5991 PyObject
* _argo0
= 0;
5992 char *_kwnames
[] = { "self", NULL
};
5995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_CanGetTextExtent",_kwnames
,&_argo0
))
5998 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5999 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CanGetTextExtent. Expected _wxDC_p.");
6005 wxPy_BEGIN_ALLOW_THREADS
;
6006 _result
= (bool )wxDC_CanGetTextExtent(_arg0
);
6008 wxPy_END_ALLOW_THREADS
;
6009 } _resultobj
= Py_BuildValue("i",_result
);
6013 #define wxDC_GetDepth(_swigobj) (_swigobj->GetDepth())
6014 static PyObject
*_wrap_wxDC_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6015 PyObject
* _resultobj
;
6018 PyObject
* _argo0
= 0;
6019 char *_kwnames
[] = { "self", NULL
};
6022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetDepth",_kwnames
,&_argo0
))
6025 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6026 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetDepth. Expected _wxDC_p.");
6032 wxPy_BEGIN_ALLOW_THREADS
;
6033 _result
= (int )wxDC_GetDepth(_arg0
);
6035 wxPy_END_ALLOW_THREADS
;
6036 } _resultobj
= Py_BuildValue("i",_result
);
6040 #define wxDC_GetPPI(_swigobj) (_swigobj->GetPPI())
6041 static PyObject
*_wrap_wxDC_GetPPI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6042 PyObject
* _resultobj
;
6045 PyObject
* _argo0
= 0;
6046 char *_kwnames
[] = { "self", NULL
};
6050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetPPI",_kwnames
,&_argo0
))
6053 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6054 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPPI. Expected _wxDC_p.");
6060 wxPy_BEGIN_ALLOW_THREADS
;
6061 _result
= new wxSize (wxDC_GetPPI(_arg0
));
6063 wxPy_END_ALLOW_THREADS
;
6064 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
6065 _resultobj
= Py_BuildValue("s",_ptemp
);
6069 #define wxDC_GetLogicalOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLogicalOrigin(_swigarg0,_swigarg1))
6070 static PyObject
*_wrap_wxDC_GetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6071 PyObject
* _resultobj
;
6077 PyObject
* _argo0
= 0;
6078 char *_kwnames
[] = { "self", NULL
};
6087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalOrigin",_kwnames
,&_argo0
))
6090 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6091 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6092 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalOrigin. Expected _wxDC_p.");
6097 wxPy_BEGIN_ALLOW_THREADS
;
6098 wxDC_GetLogicalOrigin(_arg0
,_arg1
,_arg2
);
6100 wxPy_END_ALLOW_THREADS
;
6101 } Py_INCREF(Py_None
);
6102 _resultobj
= Py_None
;
6105 o
= PyInt_FromLong((long) (*_arg1
));
6106 _resultobj
= t_output_helper(_resultobj
, o
);
6110 o
= PyInt_FromLong((long) (*_arg2
));
6111 _resultobj
= t_output_helper(_resultobj
, o
);
6116 #define wxDC_SetLogicalOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLogicalOrigin(_swigarg0,_swigarg1))
6117 static PyObject
*_wrap_wxDC_SetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6118 PyObject
* _resultobj
;
6122 PyObject
* _argo0
= 0;
6123 char *_kwnames
[] = { "self","x","y", NULL
};
6126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_SetLogicalOrigin",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
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_SetLogicalOrigin. Expected _wxDC_p.");
6136 wxPy_BEGIN_ALLOW_THREADS
;
6137 wxDC_SetLogicalOrigin(_arg0
,_arg1
,_arg2
);
6139 wxPy_END_ALLOW_THREADS
;
6140 } Py_INCREF(Py_None
);
6141 _resultobj
= Py_None
;
6145 #define wxDC_GetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDeviceOrigin(_swigarg0,_swigarg1))
6146 static PyObject
*_wrap_wxDC_GetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6147 PyObject
* _resultobj
;
6153 PyObject
* _argo0
= 0;
6154 char *_kwnames
[] = { "self", NULL
};
6163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetDeviceOrigin",_kwnames
,&_argo0
))
6166 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6167 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetDeviceOrigin. Expected _wxDC_p.");
6173 wxPy_BEGIN_ALLOW_THREADS
;
6174 wxDC_GetDeviceOrigin(_arg0
,_arg1
,_arg2
);
6176 wxPy_END_ALLOW_THREADS
;
6177 } Py_INCREF(Py_None
);
6178 _resultobj
= Py_None
;
6181 o
= PyInt_FromLong((long) (*_arg1
));
6182 _resultobj
= t_output_helper(_resultobj
, o
);
6186 o
= PyInt_FromLong((long) (*_arg2
));
6187 _resultobj
= t_output_helper(_resultobj
, o
);
6192 #define wxDC_SetAxisOrientation(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAxisOrientation(_swigarg0,_swigarg1))
6193 static PyObject
*_wrap_wxDC_SetAxisOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6194 PyObject
* _resultobj
;
6198 PyObject
* _argo0
= 0;
6201 char *_kwnames
[] = { "self","xLeftRight","yBottomUp", NULL
};
6204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_SetAxisOrientation",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
6207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetAxisOrientation. Expected _wxDC_p.");
6213 _arg1
= (bool ) tempbool1
;
6214 _arg2
= (bool ) tempbool2
;
6216 wxPy_BEGIN_ALLOW_THREADS
;
6217 wxDC_SetAxisOrientation(_arg0
,_arg1
,_arg2
);
6219 wxPy_END_ALLOW_THREADS
;
6220 } Py_INCREF(Py_None
);
6221 _resultobj
= Py_None
;
6225 #define wxDC_CalcBoundingBox(_swigobj,_swigarg0,_swigarg1) (_swigobj->CalcBoundingBox(_swigarg0,_swigarg1))
6226 static PyObject
*_wrap_wxDC_CalcBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6227 PyObject
* _resultobj
;
6231 PyObject
* _argo0
= 0;
6232 char *_kwnames
[] = { "self","x","y", NULL
};
6235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_CalcBoundingBox",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6238 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6239 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CalcBoundingBox. Expected _wxDC_p.");
6245 wxPy_BEGIN_ALLOW_THREADS
;
6246 wxDC_CalcBoundingBox(_arg0
,_arg1
,_arg2
);
6248 wxPy_END_ALLOW_THREADS
;
6249 } Py_INCREF(Py_None
);
6250 _resultobj
= Py_None
;
6254 #define wxDC_ResetBoundingBox(_swigobj) (_swigobj->ResetBoundingBox())
6255 static PyObject
*_wrap_wxDC_ResetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6256 PyObject
* _resultobj
;
6258 PyObject
* _argo0
= 0;
6259 char *_kwnames
[] = { "self", NULL
};
6262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_ResetBoundingBox",_kwnames
,&_argo0
))
6265 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6266 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_ResetBoundingBox. Expected _wxDC_p.");
6272 wxPy_BEGIN_ALLOW_THREADS
;
6273 wxDC_ResetBoundingBox(_arg0
);
6275 wxPy_END_ALLOW_THREADS
;
6276 } Py_INCREF(Py_None
);
6277 _resultobj
= Py_None
;
6281 static void *SwigwxMemoryDCTowxDC(void *ptr
) {
6284 src
= (wxMemoryDC
*) ptr
;
6285 dest
= (wxDC
*) src
;
6286 return (void *) dest
;
6289 #define new_wxMemoryDC() (new wxMemoryDC())
6290 static PyObject
*_wrap_new_wxMemoryDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6291 PyObject
* _resultobj
;
6292 wxMemoryDC
* _result
;
6293 char *_kwnames
[] = { NULL
};
6297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMemoryDC",_kwnames
))
6300 wxPy_BEGIN_ALLOW_THREADS
;
6301 _result
= (wxMemoryDC
*)new_wxMemoryDC();
6303 wxPy_END_ALLOW_THREADS
;
6305 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
6306 _resultobj
= Py_BuildValue("s",_ptemp
);
6309 _resultobj
= Py_None
;
6314 #define wxMemoryDC_SelectObject(_swigobj,_swigarg0) (_swigobj->SelectObject(_swigarg0))
6315 static PyObject
*_wrap_wxMemoryDC_SelectObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6316 PyObject
* _resultobj
;
6319 PyObject
* _argo0
= 0;
6320 PyObject
* _argo1
= 0;
6321 char *_kwnames
[] = { "self","bitmap", NULL
};
6324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMemoryDC_SelectObject",_kwnames
,&_argo0
,&_argo1
))
6327 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6328 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMemoryDC_p")) {
6329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDC_SelectObject. Expected _wxMemoryDC_p.");
6334 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6335 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
6336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMemoryDC_SelectObject. Expected _wxBitmap_p.");
6341 wxPy_BEGIN_ALLOW_THREADS
;
6342 wxMemoryDC_SelectObject(_arg0
,*_arg1
);
6344 wxPy_END_ALLOW_THREADS
;
6345 } Py_INCREF(Py_None
);
6346 _resultobj
= Py_None
;
6350 static void *SwigwxScreenDCTowxDC(void *ptr
) {
6353 src
= (wxScreenDC
*) ptr
;
6354 dest
= (wxDC
*) src
;
6355 return (void *) dest
;
6358 #define new_wxScreenDC() (new wxScreenDC())
6359 static PyObject
*_wrap_new_wxScreenDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6360 PyObject
* _resultobj
;
6361 wxScreenDC
* _result
;
6362 char *_kwnames
[] = { NULL
};
6366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxScreenDC",_kwnames
))
6369 wxPy_BEGIN_ALLOW_THREADS
;
6370 _result
= (wxScreenDC
*)new_wxScreenDC();
6372 wxPy_END_ALLOW_THREADS
;
6374 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScreenDC_p");
6375 _resultobj
= Py_BuildValue("s",_ptemp
);
6378 _resultobj
= Py_None
;
6383 #define wxScreenDC_StartDrawingOnTopWin(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
6384 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTopWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6385 PyObject
* _resultobj
;
6389 PyObject
* _argo0
= 0;
6390 PyObject
* _argo1
= 0;
6391 char *_kwnames
[] = { "self","window", NULL
};
6394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScreenDC_StartDrawingOnTopWin",_kwnames
,&_argo0
,&_argo1
))
6397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
6399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTopWin. Expected _wxScreenDC_p.");
6404 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6405 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScreenDC_StartDrawingOnTopWin. Expected _wxWindow_p.");
6411 wxPy_BEGIN_ALLOW_THREADS
;
6412 _result
= (bool )wxScreenDC_StartDrawingOnTopWin(_arg0
,_arg1
);
6414 wxPy_END_ALLOW_THREADS
;
6415 } _resultobj
= Py_BuildValue("i",_result
);
6419 #define wxScreenDC_StartDrawingOnTop(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
6420 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6421 PyObject
* _resultobj
;
6424 wxRect
* _arg1
= (wxRect
*) NULL
;
6425 PyObject
* _argo0
= 0;
6427 PyObject
* _obj1
= 0;
6428 char *_kwnames
[] = { "self","rect", NULL
};
6431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxScreenDC_StartDrawingOnTop",_kwnames
,&_argo0
,&_obj1
))
6434 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6435 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
6436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTop. Expected _wxScreenDC_p.");
6443 if (! wxRect_helper(_obj1
, &_arg1
))
6447 wxPy_BEGIN_ALLOW_THREADS
;
6448 _result
= (bool )wxScreenDC_StartDrawingOnTop(_arg0
,_arg1
);
6450 wxPy_END_ALLOW_THREADS
;
6451 } _resultobj
= Py_BuildValue("i",_result
);
6455 #define wxScreenDC_EndDrawingOnTop(_swigobj) (_swigobj->EndDrawingOnTop())
6456 static PyObject
*_wrap_wxScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6457 PyObject
* _resultobj
;
6460 PyObject
* _argo0
= 0;
6461 char *_kwnames
[] = { "self", NULL
};
6464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScreenDC_EndDrawingOnTop",_kwnames
,&_argo0
))
6467 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6468 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
6469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_EndDrawingOnTop. Expected _wxScreenDC_p.");
6474 wxPy_BEGIN_ALLOW_THREADS
;
6475 _result
= (bool )wxScreenDC_EndDrawingOnTop(_arg0
);
6477 wxPy_END_ALLOW_THREADS
;
6478 } _resultobj
= Py_BuildValue("i",_result
);
6482 static void *SwigwxClientDCTowxDC(void *ptr
) {
6485 src
= (wxClientDC
*) ptr
;
6486 dest
= (wxDC
*) src
;
6487 return (void *) dest
;
6490 #define new_wxClientDC(_swigarg0) (new wxClientDC(_swigarg0))
6491 static PyObject
*_wrap_new_wxClientDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6492 PyObject
* _resultobj
;
6493 wxClientDC
* _result
;
6495 PyObject
* _argo0
= 0;
6496 char *_kwnames
[] = { "win", NULL
};
6500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxClientDC",_kwnames
,&_argo0
))
6503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxClientDC. Expected _wxWindow_p.");
6510 wxPy_BEGIN_ALLOW_THREADS
;
6511 _result
= (wxClientDC
*)new_wxClientDC(_arg0
);
6513 wxPy_END_ALLOW_THREADS
;
6515 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxClientDC_p");
6516 _resultobj
= Py_BuildValue("s",_ptemp
);
6519 _resultobj
= Py_None
;
6524 static void *SwigwxPaintDCTowxDC(void *ptr
) {
6527 src
= (wxPaintDC
*) ptr
;
6528 dest
= (wxDC
*) src
;
6529 return (void *) dest
;
6532 #define new_wxPaintDC(_swigarg0) (new wxPaintDC(_swigarg0))
6533 static PyObject
*_wrap_new_wxPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6534 PyObject
* _resultobj
;
6535 wxPaintDC
* _result
;
6537 PyObject
* _argo0
= 0;
6538 char *_kwnames
[] = { "win", NULL
};
6542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPaintDC",_kwnames
,&_argo0
))
6545 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6546 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPaintDC. Expected _wxWindow_p.");
6552 wxPy_BEGIN_ALLOW_THREADS
;
6553 _result
= (wxPaintDC
*)new_wxPaintDC(_arg0
);
6555 wxPy_END_ALLOW_THREADS
;
6557 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPaintDC_p");
6558 _resultobj
= Py_BuildValue("s",_ptemp
);
6561 _resultobj
= Py_None
;
6566 static void *SwigwxWindowDCTowxDC(void *ptr
) {
6569 src
= (wxWindowDC
*) ptr
;
6570 dest
= (wxDC
*) src
;
6571 return (void *) dest
;
6574 #define new_wxWindowDC(_swigarg0) (new wxWindowDC(_swigarg0))
6575 static PyObject
*_wrap_new_wxWindowDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6576 PyObject
* _resultobj
;
6577 wxWindowDC
* _result
;
6579 PyObject
* _argo0
= 0;
6580 char *_kwnames
[] = { "win", NULL
};
6584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxWindowDC",_kwnames
,&_argo0
))
6587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDC. Expected _wxWindow_p.");
6594 wxPy_BEGIN_ALLOW_THREADS
;
6595 _result
= (wxWindowDC
*)new_wxWindowDC(_arg0
);
6597 wxPy_END_ALLOW_THREADS
;
6599 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDC_p");
6600 _resultobj
= Py_BuildValue("s",_ptemp
);
6603 _resultobj
= Py_None
;
6608 static void *SwigwxPostScriptDCTowxDC(void *ptr
) {
6609 wxPostScriptDC
*src
;
6611 src
= (wxPostScriptDC
*) ptr
;
6612 dest
= (wxDC
*) src
;
6613 return (void *) dest
;
6616 #define new_wxPostScriptDC(_swigarg0,_swigarg1,_swigarg2) (new wxPostScriptDC(_swigarg0,_swigarg1,_swigarg2))
6617 static PyObject
*_wrap_new_wxPostScriptDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6618 PyObject
* _resultobj
;
6619 wxPostScriptDC
* _result
;
6621 bool _arg1
= (bool ) TRUE
;
6622 wxWindow
* _arg2
= (wxWindow
*) NULL
;
6623 PyObject
* _obj0
= 0;
6624 int tempbool1
= (int) TRUE
;
6625 PyObject
* _argo2
= 0;
6626 char *_kwnames
[] = { "output","interactive","win", NULL
};
6630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:new_wxPostScriptDC",_kwnames
,&_obj0
,&tempbool1
,&_argo2
))
6633 if (!PyString_Check(_obj0
)) {
6634 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6637 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
6639 _arg1
= (bool ) tempbool1
;
6641 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6642 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
6643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxPostScriptDC. Expected _wxWindow_p.");
6648 wxPy_BEGIN_ALLOW_THREADS
;
6649 _result
= (wxPostScriptDC
*)new_wxPostScriptDC(*_arg0
,_arg1
,_arg2
);
6651 wxPy_END_ALLOW_THREADS
;
6653 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPostScriptDC_p");
6654 _resultobj
= Py_BuildValue("s",_ptemp
);
6657 _resultobj
= Py_None
;
6666 #define new_wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6667 static PyObject
*_wrap_new_wxPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6668 PyObject
* _resultobj
;
6669 wxPalette
* _result
;
6674 PyObject
* _obj1
= 0;
6675 PyObject
* _obj2
= 0;
6676 PyObject
* _obj3
= 0;
6677 char *_kwnames
[] = { "choices","choices","choices", NULL
};
6681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:new_wxPalette",_kwnames
,&_obj1
,&_obj2
,&_obj3
))
6684 _arg1
= byte_LIST_helper(_obj1
);
6685 if (_arg1
== NULL
) {
6690 _arg2
= byte_LIST_helper(_obj2
);
6691 if (_arg2
== NULL
) {
6697 _arg3
= byte_LIST_helper(_obj3
);
6698 if (_arg3
== NULL
) {
6704 _arg0
= PyList_Size(_obj1
);
6711 wxPy_BEGIN_ALLOW_THREADS
;
6712 _result
= (wxPalette
*)new_wxPalette(_arg0
,_arg1
,_arg2
,_arg3
);
6714 wxPy_END_ALLOW_THREADS
;
6716 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPalette_p");
6717 _resultobj
= Py_BuildValue("s",_ptemp
);
6720 _resultobj
= Py_None
;
6734 #define delete_wxPalette(_swigobj) (delete _swigobj)
6735 static PyObject
*_wrap_delete_wxPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6736 PyObject
* _resultobj
;
6738 PyObject
* _argo0
= 0;
6739 char *_kwnames
[] = { "self", NULL
};
6742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPalette",_kwnames
,&_argo0
))
6745 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6746 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
6747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPalette. Expected _wxPalette_p.");
6752 wxPy_BEGIN_ALLOW_THREADS
;
6753 delete_wxPalette(_arg0
);
6755 wxPy_END_ALLOW_THREADS
;
6756 } Py_INCREF(Py_None
);
6757 _resultobj
= Py_None
;
6761 #define wxPalette_GetPixel(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetPixel(_swigarg0,_swigarg1,_swigarg2))
6762 static PyObject
*_wrap_wxPalette_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6763 PyObject
* _resultobj
;
6769 PyObject
* _argo0
= 0;
6770 char *_kwnames
[] = { "self","red","green","blue", NULL
};
6773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Obbb:wxPalette_GetPixel",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
6776 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6777 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
6778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetPixel. Expected _wxPalette_p.");
6783 wxPy_BEGIN_ALLOW_THREADS
;
6784 _result
= (int )wxPalette_GetPixel(_arg0
,_arg1
,_arg2
,_arg3
);
6786 wxPy_END_ALLOW_THREADS
;
6787 } _resultobj
= Py_BuildValue("i",_result
);
6791 #define wxPalette_GetRGB(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetRGB(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6792 static PyObject
*_wrap_wxPalette_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6793 PyObject
* _resultobj
;
6800 PyObject
* _argo0
= 0;
6801 PyObject
* _argo2
= 0;
6802 PyObject
* _argo3
= 0;
6803 PyObject
* _argo4
= 0;
6804 char *_kwnames
[] = { "self","pixel","OUTPUT","OUTPUT","OUTPUT", NULL
};
6807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOOO:wxPalette_GetRGB",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_argo4
))
6810 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6811 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
6812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetRGB. Expected _wxPalette_p.");
6817 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6818 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_byte_p")) {
6819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPalette_GetRGB. Expected _byte_p.");
6824 if (_argo3
== Py_None
) { _arg3
= NULL
; }
6825 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_byte_p")) {
6826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxPalette_GetRGB. Expected _byte_p.");
6831 if (_argo4
== Py_None
) { _arg4
= NULL
; }
6832 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_byte_p")) {
6833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxPalette_GetRGB. Expected _byte_p.");
6838 wxPy_BEGIN_ALLOW_THREADS
;
6839 _result
= (bool )wxPalette_GetRGB(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6841 wxPy_END_ALLOW_THREADS
;
6842 } _resultobj
= Py_BuildValue("i",_result
);
6846 #define wxPalette_Ok(_swigobj) (_swigobj->Ok())
6847 static PyObject
*_wrap_wxPalette_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6848 PyObject
* _resultobj
;
6851 PyObject
* _argo0
= 0;
6852 char *_kwnames
[] = { "self", NULL
};
6855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPalette_Ok",_kwnames
,&_argo0
))
6858 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6859 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
6860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_Ok. Expected _wxPalette_p.");
6865 wxPy_BEGIN_ALLOW_THREADS
;
6866 _result
= (bool )wxPalette_Ok(_arg0
);
6868 wxPy_END_ALLOW_THREADS
;
6869 } _resultobj
= Py_BuildValue("i",_result
);
6873 #define new_wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6874 static PyObject
*_wrap_new_wxImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6875 PyObject
* _resultobj
;
6876 wxImageList
* _result
;
6879 int _arg2
= (int ) TRUE
;
6880 int _arg3
= (int ) 1;
6881 char *_kwnames
[] = { "width","height","mask","initialCount", NULL
};
6885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ii|ii:new_wxImageList",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
6888 wxPy_BEGIN_ALLOW_THREADS
;
6889 _result
= (wxImageList
*)new_wxImageList(_arg0
,_arg1
,_arg2
,_arg3
);
6891 wxPy_END_ALLOW_THREADS
;
6893 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
6894 _resultobj
= Py_BuildValue("s",_ptemp
);
6897 _resultobj
= Py_None
;
6902 #define delete_wxImageList(_swigobj) (delete _swigobj)
6903 static PyObject
*_wrap_delete_wxImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6904 PyObject
* _resultobj
;
6905 wxImageList
* _arg0
;
6906 PyObject
* _argo0
= 0;
6907 char *_kwnames
[] = { "self", NULL
};
6910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxImageList",_kwnames
,&_argo0
))
6913 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6914 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
6915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxImageList. Expected _wxImageList_p.");
6920 wxPy_BEGIN_ALLOW_THREADS
;
6921 delete_wxImageList(_arg0
);
6923 wxPy_END_ALLOW_THREADS
;
6924 } Py_INCREF(Py_None
);
6925 _resultobj
= Py_None
;
6929 #define wxImageList_Add(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
6930 static PyObject
*_wrap_wxImageList_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6931 PyObject
* _resultobj
;
6933 wxImageList
* _arg0
;
6935 wxBitmap
* _arg2
= (wxBitmap
*) &wxNullBitmap
;
6936 PyObject
* _argo0
= 0;
6937 PyObject
* _argo1
= 0;
6938 PyObject
* _argo2
= 0;
6939 char *_kwnames
[] = { "self","bitmap","mask", NULL
};
6942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxImageList_Add",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
6945 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6946 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
6947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Add. Expected _wxImageList_p.");
6952 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6953 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
6954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_Add. Expected _wxBitmap_p.");
6959 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6960 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
6961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Add. Expected _wxBitmap_p.");
6966 wxPy_BEGIN_ALLOW_THREADS
;
6967 _result
= (int )wxImageList_Add(_arg0
,*_arg1
,*_arg2
);
6969 wxPy_END_ALLOW_THREADS
;
6970 } _resultobj
= Py_BuildValue("i",_result
);
6974 #define wxImageList_AddWithColourMask(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
6975 static PyObject
*_wrap_wxImageList_AddWithColourMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6976 PyObject
* _resultobj
;
6978 wxImageList
* _arg0
;
6981 PyObject
* _argo0
= 0;
6982 PyObject
* _argo1
= 0;
6984 PyObject
* _obj2
= 0;
6985 char *_kwnames
[] = { "self","bitmap","maskColour", NULL
};
6988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxImageList_AddWithColourMask",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
6991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
6993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_AddWithColourMask. Expected _wxImageList_p.");
6998 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6999 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
7000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_AddWithColourMask. Expected _wxBitmap_p.");
7006 if (! wxColour_helper(_obj2
, &_arg2
))
7010 wxPy_BEGIN_ALLOW_THREADS
;
7011 _result
= (int )wxImageList_AddWithColourMask(_arg0
,*_arg1
,*_arg2
);
7013 wxPy_END_ALLOW_THREADS
;
7014 } _resultobj
= Py_BuildValue("i",_result
);
7018 #define wxImageList_AddIcon(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
7019 static PyObject
*_wrap_wxImageList_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7020 PyObject
* _resultobj
;
7022 wxImageList
* _arg0
;
7024 PyObject
* _argo0
= 0;
7025 PyObject
* _argo1
= 0;
7026 char *_kwnames
[] = { "self","icon", NULL
};
7029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxImageList_AddIcon",_kwnames
,&_argo0
,&_argo1
))
7032 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7033 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
7034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_AddIcon. Expected _wxImageList_p.");
7039 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7040 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
7041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_AddIcon. Expected _wxIcon_p.");
7046 wxPy_BEGIN_ALLOW_THREADS
;
7047 _result
= (int )wxImageList_AddIcon(_arg0
,*_arg1
);
7049 wxPy_END_ALLOW_THREADS
;
7050 } _resultobj
= Py_BuildValue("i",_result
);
7054 #define wxImageList_Replace(_swigobj,_swigarg0,_swigarg1) (_swigobj->Replace(_swigarg0,_swigarg1))
7055 static PyObject
*_wrap_wxImageList_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7056 PyObject
* _resultobj
;
7058 wxImageList
* _arg0
;
7061 PyObject
* _argo0
= 0;
7062 PyObject
* _argo2
= 0;
7063 char *_kwnames
[] = { "self","index","bitmap", NULL
};
7066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxImageList_Replace",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
7069 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7070 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
7071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Replace. Expected _wxImageList_p.");
7076 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7077 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
7078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Replace. Expected _wxBitmap_p.");
7083 wxPy_BEGIN_ALLOW_THREADS
;
7084 _result
= (bool )wxImageList_Replace(_arg0
,_arg1
,*_arg2
);
7086 wxPy_END_ALLOW_THREADS
;
7087 } _resultobj
= Py_BuildValue("i",_result
);
7091 #define wxImageList_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7092 static PyObject
*_wrap_wxImageList_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7093 PyObject
* _resultobj
;
7095 wxImageList
* _arg0
;
7100 int _arg5
= (int ) (wxIMAGELIST_DRAW_NORMAL
);
7101 bool _arg6
= (bool ) FALSE
;
7102 PyObject
* _argo0
= 0;
7103 PyObject
* _argo2
= 0;
7104 int tempbool6
= (int) FALSE
;
7105 char *_kwnames
[] = { "self","index","dc","x","x","flags","solidBackground", NULL
};
7108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOii|ii:wxImageList_Draw",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
7111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
7113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Draw. Expected _wxImageList_p.");
7118 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7119 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDC_p")) {
7120 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Draw. Expected _wxDC_p.");
7124 _arg6
= (bool ) tempbool6
;
7126 wxPy_BEGIN_ALLOW_THREADS
;
7127 _result
= (bool )wxImageList_Draw(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
7129 wxPy_END_ALLOW_THREADS
;
7130 } _resultobj
= Py_BuildValue("i",_result
);
7134 #define wxImageList_GetImageCount(_swigobj) (_swigobj->GetImageCount())
7135 static PyObject
*_wrap_wxImageList_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7136 PyObject
* _resultobj
;
7138 wxImageList
* _arg0
;
7139 PyObject
* _argo0
= 0;
7140 char *_kwnames
[] = { "self", NULL
};
7143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxImageList_GetImageCount",_kwnames
,&_argo0
))
7146 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7147 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
7148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_GetImageCount. Expected _wxImageList_p.");
7153 wxPy_BEGIN_ALLOW_THREADS
;
7154 _result
= (int )wxImageList_GetImageCount(_arg0
);
7156 wxPy_END_ALLOW_THREADS
;
7157 } _resultobj
= Py_BuildValue("i",_result
);
7161 #define wxImageList_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
7162 static PyObject
*_wrap_wxImageList_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7163 PyObject
* _resultobj
;
7165 wxImageList
* _arg0
;
7167 PyObject
* _argo0
= 0;
7168 char *_kwnames
[] = { "self","index", NULL
};
7171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxImageList_Remove",_kwnames
,&_argo0
,&_arg1
))
7174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
7176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Remove. Expected _wxImageList_p.");
7181 wxPy_BEGIN_ALLOW_THREADS
;
7182 _result
= (bool )wxImageList_Remove(_arg0
,_arg1
);
7184 wxPy_END_ALLOW_THREADS
;
7185 } _resultobj
= Py_BuildValue("i",_result
);
7189 #define wxImageList_RemoveAll(_swigobj) (_swigobj->RemoveAll())
7190 static PyObject
*_wrap_wxImageList_RemoveAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7191 PyObject
* _resultobj
;
7193 wxImageList
* _arg0
;
7194 PyObject
* _argo0
= 0;
7195 char *_kwnames
[] = { "self", NULL
};
7198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxImageList_RemoveAll",_kwnames
,&_argo0
))
7201 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7202 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
7203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_RemoveAll. Expected _wxImageList_p.");
7208 wxPy_BEGIN_ALLOW_THREADS
;
7209 _result
= (bool )wxImageList_RemoveAll(_arg0
);
7211 wxPy_END_ALLOW_THREADS
;
7212 } _resultobj
= Py_BuildValue("i",_result
);
7216 #define wxImageList_GetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetSize(_swigarg0,_swigarg1,_swigarg2))
7217 static PyObject
*_wrap_wxImageList_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7218 PyObject
* _resultobj
;
7219 wxImageList
* _arg0
;
7225 PyObject
* _argo0
= 0;
7226 char *_kwnames
[] = { "self","index", NULL
};
7235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxImageList_GetSize",_kwnames
,&_argo0
,&_arg1
))
7238 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7239 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
7240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_GetSize. Expected _wxImageList_p.");
7245 wxPy_BEGIN_ALLOW_THREADS
;
7246 wxImageList_GetSize(_arg0
,_arg1
,*_arg2
,*_arg3
);
7248 wxPy_END_ALLOW_THREADS
;
7249 } Py_INCREF(Py_None
);
7250 _resultobj
= Py_None
;
7253 o
= PyInt_FromLong((long) (*_arg2
));
7254 _resultobj
= t_output_helper(_resultobj
, o
);
7258 o
= PyInt_FromLong((long) (*_arg3
));
7259 _resultobj
= t_output_helper(_resultobj
, o
);
7264 static PyMethodDef gdicMethods
[] = {
7265 { "wxImageList_GetSize", (PyCFunction
) _wrap_wxImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
7266 { "wxImageList_RemoveAll", (PyCFunction
) _wrap_wxImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
},
7267 { "wxImageList_Remove", (PyCFunction
) _wrap_wxImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
},
7268 { "wxImageList_GetImageCount", (PyCFunction
) _wrap_wxImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
7269 { "wxImageList_Draw", (PyCFunction
) _wrap_wxImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
},
7270 { "wxImageList_Replace", (PyCFunction
) _wrap_wxImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
},
7271 { "wxImageList_AddIcon", (PyCFunction
) _wrap_wxImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
7272 { "wxImageList_AddWithColourMask", (PyCFunction
) _wrap_wxImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
},
7273 { "wxImageList_Add", (PyCFunction
) _wrap_wxImageList_Add
, METH_VARARGS
| METH_KEYWORDS
},
7274 { "delete_wxImageList", (PyCFunction
) _wrap_delete_wxImageList
, METH_VARARGS
| METH_KEYWORDS
},
7275 { "new_wxImageList", (PyCFunction
) _wrap_new_wxImageList
, METH_VARARGS
| METH_KEYWORDS
},
7276 { "wxPalette_Ok", (PyCFunction
) _wrap_wxPalette_Ok
, METH_VARARGS
| METH_KEYWORDS
},
7277 { "wxPalette_GetRGB", (PyCFunction
) _wrap_wxPalette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
7278 { "wxPalette_GetPixel", (PyCFunction
) _wrap_wxPalette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
7279 { "delete_wxPalette", (PyCFunction
) _wrap_delete_wxPalette
, METH_VARARGS
| METH_KEYWORDS
},
7280 { "new_wxPalette", (PyCFunction
) _wrap_new_wxPalette
, METH_VARARGS
| METH_KEYWORDS
},
7281 { "new_wxPostScriptDC", (PyCFunction
) _wrap_new_wxPostScriptDC
, METH_VARARGS
| METH_KEYWORDS
},
7282 { "new_wxWindowDC", (PyCFunction
) _wrap_new_wxWindowDC
, METH_VARARGS
| METH_KEYWORDS
},
7283 { "new_wxPaintDC", (PyCFunction
) _wrap_new_wxPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
7284 { "new_wxClientDC", (PyCFunction
) _wrap_new_wxClientDC
, METH_VARARGS
| METH_KEYWORDS
},
7285 { "wxScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_wxScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
7286 { "wxScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_wxScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
7287 { "wxScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_wxScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
},
7288 { "new_wxScreenDC", (PyCFunction
) _wrap_new_wxScreenDC
, METH_VARARGS
| METH_KEYWORDS
},
7289 { "wxMemoryDC_SelectObject", (PyCFunction
) _wrap_wxMemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
},
7290 { "new_wxMemoryDC", (PyCFunction
) _wrap_new_wxMemoryDC
, METH_VARARGS
| METH_KEYWORDS
},
7291 { "wxDC_ResetBoundingBox", (PyCFunction
) _wrap_wxDC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
7292 { "wxDC_CalcBoundingBox", (PyCFunction
) _wrap_wxDC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
7293 { "wxDC_SetAxisOrientation", (PyCFunction
) _wrap_wxDC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
},
7294 { "wxDC_GetDeviceOrigin", (PyCFunction
) _wrap_wxDC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
7295 { "wxDC_SetLogicalOrigin", (PyCFunction
) _wrap_wxDC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
7296 { "wxDC_GetLogicalOrigin", (PyCFunction
) _wrap_wxDC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
7297 { "wxDC_GetPPI", (PyCFunction
) _wrap_wxDC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
},
7298 { "wxDC_GetDepth", (PyCFunction
) _wrap_wxDC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
7299 { "wxDC_CanGetTextExtent", (PyCFunction
) _wrap_wxDC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
7300 { "wxDC_CanDrawBitmap", (PyCFunction
) _wrap_wxDC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
7301 { "wxDC_DrawBitmap", (PyCFunction
) _wrap_wxDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
7302 { "wxDC_StartPage", (PyCFunction
) _wrap_wxDC_StartPage
, METH_VARARGS
| METH_KEYWORDS
},
7303 { "wxDC_StartDoc", (PyCFunction
) _wrap_wxDC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
},
7304 { "wxDC_SetUserScale", (PyCFunction
) _wrap_wxDC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
7305 { "wxDC_SetTextForeground", (PyCFunction
) _wrap_wxDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
7306 { "wxDC_SetTextBackground", (PyCFunction
) _wrap_wxDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
7307 { "wxDC_SetPen", (PyCFunction
) _wrap_wxDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
7308 { "wxDC_SetOptimization", (PyCFunction
) _wrap_wxDC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
7309 { "wxDC_SetMapMode", (PyCFunction
) _wrap_wxDC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
7310 { "wxDC_SetLogicalScale", (PyCFunction
) _wrap_wxDC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
7311 { "wxDC_SetLogicalFunction", (PyCFunction
) _wrap_wxDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
7312 { "wxDC_SetFont", (PyCFunction
) _wrap_wxDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
7313 { "wxDC_SetBrush", (PyCFunction
) _wrap_wxDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
7314 { "wxDC_SetPalette", (PyCFunction
) _wrap_wxDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
7315 { "wxDC_SetClippingRegion", (PyCFunction
) _wrap_wxDC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
7316 { "wxDC_SetBackgroundMode", (PyCFunction
) _wrap_wxDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
7317 { "wxDC_SetBackground", (PyCFunction
) _wrap_wxDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
},
7318 { "wxDC_SetDeviceOrigin", (PyCFunction
) _wrap_wxDC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
7319 { "wxDC_Ok", (PyCFunction
) _wrap_wxDC_Ok
, METH_VARARGS
| METH_KEYWORDS
},
7320 { "wxDC_MinY", (PyCFunction
) _wrap_wxDC_MinY
, METH_VARARGS
| METH_KEYWORDS
},
7321 { "wxDC_MinX", (PyCFunction
) _wrap_wxDC_MinX
, METH_VARARGS
| METH_KEYWORDS
},
7322 { "wxDC_MaxY", (PyCFunction
) _wrap_wxDC_MaxY
, METH_VARARGS
| METH_KEYWORDS
},
7323 { "wxDC_MaxX", (PyCFunction
) _wrap_wxDC_MaxX
, METH_VARARGS
| METH_KEYWORDS
},
7324 { "wxDC_LogicalToDeviceYRel", (PyCFunction
) _wrap_wxDC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
},
7325 { "wxDC_LogicalToDeviceY", (PyCFunction
) _wrap_wxDC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
},
7326 { "wxDC_LogicalToDeviceXRel", (PyCFunction
) _wrap_wxDC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
},
7327 { "wxDC_LogicalToDeviceX", (PyCFunction
) _wrap_wxDC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
},
7328 { "wxDC_GetUserScale", (PyCFunction
) _wrap_wxDC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
7329 { "wxDC_GetTextForeground", (PyCFunction
) _wrap_wxDC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
7330 { "wxDC_GetFullTextExtent", (PyCFunction
) _wrap_wxDC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
7331 { "wxDC_GetTextExtent", (PyCFunction
) _wrap_wxDC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
7332 { "wxDC_GetTextBackground", (PyCFunction
) _wrap_wxDC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
7333 { "wxDC_GetSizeMM", (PyCFunction
) _wrap_wxDC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
7334 { "wxDC_GetSize", (PyCFunction
) _wrap_wxDC_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
7335 { "wxDC_GetSizeTuple", (PyCFunction
) _wrap_wxDC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
7336 { "wxDC_GetPixel", (PyCFunction
) _wrap_wxDC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
7337 { "wxDC_GetPen", (PyCFunction
) _wrap_wxDC_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
7338 { "wxDC_GetOptimization", (PyCFunction
) _wrap_wxDC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
7339 { "wxDC_GetMapMode", (PyCFunction
) _wrap_wxDC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
7340 { "wxDC_GetLogicalScale", (PyCFunction
) _wrap_wxDC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
7341 { "wxDC_GetLogicalFunction", (PyCFunction
) _wrap_wxDC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
7342 { "wxDC_GetFont", (PyCFunction
) _wrap_wxDC_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
7343 { "wxDC_GetClippingBox", (PyCFunction
) _wrap_wxDC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
},
7344 { "wxDC_GetCharWidth", (PyCFunction
) _wrap_wxDC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
7345 { "wxDC_GetCharHeight", (PyCFunction
) _wrap_wxDC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
7346 { "wxDC_GetBrush", (PyCFunction
) _wrap_wxDC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
7347 { "wxDC_GetBackground", (PyCFunction
) _wrap_wxDC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
},
7348 { "wxDC_FloodFill", (PyCFunction
) _wrap_wxDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
},
7349 { "wxDC_EndPage", (PyCFunction
) _wrap_wxDC_EndPage
, METH_VARARGS
| METH_KEYWORDS
},
7350 { "wxDC_EndDrawing", (PyCFunction
) _wrap_wxDC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
},
7351 { "wxDC_EndDoc", (PyCFunction
) _wrap_wxDC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
},
7352 { "wxDC_DrawText", (PyCFunction
) _wrap_wxDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
7353 { "wxDC_DrawSpline", (PyCFunction
) _wrap_wxDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
7354 { "wxDC_DrawRoundedRectangle", (PyCFunction
) _wrap_wxDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
7355 { "wxDC_DrawRotatedText", (PyCFunction
) _wrap_wxDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
},
7356 { "wxDC_DrawRectangle", (PyCFunction
) _wrap_wxDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
7357 { "wxDC_DrawPoint", (PyCFunction
) _wrap_wxDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
7358 { "wxDC_DrawPolygon", (PyCFunction
) _wrap_wxDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
7359 { "wxDC_DrawLines", (PyCFunction
) _wrap_wxDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
7360 { "wxDC_DrawLine", (PyCFunction
) _wrap_wxDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
7361 { "wxDC_DrawIcon", (PyCFunction
) _wrap_wxDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
},
7362 { "wxDC_DrawEllipticArc", (PyCFunction
) _wrap_wxDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
7363 { "wxDC_DrawEllipse", (PyCFunction
) _wrap_wxDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
7364 { "wxDC_DrawCircle", (PyCFunction
) _wrap_wxDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
},
7365 { "wxDC_DrawArc", (PyCFunction
) _wrap_wxDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
7366 { "wxDC_DeviceToLogicalYRel", (PyCFunction
) _wrap_wxDC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
},
7367 { "wxDC_DeviceToLogicalY", (PyCFunction
) _wrap_wxDC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
},
7368 { "wxDC_DeviceToLogicalXRel", (PyCFunction
) _wrap_wxDC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
},
7369 { "wxDC_DeviceToLogicalX", (PyCFunction
) _wrap_wxDC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
},
7370 { "wxDC_DestroyClippingRegion", (PyCFunction
) _wrap_wxDC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
7371 { "wxDC_CrossHair", (PyCFunction
) _wrap_wxDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
},
7372 { "wxDC_Clear", (PyCFunction
) _wrap_wxDC_Clear
, METH_VARARGS
| METH_KEYWORDS
},
7373 { "wxDC_Blit", (PyCFunction
) _wrap_wxDC_Blit
, METH_VARARGS
| METH_KEYWORDS
},
7374 { "wxDC_BeginDrawing", (PyCFunction
) _wrap_wxDC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
},
7375 { "delete_wxDC", (PyCFunction
) _wrap_delete_wxDC
, METH_VARARGS
| METH_KEYWORDS
},
7376 { "wxBrush_SetStyle", (PyCFunction
) _wrap_wxBrush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
7377 { "wxBrush_SetStipple", (PyCFunction
) _wrap_wxBrush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
7378 { "wxBrush_SetColour", (PyCFunction
) _wrap_wxBrush_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
7379 { "wxBrush_Ok", (PyCFunction
) _wrap_wxBrush_Ok
, METH_VARARGS
| METH_KEYWORDS
},
7380 { "wxBrush_GetStyle", (PyCFunction
) _wrap_wxBrush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
7381 { "wxBrush_GetStipple", (PyCFunction
) _wrap_wxBrush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
7382 { "wxBrush_GetColour", (PyCFunction
) _wrap_wxBrush_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
7383 { "new_wxBrush", (PyCFunction
) _wrap_new_wxBrush
, METH_VARARGS
| METH_KEYWORDS
},
7384 { "wxPen_SetDashes", (PyCFunction
) _wrap_wxPen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
7385 { "wxPen_GetDashes", (PyCFunction
) _wrap_wxPen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
},
7386 { "wxPen_SetWidth", (PyCFunction
) _wrap_wxPen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
7387 { "wxPen_SetStyle", (PyCFunction
) _wrap_wxPen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
7388 { "wxPen_SetJoin", (PyCFunction
) _wrap_wxPen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
},
7389 { "wxPen_SetColour", (PyCFunction
) _wrap_wxPen_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
7390 { "wxPen_SetCap", (PyCFunction
) _wrap_wxPen_SetCap
, METH_VARARGS
| METH_KEYWORDS
},
7391 { "wxPen_Ok", (PyCFunction
) _wrap_wxPen_Ok
, METH_VARARGS
| METH_KEYWORDS
},
7392 { "wxPen_GetWidth", (PyCFunction
) _wrap_wxPen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
7393 { "wxPen_GetStyle", (PyCFunction
) _wrap_wxPen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
7394 { "wxPen_GetJoin", (PyCFunction
) _wrap_wxPen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
},
7395 { "wxPen_GetColour", (PyCFunction
) _wrap_wxPen_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
7396 { "wxPen_GetCap", (PyCFunction
) _wrap_wxPen_GetCap
, METH_VARARGS
| METH_KEYWORDS
},
7397 { "new_wxPen", (PyCFunction
) _wrap_new_wxPen
, METH_VARARGS
| METH_KEYWORDS
},
7398 { "wxColour_Get", (PyCFunction
) _wrap_wxColour_Get
, METH_VARARGS
| METH_KEYWORDS
},
7399 { "wxColour_Set", (PyCFunction
) _wrap_wxColour_Set
, METH_VARARGS
| METH_KEYWORDS
},
7400 { "wxColour_Ok", (PyCFunction
) _wrap_wxColour_Ok
, METH_VARARGS
| METH_KEYWORDS
},
7401 { "wxColour_Blue", (PyCFunction
) _wrap_wxColour_Blue
, METH_VARARGS
| METH_KEYWORDS
},
7402 { "wxColour_Green", (PyCFunction
) _wrap_wxColour_Green
, METH_VARARGS
| METH_KEYWORDS
},
7403 { "wxColour_Red", (PyCFunction
) _wrap_wxColour_Red
, METH_VARARGS
| METH_KEYWORDS
},
7404 { "delete_wxColour", (PyCFunction
) _wrap_delete_wxColour
, METH_VARARGS
| METH_KEYWORDS
},
7405 { "new_wxColour", (PyCFunction
) _wrap_new_wxColour
, METH_VARARGS
| METH_KEYWORDS
},
7406 { "wxFont_GetWeightString", (PyCFunction
) _wrap_wxFont_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
},
7407 { "wxFont_GetStyleString", (PyCFunction
) _wrap_wxFont_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
},
7408 { "wxFont_GetFamilyString", (PyCFunction
) _wrap_wxFont_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
},
7409 { "wxFont_SetEncoding", (PyCFunction
) _wrap_wxFont_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
7410 { "wxFont_SetWeight", (PyCFunction
) _wrap_wxFont_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
7411 { "wxFont_SetUnderlined", (PyCFunction
) _wrap_wxFont_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
7412 { "wxFont_SetStyle", (PyCFunction
) _wrap_wxFont_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
7413 { "wxFont_SetPointSize", (PyCFunction
) _wrap_wxFont_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
7414 { "wxFont_SetFamily", (PyCFunction
) _wrap_wxFont_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
7415 { "wxFont_SetFaceName", (PyCFunction
) _wrap_wxFont_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
7416 { "wxFont_GetEncoding", (PyCFunction
) _wrap_wxFont_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
7417 { "wxFont_GetWeight", (PyCFunction
) _wrap_wxFont_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
7418 { "wxFont_GetUnderlined", (PyCFunction
) _wrap_wxFont_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
7419 { "wxFont_GetStyle", (PyCFunction
) _wrap_wxFont_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
7420 { "wxFont_GetPointSize", (PyCFunction
) _wrap_wxFont_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
7421 { "wxFont_GetFamily", (PyCFunction
) _wrap_wxFont_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
7422 { "wxFont_GetFaceName", (PyCFunction
) _wrap_wxFont_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
7423 { "wxFont_Ok", (PyCFunction
) _wrap_wxFont_Ok
, METH_VARARGS
| METH_KEYWORDS
},
7424 { "new_wxFont", (PyCFunction
) _wrap_new_wxFont
, METH_VARARGS
| METH_KEYWORDS
},
7425 { "wxCursor_Ok", (PyCFunction
) _wrap_wxCursor_Ok
, METH_VARARGS
| METH_KEYWORDS
},
7426 { "delete_wxCursor", (PyCFunction
) _wrap_delete_wxCursor
, METH_VARARGS
| METH_KEYWORDS
},
7427 { "wxIcon_SetDepth", (PyCFunction
) _wrap_wxIcon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
7428 { "wxIcon_SetHeight", (PyCFunction
) _wrap_wxIcon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
7429 { "wxIcon_SetWidth", (PyCFunction
) _wrap_wxIcon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
7430 { "wxIcon_GetDepth", (PyCFunction
) _wrap_wxIcon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
7431 { "wxIcon_GetHeight", (PyCFunction
) _wrap_wxIcon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
7432 { "wxIcon_GetWidth", (PyCFunction
) _wrap_wxIcon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
7433 { "wxIcon_Ok", (PyCFunction
) _wrap_wxIcon_Ok
, METH_VARARGS
| METH_KEYWORDS
},
7434 { "wxIcon_LoadFile", (PyCFunction
) _wrap_wxIcon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
7435 { "delete_wxIcon", (PyCFunction
) _wrap_delete_wxIcon
, METH_VARARGS
| METH_KEYWORDS
},
7436 { "new_wxIcon", (PyCFunction
) _wrap_new_wxIcon
, METH_VARARGS
| METH_KEYWORDS
},
7437 { "new_wxMask", (PyCFunction
) _wrap_new_wxMask
, METH_VARARGS
| METH_KEYWORDS
},
7438 { "wxBitmap_GetSubBitmap", (PyCFunction
) _wrap_wxBitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
},
7439 { "wxBitmap_SetDepth", (PyCFunction
) _wrap_wxBitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
7440 { "wxBitmap_SetHeight", (PyCFunction
) _wrap_wxBitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
7441 { "wxBitmap_SetWidth", (PyCFunction
) _wrap_wxBitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
7442 { "wxBitmap_GetDepth", (PyCFunction
) _wrap_wxBitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
7443 { "wxBitmap_GetHeight", (PyCFunction
) _wrap_wxBitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
7444 { "wxBitmap_GetWidth", (PyCFunction
) _wrap_wxBitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
7445 { "wxBitmap_Ok", (PyCFunction
) _wrap_wxBitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
},
7446 { "wxBitmap_SetMask", (PyCFunction
) _wrap_wxBitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
7447 { "wxBitmap_SaveFile", (PyCFunction
) _wrap_wxBitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
7448 { "wxBitmap_LoadFile", (PyCFunction
) _wrap_wxBitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
7449 { "wxBitmap_GetMask", (PyCFunction
) _wrap_wxBitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
7450 { "wxBitmap_GetPalette", (PyCFunction
) _wrap_wxBitmap_GetPalette
, METH_VARARGS
| METH_KEYWORDS
},
7451 { "delete_wxBitmap", (PyCFunction
) _wrap_delete_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
7452 { "new_wxBitmap", (PyCFunction
) _wrap_new_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
7453 { "wxMemoryDCFromDC", (PyCFunction
) _wrap_wxMemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
},
7454 { "wxNamedColour", (PyCFunction
) _wrap_wxNamedColour
, METH_VARARGS
| METH_KEYWORDS
},
7455 { "wxFont_SetDefaultEncoding", (PyCFunction
) _wrap_wxFont_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
7456 { "wxFont_GetDefaultEncoding", (PyCFunction
) _wrap_wxFont_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
7457 { "wxStockCursor", (PyCFunction
) _wrap_wxStockCursor
, METH_VARARGS
| METH_KEYWORDS
},
7458 { "wxMaskColour", (PyCFunction
) _wrap_wxMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
7459 { "wxEmptyBitmap", (PyCFunction
) _wrap_wxEmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
},
7466 * This table is used by the pointer type-checker
7468 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
7469 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
7470 { "_signed_long","_long",0},
7471 { "_wxPrintQuality","_wxCoord",0},
7472 { "_wxPrintQuality","_int",0},
7473 { "_wxPrintQuality","_signed_int",0},
7474 { "_wxPrintQuality","_unsigned_int",0},
7475 { "_wxPrintQuality","_wxWindowID",0},
7476 { "_wxPrintQuality","_uint",0},
7477 { "_wxPrintQuality","_EBool",0},
7478 { "_wxPrintQuality","_size_t",0},
7479 { "_class_wxRegionIterator","_wxRegionIterator",0},
7480 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
7481 { "_wxCursor","_class_wxCursor",0},
7482 { "_wxMask","_class_wxMask",0},
7483 { "_wxPen","_class_wxPen",0},
7484 { "_byte","_unsigned_char",0},
7485 { "_long","_unsigned_long",0},
7486 { "_long","_signed_long",0},
7487 { "_wxImageList","_class_wxImageList",0},
7488 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
7489 { "_wxDC","_class_wxPostScriptDC",SwigwxPostScriptDCTowxDC
},
7490 { "_wxDC","_wxPostScriptDC",SwigwxPostScriptDCTowxDC
},
7491 { "_wxDC","_class_wxWindowDC",SwigwxWindowDCTowxDC
},
7492 { "_wxDC","_wxWindowDC",SwigwxWindowDCTowxDC
},
7493 { "_wxDC","_class_wxPaintDC",SwigwxPaintDCTowxDC
},
7494 { "_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC
},
7495 { "_wxDC","_class_wxClientDC",SwigwxClientDCTowxDC
},
7496 { "_wxDC","_wxClientDC",SwigwxClientDCTowxDC
},
7497 { "_wxDC","_class_wxScreenDC",SwigwxScreenDCTowxDC
},
7498 { "_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC
},
7499 { "_wxDC","_class_wxMemoryDC",SwigwxMemoryDCTowxDC
},
7500 { "_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC
},
7501 { "_wxDC","_class_wxDC",0},
7502 { "_size_t","_wxCoord",0},
7503 { "_size_t","_wxPrintQuality",0},
7504 { "_size_t","_unsigned_int",0},
7505 { "_size_t","_int",0},
7506 { "_size_t","_wxWindowID",0},
7507 { "_size_t","_uint",0},
7508 { "_class_wxRealPoint","_wxRealPoint",0},
7509 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
7510 { "_class_wxMask","_wxMask",0},
7511 { "_wxColour","_class_wxColour",0},
7512 { "_wxBrush","_class_wxBrush",0},
7513 { "_uint","_wxCoord",0},
7514 { "_uint","_wxPrintQuality",0},
7515 { "_uint","_size_t",0},
7516 { "_uint","_unsigned_int",0},
7517 { "_uint","_int",0},
7518 { "_uint","_wxWindowID",0},
7519 { "_wxChar","_char",0},
7520 { "_wxRect","_class_wxRect",0},
7521 { "_wxPoint","_class_wxPoint",0},
7522 { "_char","_wxChar",0},
7523 { "_wxBitmap","_class_wxBitmap",0},
7524 { "_wxWindowDC","_class_wxWindowDC",0},
7525 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
7526 { "_EBool","_wxCoord",0},
7527 { "_EBool","_wxPrintQuality",0},
7528 { "_EBool","_signed_int",0},
7529 { "_EBool","_int",0},
7530 { "_EBool","_wxWindowID",0},
7531 { "_class_wxRegion","_wxRegion",0},
7532 { "_wxFont","_class_wxFont",0},
7533 { "_unsigned_long","_long",0},
7534 { "_class_wxRect","_wxRect",0},
7535 { "_class_wxDC","_class_wxPostScriptDC",SwigwxPostScriptDCTowxDC
},
7536 { "_class_wxDC","_wxPostScriptDC",SwigwxPostScriptDCTowxDC
},
7537 { "_class_wxDC","_class_wxWindowDC",SwigwxWindowDCTowxDC
},
7538 { "_class_wxDC","_wxWindowDC",SwigwxWindowDCTowxDC
},
7539 { "_class_wxDC","_class_wxPaintDC",SwigwxPaintDCTowxDC
},
7540 { "_class_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC
},
7541 { "_class_wxDC","_class_wxClientDC",SwigwxClientDCTowxDC
},
7542 { "_class_wxDC","_wxClientDC",SwigwxClientDCTowxDC
},
7543 { "_class_wxDC","_class_wxScreenDC",SwigwxScreenDCTowxDC
},
7544 { "_class_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC
},
7545 { "_class_wxDC","_class_wxMemoryDC",SwigwxMemoryDCTowxDC
},
7546 { "_class_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC
},
7547 { "_class_wxDC","_wxDC",0},
7548 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
7549 { "_signed_int","_wxCoord",0},
7550 { "_signed_int","_wxPrintQuality",0},
7551 { "_signed_int","_EBool",0},
7552 { "_signed_int","_wxWindowID",0},
7553 { "_signed_int","_int",0},
7554 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
7555 { "_wxScreenDC","_class_wxScreenDC",0},
7556 { "_WXTYPE","_short",0},
7557 { "_WXTYPE","_signed_short",0},
7558 { "_WXTYPE","_unsigned_short",0},
7559 { "_class_wxBrush","_wxBrush",0},
7560 { "_unsigned_short","_WXTYPE",0},
7561 { "_unsigned_short","_short",0},
7562 { "_class_wxFont","_wxFont",0},
7563 { "_wxBusyInfo","_class_wxBusyInfo",0},
7564 { "_wxClientDC","_class_wxClientDC",0},
7565 { "_class_wxPoint","_wxPoint",0},
7566 { "_wxRealPoint","_class_wxRealPoint",0},
7567 { "_signed_short","_WXTYPE",0},
7568 { "_signed_short","_short",0},
7569 { "_wxMemoryDC","_class_wxMemoryDC",0},
7570 { "_wxPaintDC","_class_wxPaintDC",0},
7571 { "_class_wxWindowDC","_wxWindowDC",0},
7572 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
7573 { "_class_wxCursor","_wxCursor",0},
7574 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
7575 { "_unsigned_char","_byte",0},
7576 { "_unsigned_int","_wxCoord",0},
7577 { "_unsigned_int","_wxPrintQuality",0},
7578 { "_unsigned_int","_size_t",0},
7579 { "_unsigned_int","_uint",0},
7580 { "_unsigned_int","_wxWindowID",0},
7581 { "_unsigned_int","_int",0},
7582 { "_wxIcon","_class_wxIcon",0},
7583 { "_class_wxPen","_wxPen",0},
7584 { "_short","_WXTYPE",0},
7585 { "_short","_unsigned_short",0},
7586 { "_short","_signed_short",0},
7587 { "_class_wxImageList","_wxImageList",0},
7588 { "_wxWindowID","_wxCoord",0},
7589 { "_wxWindowID","_wxPrintQuality",0},
7590 { "_wxWindowID","_size_t",0},
7591 { "_wxWindowID","_EBool",0},
7592 { "_wxWindowID","_uint",0},
7593 { "_wxWindowID","_int",0},
7594 { "_wxWindowID","_signed_int",0},
7595 { "_wxWindowID","_unsigned_int",0},
7596 { "_int","_wxCoord",0},
7597 { "_int","_wxPrintQuality",0},
7598 { "_int","_size_t",0},
7599 { "_int","_EBool",0},
7600 { "_int","_uint",0},
7601 { "_int","_wxWindowID",0},
7602 { "_int","_unsigned_int",0},
7603 { "_int","_signed_int",0},
7604 { "_wxSize","_class_wxSize",0},
7605 { "_wxRegionIterator","_class_wxRegionIterator",0},
7606 { "_class_wxPaintDC","_wxPaintDC",0},
7607 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
7608 { "_class_wxIcon","_wxIcon",0},
7609 { "_class_wxColour","_wxColour",0},
7610 { "_class_wxScreenDC","_wxScreenDC",0},
7611 { "_wxPalette","_class_wxPalette",0},
7612 { "_wxCoord","_int",0},
7613 { "_wxCoord","_signed_int",0},
7614 { "_wxCoord","_unsigned_int",0},
7615 { "_wxCoord","_wxWindowID",0},
7616 { "_wxCoord","_uint",0},
7617 { "_wxCoord","_EBool",0},
7618 { "_wxCoord","_size_t",0},
7619 { "_wxCoord","_wxPrintQuality",0},
7620 { "_wxRegion","_class_wxRegion",0},
7621 { "_class_wxBusyInfo","_wxBusyInfo",0},
7622 { "_class_wxClientDC","_wxClientDC",0},
7623 { "_class_wxSize","_wxSize",0},
7624 { "_class_wxBitmap","_wxBitmap",0},
7625 { "_class_wxMemoryDC","_wxMemoryDC",0},
7626 { "_class_wxPalette","_wxPalette",0},
7629 static PyObject
*SWIG_globals
;
7633 SWIGEXPORT(void) initgdic() {
7635 SWIG_globals
= SWIG_newvarlink();
7636 m
= Py_InitModule("gdic", gdicMethods
);
7637 d
= PyModule_GetDict(m
);
7638 PyDict_SetItemString(d
,"wxFONTENCODING_SYSTEM", PyInt_FromLong((long) wxFONTENCODING_SYSTEM
));
7639 PyDict_SetItemString(d
,"wxFONTENCODING_DEFAULT", PyInt_FromLong((long) wxFONTENCODING_DEFAULT
));
7640 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_1", PyInt_FromLong((long) wxFONTENCODING_ISO8859_1
));
7641 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_2", PyInt_FromLong((long) wxFONTENCODING_ISO8859_2
));
7642 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_3", PyInt_FromLong((long) wxFONTENCODING_ISO8859_3
));
7643 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_4", PyInt_FromLong((long) wxFONTENCODING_ISO8859_4
));
7644 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_5", PyInt_FromLong((long) wxFONTENCODING_ISO8859_5
));
7645 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_6", PyInt_FromLong((long) wxFONTENCODING_ISO8859_6
));
7646 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_7", PyInt_FromLong((long) wxFONTENCODING_ISO8859_7
));
7647 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_8", PyInt_FromLong((long) wxFONTENCODING_ISO8859_8
));
7648 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_9", PyInt_FromLong((long) wxFONTENCODING_ISO8859_9
));
7649 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_10", PyInt_FromLong((long) wxFONTENCODING_ISO8859_10
));
7650 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_11", PyInt_FromLong((long) wxFONTENCODING_ISO8859_11
));
7651 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_12", PyInt_FromLong((long) wxFONTENCODING_ISO8859_12
));
7652 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_13", PyInt_FromLong((long) wxFONTENCODING_ISO8859_13
));
7653 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_14", PyInt_FromLong((long) wxFONTENCODING_ISO8859_14
));
7654 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_15", PyInt_FromLong((long) wxFONTENCODING_ISO8859_15
));
7655 PyDict_SetItemString(d
,"wxFONTENCODING_KOI8", PyInt_FromLong((long) wxFONTENCODING_KOI8
));
7656 PyDict_SetItemString(d
,"wxFONTENCODING_ALTERNATIVE", PyInt_FromLong((long) wxFONTENCODING_ALTERNATIVE
));
7657 PyDict_SetItemString(d
,"wxFONTENCODING_BULGARIAN", PyInt_FromLong((long) wxFONTENCODING_BULGARIAN
));
7658 PyDict_SetItemString(d
,"wxFONTENCODING_CP437", PyInt_FromLong((long) wxFONTENCODING_CP437
));
7659 PyDict_SetItemString(d
,"wxFONTENCODING_CP850", PyInt_FromLong((long) wxFONTENCODING_CP850
));
7660 PyDict_SetItemString(d
,"wxFONTENCODING_CP852", PyInt_FromLong((long) wxFONTENCODING_CP852
));
7661 PyDict_SetItemString(d
,"wxFONTENCODING_CP855", PyInt_FromLong((long) wxFONTENCODING_CP855
));
7662 PyDict_SetItemString(d
,"wxFONTENCODING_CP866", PyInt_FromLong((long) wxFONTENCODING_CP866
));
7663 PyDict_SetItemString(d
,"wxFONTENCODING_CP1250", PyInt_FromLong((long) wxFONTENCODING_CP1250
));
7664 PyDict_SetItemString(d
,"wxFONTENCODING_CP1251", PyInt_FromLong((long) wxFONTENCODING_CP1251
));
7665 PyDict_SetItemString(d
,"wxFONTENCODING_CP1252", PyInt_FromLong((long) wxFONTENCODING_CP1252
));
7666 PyDict_SetItemString(d
,"wxFONTENCODING_MAX", PyInt_FromLong((long) wxFONTENCODING_MAX
));
7667 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
7668 SWIG_addvarlink(SWIG_globals
,"wxNORMAL_FONT",_wrap_wxNORMAL_FONT_get
, _wrap_wxNORMAL_FONT_set
);
7669 SWIG_addvarlink(SWIG_globals
,"wxSMALL_FONT",_wrap_wxSMALL_FONT_get
, _wrap_wxSMALL_FONT_set
);
7670 SWIG_addvarlink(SWIG_globals
,"wxITALIC_FONT",_wrap_wxITALIC_FONT_get
, _wrap_wxITALIC_FONT_set
);
7671 SWIG_addvarlink(SWIG_globals
,"wxSWISS_FONT",_wrap_wxSWISS_FONT_get
, _wrap_wxSWISS_FONT_set
);
7672 SWIG_addvarlink(SWIG_globals
,"wxRED_PEN",_wrap_wxRED_PEN_get
, _wrap_wxRED_PEN_set
);
7673 SWIG_addvarlink(SWIG_globals
,"wxCYAN_PEN",_wrap_wxCYAN_PEN_get
, _wrap_wxCYAN_PEN_set
);
7674 SWIG_addvarlink(SWIG_globals
,"wxGREEN_PEN",_wrap_wxGREEN_PEN_get
, _wrap_wxGREEN_PEN_set
);
7675 SWIG_addvarlink(SWIG_globals
,"wxBLACK_PEN",_wrap_wxBLACK_PEN_get
, _wrap_wxBLACK_PEN_set
);
7676 SWIG_addvarlink(SWIG_globals
,"wxWHITE_PEN",_wrap_wxWHITE_PEN_get
, _wrap_wxWHITE_PEN_set
);
7677 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_PEN",_wrap_wxTRANSPARENT_PEN_get
, _wrap_wxTRANSPARENT_PEN_set
);
7678 SWIG_addvarlink(SWIG_globals
,"wxBLACK_DASHED_PEN",_wrap_wxBLACK_DASHED_PEN_get
, _wrap_wxBLACK_DASHED_PEN_set
);
7679 SWIG_addvarlink(SWIG_globals
,"wxGREY_PEN",_wrap_wxGREY_PEN_get
, _wrap_wxGREY_PEN_set
);
7680 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_PEN",_wrap_wxMEDIUM_GREY_PEN_get
, _wrap_wxMEDIUM_GREY_PEN_set
);
7681 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_PEN",_wrap_wxLIGHT_GREY_PEN_get
, _wrap_wxLIGHT_GREY_PEN_set
);
7682 SWIG_addvarlink(SWIG_globals
,"wxBLUE_BRUSH",_wrap_wxBLUE_BRUSH_get
, _wrap_wxBLUE_BRUSH_set
);
7683 SWIG_addvarlink(SWIG_globals
,"wxGREEN_BRUSH",_wrap_wxGREEN_BRUSH_get
, _wrap_wxGREEN_BRUSH_set
);
7684 SWIG_addvarlink(SWIG_globals
,"wxWHITE_BRUSH",_wrap_wxWHITE_BRUSH_get
, _wrap_wxWHITE_BRUSH_set
);
7685 SWIG_addvarlink(SWIG_globals
,"wxBLACK_BRUSH",_wrap_wxBLACK_BRUSH_get
, _wrap_wxBLACK_BRUSH_set
);
7686 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_BRUSH",_wrap_wxTRANSPARENT_BRUSH_get
, _wrap_wxTRANSPARENT_BRUSH_set
);
7687 SWIG_addvarlink(SWIG_globals
,"wxCYAN_BRUSH",_wrap_wxCYAN_BRUSH_get
, _wrap_wxCYAN_BRUSH_set
);
7688 SWIG_addvarlink(SWIG_globals
,"wxRED_BRUSH",_wrap_wxRED_BRUSH_get
, _wrap_wxRED_BRUSH_set
);
7689 SWIG_addvarlink(SWIG_globals
,"wxGREY_BRUSH",_wrap_wxGREY_BRUSH_get
, _wrap_wxGREY_BRUSH_set
);
7690 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_BRUSH",_wrap_wxMEDIUM_GREY_BRUSH_get
, _wrap_wxMEDIUM_GREY_BRUSH_set
);
7691 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_BRUSH",_wrap_wxLIGHT_GREY_BRUSH_get
, _wrap_wxLIGHT_GREY_BRUSH_set
);
7692 SWIG_addvarlink(SWIG_globals
,"wxBLACK",_wrap_wxBLACK_get
, _wrap_wxBLACK_set
);
7693 SWIG_addvarlink(SWIG_globals
,"wxWHITE",_wrap_wxWHITE_get
, _wrap_wxWHITE_set
);
7694 SWIG_addvarlink(SWIG_globals
,"wxRED",_wrap_wxRED_get
, _wrap_wxRED_set
);
7695 SWIG_addvarlink(SWIG_globals
,"wxBLUE",_wrap_wxBLUE_get
, _wrap_wxBLUE_set
);
7696 SWIG_addvarlink(SWIG_globals
,"wxGREEN",_wrap_wxGREEN_get
, _wrap_wxGREEN_set
);
7697 SWIG_addvarlink(SWIG_globals
,"wxCYAN",_wrap_wxCYAN_get
, _wrap_wxCYAN_set
);
7698 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY",_wrap_wxLIGHT_GREY_get
, _wrap_wxLIGHT_GREY_set
);
7699 SWIG_addvarlink(SWIG_globals
,"wxSTANDARD_CURSOR",_wrap_wxSTANDARD_CURSOR_get
, _wrap_wxSTANDARD_CURSOR_set
);
7700 SWIG_addvarlink(SWIG_globals
,"wxHOURGLASS_CURSOR",_wrap_wxHOURGLASS_CURSOR_get
, _wrap_wxHOURGLASS_CURSOR_set
);
7701 SWIG_addvarlink(SWIG_globals
,"wxCROSS_CURSOR",_wrap_wxCROSS_CURSOR_get
, _wrap_wxCROSS_CURSOR_set
);
7702 SWIG_addvarlink(SWIG_globals
,"wxNullBitmap",_wrap_wxNullBitmap_get
, _wrap_wxNullBitmap_set
);
7703 SWIG_addvarlink(SWIG_globals
,"wxNullIcon",_wrap_wxNullIcon_get
, _wrap_wxNullIcon_set
);
7704 SWIG_addvarlink(SWIG_globals
,"wxNullCursor",_wrap_wxNullCursor_get
, _wrap_wxNullCursor_set
);
7705 SWIG_addvarlink(SWIG_globals
,"wxNullPen",_wrap_wxNullPen_get
, _wrap_wxNullPen_set
);
7706 SWIG_addvarlink(SWIG_globals
,"wxNullBrush",_wrap_wxNullBrush_get
, _wrap_wxNullBrush_set
);
7707 SWIG_addvarlink(SWIG_globals
,"wxNullPalette",_wrap_wxNullPalette_get
, _wrap_wxNullPalette_set
);
7708 SWIG_addvarlink(SWIG_globals
,"wxNullFont",_wrap_wxNullFont_get
, _wrap_wxNullFont_set
);
7709 SWIG_addvarlink(SWIG_globals
,"wxNullColour",_wrap_wxNullColour_get
, _wrap_wxNullColour_set
);
7710 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_NORMAL", PyInt_FromLong((long) wxIMAGELIST_DRAW_NORMAL
));
7711 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_TRANSPARENT", PyInt_FromLong((long) wxIMAGELIST_DRAW_TRANSPARENT
));
7712 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_SELECTED", PyInt_FromLong((long) wxIMAGELIST_DRAW_SELECTED
));
7713 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_FOCUSED", PyInt_FromLong((long) wxIMAGELIST_DRAW_FOCUSED
));
7714 PyDict_SetItemString(d
,"wxIMAGE_LIST_NORMAL", PyInt_FromLong((long) wxIMAGE_LIST_NORMAL
));
7715 PyDict_SetItemString(d
,"wxIMAGE_LIST_SMALL", PyInt_FromLong((long) wxIMAGE_LIST_SMALL
));
7716 PyDict_SetItemString(d
,"wxIMAGE_LIST_STATE", PyInt_FromLong((long) wxIMAGE_LIST_STATE
));
7719 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
7720 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);