2 * FILE : src/gtk/gdi.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
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
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initgdic
56 #define SWIG_name "gdic"
59 #include <wx/metafile.h>
60 #include <wx/imaglist.h>
65 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
69 } else if (target
== Py_None
) {
73 if (!PyList_Check(target
)) {
75 target
= PyList_New(0);
76 PyList_Append(target
, o2
);
79 PyList_Append(target
,o
);
85 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
91 } else if (target
== Py_None
) {
95 if (!PyTuple_Check(target
)) {
97 target
= PyTuple_New(1);
98 PyTuple_SetItem(target
, 0, o2
);
101 PyTuple_SetItem(o3
, 0, o
);
104 target
= PySequence_Concat(o2
, o3
);
111 #if PYTHON_API_VERSION >= 1009
112 static char* wxStringErrorMsg
= "String or Unicode type required";
114 static char* wxStringErrorMsg
= "string type is required for parameter";
117 static wxString
wxPyEmptyStr("");
118 // Implementations of some alternate "constructors"
120 wxBitmap
* wxEmptyBitmap(int width
, int height
, int depth
=-1) {
121 return new wxBitmap(width
, height
, depth
);
124 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
125 char** cArray
= NULL
;
128 if (!PyList_Check(listOfStrings
)) {
129 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
132 count
= PyList_Size(listOfStrings
);
133 cArray
= new char*[count
];
135 for(int x
=0; x
<count
; x
++) {
136 // TODO: Need some validation and error checking here
137 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
142 wxBitmap
* wxBitmapFromXPMData(PyObject
* listOfStrings
) {
143 char** cArray
= NULL
;
146 cArray
= ConvertListOfStrings(listOfStrings
);
149 bmp
= new wxBitmap(cArray
);
155 wxBitmap
* wxBitmapFromIcon(const wxIcon
& icon
) {
156 return new wxBitmap(icon
);
162 wxBitmap
* wxBitmapFromData(PyObject
* data
, long type
,
163 int width
, int height
, int depth
= 1) {
164 if (! PyString_Check(data
)) {
165 PyErr_SetString(PyExc_TypeError
, "Expected string object");
169 return new wxBitmap((void*)PyString_AsString(data
), type
, width
, height
, depth
);
173 wxMask
* wxMaskColour(const wxBitmap
& bitmap
, const wxColour
& colour
) {
174 return new wxMask(bitmap
, colour
);
176 // Implementations of some alternate "constructors"
177 wxIcon
* wxEmptyIcon() {
181 wxIcon
* wxIconFromXPMData(PyObject
* listOfStrings
) {
182 char** cArray
= NULL
;
185 cArray
= ConvertListOfStrings(listOfStrings
);
188 icon
= new wxIcon(cArray
);
192 // Alternate 'constructor'
193 wxCursor
* wxPyStockCursor(int id
) {
194 return new wxCursor(id
);
197 wxFontEncoding
wxFont_GetDefaultEncoding() {
198 return wxFont::GetDefaultEncoding();
201 void wxFont_SetDefaultEncoding(wxFontEncoding encoding
) {
202 wxFont::SetDefaultEncoding(encoding
);
204 // Alternate 'constructor'
205 wxColour
* wxNamedColour(const wxString
& colorName
) {
206 return new wxColour(colorName
);
208 // Alternate 'constructor'
209 wxMemoryDC
* wxMemoryDCFromDC(wxDC
* oldDC
) {
210 return new wxMemoryDC(oldDC
);
214 extern wxFont
* wxNORMAL_FONT
;
215 extern wxFont
* wxSMALL_FONT
;
216 extern wxFont
* wxITALIC_FONT
;
217 extern wxFont
* wxSWISS_FONT
;
218 extern wxPen
* wxRED_PEN
;
219 extern wxPen
* wxCYAN_PEN
;
220 extern wxPen
* wxGREEN_PEN
;
221 extern wxPen
* wxBLACK_PEN
;
222 extern wxPen
* wxWHITE_PEN
;
223 extern wxPen
* wxTRANSPARENT_PEN
;
224 extern wxPen
* wxBLACK_DASHED_PEN
;
225 extern wxPen
* wxGREY_PEN
;
226 extern wxPen
* wxMEDIUM_GREY_PEN
;
227 extern wxPen
* wxLIGHT_GREY_PEN
;
228 extern wxBrush
* wxBLUE_BRUSH
;
229 extern wxBrush
* wxGREEN_BRUSH
;
230 extern wxBrush
* wxWHITE_BRUSH
;
231 extern wxBrush
* wxBLACK_BRUSH
;
232 extern wxBrush
* wxTRANSPARENT_BRUSH
;
233 extern wxBrush
* wxCYAN_BRUSH
;
234 extern wxBrush
* wxRED_BRUSH
;
235 extern wxBrush
* wxGREY_BRUSH
;
236 extern wxBrush
* wxMEDIUM_GREY_BRUSH
;
237 extern wxBrush
* wxLIGHT_GREY_BRUSH
;
238 extern wxColour
* wxBLACK
;
239 extern wxColour
* wxWHITE
;
240 extern wxColour
* wxRED
;
241 extern wxColour
* wxBLUE
;
242 extern wxColour
* wxGREEN
;
243 extern wxColour
* wxCYAN
;
244 extern wxColour
* wxLIGHT_GREY
;
245 extern wxCursor
* wxSTANDARD_CURSOR
;
246 extern wxCursor
* wxHOURGLASS_CURSOR
;
247 extern wxCursor
* wxCROSS_CURSOR
;
248 extern wxBitmap wxNullBitmap
;
249 extern wxIcon wxNullIcon
;
250 extern wxCursor wxNullCursor
;
251 extern wxPen wxNullPen
;
252 extern wxBrush wxNullBrush
;
253 extern wxPalette wxNullPalette
;
254 extern wxFont wxNullFont
;
255 extern wxColour wxNullColour
;
256 extern wxFontList
* wxTheFontList
;
257 extern wxPenList
* wxThePenList
;
258 extern wxBrushlist
* wxTheBrushList
;
259 extern wxColourDatabase
* wxTheColourDatabase
;
265 static PyObject
*_wrap_wxEmptyBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
266 PyObject
* _resultobj
;
270 int _arg2
= (int ) -1;
271 char *_kwnames
[] = { "width","height","depth", NULL
};
275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ii|i:wxEmptyBitmap",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
278 wxPy_BEGIN_ALLOW_THREADS
;
279 _result
= (wxBitmap
*)wxEmptyBitmap(_arg0
,_arg1
,_arg2
);
281 wxPy_END_ALLOW_THREADS
;
283 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
284 _resultobj
= Py_BuildValue("s",_ptemp
);
287 _resultobj
= Py_None
;
292 static PyObject
*_wrap_wxBitmapFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
293 PyObject
* _resultobj
;
296 PyObject
* _obj0
= 0;
297 char *_kwnames
[] = { "listOfStrings", NULL
};
301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapFromXPMData",_kwnames
,&_obj0
))
307 wxPy_BEGIN_ALLOW_THREADS
;
308 _result
= (wxBitmap
*)wxBitmapFromXPMData(_arg0
);
310 wxPy_END_ALLOW_THREADS
;
312 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
313 _resultobj
= Py_BuildValue("s",_ptemp
);
316 _resultobj
= Py_None
;
321 static PyObject
*_wrap_wxBitmapFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
322 PyObject
* _resultobj
;
325 PyObject
* _argo0
= 0;
326 char *_kwnames
[] = { "icon", NULL
};
330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapFromIcon",_kwnames
,&_argo0
))
333 if (_argo0
== Py_None
) { _arg0
= NULL
; }
334 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapFromIcon. Expected _wxIcon_p.");
340 wxPy_BEGIN_ALLOW_THREADS
;
341 _result
= (wxBitmap
*)wxBitmapFromIcon(*_arg0
);
343 wxPy_END_ALLOW_THREADS
;
345 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
346 _resultobj
= Py_BuildValue("s",_ptemp
);
349 _resultobj
= Py_None
;
354 static PyObject
*_wrap_wxMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
355 PyObject
* _resultobj
;
359 PyObject
* _argo0
= 0;
361 PyObject
* _obj1
= 0;
362 char *_kwnames
[] = { "bitmap","colour", NULL
};
366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMaskColour",_kwnames
,&_argo0
,&_obj1
))
369 if (_argo0
== Py_None
) { _arg0
= NULL
; }
370 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMaskColour. Expected _wxBitmap_p.");
377 if (! wxColour_helper(_obj1
, &_arg1
))
381 wxPy_BEGIN_ALLOW_THREADS
;
382 _result
= (wxMask
*)wxMaskColour(*_arg0
,*_arg1
);
384 wxPy_END_ALLOW_THREADS
;
386 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
387 _resultobj
= Py_BuildValue("s",_ptemp
);
390 _resultobj
= Py_None
;
395 static PyObject
*_wrap_wxEmptyIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
396 PyObject
* _resultobj
;
398 char *_kwnames
[] = { NULL
};
402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxEmptyIcon",_kwnames
))
405 wxPy_BEGIN_ALLOW_THREADS
;
406 _result
= (wxIcon
*)wxEmptyIcon();
408 wxPy_END_ALLOW_THREADS
;
410 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
411 _resultobj
= Py_BuildValue("s",_ptemp
);
414 _resultobj
= Py_None
;
419 static PyObject
*_wrap_wxIconFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
420 PyObject
* _resultobj
;
423 PyObject
* _obj0
= 0;
424 char *_kwnames
[] = { "listOfStrings", NULL
};
428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIconFromXPMData",_kwnames
,&_obj0
))
434 wxPy_BEGIN_ALLOW_THREADS
;
435 _result
= (wxIcon
*)wxIconFromXPMData(_arg0
);
437 wxPy_END_ALLOW_THREADS
;
439 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
440 _resultobj
= Py_BuildValue("s",_ptemp
);
443 _resultobj
= Py_None
;
448 static PyObject
*_wrap_wxStockCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
449 PyObject
* _resultobj
;
452 char *_kwnames
[] = { "id", NULL
};
456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxStockCursor",_kwnames
,&_arg0
))
459 wxPy_BEGIN_ALLOW_THREADS
;
460 _result
= (wxCursor
*)wxPyStockCursor(_arg0
);
462 wxPy_END_ALLOW_THREADS
;
464 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCursor_p");
465 _resultobj
= Py_BuildValue("s",_ptemp
);
468 _resultobj
= Py_None
;
473 static PyObject
*_wrap_wxFont_GetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
474 PyObject
* _resultobj
;
475 wxFontEncoding _result
;
476 char *_kwnames
[] = { NULL
};
479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxFont_GetDefaultEncoding",_kwnames
))
482 wxPy_BEGIN_ALLOW_THREADS
;
483 _result
= (wxFontEncoding
)wxFont_GetDefaultEncoding();
485 wxPy_END_ALLOW_THREADS
;
486 } _resultobj
= Py_BuildValue("i",_result
);
490 static PyObject
*_wrap_wxFont_SetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
491 PyObject
* _resultobj
;
492 wxFontEncoding _arg0
;
493 char *_kwnames
[] = { "encoding", NULL
};
496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxFont_SetDefaultEncoding",_kwnames
,&_arg0
))
499 wxPy_BEGIN_ALLOW_THREADS
;
500 wxFont_SetDefaultEncoding(_arg0
);
502 wxPy_END_ALLOW_THREADS
;
503 } Py_INCREF(Py_None
);
504 _resultobj
= Py_None
;
508 static PyObject
*_wrap_wxNamedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
509 PyObject
* _resultobj
;
512 PyObject
* _obj0
= 0;
513 char *_kwnames
[] = { "colorName", NULL
};
517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNamedColour",_kwnames
,&_obj0
))
520 #if PYTHON_API_VERSION >= 1009
521 char* tmpPtr
; int tmpSize
;
522 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
523 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
526 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
528 _arg0
= new wxString(tmpPtr
, tmpSize
);
530 if (!PyString_Check(_obj0
)) {
531 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
534 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
538 wxPy_BEGIN_ALLOW_THREADS
;
539 _result
= (wxColour
*)wxNamedColour(*_arg0
);
541 wxPy_END_ALLOW_THREADS
;
543 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
544 _resultobj
= Py_BuildValue("s",_ptemp
);
547 _resultobj
= Py_None
;
556 static PyObject
*_wrap_wxMemoryDCFromDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
557 PyObject
* _resultobj
;
558 wxMemoryDC
* _result
;
560 PyObject
* _argo0
= 0;
561 char *_kwnames
[] = { "oldDC", NULL
};
565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMemoryDCFromDC",_kwnames
,&_argo0
))
568 if (_argo0
== Py_None
) { _arg0
= NULL
; }
569 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDCFromDC. Expected _wxDC_p.");
575 wxPy_BEGIN_ALLOW_THREADS
;
576 _result
= (wxMemoryDC
*)wxMemoryDCFromDC(_arg0
);
578 wxPy_END_ALLOW_THREADS
;
580 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
581 _resultobj
= Py_BuildValue("s",_ptemp
);
584 _resultobj
= Py_None
;
589 static int _wrap_wxNORMAL_FONT_set(PyObject
*val
) {
591 PyErr_SetString(PyExc_TypeError
,"Variable wxNORMAL_FONT is read-only.");
595 static PyObject
*_wrap_wxNORMAL_FONT_get() {
599 SWIG_MakePtr(ptemp
, (char *) wxNORMAL_FONT
,"_wxFont_p");
600 pyobj
= PyString_FromString(ptemp
);
604 static int _wrap_wxSMALL_FONT_set(PyObject
*val
) {
606 PyErr_SetString(PyExc_TypeError
,"Variable wxSMALL_FONT is read-only.");
610 static PyObject
*_wrap_wxSMALL_FONT_get() {
614 SWIG_MakePtr(ptemp
, (char *) wxSMALL_FONT
,"_wxFont_p");
615 pyobj
= PyString_FromString(ptemp
);
619 static int _wrap_wxITALIC_FONT_set(PyObject
*val
) {
621 PyErr_SetString(PyExc_TypeError
,"Variable wxITALIC_FONT is read-only.");
625 static PyObject
*_wrap_wxITALIC_FONT_get() {
629 SWIG_MakePtr(ptemp
, (char *) wxITALIC_FONT
,"_wxFont_p");
630 pyobj
= PyString_FromString(ptemp
);
634 static int _wrap_wxSWISS_FONT_set(PyObject
*val
) {
636 PyErr_SetString(PyExc_TypeError
,"Variable wxSWISS_FONT is read-only.");
640 static PyObject
*_wrap_wxSWISS_FONT_get() {
644 SWIG_MakePtr(ptemp
, (char *) wxSWISS_FONT
,"_wxFont_p");
645 pyobj
= PyString_FromString(ptemp
);
649 static int _wrap_wxRED_PEN_set(PyObject
*val
) {
651 PyErr_SetString(PyExc_TypeError
,"Variable wxRED_PEN is read-only.");
655 static PyObject
*_wrap_wxRED_PEN_get() {
659 SWIG_MakePtr(ptemp
, (char *) wxRED_PEN
,"_wxPen_p");
660 pyobj
= PyString_FromString(ptemp
);
664 static int _wrap_wxCYAN_PEN_set(PyObject
*val
) {
666 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN_PEN is read-only.");
670 static PyObject
*_wrap_wxCYAN_PEN_get() {
674 SWIG_MakePtr(ptemp
, (char *) wxCYAN_PEN
,"_wxPen_p");
675 pyobj
= PyString_FromString(ptemp
);
679 static int _wrap_wxGREEN_PEN_set(PyObject
*val
) {
681 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN_PEN is read-only.");
685 static PyObject
*_wrap_wxGREEN_PEN_get() {
689 SWIG_MakePtr(ptemp
, (char *) wxGREEN_PEN
,"_wxPen_p");
690 pyobj
= PyString_FromString(ptemp
);
694 static int _wrap_wxBLACK_PEN_set(PyObject
*val
) {
696 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_PEN is read-only.");
700 static PyObject
*_wrap_wxBLACK_PEN_get() {
704 SWIG_MakePtr(ptemp
, (char *) wxBLACK_PEN
,"_wxPen_p");
705 pyobj
= PyString_FromString(ptemp
);
709 static int _wrap_wxWHITE_PEN_set(PyObject
*val
) {
711 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE_PEN is read-only.");
715 static PyObject
*_wrap_wxWHITE_PEN_get() {
719 SWIG_MakePtr(ptemp
, (char *) wxWHITE_PEN
,"_wxPen_p");
720 pyobj
= PyString_FromString(ptemp
);
724 static int _wrap_wxTRANSPARENT_PEN_set(PyObject
*val
) {
726 PyErr_SetString(PyExc_TypeError
,"Variable wxTRANSPARENT_PEN is read-only.");
730 static PyObject
*_wrap_wxTRANSPARENT_PEN_get() {
734 SWIG_MakePtr(ptemp
, (char *) wxTRANSPARENT_PEN
,"_wxPen_p");
735 pyobj
= PyString_FromString(ptemp
);
739 static int _wrap_wxBLACK_DASHED_PEN_set(PyObject
*val
) {
741 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_DASHED_PEN is read-only.");
745 static PyObject
*_wrap_wxBLACK_DASHED_PEN_get() {
749 SWIG_MakePtr(ptemp
, (char *) wxBLACK_DASHED_PEN
,"_wxPen_p");
750 pyobj
= PyString_FromString(ptemp
);
754 static int _wrap_wxGREY_PEN_set(PyObject
*val
) {
756 PyErr_SetString(PyExc_TypeError
,"Variable wxGREY_PEN is read-only.");
760 static PyObject
*_wrap_wxGREY_PEN_get() {
764 SWIG_MakePtr(ptemp
, (char *) wxGREY_PEN
,"_wxPen_p");
765 pyobj
= PyString_FromString(ptemp
);
769 static int _wrap_wxMEDIUM_GREY_PEN_set(PyObject
*val
) {
771 PyErr_SetString(PyExc_TypeError
,"Variable wxMEDIUM_GREY_PEN is read-only.");
775 static PyObject
*_wrap_wxMEDIUM_GREY_PEN_get() {
779 SWIG_MakePtr(ptemp
, (char *) wxMEDIUM_GREY_PEN
,"_wxPen_p");
780 pyobj
= PyString_FromString(ptemp
);
784 static int _wrap_wxLIGHT_GREY_PEN_set(PyObject
*val
) {
786 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY_PEN is read-only.");
790 static PyObject
*_wrap_wxLIGHT_GREY_PEN_get() {
794 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY_PEN
,"_wxPen_p");
795 pyobj
= PyString_FromString(ptemp
);
799 static int _wrap_wxBLUE_BRUSH_set(PyObject
*val
) {
801 PyErr_SetString(PyExc_TypeError
,"Variable wxBLUE_BRUSH is read-only.");
805 static PyObject
*_wrap_wxBLUE_BRUSH_get() {
809 SWIG_MakePtr(ptemp
, (char *) wxBLUE_BRUSH
,"_wxBrush_p");
810 pyobj
= PyString_FromString(ptemp
);
814 static int _wrap_wxGREEN_BRUSH_set(PyObject
*val
) {
816 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN_BRUSH is read-only.");
820 static PyObject
*_wrap_wxGREEN_BRUSH_get() {
824 SWIG_MakePtr(ptemp
, (char *) wxGREEN_BRUSH
,"_wxBrush_p");
825 pyobj
= PyString_FromString(ptemp
);
829 static int _wrap_wxWHITE_BRUSH_set(PyObject
*val
) {
831 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE_BRUSH is read-only.");
835 static PyObject
*_wrap_wxWHITE_BRUSH_get() {
839 SWIG_MakePtr(ptemp
, (char *) wxWHITE_BRUSH
,"_wxBrush_p");
840 pyobj
= PyString_FromString(ptemp
);
844 static int _wrap_wxBLACK_BRUSH_set(PyObject
*val
) {
846 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_BRUSH is read-only.");
850 static PyObject
*_wrap_wxBLACK_BRUSH_get() {
854 SWIG_MakePtr(ptemp
, (char *) wxBLACK_BRUSH
,"_wxBrush_p");
855 pyobj
= PyString_FromString(ptemp
);
859 static int _wrap_wxTRANSPARENT_BRUSH_set(PyObject
*val
) {
861 PyErr_SetString(PyExc_TypeError
,"Variable wxTRANSPARENT_BRUSH is read-only.");
865 static PyObject
*_wrap_wxTRANSPARENT_BRUSH_get() {
869 SWIG_MakePtr(ptemp
, (char *) wxTRANSPARENT_BRUSH
,"_wxBrush_p");
870 pyobj
= PyString_FromString(ptemp
);
874 static int _wrap_wxCYAN_BRUSH_set(PyObject
*val
) {
876 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN_BRUSH is read-only.");
880 static PyObject
*_wrap_wxCYAN_BRUSH_get() {
884 SWIG_MakePtr(ptemp
, (char *) wxCYAN_BRUSH
,"_wxBrush_p");
885 pyobj
= PyString_FromString(ptemp
);
889 static int _wrap_wxRED_BRUSH_set(PyObject
*val
) {
891 PyErr_SetString(PyExc_TypeError
,"Variable wxRED_BRUSH is read-only.");
895 static PyObject
*_wrap_wxRED_BRUSH_get() {
899 SWIG_MakePtr(ptemp
, (char *) wxRED_BRUSH
,"_wxBrush_p");
900 pyobj
= PyString_FromString(ptemp
);
904 static int _wrap_wxGREY_BRUSH_set(PyObject
*val
) {
906 PyErr_SetString(PyExc_TypeError
,"Variable wxGREY_BRUSH is read-only.");
910 static PyObject
*_wrap_wxGREY_BRUSH_get() {
914 SWIG_MakePtr(ptemp
, (char *) wxGREY_BRUSH
,"_wxBrush_p");
915 pyobj
= PyString_FromString(ptemp
);
919 static int _wrap_wxMEDIUM_GREY_BRUSH_set(PyObject
*val
) {
921 PyErr_SetString(PyExc_TypeError
,"Variable wxMEDIUM_GREY_BRUSH is read-only.");
925 static PyObject
*_wrap_wxMEDIUM_GREY_BRUSH_get() {
929 SWIG_MakePtr(ptemp
, (char *) wxMEDIUM_GREY_BRUSH
,"_wxBrush_p");
930 pyobj
= PyString_FromString(ptemp
);
934 static int _wrap_wxLIGHT_GREY_BRUSH_set(PyObject
*val
) {
936 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY_BRUSH is read-only.");
940 static PyObject
*_wrap_wxLIGHT_GREY_BRUSH_get() {
944 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY_BRUSH
,"_wxBrush_p");
945 pyobj
= PyString_FromString(ptemp
);
949 static int _wrap_wxBLACK_set(PyObject
*val
) {
951 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK is read-only.");
955 static PyObject
*_wrap_wxBLACK_get() {
959 SWIG_MakePtr(ptemp
, (char *) wxBLACK
,"_wxColour_p");
960 pyobj
= PyString_FromString(ptemp
);
964 static int _wrap_wxWHITE_set(PyObject
*val
) {
966 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE is read-only.");
970 static PyObject
*_wrap_wxWHITE_get() {
974 SWIG_MakePtr(ptemp
, (char *) wxWHITE
,"_wxColour_p");
975 pyobj
= PyString_FromString(ptemp
);
979 static int _wrap_wxRED_set(PyObject
*val
) {
981 PyErr_SetString(PyExc_TypeError
,"Variable wxRED is read-only.");
985 static PyObject
*_wrap_wxRED_get() {
989 SWIG_MakePtr(ptemp
, (char *) wxRED
,"_wxColour_p");
990 pyobj
= PyString_FromString(ptemp
);
994 static int _wrap_wxBLUE_set(PyObject
*val
) {
996 PyErr_SetString(PyExc_TypeError
,"Variable wxBLUE is read-only.");
1000 static PyObject
*_wrap_wxBLUE_get() {
1004 SWIG_MakePtr(ptemp
, (char *) wxBLUE
,"_wxColour_p");
1005 pyobj
= PyString_FromString(ptemp
);
1009 static int _wrap_wxGREEN_set(PyObject
*val
) {
1011 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN is read-only.");
1015 static PyObject
*_wrap_wxGREEN_get() {
1019 SWIG_MakePtr(ptemp
, (char *) wxGREEN
,"_wxColour_p");
1020 pyobj
= PyString_FromString(ptemp
);
1024 static int _wrap_wxCYAN_set(PyObject
*val
) {
1026 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN is read-only.");
1030 static PyObject
*_wrap_wxCYAN_get() {
1034 SWIG_MakePtr(ptemp
, (char *) wxCYAN
,"_wxColour_p");
1035 pyobj
= PyString_FromString(ptemp
);
1039 static int _wrap_wxLIGHT_GREY_set(PyObject
*val
) {
1041 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY is read-only.");
1045 static PyObject
*_wrap_wxLIGHT_GREY_get() {
1049 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY
,"_wxColour_p");
1050 pyobj
= PyString_FromString(ptemp
);
1054 static int _wrap_wxSTANDARD_CURSOR_set(PyObject
*val
) {
1056 PyErr_SetString(PyExc_TypeError
,"Variable wxSTANDARD_CURSOR is read-only.");
1060 static PyObject
*_wrap_wxSTANDARD_CURSOR_get() {
1064 SWIG_MakePtr(ptemp
, (char *) wxSTANDARD_CURSOR
,"_wxCursor_p");
1065 pyobj
= PyString_FromString(ptemp
);
1069 static int _wrap_wxHOURGLASS_CURSOR_set(PyObject
*val
) {
1071 PyErr_SetString(PyExc_TypeError
,"Variable wxHOURGLASS_CURSOR is read-only.");
1075 static PyObject
*_wrap_wxHOURGLASS_CURSOR_get() {
1079 SWIG_MakePtr(ptemp
, (char *) wxHOURGLASS_CURSOR
,"_wxCursor_p");
1080 pyobj
= PyString_FromString(ptemp
);
1084 static int _wrap_wxCROSS_CURSOR_set(PyObject
*val
) {
1086 PyErr_SetString(PyExc_TypeError
,"Variable wxCROSS_CURSOR is read-only.");
1090 static PyObject
*_wrap_wxCROSS_CURSOR_get() {
1094 SWIG_MakePtr(ptemp
, (char *) wxCROSS_CURSOR
,"_wxCursor_p");
1095 pyobj
= PyString_FromString(ptemp
);
1099 static int _wrap_wxNullBitmap_set(PyObject
*val
) {
1101 PyErr_SetString(PyExc_TypeError
,"Variable wxNullBitmap is read-only.");
1105 static PyObject
*_wrap_wxNullBitmap_get() {
1109 SWIG_MakePtr(ptemp
,(char *) &wxNullBitmap
,"_wxBitmap_p");
1110 pyobj
= PyString_FromString(ptemp
);
1114 static int _wrap_wxNullIcon_set(PyObject
*val
) {
1116 PyErr_SetString(PyExc_TypeError
,"Variable wxNullIcon is read-only.");
1120 static PyObject
*_wrap_wxNullIcon_get() {
1124 SWIG_MakePtr(ptemp
,(char *) &wxNullIcon
,"_wxIcon_p");
1125 pyobj
= PyString_FromString(ptemp
);
1129 static int _wrap_wxNullCursor_set(PyObject
*val
) {
1131 PyErr_SetString(PyExc_TypeError
,"Variable wxNullCursor is read-only.");
1135 static PyObject
*_wrap_wxNullCursor_get() {
1139 SWIG_MakePtr(ptemp
,(char *) &wxNullCursor
,"_wxCursor_p");
1140 pyobj
= PyString_FromString(ptemp
);
1144 static int _wrap_wxNullPen_set(PyObject
*val
) {
1146 PyErr_SetString(PyExc_TypeError
,"Variable wxNullPen is read-only.");
1150 static PyObject
*_wrap_wxNullPen_get() {
1154 SWIG_MakePtr(ptemp
,(char *) &wxNullPen
,"_wxPen_p");
1155 pyobj
= PyString_FromString(ptemp
);
1159 static int _wrap_wxNullBrush_set(PyObject
*val
) {
1161 PyErr_SetString(PyExc_TypeError
,"Variable wxNullBrush is read-only.");
1165 static PyObject
*_wrap_wxNullBrush_get() {
1169 SWIG_MakePtr(ptemp
,(char *) &wxNullBrush
,"_wxBrush_p");
1170 pyobj
= PyString_FromString(ptemp
);
1174 static int _wrap_wxNullPalette_set(PyObject
*val
) {
1176 PyErr_SetString(PyExc_TypeError
,"Variable wxNullPalette is read-only.");
1180 static PyObject
*_wrap_wxNullPalette_get() {
1184 SWIG_MakePtr(ptemp
,(char *) &wxNullPalette
,"_wxPalette_p");
1185 pyobj
= PyString_FromString(ptemp
);
1189 static int _wrap_wxNullFont_set(PyObject
*val
) {
1191 PyErr_SetString(PyExc_TypeError
,"Variable wxNullFont is read-only.");
1195 static PyObject
*_wrap_wxNullFont_get() {
1199 SWIG_MakePtr(ptemp
,(char *) &wxNullFont
,"_wxFont_p");
1200 pyobj
= PyString_FromString(ptemp
);
1204 static int _wrap_wxNullColour_set(PyObject
*val
) {
1206 PyErr_SetString(PyExc_TypeError
,"Variable wxNullColour is read-only.");
1210 static PyObject
*_wrap_wxNullColour_get() {
1214 SWIG_MakePtr(ptemp
,(char *) &wxNullColour
,"_wxColour_p");
1215 pyobj
= PyString_FromString(ptemp
);
1219 static int _wrap_wxTheFontList_set(PyObject
*val
) {
1221 PyErr_SetString(PyExc_TypeError
,"Variable wxTheFontList is read-only.");
1225 static PyObject
*_wrap_wxTheFontList_get() {
1229 SWIG_MakePtr(ptemp
, (char *) wxTheFontList
,"_wxFontList_p");
1230 pyobj
= PyString_FromString(ptemp
);
1234 static int _wrap_wxThePenList_set(PyObject
*val
) {
1236 PyErr_SetString(PyExc_TypeError
,"Variable wxThePenList is read-only.");
1240 static PyObject
*_wrap_wxThePenList_get() {
1244 SWIG_MakePtr(ptemp
, (char *) wxThePenList
,"_wxPenList_p");
1245 pyobj
= PyString_FromString(ptemp
);
1249 static int _wrap_wxTheBrushList_set(PyObject
*val
) {
1251 PyErr_SetString(PyExc_TypeError
,"Variable wxTheBrushList is read-only.");
1255 static PyObject
*_wrap_wxTheBrushList_get() {
1259 SWIG_MakePtr(ptemp
, (char *) wxTheBrushList
,"_wxBrushlist_p");
1260 pyobj
= PyString_FromString(ptemp
);
1264 static int _wrap_wxTheColourDatabase_set(PyObject
*val
) {
1266 PyErr_SetString(PyExc_TypeError
,"Variable wxTheColourDatabase is read-only.");
1270 static PyObject
*_wrap_wxTheColourDatabase_get() {
1274 SWIG_MakePtr(ptemp
, (char *) wxTheColourDatabase
,"_wxColourDatabase_p");
1275 pyobj
= PyString_FromString(ptemp
);
1279 static void *SwigwxGDIObjectTowxObject(void *ptr
) {
1282 src
= (wxGDIObject
*) ptr
;
1283 dest
= (wxObject
*) src
;
1284 return (void *) dest
;
1287 #define new_wxGDIObject() (new wxGDIObject())
1288 static PyObject
*_wrap_new_wxGDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1289 PyObject
* _resultobj
;
1290 wxGDIObject
* _result
;
1291 char *_kwnames
[] = { NULL
};
1295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGDIObject",_kwnames
))
1298 wxPy_BEGIN_ALLOW_THREADS
;
1299 _result
= (wxGDIObject
*)new_wxGDIObject();
1301 wxPy_END_ALLOW_THREADS
;
1303 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGDIObject_p");
1304 _resultobj
= Py_BuildValue("s",_ptemp
);
1307 _resultobj
= Py_None
;
1312 #define delete_wxGDIObject(_swigobj) (delete _swigobj)
1313 static PyObject
*_wrap_delete_wxGDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1314 PyObject
* _resultobj
;
1315 wxGDIObject
* _arg0
;
1316 PyObject
* _argo0
= 0;
1317 char *_kwnames
[] = { "self", NULL
};
1320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxGDIObject",_kwnames
,&_argo0
))
1323 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1324 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGDIObject_p")) {
1325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxGDIObject. Expected _wxGDIObject_p.");
1330 wxPy_BEGIN_ALLOW_THREADS
;
1331 delete_wxGDIObject(_arg0
);
1333 wxPy_END_ALLOW_THREADS
;
1334 } Py_INCREF(Py_None
);
1335 _resultobj
= Py_None
;
1339 #define wxGDIObject_GetVisible(_swigobj) (_swigobj->GetVisible())
1340 static PyObject
*_wrap_wxGDIObject_GetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1341 PyObject
* _resultobj
;
1343 wxGDIObject
* _arg0
;
1344 PyObject
* _argo0
= 0;
1345 char *_kwnames
[] = { "self", NULL
};
1348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGDIObject_GetVisible",_kwnames
,&_argo0
))
1351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGDIObject_p")) {
1353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGDIObject_GetVisible. Expected _wxGDIObject_p.");
1358 wxPy_BEGIN_ALLOW_THREADS
;
1359 _result
= (bool )wxGDIObject_GetVisible(_arg0
);
1361 wxPy_END_ALLOW_THREADS
;
1362 } _resultobj
= Py_BuildValue("i",_result
);
1366 #define wxGDIObject_SetVisible(_swigobj,_swigarg0) (_swigobj->SetVisible(_swigarg0))
1367 static PyObject
*_wrap_wxGDIObject_SetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1368 PyObject
* _resultobj
;
1369 wxGDIObject
* _arg0
;
1371 PyObject
* _argo0
= 0;
1373 char *_kwnames
[] = { "self","visible", NULL
};
1376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGDIObject_SetVisible",_kwnames
,&_argo0
,&tempbool1
))
1379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGDIObject_p")) {
1381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGDIObject_SetVisible. Expected _wxGDIObject_p.");
1385 _arg1
= (bool ) tempbool1
;
1387 wxPy_BEGIN_ALLOW_THREADS
;
1388 wxGDIObject_SetVisible(_arg0
,_arg1
);
1390 wxPy_END_ALLOW_THREADS
;
1391 } Py_INCREF(Py_None
);
1392 _resultobj
= Py_None
;
1396 #define wxGDIObject_IsNull(_swigobj) (_swigobj->IsNull())
1397 static PyObject
*_wrap_wxGDIObject_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1398 PyObject
* _resultobj
;
1400 wxGDIObject
* _arg0
;
1401 PyObject
* _argo0
= 0;
1402 char *_kwnames
[] = { "self", NULL
};
1405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGDIObject_IsNull",_kwnames
,&_argo0
))
1408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGDIObject_p")) {
1410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGDIObject_IsNull. Expected _wxGDIObject_p.");
1415 wxPy_BEGIN_ALLOW_THREADS
;
1416 _result
= (bool )wxGDIObject_IsNull(_arg0
);
1418 wxPy_END_ALLOW_THREADS
;
1419 } _resultobj
= Py_BuildValue("i",_result
);
1423 static void *SwigwxBitmapTowxGDIObject(void *ptr
) {
1426 src
= (wxBitmap
*) ptr
;
1427 dest
= (wxGDIObject
*) src
;
1428 return (void *) dest
;
1431 static void *SwigwxBitmapTowxObject(void *ptr
) {
1434 src
= (wxBitmap
*) ptr
;
1435 dest
= (wxObject
*) src
;
1436 return (void *) dest
;
1439 #define new_wxBitmap(_swigarg0,_swigarg1) (new wxBitmap(_swigarg0,_swigarg1))
1440 static PyObject
*_wrap_new_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1441 PyObject
* _resultobj
;
1445 PyObject
* _obj0
= 0;
1446 char *_kwnames
[] = { "name","type", NULL
};
1450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:new_wxBitmap",_kwnames
,&_obj0
,&_arg1
))
1453 #if PYTHON_API_VERSION >= 1009
1454 char* tmpPtr
; int tmpSize
;
1455 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1456 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1459 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1461 _arg0
= new wxString(tmpPtr
, tmpSize
);
1463 if (!PyString_Check(_obj0
)) {
1464 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1467 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1471 wxPy_BEGIN_ALLOW_THREADS
;
1472 _result
= (wxBitmap
*)new_wxBitmap(*_arg0
,_arg1
);
1474 wxPy_END_ALLOW_THREADS
;
1476 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1477 _resultobj
= Py_BuildValue("s",_ptemp
);
1480 _resultobj
= Py_None
;
1489 #define delete_wxBitmap(_swigobj) (delete _swigobj)
1490 static PyObject
*_wrap_delete_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1491 PyObject
* _resultobj
;
1493 PyObject
* _argo0
= 0;
1494 char *_kwnames
[] = { "self", NULL
};
1497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBitmap",_kwnames
,&_argo0
))
1500 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1501 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBitmap. Expected _wxBitmap_p.");
1507 wxPy_BEGIN_ALLOW_THREADS
;
1508 delete_wxBitmap(_arg0
);
1510 wxPy_END_ALLOW_THREADS
;
1511 } Py_INCREF(Py_None
);
1512 _resultobj
= Py_None
;
1516 #define wxBitmap_GetPalette(_swigobj) (_swigobj->GetPalette())
1517 static PyObject
*_wrap_wxBitmap_GetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1518 PyObject
* _resultobj
;
1519 wxPalette
* _result
;
1521 PyObject
* _argo0
= 0;
1522 char *_kwnames
[] = { "self", NULL
};
1526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetPalette",_kwnames
,&_argo0
))
1529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetPalette. Expected _wxBitmap_p.");
1536 wxPy_BEGIN_ALLOW_THREADS
;
1537 _result
= (wxPalette
*)wxBitmap_GetPalette(_arg0
);
1539 wxPy_END_ALLOW_THREADS
;
1541 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPalette_p");
1542 _resultobj
= Py_BuildValue("s",_ptemp
);
1545 _resultobj
= Py_None
;
1550 #define wxBitmap_GetMask(_swigobj) (_swigobj->GetMask())
1551 static PyObject
*_wrap_wxBitmap_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1552 PyObject
* _resultobj
;
1555 PyObject
* _argo0
= 0;
1556 char *_kwnames
[] = { "self", NULL
};
1560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetMask",_kwnames
,&_argo0
))
1563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetMask. Expected _wxBitmap_p.");
1570 wxPy_BEGIN_ALLOW_THREADS
;
1571 _result
= (wxMask
*)wxBitmap_GetMask(_arg0
);
1573 wxPy_END_ALLOW_THREADS
;
1575 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
1576 _resultobj
= Py_BuildValue("s",_ptemp
);
1579 _resultobj
= Py_None
;
1584 #define wxBitmap_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
1585 static PyObject
*_wrap_wxBitmap_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1586 PyObject
* _resultobj
;
1591 PyObject
* _argo0
= 0;
1592 PyObject
* _obj1
= 0;
1593 char *_kwnames
[] = { "self","name","flags", NULL
};
1596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOl:wxBitmap_LoadFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_LoadFile. Expected _wxBitmap_p.");
1606 #if PYTHON_API_VERSION >= 1009
1607 char* tmpPtr
; int tmpSize
;
1608 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1609 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1612 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1614 _arg1
= new wxString(tmpPtr
, tmpSize
);
1616 if (!PyString_Check(_obj1
)) {
1617 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1620 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1624 wxPy_BEGIN_ALLOW_THREADS
;
1625 _result
= (bool )wxBitmap_LoadFile(_arg0
,*_arg1
,_arg2
);
1627 wxPy_END_ALLOW_THREADS
;
1628 } _resultobj
= Py_BuildValue("i",_result
);
1636 #define wxBitmap_SaveFile(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SaveFile(_swigarg0,_swigarg1,_swigarg2))
1637 static PyObject
*_wrap_wxBitmap_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1638 PyObject
* _resultobj
;
1643 wxPalette
* _arg3
= (wxPalette
*) NULL
;
1644 PyObject
* _argo0
= 0;
1645 PyObject
* _obj1
= 0;
1646 PyObject
* _argo3
= 0;
1647 char *_kwnames
[] = { "self","name","type","palette", NULL
};
1650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|O:wxBitmap_SaveFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_argo3
))
1653 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1654 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SaveFile. Expected _wxBitmap_p.");
1660 #if PYTHON_API_VERSION >= 1009
1661 char* tmpPtr
; int tmpSize
;
1662 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1663 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1666 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1668 _arg1
= new wxString(tmpPtr
, tmpSize
);
1670 if (!PyString_Check(_obj1
)) {
1671 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1674 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1678 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1679 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxPalette_p")) {
1680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxBitmap_SaveFile. Expected _wxPalette_p.");
1685 wxPy_BEGIN_ALLOW_THREADS
;
1686 _result
= (bool )wxBitmap_SaveFile(_arg0
,*_arg1
,_arg2
,_arg3
);
1688 wxPy_END_ALLOW_THREADS
;
1689 } _resultobj
= Py_BuildValue("i",_result
);
1697 #define wxBitmap_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
1698 static PyObject
*_wrap_wxBitmap_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1699 PyObject
* _resultobj
;
1702 PyObject
* _argo0
= 0;
1703 PyObject
* _argo1
= 0;
1704 char *_kwnames
[] = { "self","mask", NULL
};
1707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_SetMask",_kwnames
,&_argo0
,&_argo1
))
1710 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1711 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetMask. Expected _wxBitmap_p.");
1717 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1718 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMask_p")) {
1719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmap_SetMask. Expected _wxMask_p.");
1724 wxPy_BEGIN_ALLOW_THREADS
;
1725 wxBitmap_SetMask(_arg0
,_arg1
);
1727 wxPy_END_ALLOW_THREADS
;
1728 } Py_INCREF(Py_None
);
1729 _resultobj
= Py_None
;
1733 #define wxBitmap_Ok(_swigobj) (_swigobj->Ok())
1734 static PyObject
*_wrap_wxBitmap_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1735 PyObject
* _resultobj
;
1738 PyObject
* _argo0
= 0;
1739 char *_kwnames
[] = { "self", NULL
};
1742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_Ok",_kwnames
,&_argo0
))
1745 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1746 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_Ok. Expected _wxBitmap_p.");
1752 wxPy_BEGIN_ALLOW_THREADS
;
1753 _result
= (bool )wxBitmap_Ok(_arg0
);
1755 wxPy_END_ALLOW_THREADS
;
1756 } _resultobj
= Py_BuildValue("i",_result
);
1760 #define wxBitmap_GetWidth(_swigobj) (_swigobj->GetWidth())
1761 static PyObject
*_wrap_wxBitmap_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1762 PyObject
* _resultobj
;
1765 PyObject
* _argo0
= 0;
1766 char *_kwnames
[] = { "self", NULL
};
1769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetWidth",_kwnames
,&_argo0
))
1772 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1773 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetWidth. Expected _wxBitmap_p.");
1779 wxPy_BEGIN_ALLOW_THREADS
;
1780 _result
= (int )wxBitmap_GetWidth(_arg0
);
1782 wxPy_END_ALLOW_THREADS
;
1783 } _resultobj
= Py_BuildValue("i",_result
);
1787 #define wxBitmap_GetHeight(_swigobj) (_swigobj->GetHeight())
1788 static PyObject
*_wrap_wxBitmap_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1789 PyObject
* _resultobj
;
1792 PyObject
* _argo0
= 0;
1793 char *_kwnames
[] = { "self", NULL
};
1796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetHeight",_kwnames
,&_argo0
))
1799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetHeight. Expected _wxBitmap_p.");
1806 wxPy_BEGIN_ALLOW_THREADS
;
1807 _result
= (int )wxBitmap_GetHeight(_arg0
);
1809 wxPy_END_ALLOW_THREADS
;
1810 } _resultobj
= Py_BuildValue("i",_result
);
1814 #define wxBitmap_GetDepth(_swigobj) (_swigobj->GetDepth())
1815 static PyObject
*_wrap_wxBitmap_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1816 PyObject
* _resultobj
;
1819 PyObject
* _argo0
= 0;
1820 char *_kwnames
[] = { "self", NULL
};
1823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetDepth",_kwnames
,&_argo0
))
1826 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1827 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetDepth. Expected _wxBitmap_p.");
1833 wxPy_BEGIN_ALLOW_THREADS
;
1834 _result
= (int )wxBitmap_GetDepth(_arg0
);
1836 wxPy_END_ALLOW_THREADS
;
1837 } _resultobj
= Py_BuildValue("i",_result
);
1841 #define wxBitmap_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1842 static PyObject
*_wrap_wxBitmap_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1843 PyObject
* _resultobj
;
1846 PyObject
* _argo0
= 0;
1847 char *_kwnames
[] = { "self","w", NULL
};
1850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBitmap_SetWidth",_kwnames
,&_argo0
,&_arg1
))
1853 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1854 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetWidth. Expected _wxBitmap_p.");
1860 wxPy_BEGIN_ALLOW_THREADS
;
1861 wxBitmap_SetWidth(_arg0
,_arg1
);
1863 wxPy_END_ALLOW_THREADS
;
1864 } Py_INCREF(Py_None
);
1865 _resultobj
= Py_None
;
1869 #define wxBitmap_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1870 static PyObject
*_wrap_wxBitmap_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1871 PyObject
* _resultobj
;
1874 PyObject
* _argo0
= 0;
1875 char *_kwnames
[] = { "self","h", NULL
};
1878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBitmap_SetHeight",_kwnames
,&_argo0
,&_arg1
))
1881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetHeight. Expected _wxBitmap_p.");
1888 wxPy_BEGIN_ALLOW_THREADS
;
1889 wxBitmap_SetHeight(_arg0
,_arg1
);
1891 wxPy_END_ALLOW_THREADS
;
1892 } Py_INCREF(Py_None
);
1893 _resultobj
= Py_None
;
1897 #define wxBitmap_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
1898 static PyObject
*_wrap_wxBitmap_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1899 PyObject
* _resultobj
;
1902 PyObject
* _argo0
= 0;
1903 char *_kwnames
[] = { "self","d", NULL
};
1906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBitmap_SetDepth",_kwnames
,&_argo0
,&_arg1
))
1909 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1910 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetDepth. Expected _wxBitmap_p.");
1916 wxPy_BEGIN_ALLOW_THREADS
;
1917 wxBitmap_SetDepth(_arg0
,_arg1
);
1919 wxPy_END_ALLOW_THREADS
;
1920 } Py_INCREF(Py_None
);
1921 _resultobj
= Py_None
;
1925 #define wxBitmap_GetSubBitmap(_swigobj,_swigarg0) (_swigobj->GetSubBitmap(_swigarg0))
1926 static PyObject
*_wrap_wxBitmap_GetSubBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1927 PyObject
* _resultobj
;
1931 PyObject
* _argo0
= 0;
1933 PyObject
* _obj1
= 0;
1934 char *_kwnames
[] = { "self","rect", NULL
};
1938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_GetSubBitmap",_kwnames
,&_argo0
,&_obj1
))
1941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetSubBitmap. Expected _wxBitmap_p.");
1949 if (! wxRect_helper(_obj1
, &_arg1
))
1953 wxPy_BEGIN_ALLOW_THREADS
;
1954 _result
= new wxBitmap (wxBitmap_GetSubBitmap(_arg0
,*_arg1
));
1956 wxPy_END_ALLOW_THREADS
;
1957 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1958 _resultobj
= Py_BuildValue("s",_ptemp
);
1962 static void *SwigwxMaskTowxObject(void *ptr
) {
1965 src
= (wxMask
*) ptr
;
1966 dest
= (wxObject
*) src
;
1967 return (void *) dest
;
1970 #define new_wxMask(_swigarg0) (new wxMask(_swigarg0))
1971 static PyObject
*_wrap_new_wxMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1972 PyObject
* _resultobj
;
1975 PyObject
* _argo0
= 0;
1976 char *_kwnames
[] = { "bitmap", NULL
};
1980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxMask",_kwnames
,&_argo0
))
1983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMask. Expected _wxBitmap_p.");
1990 wxPy_BEGIN_ALLOW_THREADS
;
1991 _result
= (wxMask
*)new_wxMask(*_arg0
);
1993 wxPy_END_ALLOW_THREADS
;
1995 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
1996 _resultobj
= Py_BuildValue("s",_ptemp
);
1999 _resultobj
= Py_None
;
2004 static void wxMask_Destroy(wxMask
*self
) { delete self
; }
2005 static PyObject
*_wrap_wxMask_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2006 PyObject
* _resultobj
;
2008 PyObject
* _argo0
= 0;
2009 char *_kwnames
[] = { "self", NULL
};
2012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMask_Destroy",_kwnames
,&_argo0
))
2015 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2016 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMask_p")) {
2017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMask_Destroy. Expected _wxMask_p.");
2022 wxPy_BEGIN_ALLOW_THREADS
;
2023 wxMask_Destroy(_arg0
);
2025 wxPy_END_ALLOW_THREADS
;
2026 } Py_INCREF(Py_None
);
2027 _resultobj
= Py_None
;
2031 static void *SwigwxIconTowxGDIObject(void *ptr
) {
2034 src
= (wxIcon
*) ptr
;
2035 dest
= (wxGDIObject
*) src
;
2036 return (void *) dest
;
2039 static void *SwigwxIconTowxObject(void *ptr
) {
2042 src
= (wxIcon
*) ptr
;
2043 dest
= (wxObject
*) src
;
2044 return (void *) dest
;
2047 #define new_wxIcon(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxIcon(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2048 static PyObject
*_wrap_new_wxIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2049 PyObject
* _resultobj
;
2053 int _arg2
= (int ) -1;
2054 int _arg3
= (int ) -1;
2055 PyObject
* _obj0
= 0;
2056 char *_kwnames
[] = { "name","flags","desiredWidth","desiredHeight", NULL
};
2060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|ii:new_wxIcon",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_arg3
))
2063 #if PYTHON_API_VERSION >= 1009
2064 char* tmpPtr
; int tmpSize
;
2065 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2066 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2069 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2071 _arg0
= new wxString(tmpPtr
, tmpSize
);
2073 if (!PyString_Check(_obj0
)) {
2074 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2077 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2081 wxPy_BEGIN_ALLOW_THREADS
;
2082 _result
= (wxIcon
*)new_wxIcon(*_arg0
,_arg1
,_arg2
,_arg3
);
2084 wxPy_END_ALLOW_THREADS
;
2086 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
2087 _resultobj
= Py_BuildValue("s",_ptemp
);
2090 _resultobj
= Py_None
;
2099 #define delete_wxIcon(_swigobj) (delete _swigobj)
2100 static PyObject
*_wrap_delete_wxIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2101 PyObject
* _resultobj
;
2103 PyObject
* _argo0
= 0;
2104 char *_kwnames
[] = { "self", NULL
};
2107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxIcon",_kwnames
,&_argo0
))
2110 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2111 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxIcon. Expected _wxIcon_p.");
2117 wxPy_BEGIN_ALLOW_THREADS
;
2118 delete_wxIcon(_arg0
);
2120 wxPy_END_ALLOW_THREADS
;
2121 } Py_INCREF(Py_None
);
2122 _resultobj
= Py_None
;
2126 #define wxIcon_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
2127 static PyObject
*_wrap_wxIcon_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2128 PyObject
* _resultobj
;
2133 PyObject
* _argo0
= 0;
2134 PyObject
* _obj1
= 0;
2135 char *_kwnames
[] = { "self","name","flags", NULL
};
2138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOl:wxIcon_LoadFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
2141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_LoadFile. Expected _wxIcon_p.");
2148 #if PYTHON_API_VERSION >= 1009
2149 char* tmpPtr
; int tmpSize
;
2150 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2151 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2154 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2156 _arg1
= new wxString(tmpPtr
, tmpSize
);
2158 if (!PyString_Check(_obj1
)) {
2159 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2162 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2166 wxPy_BEGIN_ALLOW_THREADS
;
2167 _result
= (bool )wxIcon_LoadFile(_arg0
,*_arg1
,_arg2
);
2169 wxPy_END_ALLOW_THREADS
;
2170 } _resultobj
= Py_BuildValue("i",_result
);
2178 #define wxIcon_Ok(_swigobj) (_swigobj->Ok())
2179 static PyObject
*_wrap_wxIcon_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2180 PyObject
* _resultobj
;
2183 PyObject
* _argo0
= 0;
2184 char *_kwnames
[] = { "self", NULL
};
2187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_Ok",_kwnames
,&_argo0
))
2190 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2191 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_Ok. Expected _wxIcon_p.");
2197 wxPy_BEGIN_ALLOW_THREADS
;
2198 _result
= (bool )wxIcon_Ok(_arg0
);
2200 wxPy_END_ALLOW_THREADS
;
2201 } _resultobj
= Py_BuildValue("i",_result
);
2205 #define wxIcon_GetWidth(_swigobj) (_swigobj->GetWidth())
2206 static PyObject
*_wrap_wxIcon_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2207 PyObject
* _resultobj
;
2210 PyObject
* _argo0
= 0;
2211 char *_kwnames
[] = { "self", NULL
};
2214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetWidth",_kwnames
,&_argo0
))
2217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetWidth. Expected _wxIcon_p.");
2224 wxPy_BEGIN_ALLOW_THREADS
;
2225 _result
= (int )wxIcon_GetWidth(_arg0
);
2227 wxPy_END_ALLOW_THREADS
;
2228 } _resultobj
= Py_BuildValue("i",_result
);
2232 #define wxIcon_GetHeight(_swigobj) (_swigobj->GetHeight())
2233 static PyObject
*_wrap_wxIcon_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2234 PyObject
* _resultobj
;
2237 PyObject
* _argo0
= 0;
2238 char *_kwnames
[] = { "self", NULL
};
2241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetHeight",_kwnames
,&_argo0
))
2244 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2245 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetHeight. Expected _wxIcon_p.");
2251 wxPy_BEGIN_ALLOW_THREADS
;
2252 _result
= (int )wxIcon_GetHeight(_arg0
);
2254 wxPy_END_ALLOW_THREADS
;
2255 } _resultobj
= Py_BuildValue("i",_result
);
2259 #define wxIcon_GetDepth(_swigobj) (_swigobj->GetDepth())
2260 static PyObject
*_wrap_wxIcon_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2261 PyObject
* _resultobj
;
2264 PyObject
* _argo0
= 0;
2265 char *_kwnames
[] = { "self", NULL
};
2268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetDepth",_kwnames
,&_argo0
))
2271 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2272 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetDepth. Expected _wxIcon_p.");
2278 wxPy_BEGIN_ALLOW_THREADS
;
2279 _result
= (int )wxIcon_GetDepth(_arg0
);
2281 wxPy_END_ALLOW_THREADS
;
2282 } _resultobj
= Py_BuildValue("i",_result
);
2286 #define wxIcon_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2287 static PyObject
*_wrap_wxIcon_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2288 PyObject
* _resultobj
;
2291 PyObject
* _argo0
= 0;
2292 char *_kwnames
[] = { "self","w", NULL
};
2295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetWidth",_kwnames
,&_argo0
,&_arg1
))
2298 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2299 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetWidth. Expected _wxIcon_p.");
2305 wxPy_BEGIN_ALLOW_THREADS
;
2306 wxIcon_SetWidth(_arg0
,_arg1
);
2308 wxPy_END_ALLOW_THREADS
;
2309 } Py_INCREF(Py_None
);
2310 _resultobj
= Py_None
;
2314 #define wxIcon_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
2315 static PyObject
*_wrap_wxIcon_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2316 PyObject
* _resultobj
;
2319 PyObject
* _argo0
= 0;
2320 char *_kwnames
[] = { "self","h", NULL
};
2323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetHeight",_kwnames
,&_argo0
,&_arg1
))
2326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetHeight. Expected _wxIcon_p.");
2333 wxPy_BEGIN_ALLOW_THREADS
;
2334 wxIcon_SetHeight(_arg0
,_arg1
);
2336 wxPy_END_ALLOW_THREADS
;
2337 } Py_INCREF(Py_None
);
2338 _resultobj
= Py_None
;
2342 #define wxIcon_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
2343 static PyObject
*_wrap_wxIcon_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2344 PyObject
* _resultobj
;
2347 PyObject
* _argo0
= 0;
2348 char *_kwnames
[] = { "self","d", NULL
};
2351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetDepth",_kwnames
,&_argo0
,&_arg1
))
2354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetDepth. Expected _wxIcon_p.");
2361 wxPy_BEGIN_ALLOW_THREADS
;
2362 wxIcon_SetDepth(_arg0
,_arg1
);
2364 wxPy_END_ALLOW_THREADS
;
2365 } Py_INCREF(Py_None
);
2366 _resultobj
= Py_None
;
2370 #define wxIcon_CopyFromBitmap(_swigobj,_swigarg0) (_swigobj->CopyFromBitmap(_swigarg0))
2371 static PyObject
*_wrap_wxIcon_CopyFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2372 PyObject
* _resultobj
;
2375 PyObject
* _argo0
= 0;
2376 PyObject
* _argo1
= 0;
2377 char *_kwnames
[] = { "self","bmp", NULL
};
2380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxIcon_CopyFromBitmap",_kwnames
,&_argo0
,&_argo1
))
2383 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2384 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_CopyFromBitmap. Expected _wxIcon_p.");
2390 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2391 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
2392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIcon_CopyFromBitmap. Expected _wxBitmap_p.");
2397 wxPy_BEGIN_ALLOW_THREADS
;
2398 wxIcon_CopyFromBitmap(_arg0
,*_arg1
);
2400 wxPy_END_ALLOW_THREADS
;
2401 } Py_INCREF(Py_None
);
2402 _resultobj
= Py_None
;
2406 static void *SwigwxCursorTowxGDIObject(void *ptr
) {
2409 src
= (wxCursor
*) ptr
;
2410 dest
= (wxGDIObject
*) src
;
2411 return (void *) dest
;
2414 static void *SwigwxCursorTowxObject(void *ptr
) {
2417 src
= (wxCursor
*) ptr
;
2418 dest
= (wxObject
*) src
;
2419 return (void *) dest
;
2422 #define delete_wxCursor(_swigobj) (delete _swigobj)
2423 static PyObject
*_wrap_delete_wxCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2424 PyObject
* _resultobj
;
2426 PyObject
* _argo0
= 0;
2427 char *_kwnames
[] = { "self", NULL
};
2430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCursor",_kwnames
,&_argo0
))
2433 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2434 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
2435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCursor. Expected _wxCursor_p.");
2440 wxPy_BEGIN_ALLOW_THREADS
;
2441 delete_wxCursor(_arg0
);
2443 wxPy_END_ALLOW_THREADS
;
2444 } Py_INCREF(Py_None
);
2445 _resultobj
= Py_None
;
2449 #define wxCursor_Ok(_swigobj) (_swigobj->Ok())
2450 static PyObject
*_wrap_wxCursor_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2451 PyObject
* _resultobj
;
2454 PyObject
* _argo0
= 0;
2455 char *_kwnames
[] = { "self", NULL
};
2458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCursor_Ok",_kwnames
,&_argo0
))
2461 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2462 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
2463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_Ok. Expected _wxCursor_p.");
2468 wxPy_BEGIN_ALLOW_THREADS
;
2469 _result
= (bool )wxCursor_Ok(_arg0
);
2471 wxPy_END_ALLOW_THREADS
;
2472 } _resultobj
= Py_BuildValue("i",_result
);
2476 static void *SwigwxFontTowxGDIObject(void *ptr
) {
2479 src
= (wxFont
*) ptr
;
2480 dest
= (wxGDIObject
*) src
;
2481 return (void *) dest
;
2484 static void *SwigwxFontTowxObject(void *ptr
) {
2487 src
= (wxFont
*) ptr
;
2488 dest
= (wxObject
*) src
;
2489 return (void *) dest
;
2492 #define new_wxFont(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxFont(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2493 static PyObject
*_wrap_new_wxFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2494 PyObject
* _resultobj
;
2500 int _arg4
= (int ) FALSE
;
2501 char * _arg5
= (char *) "";
2502 wxFontEncoding _arg6
= (wxFontEncoding
) (wxFONTENCODING_DEFAULT
);
2503 char *_kwnames
[] = { "pointSize","family","style","weight","underline","faceName","encoding", NULL
};
2507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiii|isi:new_wxFont",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
2510 wxPy_BEGIN_ALLOW_THREADS
;
2511 _result
= (wxFont
*)new_wxFont(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2513 wxPy_END_ALLOW_THREADS
;
2515 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
2516 _resultobj
= Py_BuildValue("s",_ptemp
);
2519 _resultobj
= Py_None
;
2524 #define delete_wxFont(_swigobj) (delete _swigobj)
2525 static PyObject
*_wrap_delete_wxFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2526 PyObject
* _resultobj
;
2528 PyObject
* _argo0
= 0;
2529 char *_kwnames
[] = { "self", NULL
};
2532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFont",_kwnames
,&_argo0
))
2535 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2536 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFont. Expected _wxFont_p.");
2542 wxPy_BEGIN_ALLOW_THREADS
;
2543 delete_wxFont(_arg0
);
2545 wxPy_END_ALLOW_THREADS
;
2546 } Py_INCREF(Py_None
);
2547 _resultobj
= Py_None
;
2551 #define wxFont_Ok(_swigobj) (_swigobj->Ok())
2552 static PyObject
*_wrap_wxFont_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2553 PyObject
* _resultobj
;
2556 PyObject
* _argo0
= 0;
2557 char *_kwnames
[] = { "self", NULL
};
2560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_Ok",_kwnames
,&_argo0
))
2563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_Ok. Expected _wxFont_p.");
2570 wxPy_BEGIN_ALLOW_THREADS
;
2571 _result
= (bool )wxFont_Ok(_arg0
);
2573 wxPy_END_ALLOW_THREADS
;
2574 } _resultobj
= Py_BuildValue("i",_result
);
2578 #define wxFont_GetFaceName(_swigobj) (_swigobj->GetFaceName())
2579 static PyObject
*_wrap_wxFont_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2580 PyObject
* _resultobj
;
2583 PyObject
* _argo0
= 0;
2584 char *_kwnames
[] = { "self", NULL
};
2587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFaceName",_kwnames
,&_argo0
))
2590 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2591 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFaceName. Expected _wxFont_p.");
2597 wxPy_BEGIN_ALLOW_THREADS
;
2598 _result
= new wxString (wxFont_GetFaceName(_arg0
));
2600 wxPy_END_ALLOW_THREADS
;
2602 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2610 #define wxFont_GetFamily(_swigobj) (_swigobj->GetFamily())
2611 static PyObject
*_wrap_wxFont_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2612 PyObject
* _resultobj
;
2615 PyObject
* _argo0
= 0;
2616 char *_kwnames
[] = { "self", NULL
};
2619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFamily",_kwnames
,&_argo0
))
2622 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2623 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFamily. Expected _wxFont_p.");
2629 wxPy_BEGIN_ALLOW_THREADS
;
2630 _result
= (int )wxFont_GetFamily(_arg0
);
2632 wxPy_END_ALLOW_THREADS
;
2633 } _resultobj
= Py_BuildValue("i",_result
);
2637 #define wxFont_GetPointSize(_swigobj) (_swigobj->GetPointSize())
2638 static PyObject
*_wrap_wxFont_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2639 PyObject
* _resultobj
;
2642 PyObject
* _argo0
= 0;
2643 char *_kwnames
[] = { "self", NULL
};
2646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetPointSize",_kwnames
,&_argo0
))
2649 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2650 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetPointSize. Expected _wxFont_p.");
2656 wxPy_BEGIN_ALLOW_THREADS
;
2657 _result
= (int )wxFont_GetPointSize(_arg0
);
2659 wxPy_END_ALLOW_THREADS
;
2660 } _resultobj
= Py_BuildValue("i",_result
);
2664 #define wxFont_GetStyle(_swigobj) (_swigobj->GetStyle())
2665 static PyObject
*_wrap_wxFont_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2666 PyObject
* _resultobj
;
2669 PyObject
* _argo0
= 0;
2670 char *_kwnames
[] = { "self", NULL
};
2673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetStyle",_kwnames
,&_argo0
))
2676 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2677 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetStyle. Expected _wxFont_p.");
2683 wxPy_BEGIN_ALLOW_THREADS
;
2684 _result
= (int )wxFont_GetStyle(_arg0
);
2686 wxPy_END_ALLOW_THREADS
;
2687 } _resultobj
= Py_BuildValue("i",_result
);
2691 #define wxFont_GetUnderlined(_swigobj) (_swigobj->GetUnderlined())
2692 static PyObject
*_wrap_wxFont_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2693 PyObject
* _resultobj
;
2696 PyObject
* _argo0
= 0;
2697 char *_kwnames
[] = { "self", NULL
};
2700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetUnderlined",_kwnames
,&_argo0
))
2703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetUnderlined. Expected _wxFont_p.");
2710 wxPy_BEGIN_ALLOW_THREADS
;
2711 _result
= (bool )wxFont_GetUnderlined(_arg0
);
2713 wxPy_END_ALLOW_THREADS
;
2714 } _resultobj
= Py_BuildValue("i",_result
);
2718 #define wxFont_GetWeight(_swigobj) (_swigobj->GetWeight())
2719 static PyObject
*_wrap_wxFont_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2720 PyObject
* _resultobj
;
2723 PyObject
* _argo0
= 0;
2724 char *_kwnames
[] = { "self", NULL
};
2727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetWeight",_kwnames
,&_argo0
))
2730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetWeight. Expected _wxFont_p.");
2737 wxPy_BEGIN_ALLOW_THREADS
;
2738 _result
= (int )wxFont_GetWeight(_arg0
);
2740 wxPy_END_ALLOW_THREADS
;
2741 } _resultobj
= Py_BuildValue("i",_result
);
2745 #define wxFont_GetEncoding(_swigobj) (_swigobj->GetEncoding())
2746 static PyObject
*_wrap_wxFont_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2747 PyObject
* _resultobj
;
2748 wxFontEncoding _result
;
2750 PyObject
* _argo0
= 0;
2751 char *_kwnames
[] = { "self", NULL
};
2754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetEncoding",_kwnames
,&_argo0
))
2757 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2758 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetEncoding. Expected _wxFont_p.");
2764 wxPy_BEGIN_ALLOW_THREADS
;
2765 _result
= (wxFontEncoding
)wxFont_GetEncoding(_arg0
);
2767 wxPy_END_ALLOW_THREADS
;
2768 } _resultobj
= Py_BuildValue("i",_result
);
2772 #define wxFont_SetFaceName(_swigobj,_swigarg0) (_swigobj->SetFaceName(_swigarg0))
2773 static PyObject
*_wrap_wxFont_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2774 PyObject
* _resultobj
;
2777 PyObject
* _argo0
= 0;
2778 PyObject
* _obj1
= 0;
2779 char *_kwnames
[] = { "self","faceName", NULL
};
2782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFont_SetFaceName",_kwnames
,&_argo0
,&_obj1
))
2785 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2786 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetFaceName. Expected _wxFont_p.");
2792 #if PYTHON_API_VERSION >= 1009
2793 char* tmpPtr
; int tmpSize
;
2794 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2795 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2798 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2800 _arg1
= new wxString(tmpPtr
, tmpSize
);
2802 if (!PyString_Check(_obj1
)) {
2803 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2806 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2810 wxPy_BEGIN_ALLOW_THREADS
;
2811 wxFont_SetFaceName(_arg0
,*_arg1
);
2813 wxPy_END_ALLOW_THREADS
;
2814 } Py_INCREF(Py_None
);
2815 _resultobj
= Py_None
;
2823 #define wxFont_SetFamily(_swigobj,_swigarg0) (_swigobj->SetFamily(_swigarg0))
2824 static PyObject
*_wrap_wxFont_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2825 PyObject
* _resultobj
;
2828 PyObject
* _argo0
= 0;
2829 char *_kwnames
[] = { "self","family", NULL
};
2832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetFamily",_kwnames
,&_argo0
,&_arg1
))
2835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetFamily. Expected _wxFont_p.");
2842 wxPy_BEGIN_ALLOW_THREADS
;
2843 wxFont_SetFamily(_arg0
,_arg1
);
2845 wxPy_END_ALLOW_THREADS
;
2846 } Py_INCREF(Py_None
);
2847 _resultobj
= Py_None
;
2851 #define wxFont_SetPointSize(_swigobj,_swigarg0) (_swigobj->SetPointSize(_swigarg0))
2852 static PyObject
*_wrap_wxFont_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2853 PyObject
* _resultobj
;
2856 PyObject
* _argo0
= 0;
2857 char *_kwnames
[] = { "self","pointSize", NULL
};
2860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetPointSize",_kwnames
,&_argo0
,&_arg1
))
2863 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2864 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetPointSize. Expected _wxFont_p.");
2870 wxPy_BEGIN_ALLOW_THREADS
;
2871 wxFont_SetPointSize(_arg0
,_arg1
);
2873 wxPy_END_ALLOW_THREADS
;
2874 } Py_INCREF(Py_None
);
2875 _resultobj
= Py_None
;
2879 #define wxFont_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
2880 static PyObject
*_wrap_wxFont_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2881 PyObject
* _resultobj
;
2884 PyObject
* _argo0
= 0;
2885 char *_kwnames
[] = { "self","style", NULL
};
2888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetStyle",_kwnames
,&_argo0
,&_arg1
))
2891 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2892 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetStyle. Expected _wxFont_p.");
2898 wxPy_BEGIN_ALLOW_THREADS
;
2899 wxFont_SetStyle(_arg0
,_arg1
);
2901 wxPy_END_ALLOW_THREADS
;
2902 } Py_INCREF(Py_None
);
2903 _resultobj
= Py_None
;
2907 #define wxFont_SetUnderlined(_swigobj,_swigarg0) (_swigobj->SetUnderlined(_swigarg0))
2908 static PyObject
*_wrap_wxFont_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2909 PyObject
* _resultobj
;
2912 PyObject
* _argo0
= 0;
2914 char *_kwnames
[] = { "self","underlined", NULL
};
2917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetUnderlined",_kwnames
,&_argo0
,&tempbool1
))
2920 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2921 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetUnderlined. Expected _wxFont_p.");
2926 _arg1
= (bool ) tempbool1
;
2928 wxPy_BEGIN_ALLOW_THREADS
;
2929 wxFont_SetUnderlined(_arg0
,_arg1
);
2931 wxPy_END_ALLOW_THREADS
;
2932 } Py_INCREF(Py_None
);
2933 _resultobj
= Py_None
;
2937 #define wxFont_SetWeight(_swigobj,_swigarg0) (_swigobj->SetWeight(_swigarg0))
2938 static PyObject
*_wrap_wxFont_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2939 PyObject
* _resultobj
;
2942 PyObject
* _argo0
= 0;
2943 char *_kwnames
[] = { "self","weight", NULL
};
2946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetWeight",_kwnames
,&_argo0
,&_arg1
))
2949 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2950 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetWeight. Expected _wxFont_p.");
2956 wxPy_BEGIN_ALLOW_THREADS
;
2957 wxFont_SetWeight(_arg0
,_arg1
);
2959 wxPy_END_ALLOW_THREADS
;
2960 } Py_INCREF(Py_None
);
2961 _resultobj
= Py_None
;
2965 #define wxFont_SetEncoding(_swigobj,_swigarg0) (_swigobj->SetEncoding(_swigarg0))
2966 static PyObject
*_wrap_wxFont_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2967 PyObject
* _resultobj
;
2969 wxFontEncoding _arg1
;
2970 PyObject
* _argo0
= 0;
2971 char *_kwnames
[] = { "self","encoding", NULL
};
2974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetEncoding",_kwnames
,&_argo0
,&_arg1
))
2977 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2978 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2979 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetEncoding. Expected _wxFont_p.");
2984 wxPy_BEGIN_ALLOW_THREADS
;
2985 wxFont_SetEncoding(_arg0
,_arg1
);
2987 wxPy_END_ALLOW_THREADS
;
2988 } Py_INCREF(Py_None
);
2989 _resultobj
= Py_None
;
2993 #define wxFont_GetFamilyString(_swigobj) (_swigobj->GetFamilyString())
2994 static PyObject
*_wrap_wxFont_GetFamilyString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2995 PyObject
* _resultobj
;
2998 PyObject
* _argo0
= 0;
2999 char *_kwnames
[] = { "self", NULL
};
3002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFamilyString",_kwnames
,&_argo0
))
3005 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3006 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFamilyString. Expected _wxFont_p.");
3012 wxPy_BEGIN_ALLOW_THREADS
;
3013 _result
= new wxString (wxFont_GetFamilyString(_arg0
));
3015 wxPy_END_ALLOW_THREADS
;
3017 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3025 #define wxFont_GetStyleString(_swigobj) (_swigobj->GetStyleString())
3026 static PyObject
*_wrap_wxFont_GetStyleString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3027 PyObject
* _resultobj
;
3030 PyObject
* _argo0
= 0;
3031 char *_kwnames
[] = { "self", NULL
};
3034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetStyleString",_kwnames
,&_argo0
))
3037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetStyleString. Expected _wxFont_p.");
3044 wxPy_BEGIN_ALLOW_THREADS
;
3045 _result
= new wxString (wxFont_GetStyleString(_arg0
));
3047 wxPy_END_ALLOW_THREADS
;
3049 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3057 #define wxFont_GetWeightString(_swigobj) (_swigobj->GetWeightString())
3058 static PyObject
*_wrap_wxFont_GetWeightString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3059 PyObject
* _resultobj
;
3062 PyObject
* _argo0
= 0;
3063 char *_kwnames
[] = { "self", NULL
};
3066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetWeightString",_kwnames
,&_argo0
))
3069 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3070 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetWeightString. Expected _wxFont_p.");
3076 wxPy_BEGIN_ALLOW_THREADS
;
3077 _result
= new wxString (wxFont_GetWeightString(_arg0
));
3079 wxPy_END_ALLOW_THREADS
;
3081 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3089 static void *SwigwxFontListTowxObject(void *ptr
) {
3092 src
= (wxFontList
*) ptr
;
3093 dest
= (wxObject
*) src
;
3094 return (void *) dest
;
3097 #define wxFontList_AddFont(_swigobj,_swigarg0) (_swigobj->AddFont(_swigarg0))
3098 static PyObject
*_wrap_wxFontList_AddFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3099 PyObject
* _resultobj
;
3102 PyObject
* _argo0
= 0;
3103 PyObject
* _argo1
= 0;
3104 char *_kwnames
[] = { "self","font", NULL
};
3107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontList_AddFont",_kwnames
,&_argo0
,&_argo1
))
3110 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3111 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontList_p")) {
3112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontList_AddFont. Expected _wxFontList_p.");
3117 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3118 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
3119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontList_AddFont. Expected _wxFont_p.");
3124 wxPy_BEGIN_ALLOW_THREADS
;
3125 wxFontList_AddFont(_arg0
,_arg1
);
3127 wxPy_END_ALLOW_THREADS
;
3128 } Py_INCREF(Py_None
);
3129 _resultobj
= Py_None
;
3133 #define wxFontList_FindOrCreateFont(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->FindOrCreateFont(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3134 static PyObject
*_wrap_wxFontList_FindOrCreateFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3135 PyObject
* _resultobj
;
3142 bool _arg5
= (bool ) FALSE
;
3143 char * _arg6
= (char *) NULL
;
3144 wxFontEncoding _arg7
= (wxFontEncoding
) (wxFONTENCODING_DEFAULT
);
3145 PyObject
* _argo0
= 0;
3146 int tempbool5
= (int) FALSE
;
3147 char *_kwnames
[] = { "self","point_size","family","style","weight","underline","facename","encoding", NULL
};
3151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|isi:wxFontList_FindOrCreateFont",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
,&_arg6
,&_arg7
))
3154 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3155 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontList_p")) {
3156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontList_FindOrCreateFont. Expected _wxFontList_p.");
3160 _arg5
= (bool ) tempbool5
;
3162 wxPy_BEGIN_ALLOW_THREADS
;
3163 _result
= (wxFont
*)wxFontList_FindOrCreateFont(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
);
3165 wxPy_END_ALLOW_THREADS
;
3167 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
3168 _resultobj
= Py_BuildValue("s",_ptemp
);
3171 _resultobj
= Py_None
;
3176 #define wxFontList_RemoveFont(_swigobj,_swigarg0) (_swigobj->RemoveFont(_swigarg0))
3177 static PyObject
*_wrap_wxFontList_RemoveFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3178 PyObject
* _resultobj
;
3181 PyObject
* _argo0
= 0;
3182 PyObject
* _argo1
= 0;
3183 char *_kwnames
[] = { "self","font", NULL
};
3186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontList_RemoveFont",_kwnames
,&_argo0
,&_argo1
))
3189 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3190 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontList_p")) {
3191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontList_RemoveFont. Expected _wxFontList_p.");
3196 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3197 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
3198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontList_RemoveFont. Expected _wxFont_p.");
3203 wxPy_BEGIN_ALLOW_THREADS
;
3204 wxFontList_RemoveFont(_arg0
,_arg1
);
3206 wxPy_END_ALLOW_THREADS
;
3207 } Py_INCREF(Py_None
);
3208 _resultobj
= Py_None
;
3212 static void *SwigwxColourTowxObject(void *ptr
) {
3215 src
= (wxColour
*) ptr
;
3216 dest
= (wxObject
*) src
;
3217 return (void *) dest
;
3220 #define new_wxColour(_swigarg0,_swigarg1,_swigarg2) (new wxColour(_swigarg0,_swigarg1,_swigarg2))
3221 static PyObject
*_wrap_new_wxColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3222 PyObject
* _resultobj
;
3224 unsigned char _arg0
= (unsigned char ) 0;
3225 unsigned char _arg1
= (unsigned char ) 0;
3226 unsigned char _arg2
= (unsigned char ) 0;
3227 char *_kwnames
[] = { "red","green","blue", NULL
};
3231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|bbb:new_wxColour",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
3234 wxPy_BEGIN_ALLOW_THREADS
;
3235 _result
= (wxColour
*)new_wxColour(_arg0
,_arg1
,_arg2
);
3237 wxPy_END_ALLOW_THREADS
;
3239 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
3240 _resultobj
= Py_BuildValue("s",_ptemp
);
3243 _resultobj
= Py_None
;
3248 #define delete_wxColour(_swigobj) (delete _swigobj)
3249 static PyObject
*_wrap_delete_wxColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3250 PyObject
* _resultobj
;
3253 PyObject
* _obj0
= 0;
3254 char *_kwnames
[] = { "self", NULL
};
3257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxColour",_kwnames
,&_obj0
))
3261 if (! wxColour_helper(_obj0
, &_arg0
))
3265 wxPy_BEGIN_ALLOW_THREADS
;
3266 delete_wxColour(_arg0
);
3268 wxPy_END_ALLOW_THREADS
;
3269 } Py_INCREF(Py_None
);
3270 _resultobj
= Py_None
;
3274 #define wxColour_Red(_swigobj) (_swigobj->Red())
3275 static PyObject
*_wrap_wxColour_Red(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3276 PyObject
* _resultobj
;
3277 unsigned char _result
;
3280 PyObject
* _obj0
= 0;
3281 char *_kwnames
[] = { "self", NULL
};
3284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Red",_kwnames
,&_obj0
))
3288 if (! wxColour_helper(_obj0
, &_arg0
))
3292 wxPy_BEGIN_ALLOW_THREADS
;
3293 _result
= (unsigned char )wxColour_Red(_arg0
);
3295 wxPy_END_ALLOW_THREADS
;
3296 } _resultobj
= Py_BuildValue("b",_result
);
3300 #define wxColour_Green(_swigobj) (_swigobj->Green())
3301 static PyObject
*_wrap_wxColour_Green(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3302 PyObject
* _resultobj
;
3303 unsigned char _result
;
3306 PyObject
* _obj0
= 0;
3307 char *_kwnames
[] = { "self", NULL
};
3310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Green",_kwnames
,&_obj0
))
3314 if (! wxColour_helper(_obj0
, &_arg0
))
3318 wxPy_BEGIN_ALLOW_THREADS
;
3319 _result
= (unsigned char )wxColour_Green(_arg0
);
3321 wxPy_END_ALLOW_THREADS
;
3322 } _resultobj
= Py_BuildValue("b",_result
);
3326 #define wxColour_Blue(_swigobj) (_swigobj->Blue())
3327 static PyObject
*_wrap_wxColour_Blue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3328 PyObject
* _resultobj
;
3329 unsigned char _result
;
3332 PyObject
* _obj0
= 0;
3333 char *_kwnames
[] = { "self", NULL
};
3336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Blue",_kwnames
,&_obj0
))
3340 if (! wxColour_helper(_obj0
, &_arg0
))
3344 wxPy_BEGIN_ALLOW_THREADS
;
3345 _result
= (unsigned char )wxColour_Blue(_arg0
);
3347 wxPy_END_ALLOW_THREADS
;
3348 } _resultobj
= Py_BuildValue("b",_result
);
3352 #define wxColour_Ok(_swigobj) (_swigobj->Ok())
3353 static PyObject
*_wrap_wxColour_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3354 PyObject
* _resultobj
;
3358 PyObject
* _obj0
= 0;
3359 char *_kwnames
[] = { "self", NULL
};
3362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Ok",_kwnames
,&_obj0
))
3366 if (! wxColour_helper(_obj0
, &_arg0
))
3370 wxPy_BEGIN_ALLOW_THREADS
;
3371 _result
= (bool )wxColour_Ok(_arg0
);
3373 wxPy_END_ALLOW_THREADS
;
3374 } _resultobj
= Py_BuildValue("i",_result
);
3378 #define wxColour_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
3379 static PyObject
*_wrap_wxColour_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3380 PyObject
* _resultobj
;
3382 unsigned char _arg1
;
3383 unsigned char _arg2
;
3384 unsigned char _arg3
;
3386 PyObject
* _obj0
= 0;
3387 char *_kwnames
[] = { "self","red","green","blue", NULL
};
3390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Obbb:wxColour_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_arg3
))
3394 if (! wxColour_helper(_obj0
, &_arg0
))
3398 wxPy_BEGIN_ALLOW_THREADS
;
3399 wxColour_Set(_arg0
,_arg1
,_arg2
,_arg3
);
3401 wxPy_END_ALLOW_THREADS
;
3402 } Py_INCREF(Py_None
);
3403 _resultobj
= Py_None
;
3407 static PyObject
* wxColour_Get(wxColour
*self
) {
3408 PyObject
* rv
= PyTuple_New(3);
3409 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
3410 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
3411 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
3414 static PyObject
*_wrap_wxColour_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3415 PyObject
* _resultobj
;
3419 PyObject
* _obj0
= 0;
3420 char *_kwnames
[] = { "self", NULL
};
3423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Get",_kwnames
,&_obj0
))
3427 if (! wxColour_helper(_obj0
, &_arg0
))
3431 wxPy_BEGIN_ALLOW_THREADS
;
3432 _result
= (PyObject
*)wxColour_Get(_arg0
);
3434 wxPy_END_ALLOW_THREADS
;
3436 _resultobj
= _result
;
3441 static void *SwigwxColourDatabaseTowxObject(void *ptr
) {
3442 wxColourDatabase
*src
;
3444 src
= (wxColourDatabase
*) ptr
;
3445 dest
= (wxObject
*) src
;
3446 return (void *) dest
;
3449 #define wxColourDatabase_FindColour(_swigobj,_swigarg0) (_swigobj->FindColour(_swigarg0))
3450 static PyObject
*_wrap_wxColourDatabase_FindColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3451 PyObject
* _resultobj
;
3453 wxColourDatabase
* _arg0
;
3455 PyObject
* _argo0
= 0;
3456 PyObject
* _obj1
= 0;
3457 char *_kwnames
[] = { "self","colour", NULL
};
3461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxColourDatabase_FindColour",_kwnames
,&_argo0
,&_obj1
))
3464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDatabase_p")) {
3466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDatabase_FindColour. Expected _wxColourDatabase_p.");
3471 #if PYTHON_API_VERSION >= 1009
3472 char* tmpPtr
; int tmpSize
;
3473 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3474 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3477 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3479 _arg1
= new wxString(tmpPtr
, tmpSize
);
3481 if (!PyString_Check(_obj1
)) {
3482 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3485 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3489 wxPy_BEGIN_ALLOW_THREADS
;
3490 _result
= (wxColour
*)wxColourDatabase_FindColour(_arg0
,*_arg1
);
3492 wxPy_END_ALLOW_THREADS
;
3494 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
3495 _resultobj
= Py_BuildValue("s",_ptemp
);
3498 _resultobj
= Py_None
;
3507 #define wxColourDatabase_FindName(_swigobj,_swigarg0) (_swigobj->FindName(_swigarg0))
3508 static PyObject
*_wrap_wxColourDatabase_FindName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3509 PyObject
* _resultobj
;
3511 wxColourDatabase
* _arg0
;
3513 PyObject
* _argo0
= 0;
3515 PyObject
* _obj1
= 0;
3516 char *_kwnames
[] = { "self","colour", NULL
};
3519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxColourDatabase_FindName",_kwnames
,&_argo0
,&_obj1
))
3522 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3523 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDatabase_p")) {
3524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDatabase_FindName. Expected _wxColourDatabase_p.");
3530 if (! wxColour_helper(_obj1
, &_arg1
))
3534 wxPy_BEGIN_ALLOW_THREADS
;
3535 _result
= new wxString (wxColourDatabase_FindName(_arg0
,*_arg1
));
3537 wxPy_END_ALLOW_THREADS
;
3539 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3547 static void wxColourDatabase_Append(wxColourDatabase
*self
,const wxString
& name
,int red
,int green
,int blue
) {
3548 self
->Append(name
.c_str(), new wxColour(red
, green
, blue
));
3550 static PyObject
*_wrap_wxColourDatabase_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3551 PyObject
* _resultobj
;
3552 wxColourDatabase
* _arg0
;
3557 PyObject
* _argo0
= 0;
3558 PyObject
* _obj1
= 0;
3559 char *_kwnames
[] = { "self","name","red","green","blue", NULL
};
3562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiii:wxColourDatabase_Append",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_arg4
))
3565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDatabase_p")) {
3567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDatabase_Append. Expected _wxColourDatabase_p.");
3572 #if PYTHON_API_VERSION >= 1009
3573 char* tmpPtr
; int tmpSize
;
3574 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3575 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3578 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3580 _arg1
= new wxString(tmpPtr
, tmpSize
);
3582 if (!PyString_Check(_obj1
)) {
3583 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3586 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3590 wxPy_BEGIN_ALLOW_THREADS
;
3591 wxColourDatabase_Append(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
3593 wxPy_END_ALLOW_THREADS
;
3594 } Py_INCREF(Py_None
);
3595 _resultobj
= Py_None
;
3603 static void *SwigwxPenTowxGDIObject(void *ptr
) {
3606 src
= (wxPen
*) ptr
;
3607 dest
= (wxGDIObject
*) src
;
3608 return (void *) dest
;
3611 static void *SwigwxPenTowxObject(void *ptr
) {
3614 src
= (wxPen
*) ptr
;
3615 dest
= (wxObject
*) src
;
3616 return (void *) dest
;
3619 #define new_wxPen(_swigarg0,_swigarg1,_swigarg2) (new wxPen(_swigarg0,_swigarg1,_swigarg2))
3620 static PyObject
*_wrap_new_wxPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3621 PyObject
* _resultobj
;
3624 int _arg1
= (int ) 1;
3625 int _arg2
= (int ) wxSOLID
;
3627 PyObject
* _obj0
= 0;
3628 char *_kwnames
[] = { "colour","width","style", NULL
};
3632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:new_wxPen",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
3636 if (! wxColour_helper(_obj0
, &_arg0
))
3640 wxPy_BEGIN_ALLOW_THREADS
;
3641 _result
= (wxPen
*)new_wxPen(*_arg0
,_arg1
,_arg2
);
3643 wxPy_END_ALLOW_THREADS
;
3645 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
3646 _resultobj
= Py_BuildValue("s",_ptemp
);
3649 _resultobj
= Py_None
;
3654 #define delete_wxPen(_swigobj) (delete _swigobj)
3655 static PyObject
*_wrap_delete_wxPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3656 PyObject
* _resultobj
;
3658 PyObject
* _argo0
= 0;
3659 char *_kwnames
[] = { "self", NULL
};
3662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPen",_kwnames
,&_argo0
))
3665 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3666 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPen. Expected _wxPen_p.");
3672 wxPy_BEGIN_ALLOW_THREADS
;
3673 delete_wxPen(_arg0
);
3675 wxPy_END_ALLOW_THREADS
;
3676 } Py_INCREF(Py_None
);
3677 _resultobj
= Py_None
;
3681 #define wxPen_GetCap(_swigobj) (_swigobj->GetCap())
3682 static PyObject
*_wrap_wxPen_GetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3683 PyObject
* _resultobj
;
3686 PyObject
* _argo0
= 0;
3687 char *_kwnames
[] = { "self", NULL
};
3690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetCap",_kwnames
,&_argo0
))
3693 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3694 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetCap. Expected _wxPen_p.");
3700 wxPy_BEGIN_ALLOW_THREADS
;
3701 _result
= (int )wxPen_GetCap(_arg0
);
3703 wxPy_END_ALLOW_THREADS
;
3704 } _resultobj
= Py_BuildValue("i",_result
);
3708 #define wxPen_GetColour(_swigobj) (_swigobj->GetColour())
3709 static PyObject
*_wrap_wxPen_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3710 PyObject
* _resultobj
;
3713 PyObject
* _argo0
= 0;
3714 char *_kwnames
[] = { "self", NULL
};
3718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetColour",_kwnames
,&_argo0
))
3721 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3722 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetColour. Expected _wxPen_p.");
3728 wxPy_BEGIN_ALLOW_THREADS
;
3729 wxColour
& _result_ref
= wxPen_GetColour(_arg0
);
3730 _result
= (wxColour
*) &_result_ref
;
3732 wxPy_END_ALLOW_THREADS
;
3734 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
3735 _resultobj
= Py_BuildValue("s",_ptemp
);
3738 _resultobj
= Py_None
;
3743 #define wxPen_GetJoin(_swigobj) (_swigobj->GetJoin())
3744 static PyObject
*_wrap_wxPen_GetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3745 PyObject
* _resultobj
;
3748 PyObject
* _argo0
= 0;
3749 char *_kwnames
[] = { "self", NULL
};
3752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetJoin",_kwnames
,&_argo0
))
3755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetJoin. Expected _wxPen_p.");
3762 wxPy_BEGIN_ALLOW_THREADS
;
3763 _result
= (int )wxPen_GetJoin(_arg0
);
3765 wxPy_END_ALLOW_THREADS
;
3766 } _resultobj
= Py_BuildValue("i",_result
);
3770 #define wxPen_GetStyle(_swigobj) (_swigobj->GetStyle())
3771 static PyObject
*_wrap_wxPen_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3772 PyObject
* _resultobj
;
3775 PyObject
* _argo0
= 0;
3776 char *_kwnames
[] = { "self", NULL
};
3779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetStyle",_kwnames
,&_argo0
))
3782 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3783 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetStyle. Expected _wxPen_p.");
3789 wxPy_BEGIN_ALLOW_THREADS
;
3790 _result
= (int )wxPen_GetStyle(_arg0
);
3792 wxPy_END_ALLOW_THREADS
;
3793 } _resultobj
= Py_BuildValue("i",_result
);
3797 #define wxPen_GetWidth(_swigobj) (_swigobj->GetWidth())
3798 static PyObject
*_wrap_wxPen_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3799 PyObject
* _resultobj
;
3802 PyObject
* _argo0
= 0;
3803 char *_kwnames
[] = { "self", NULL
};
3806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetWidth",_kwnames
,&_argo0
))
3809 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3810 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetWidth. Expected _wxPen_p.");
3816 wxPy_BEGIN_ALLOW_THREADS
;
3817 _result
= (int )wxPen_GetWidth(_arg0
);
3819 wxPy_END_ALLOW_THREADS
;
3820 } _resultobj
= Py_BuildValue("i",_result
);
3824 #define wxPen_Ok(_swigobj) (_swigobj->Ok())
3825 static PyObject
*_wrap_wxPen_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3826 PyObject
* _resultobj
;
3829 PyObject
* _argo0
= 0;
3830 char *_kwnames
[] = { "self", NULL
};
3833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_Ok",_kwnames
,&_argo0
))
3836 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3837 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_Ok. Expected _wxPen_p.");
3843 wxPy_BEGIN_ALLOW_THREADS
;
3844 _result
= (bool )wxPen_Ok(_arg0
);
3846 wxPy_END_ALLOW_THREADS
;
3847 } _resultobj
= Py_BuildValue("i",_result
);
3851 #define wxPen_SetCap(_swigobj,_swigarg0) (_swigobj->SetCap(_swigarg0))
3852 static PyObject
*_wrap_wxPen_SetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3853 PyObject
* _resultobj
;
3856 PyObject
* _argo0
= 0;
3857 char *_kwnames
[] = { "self","cap_style", NULL
};
3860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetCap",_kwnames
,&_argo0
,&_arg1
))
3863 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3864 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetCap. Expected _wxPen_p.");
3870 wxPy_BEGIN_ALLOW_THREADS
;
3871 wxPen_SetCap(_arg0
,_arg1
);
3873 wxPy_END_ALLOW_THREADS
;
3874 } Py_INCREF(Py_None
);
3875 _resultobj
= Py_None
;
3879 #define wxPen_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
3880 static PyObject
*_wrap_wxPen_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3881 PyObject
* _resultobj
;
3884 PyObject
* _argo0
= 0;
3886 PyObject
* _obj1
= 0;
3887 char *_kwnames
[] = { "self","colour", NULL
};
3890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_SetColour",_kwnames
,&_argo0
,&_obj1
))
3893 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3894 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetColour. Expected _wxPen_p.");
3901 if (! wxColour_helper(_obj1
, &_arg1
))
3905 wxPy_BEGIN_ALLOW_THREADS
;
3906 wxPen_SetColour(_arg0
,*_arg1
);
3908 wxPy_END_ALLOW_THREADS
;
3909 } Py_INCREF(Py_None
);
3910 _resultobj
= Py_None
;
3914 #define wxPen_SetJoin(_swigobj,_swigarg0) (_swigobj->SetJoin(_swigarg0))
3915 static PyObject
*_wrap_wxPen_SetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3916 PyObject
* _resultobj
;
3919 PyObject
* _argo0
= 0;
3920 char *_kwnames
[] = { "self","join_style", NULL
};
3923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetJoin",_kwnames
,&_argo0
,&_arg1
))
3926 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3927 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetJoin. Expected _wxPen_p.");
3933 wxPy_BEGIN_ALLOW_THREADS
;
3934 wxPen_SetJoin(_arg0
,_arg1
);
3936 wxPy_END_ALLOW_THREADS
;
3937 } Py_INCREF(Py_None
);
3938 _resultobj
= Py_None
;
3942 #define wxPen_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
3943 static PyObject
*_wrap_wxPen_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3944 PyObject
* _resultobj
;
3947 PyObject
* _argo0
= 0;
3948 char *_kwnames
[] = { "self","style", NULL
};
3951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetStyle",_kwnames
,&_argo0
,&_arg1
))
3954 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3955 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetStyle. Expected _wxPen_p.");
3961 wxPy_BEGIN_ALLOW_THREADS
;
3962 wxPen_SetStyle(_arg0
,_arg1
);
3964 wxPy_END_ALLOW_THREADS
;
3965 } Py_INCREF(Py_None
);
3966 _resultobj
= Py_None
;
3970 #define wxPen_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
3971 static PyObject
*_wrap_wxPen_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3972 PyObject
* _resultobj
;
3975 PyObject
* _argo0
= 0;
3976 char *_kwnames
[] = { "self","width", NULL
};
3979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetWidth",_kwnames
,&_argo0
,&_arg1
))
3982 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3983 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetWidth. Expected _wxPen_p.");
3989 wxPy_BEGIN_ALLOW_THREADS
;
3990 wxPen_SetWidth(_arg0
,_arg1
);
3992 wxPy_END_ALLOW_THREADS
;
3993 } Py_INCREF(Py_None
);
3994 _resultobj
= Py_None
;
3998 #define wxPen_GetDashes(_swigobj,_swigarg0) (_swigobj->GetDashes(_swigarg0))
3999 static PyObject
*_wrap_wxPen_GetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4000 PyObject
* _resultobj
;
4004 PyObject
* _argo0
= 0;
4005 PyObject
* _argo1
= 0;
4006 char *_kwnames
[] = { "self","dashes", NULL
};
4009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_GetDashes",_kwnames
,&_argo0
,&_argo1
))
4012 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4013 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
4014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetDashes. Expected _wxPen_p.");
4019 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4020 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDash_pp")) {
4021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPen_GetDashes. Expected _wxDash_pp.");
4026 wxPy_BEGIN_ALLOW_THREADS
;
4027 _result
= (int )wxPen_GetDashes(_arg0
,_arg1
);
4029 wxPy_END_ALLOW_THREADS
;
4030 } _resultobj
= Py_BuildValue("i",_result
);
4034 #define wxPen_SetDashes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDashes(_swigarg0,_swigarg1))
4035 static PyObject
*_wrap_wxPen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4036 PyObject
* _resultobj
;
4040 PyObject
* _argo0
= 0;
4041 PyObject
* _obj2
= 0;
4042 char *_kwnames
[] = { "self","choices", NULL
};
4045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_SetDashes",_kwnames
,&_argo0
,&_obj2
))
4048 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4049 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
4050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetDashes. Expected _wxPen_p.");
4056 _arg2
= (wxDash
*)byte_LIST_helper(_obj2
);
4057 if (_arg2
== NULL
) {
4063 _arg1
= PyList_Size(_obj2
);
4070 wxPy_BEGIN_ALLOW_THREADS
;
4071 wxPen_SetDashes(_arg0
,_arg1
,_arg2
);
4073 wxPy_END_ALLOW_THREADS
;
4074 } Py_INCREF(Py_None
);
4075 _resultobj
= Py_None
;
4082 static void *SwigwxPenListTowxObject(void *ptr
) {
4085 src
= (wxPenList
*) ptr
;
4086 dest
= (wxObject
*) src
;
4087 return (void *) dest
;
4090 #define wxPenList_AddPen(_swigobj,_swigarg0) (_swigobj->AddPen(_swigarg0))
4091 static PyObject
*_wrap_wxPenList_AddPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4092 PyObject
* _resultobj
;
4095 PyObject
* _argo0
= 0;
4096 PyObject
* _argo1
= 0;
4097 char *_kwnames
[] = { "self","pen", NULL
};
4100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPenList_AddPen",_kwnames
,&_argo0
,&_argo1
))
4103 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4104 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
4105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_AddPen. Expected _wxPenList_p.");
4110 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4111 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
4112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPenList_AddPen. Expected _wxPen_p.");
4117 wxPy_BEGIN_ALLOW_THREADS
;
4118 wxPenList_AddPen(_arg0
,_arg1
);
4120 wxPy_END_ALLOW_THREADS
;
4121 } Py_INCREF(Py_None
);
4122 _resultobj
= Py_None
;
4126 #define wxPenList_FindOrCreatePen(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindOrCreatePen(_swigarg0,_swigarg1,_swigarg2))
4127 static PyObject
*_wrap_wxPenList_FindOrCreatePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4128 PyObject
* _resultobj
;
4134 PyObject
* _argo0
= 0;
4136 PyObject
* _obj1
= 0;
4137 char *_kwnames
[] = { "self","colour","width","style", NULL
};
4141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxPenList_FindOrCreatePen",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
))
4144 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4145 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
4146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_FindOrCreatePen. Expected _wxPenList_p.");
4152 if (! wxColour_helper(_obj1
, &_arg1
))
4156 wxPy_BEGIN_ALLOW_THREADS
;
4157 _result
= (wxPen
*)wxPenList_FindOrCreatePen(_arg0
,*_arg1
,_arg2
,_arg3
);
4159 wxPy_END_ALLOW_THREADS
;
4161 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
4162 _resultobj
= Py_BuildValue("s",_ptemp
);
4165 _resultobj
= Py_None
;
4170 #define wxPenList_RemovePen(_swigobj,_swigarg0) (_swigobj->RemovePen(_swigarg0))
4171 static PyObject
*_wrap_wxPenList_RemovePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4172 PyObject
* _resultobj
;
4175 PyObject
* _argo0
= 0;
4176 PyObject
* _argo1
= 0;
4177 char *_kwnames
[] = { "self","pen", NULL
};
4180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPenList_RemovePen",_kwnames
,&_argo0
,&_argo1
))
4183 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4184 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
4185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_RemovePen. Expected _wxPenList_p.");
4190 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4191 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
4192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPenList_RemovePen. Expected _wxPen_p.");
4197 wxPy_BEGIN_ALLOW_THREADS
;
4198 wxPenList_RemovePen(_arg0
,_arg1
);
4200 wxPy_END_ALLOW_THREADS
;
4201 } Py_INCREF(Py_None
);
4202 _resultobj
= Py_None
;
4206 static void *SwigwxBrushTowxGDIObject(void *ptr
) {
4209 src
= (wxBrush
*) ptr
;
4210 dest
= (wxGDIObject
*) src
;
4211 return (void *) dest
;
4214 static void *SwigwxBrushTowxObject(void *ptr
) {
4217 src
= (wxBrush
*) ptr
;
4218 dest
= (wxObject
*) src
;
4219 return (void *) dest
;
4222 #define new_wxBrush(_swigarg0,_swigarg1) (new wxBrush(_swigarg0,_swigarg1))
4223 static PyObject
*_wrap_new_wxBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4224 PyObject
* _resultobj
;
4227 int _arg1
= (int ) wxSOLID
;
4229 PyObject
* _obj0
= 0;
4230 char *_kwnames
[] = { "colour","style", NULL
};
4234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxBrush",_kwnames
,&_obj0
,&_arg1
))
4238 if (! wxColour_helper(_obj0
, &_arg0
))
4242 wxPy_BEGIN_ALLOW_THREADS
;
4243 _result
= (wxBrush
*)new_wxBrush(*_arg0
,_arg1
);
4245 wxPy_END_ALLOW_THREADS
;
4247 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
4248 _resultobj
= Py_BuildValue("s",_ptemp
);
4251 _resultobj
= Py_None
;
4256 #define delete_wxBrush(_swigobj) (delete _swigobj)
4257 static PyObject
*_wrap_delete_wxBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4258 PyObject
* _resultobj
;
4260 PyObject
* _argo0
= 0;
4261 char *_kwnames
[] = { "self", NULL
};
4264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBrush",_kwnames
,&_argo0
))
4267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBrush. Expected _wxBrush_p.");
4274 wxPy_BEGIN_ALLOW_THREADS
;
4275 delete_wxBrush(_arg0
);
4277 wxPy_END_ALLOW_THREADS
;
4278 } Py_INCREF(Py_None
);
4279 _resultobj
= Py_None
;
4283 #define wxBrush_GetColour(_swigobj) (_swigobj->GetColour())
4284 static PyObject
*_wrap_wxBrush_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4285 PyObject
* _resultobj
;
4288 PyObject
* _argo0
= 0;
4289 char *_kwnames
[] = { "self", NULL
};
4293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetColour",_kwnames
,&_argo0
))
4296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetColour. Expected _wxBrush_p.");
4303 wxPy_BEGIN_ALLOW_THREADS
;
4304 wxColour
& _result_ref
= wxBrush_GetColour(_arg0
);
4305 _result
= (wxColour
*) &_result_ref
;
4307 wxPy_END_ALLOW_THREADS
;
4309 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
4310 _resultobj
= Py_BuildValue("s",_ptemp
);
4313 _resultobj
= Py_None
;
4318 #define wxBrush_GetStipple(_swigobj) (_swigobj->GetStipple())
4319 static PyObject
*_wrap_wxBrush_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4320 PyObject
* _resultobj
;
4323 PyObject
* _argo0
= 0;
4324 char *_kwnames
[] = { "self", NULL
};
4328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetStipple",_kwnames
,&_argo0
))
4331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStipple. Expected _wxBrush_p.");
4338 wxPy_BEGIN_ALLOW_THREADS
;
4339 _result
= (wxBitmap
*)wxBrush_GetStipple(_arg0
);
4341 wxPy_END_ALLOW_THREADS
;
4343 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
4344 _resultobj
= Py_BuildValue("s",_ptemp
);
4347 _resultobj
= Py_None
;
4352 #define wxBrush_GetStyle(_swigobj) (_swigobj->GetStyle())
4353 static PyObject
*_wrap_wxBrush_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4354 PyObject
* _resultobj
;
4357 PyObject
* _argo0
= 0;
4358 char *_kwnames
[] = { "self", NULL
};
4361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetStyle",_kwnames
,&_argo0
))
4364 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4365 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStyle. Expected _wxBrush_p.");
4371 wxPy_BEGIN_ALLOW_THREADS
;
4372 _result
= (int )wxBrush_GetStyle(_arg0
);
4374 wxPy_END_ALLOW_THREADS
;
4375 } _resultobj
= Py_BuildValue("i",_result
);
4379 #define wxBrush_Ok(_swigobj) (_swigobj->Ok())
4380 static PyObject
*_wrap_wxBrush_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4381 PyObject
* _resultobj
;
4384 PyObject
* _argo0
= 0;
4385 char *_kwnames
[] = { "self", NULL
};
4388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_Ok",_kwnames
,&_argo0
))
4391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_Ok. Expected _wxBrush_p.");
4398 wxPy_BEGIN_ALLOW_THREADS
;
4399 _result
= (bool )wxBrush_Ok(_arg0
);
4401 wxPy_END_ALLOW_THREADS
;
4402 } _resultobj
= Py_BuildValue("i",_result
);
4406 #define wxBrush_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
4407 static PyObject
*_wrap_wxBrush_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4408 PyObject
* _resultobj
;
4411 PyObject
* _argo0
= 0;
4413 PyObject
* _obj1
= 0;
4414 char *_kwnames
[] = { "self","colour", NULL
};
4417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrush_SetColour",_kwnames
,&_argo0
,&_obj1
))
4420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetColour. Expected _wxBrush_p.");
4428 if (! wxColour_helper(_obj1
, &_arg1
))
4432 wxPy_BEGIN_ALLOW_THREADS
;
4433 wxBrush_SetColour(_arg0
,*_arg1
);
4435 wxPy_END_ALLOW_THREADS
;
4436 } Py_INCREF(Py_None
);
4437 _resultobj
= Py_None
;
4441 #define wxBrush_SetStipple(_swigobj,_swigarg0) (_swigobj->SetStipple(_swigarg0))
4442 static PyObject
*_wrap_wxBrush_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4443 PyObject
* _resultobj
;
4446 PyObject
* _argo0
= 0;
4447 PyObject
* _argo1
= 0;
4448 char *_kwnames
[] = { "self","bitmap", NULL
};
4451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrush_SetStipple",_kwnames
,&_argo0
,&_argo1
))
4454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStipple. Expected _wxBrush_p.");
4461 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4462 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
4463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrush_SetStipple. Expected _wxBitmap_p.");
4468 wxPy_BEGIN_ALLOW_THREADS
;
4469 wxBrush_SetStipple(_arg0
,*_arg1
);
4471 wxPy_END_ALLOW_THREADS
;
4472 } Py_INCREF(Py_None
);
4473 _resultobj
= Py_None
;
4477 #define wxBrush_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
4478 static PyObject
*_wrap_wxBrush_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4479 PyObject
* _resultobj
;
4482 PyObject
* _argo0
= 0;
4483 char *_kwnames
[] = { "self","style", NULL
};
4486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBrush_SetStyle",_kwnames
,&_argo0
,&_arg1
))
4489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStyle. Expected _wxBrush_p.");
4496 wxPy_BEGIN_ALLOW_THREADS
;
4497 wxBrush_SetStyle(_arg0
,_arg1
);
4499 wxPy_END_ALLOW_THREADS
;
4500 } Py_INCREF(Py_None
);
4501 _resultobj
= Py_None
;
4505 #define wxBrushList_AddBrush(_swigobj,_swigarg0) (_swigobj->AddBrush(_swigarg0))
4506 static PyObject
*_wrap_wxBrushList_AddBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4507 PyObject
* _resultobj
;
4508 wxBrushList
* _arg0
;
4510 PyObject
* _argo0
= 0;
4511 PyObject
* _argo1
= 0;
4512 char *_kwnames
[] = { "self","brush", NULL
};
4515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrushList_AddBrush",_kwnames
,&_argo0
,&_argo1
))
4518 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4519 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
4520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_AddBrush. Expected _wxBrushList_p.");
4525 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4526 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
4527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrushList_AddBrush. Expected _wxBrush_p.");
4532 wxPy_BEGIN_ALLOW_THREADS
;
4533 wxBrushList_AddBrush(_arg0
,_arg1
);
4535 wxPy_END_ALLOW_THREADS
;
4536 } Py_INCREF(Py_None
);
4537 _resultobj
= Py_None
;
4541 #define wxBrushList_FindOrCreateBrush(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindOrCreateBrush(_swigarg0,_swigarg1))
4542 static PyObject
*_wrap_wxBrushList_FindOrCreateBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4543 PyObject
* _resultobj
;
4545 wxBrushList
* _arg0
;
4548 PyObject
* _argo0
= 0;
4550 PyObject
* _obj1
= 0;
4551 char *_kwnames
[] = { "self","colour","style", NULL
};
4555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxBrushList_FindOrCreateBrush",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
4558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
4560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_FindOrCreateBrush. Expected _wxBrushList_p.");
4566 if (! wxColour_helper(_obj1
, &_arg1
))
4570 wxPy_BEGIN_ALLOW_THREADS
;
4571 _result
= (wxBrush
*)wxBrushList_FindOrCreateBrush(_arg0
,*_arg1
,_arg2
);
4573 wxPy_END_ALLOW_THREADS
;
4575 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
4576 _resultobj
= Py_BuildValue("s",_ptemp
);
4579 _resultobj
= Py_None
;
4584 #define wxBrushList_RemoveBrush(_swigobj,_swigarg0) (_swigobj->RemoveBrush(_swigarg0))
4585 static PyObject
*_wrap_wxBrushList_RemoveBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4586 PyObject
* _resultobj
;
4587 wxBrushList
* _arg0
;
4589 PyObject
* _argo0
= 0;
4590 PyObject
* _argo1
= 0;
4591 char *_kwnames
[] = { "self","brush", NULL
};
4594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrushList_RemoveBrush",_kwnames
,&_argo0
,&_argo1
))
4597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
4599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_RemoveBrush. Expected _wxBrushList_p.");
4604 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4605 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
4606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrushList_RemoveBrush. Expected _wxBrush_p.");
4611 wxPy_BEGIN_ALLOW_THREADS
;
4612 wxBrushList_RemoveBrush(_arg0
,_arg1
);
4614 wxPy_END_ALLOW_THREADS
;
4615 } Py_INCREF(Py_None
);
4616 _resultobj
= Py_None
;
4620 static void *SwigwxDCTowxObject(void *ptr
) {
4624 dest
= (wxObject
*) src
;
4625 return (void *) dest
;
4628 #define delete_wxDC(_swigobj) (delete _swigobj)
4629 static PyObject
*_wrap_delete_wxDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4630 PyObject
* _resultobj
;
4632 PyObject
* _argo0
= 0;
4633 char *_kwnames
[] = { "self", NULL
};
4636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDC",_kwnames
,&_argo0
))
4639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDC. Expected _wxDC_p.");
4646 wxPy_BEGIN_ALLOW_THREADS
;
4649 wxPy_END_ALLOW_THREADS
;
4650 } Py_INCREF(Py_None
);
4651 _resultobj
= Py_None
;
4655 #define wxDC_BeginDrawing(_swigobj) (_swigobj->BeginDrawing())
4656 static PyObject
*_wrap_wxDC_BeginDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4657 PyObject
* _resultobj
;
4659 PyObject
* _argo0
= 0;
4660 char *_kwnames
[] = { "self", NULL
};
4663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_BeginDrawing",_kwnames
,&_argo0
))
4666 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4667 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_BeginDrawing. Expected _wxDC_p.");
4673 wxPy_BEGIN_ALLOW_THREADS
;
4674 wxDC_BeginDrawing(_arg0
);
4676 wxPy_END_ALLOW_THREADS
;
4677 } Py_INCREF(Py_None
);
4678 _resultobj
= Py_None
;
4682 #define wxDC_Blit(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Blit(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
4683 static PyObject
*_wrap_wxDC_Blit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4684 PyObject
* _resultobj
;
4694 int _arg8
= (int ) wxCOPY
;
4695 int _arg9
= (int ) FALSE
;
4696 PyObject
* _argo0
= 0;
4697 PyObject
* _argo5
= 0;
4698 char *_kwnames
[] = { "self","xdest","ydest","width","height","source","xsrc","ysrc","logicalFunc","useMask", NULL
};
4701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllllOll|ii:wxDC_Blit",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_argo5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
))
4704 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4705 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Blit. Expected _wxDC_p.");
4711 if (_argo5
== Py_None
) { _arg5
= NULL
; }
4712 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxDC_p")) {
4713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxDC_Blit. Expected _wxDC_p.");
4718 wxPy_BEGIN_ALLOW_THREADS
;
4719 _result
= (bool )wxDC_Blit(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
4721 wxPy_END_ALLOW_THREADS
;
4722 } _resultobj
= Py_BuildValue("i",_result
);
4726 #define wxDC_Clear(_swigobj) (_swigobj->Clear())
4727 static PyObject
*_wrap_wxDC_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4728 PyObject
* _resultobj
;
4730 PyObject
* _argo0
= 0;
4731 char *_kwnames
[] = { "self", NULL
};
4734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_Clear",_kwnames
,&_argo0
))
4737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Clear. Expected _wxDC_p.");
4744 wxPy_BEGIN_ALLOW_THREADS
;
4747 wxPy_END_ALLOW_THREADS
;
4748 } Py_INCREF(Py_None
);
4749 _resultobj
= Py_None
;
4753 #define wxDC_CrossHair(_swigobj,_swigarg0,_swigarg1) (_swigobj->CrossHair(_swigarg0,_swigarg1))
4754 static PyObject
*_wrap_wxDC_CrossHair(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4755 PyObject
* _resultobj
;
4759 PyObject
* _argo0
= 0;
4760 char *_kwnames
[] = { "self","x","y", NULL
};
4763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_CrossHair",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4766 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4767 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CrossHair. Expected _wxDC_p.");
4773 wxPy_BEGIN_ALLOW_THREADS
;
4774 wxDC_CrossHair(_arg0
,_arg1
,_arg2
);
4776 wxPy_END_ALLOW_THREADS
;
4777 } Py_INCREF(Py_None
);
4778 _resultobj
= Py_None
;
4782 #define wxDC_DestroyClippingRegion(_swigobj) (_swigobj->DestroyClippingRegion())
4783 static PyObject
*_wrap_wxDC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4784 PyObject
* _resultobj
;
4786 PyObject
* _argo0
= 0;
4787 char *_kwnames
[] = { "self", NULL
};
4790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_DestroyClippingRegion",_kwnames
,&_argo0
))
4793 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4794 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DestroyClippingRegion. Expected _wxDC_p.");
4800 wxPy_BEGIN_ALLOW_THREADS
;
4801 wxDC_DestroyClippingRegion(_arg0
);
4803 wxPy_END_ALLOW_THREADS
;
4804 } Py_INCREF(Py_None
);
4805 _resultobj
= Py_None
;
4809 #define wxDC_DeviceToLogicalX(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalX(_swigarg0))
4810 static PyObject
*_wrap_wxDC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4811 PyObject
* _resultobj
;
4815 PyObject
* _argo0
= 0;
4816 char *_kwnames
[] = { "self","x", NULL
};
4819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalX",_kwnames
,&_argo0
,&_arg1
))
4822 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4823 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalX. Expected _wxDC_p.");
4829 wxPy_BEGIN_ALLOW_THREADS
;
4830 _result
= (long )wxDC_DeviceToLogicalX(_arg0
,_arg1
);
4832 wxPy_END_ALLOW_THREADS
;
4833 } _resultobj
= Py_BuildValue("l",_result
);
4837 #define wxDC_DeviceToLogicalXRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalXRel(_swigarg0))
4838 static PyObject
*_wrap_wxDC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4839 PyObject
* _resultobj
;
4843 PyObject
* _argo0
= 0;
4844 char *_kwnames
[] = { "self","x", NULL
};
4847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalXRel",_kwnames
,&_argo0
,&_arg1
))
4850 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4851 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalXRel. Expected _wxDC_p.");
4857 wxPy_BEGIN_ALLOW_THREADS
;
4858 _result
= (long )wxDC_DeviceToLogicalXRel(_arg0
,_arg1
);
4860 wxPy_END_ALLOW_THREADS
;
4861 } _resultobj
= Py_BuildValue("l",_result
);
4865 #define wxDC_DeviceToLogicalY(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalY(_swigarg0))
4866 static PyObject
*_wrap_wxDC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4867 PyObject
* _resultobj
;
4871 PyObject
* _argo0
= 0;
4872 char *_kwnames
[] = { "self","y", NULL
};
4875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalY",_kwnames
,&_argo0
,&_arg1
))
4878 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4879 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalY. Expected _wxDC_p.");
4885 wxPy_BEGIN_ALLOW_THREADS
;
4886 _result
= (long )wxDC_DeviceToLogicalY(_arg0
,_arg1
);
4888 wxPy_END_ALLOW_THREADS
;
4889 } _resultobj
= Py_BuildValue("l",_result
);
4893 #define wxDC_DeviceToLogicalYRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalYRel(_swigarg0))
4894 static PyObject
*_wrap_wxDC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4895 PyObject
* _resultobj
;
4899 PyObject
* _argo0
= 0;
4900 char *_kwnames
[] = { "self","y", NULL
};
4903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalYRel",_kwnames
,&_argo0
,&_arg1
))
4906 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4907 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4908 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalYRel. Expected _wxDC_p.");
4913 wxPy_BEGIN_ALLOW_THREADS
;
4914 _result
= (long )wxDC_DeviceToLogicalYRel(_arg0
,_arg1
);
4916 wxPy_END_ALLOW_THREADS
;
4917 } _resultobj
= Py_BuildValue("l",_result
);
4921 #define wxDC_DrawArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4922 static PyObject
*_wrap_wxDC_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4923 PyObject
* _resultobj
;
4931 PyObject
* _argo0
= 0;
4932 char *_kwnames
[] = { "self","x1","y1","x2","y2","xc","yc", NULL
};
4935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollllll:wxDC_DrawArc",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
4938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawArc. Expected _wxDC_p.");
4945 wxPy_BEGIN_ALLOW_THREADS
;
4946 wxDC_DrawArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4948 wxPy_END_ALLOW_THREADS
;
4949 } Py_INCREF(Py_None
);
4950 _resultobj
= Py_None
;
4954 #define wxDC_DrawCircle(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawCircle(_swigarg0,_swigarg1,_swigarg2))
4955 static PyObject
*_wrap_wxDC_DrawCircle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4956 PyObject
* _resultobj
;
4961 PyObject
* _argo0
= 0;
4962 char *_kwnames
[] = { "self","x","y","radius", NULL
};
4965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olll:wxDC_DrawCircle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawCircle. Expected _wxDC_p.");
4975 wxPy_BEGIN_ALLOW_THREADS
;
4976 wxDC_DrawCircle(_arg0
,_arg1
,_arg2
,_arg3
);
4978 wxPy_END_ALLOW_THREADS
;
4979 } Py_INCREF(Py_None
);
4980 _resultobj
= Py_None
;
4984 #define wxDC_DrawEllipse(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawEllipse(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4985 static PyObject
*_wrap_wxDC_DrawEllipse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4986 PyObject
* _resultobj
;
4992 PyObject
* _argo0
= 0;
4993 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
4996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_DrawEllipse",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
4999 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5000 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipse. Expected _wxDC_p.");
5006 wxPy_BEGIN_ALLOW_THREADS
;
5007 wxDC_DrawEllipse(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5009 wxPy_END_ALLOW_THREADS
;
5010 } Py_INCREF(Py_None
);
5011 _resultobj
= Py_None
;
5015 #define wxDC_DrawEllipticArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawEllipticArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5016 static PyObject
*_wrap_wxDC_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5017 PyObject
* _resultobj
;
5025 PyObject
* _argo0
= 0;
5026 char *_kwnames
[] = { "self","x","y","width","height","start","end", NULL
};
5029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollllll:wxDC_DrawEllipticArc",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
5032 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5033 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipticArc. Expected _wxDC_p.");
5039 wxPy_BEGIN_ALLOW_THREADS
;
5040 wxDC_DrawEllipticArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
5042 wxPy_END_ALLOW_THREADS
;
5043 } Py_INCREF(Py_None
);
5044 _resultobj
= Py_None
;
5048 #define wxDC_DrawIcon(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawIcon(_swigarg0,_swigarg1,_swigarg2))
5049 static PyObject
*_wrap_wxDC_DrawIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5050 PyObject
* _resultobj
;
5055 PyObject
* _argo0
= 0;
5056 PyObject
* _argo1
= 0;
5057 char *_kwnames
[] = { "self","icon","x","y", NULL
};
5060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOll:wxDC_DrawIcon",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
5063 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5064 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawIcon. Expected _wxDC_p.");
5070 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5071 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
5072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawIcon. Expected _wxIcon_p.");
5077 wxPy_BEGIN_ALLOW_THREADS
;
5078 wxDC_DrawIcon(_arg0
,*_arg1
,_arg2
,_arg3
);
5080 wxPy_END_ALLOW_THREADS
;
5081 } Py_INCREF(Py_None
);
5082 _resultobj
= Py_None
;
5086 #define wxDC_DrawLine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5087 static PyObject
*_wrap_wxDC_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5088 PyObject
* _resultobj
;
5094 PyObject
* _argo0
= 0;
5095 char *_kwnames
[] = { "self","x1","y1","x2","y2", NULL
};
5098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_DrawLine",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
5101 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5102 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLine. Expected _wxDC_p.");
5108 wxPy_BEGIN_ALLOW_THREADS
;
5109 wxDC_DrawLine(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5111 wxPy_END_ALLOW_THREADS
;
5112 } Py_INCREF(Py_None
);
5113 _resultobj
= Py_None
;
5117 #define wxDC_DrawLines(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLines(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5118 static PyObject
*_wrap_wxDC_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5119 PyObject
* _resultobj
;
5123 long _arg3
= (long ) 0;
5124 long _arg4
= (long ) 0;
5125 PyObject
* _argo0
= 0;
5127 PyObject
* _obj2
= 0;
5128 char *_kwnames
[] = { "self","points","xoffset","yoffset", NULL
};
5131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ll:wxDC_DrawLines",_kwnames
,&_argo0
,&_obj2
,&_arg3
,&_arg4
))
5134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLines. Expected _wxDC_p.");
5142 _arg2
= wxPoint_LIST_helper(_obj2
, &NPOINTS
);
5143 if (_arg2
== NULL
) {
5151 wxPy_BEGIN_ALLOW_THREADS
;
5152 wxDC_DrawLines(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5154 wxPy_END_ALLOW_THREADS
;
5155 } Py_INCREF(Py_None
);
5156 _resultobj
= Py_None
;
5163 #define wxDC_DrawPolygon(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawPolygon(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5164 static PyObject
*_wrap_wxDC_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5165 PyObject
* _resultobj
;
5169 long _arg3
= (long ) 0;
5170 long _arg4
= (long ) 0;
5171 int _arg5
= (int ) wxODDEVEN_RULE
;
5172 PyObject
* _argo0
= 0;
5174 PyObject
* _obj2
= 0;
5175 char *_kwnames
[] = { "self","points","xoffset","yoffset","fill_style", NULL
};
5178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|lli:wxDC_DrawPolygon",_kwnames
,&_argo0
,&_obj2
,&_arg3
,&_arg4
,&_arg5
))
5181 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5182 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPolygon. Expected _wxDC_p.");
5189 _arg2
= wxPoint_LIST_helper(_obj2
, &NPOINTS
);
5190 if (_arg2
== NULL
) {
5198 wxPy_BEGIN_ALLOW_THREADS
;
5199 wxDC_DrawPolygon(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
5201 wxPy_END_ALLOW_THREADS
;
5202 } Py_INCREF(Py_None
);
5203 _resultobj
= Py_None
;
5210 #define wxDC_DrawPoint(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawPoint(_swigarg0,_swigarg1))
5211 static PyObject
*_wrap_wxDC_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5212 PyObject
* _resultobj
;
5216 PyObject
* _argo0
= 0;
5217 char *_kwnames
[] = { "self","x","y", NULL
};
5220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_DrawPoint",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5223 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5224 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPoint. Expected _wxDC_p.");
5230 wxPy_BEGIN_ALLOW_THREADS
;
5231 wxDC_DrawPoint(_arg0
,_arg1
,_arg2
);
5233 wxPy_END_ALLOW_THREADS
;
5234 } Py_INCREF(Py_None
);
5235 _resultobj
= Py_None
;
5239 #define wxDC_DrawRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5240 static PyObject
*_wrap_wxDC_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5241 PyObject
* _resultobj
;
5247 PyObject
* _argo0
= 0;
5248 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
5251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_DrawRectangle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
5254 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5255 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRectangle. Expected _wxDC_p.");
5261 wxPy_BEGIN_ALLOW_THREADS
;
5262 wxDC_DrawRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5264 wxPy_END_ALLOW_THREADS
;
5265 } Py_INCREF(Py_None
);
5266 _resultobj
= Py_None
;
5270 #define wxDC_DrawRotatedText(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRotatedText(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5271 static PyObject
*_wrap_wxDC_DrawRotatedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5272 PyObject
* _resultobj
;
5278 PyObject
* _argo0
= 0;
5279 PyObject
* _obj1
= 0;
5280 char *_kwnames
[] = { "self","text","x","y","angle", NULL
};
5283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiid:wxDC_DrawRotatedText",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_arg4
))
5286 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5287 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRotatedText. Expected _wxDC_p.");
5293 #if PYTHON_API_VERSION >= 1009
5294 char* tmpPtr
; int tmpSize
;
5295 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5296 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5299 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5301 _arg1
= new wxString(tmpPtr
, tmpSize
);
5303 if (!PyString_Check(_obj1
)) {
5304 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5307 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5311 wxPy_BEGIN_ALLOW_THREADS
;
5312 wxDC_DrawRotatedText(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
5314 wxPy_END_ALLOW_THREADS
;
5315 } Py_INCREF(Py_None
);
5316 _resultobj
= Py_None
;
5324 #define wxDC_DrawRoundedRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawRoundedRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5325 static PyObject
*_wrap_wxDC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5326 PyObject
* _resultobj
;
5332 long _arg5
= (long ) 20;
5333 PyObject
* _argo0
= 0;
5334 char *_kwnames
[] = { "self","x","y","width","height","radius", NULL
};
5337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll|l:wxDC_DrawRoundedRectangle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
5340 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5341 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRoundedRectangle. Expected _wxDC_p.");
5347 wxPy_BEGIN_ALLOW_THREADS
;
5348 wxDC_DrawRoundedRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
5350 wxPy_END_ALLOW_THREADS
;
5351 } Py_INCREF(Py_None
);
5352 _resultobj
= Py_None
;
5356 #define wxDC_DrawSpline(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawSpline(_swigarg0,_swigarg1))
5357 static PyObject
*_wrap_wxDC_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5358 PyObject
* _resultobj
;
5362 PyObject
* _argo0
= 0;
5364 PyObject
* _obj2
= 0;
5365 char *_kwnames
[] = { "self","points", NULL
};
5368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_DrawSpline",_kwnames
,&_argo0
,&_obj2
))
5371 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5372 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawSpline. Expected _wxDC_p.");
5379 _arg2
= wxPoint_LIST_helper(_obj2
, &NPOINTS
);
5380 if (_arg2
== NULL
) {
5388 wxPy_BEGIN_ALLOW_THREADS
;
5389 wxDC_DrawSpline(_arg0
,_arg1
,_arg2
);
5391 wxPy_END_ALLOW_THREADS
;
5392 } Py_INCREF(Py_None
);
5393 _resultobj
= Py_None
;
5400 #define wxDC_DrawText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawText(_swigarg0,_swigarg1,_swigarg2))
5401 static PyObject
*_wrap_wxDC_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5402 PyObject
* _resultobj
;
5407 PyObject
* _argo0
= 0;
5408 PyObject
* _obj1
= 0;
5409 char *_kwnames
[] = { "self","text","x","y", NULL
};
5412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOll:wxDC_DrawText",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
))
5415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawText. Expected _wxDC_p.");
5422 #if PYTHON_API_VERSION >= 1009
5423 char* tmpPtr
; int tmpSize
;
5424 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5425 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5428 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5430 _arg1
= new wxString(tmpPtr
, tmpSize
);
5432 if (!PyString_Check(_obj1
)) {
5433 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5436 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5440 wxPy_BEGIN_ALLOW_THREADS
;
5441 wxDC_DrawText(_arg0
,*_arg1
,_arg2
,_arg3
);
5443 wxPy_END_ALLOW_THREADS
;
5444 } Py_INCREF(Py_None
);
5445 _resultobj
= Py_None
;
5453 #define wxDC_EndDoc(_swigobj) (_swigobj->EndDoc())
5454 static PyObject
*_wrap_wxDC_EndDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5455 PyObject
* _resultobj
;
5457 PyObject
* _argo0
= 0;
5458 char *_kwnames
[] = { "self", NULL
};
5461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndDoc",_kwnames
,&_argo0
))
5464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDoc. Expected _wxDC_p.");
5471 wxPy_BEGIN_ALLOW_THREADS
;
5474 wxPy_END_ALLOW_THREADS
;
5475 } Py_INCREF(Py_None
);
5476 _resultobj
= Py_None
;
5480 #define wxDC_EndDrawing(_swigobj) (_swigobj->EndDrawing())
5481 static PyObject
*_wrap_wxDC_EndDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5482 PyObject
* _resultobj
;
5484 PyObject
* _argo0
= 0;
5485 char *_kwnames
[] = { "self", NULL
};
5488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndDrawing",_kwnames
,&_argo0
))
5491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDrawing. Expected _wxDC_p.");
5498 wxPy_BEGIN_ALLOW_THREADS
;
5499 wxDC_EndDrawing(_arg0
);
5501 wxPy_END_ALLOW_THREADS
;
5502 } Py_INCREF(Py_None
);
5503 _resultobj
= Py_None
;
5507 #define wxDC_EndPage(_swigobj) (_swigobj->EndPage())
5508 static PyObject
*_wrap_wxDC_EndPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5509 PyObject
* _resultobj
;
5511 PyObject
* _argo0
= 0;
5512 char *_kwnames
[] = { "self", NULL
};
5515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndPage",_kwnames
,&_argo0
))
5518 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5519 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndPage. Expected _wxDC_p.");
5525 wxPy_BEGIN_ALLOW_THREADS
;
5526 wxDC_EndPage(_arg0
);
5528 wxPy_END_ALLOW_THREADS
;
5529 } Py_INCREF(Py_None
);
5530 _resultobj
= Py_None
;
5534 #define wxDC_FloodFill(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->FloodFill(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5535 static PyObject
*_wrap_wxDC_FloodFill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5536 PyObject
* _resultobj
;
5541 int _arg4
= (int ) wxFLOOD_SURFACE
;
5542 PyObject
* _argo0
= 0;
5544 PyObject
* _obj3
= 0;
5545 char *_kwnames
[] = { "self","x","y","colour","style", NULL
};
5548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO|i:wxDC_FloodFill",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_arg4
))
5551 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5552 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_FloodFill. Expected _wxDC_p.");
5559 if (! wxColour_helper(_obj3
, &_arg3
))
5563 wxPy_BEGIN_ALLOW_THREADS
;
5564 wxDC_FloodFill(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
5566 wxPy_END_ALLOW_THREADS
;
5567 } Py_INCREF(Py_None
);
5568 _resultobj
= Py_None
;
5572 #define wxDC_GetBackground(_swigobj) (_swigobj->GetBackground())
5573 static PyObject
*_wrap_wxDC_GetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5574 PyObject
* _resultobj
;
5577 PyObject
* _argo0
= 0;
5578 char *_kwnames
[] = { "self", NULL
};
5582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBackground",_kwnames
,&_argo0
))
5585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBackground. Expected _wxDC_p.");
5592 wxPy_BEGIN_ALLOW_THREADS
;
5593 wxBrush
& _result_ref
= wxDC_GetBackground(_arg0
);
5594 _result
= (wxBrush
*) &_result_ref
;
5596 wxPy_END_ALLOW_THREADS
;
5598 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
5599 _resultobj
= Py_BuildValue("s",_ptemp
);
5602 _resultobj
= Py_None
;
5607 #define wxDC_GetBrush(_swigobj) (_swigobj->GetBrush())
5608 static PyObject
*_wrap_wxDC_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5609 PyObject
* _resultobj
;
5612 PyObject
* _argo0
= 0;
5613 char *_kwnames
[] = { "self", NULL
};
5617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBrush",_kwnames
,&_argo0
))
5620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBrush. Expected _wxDC_p.");
5627 wxPy_BEGIN_ALLOW_THREADS
;
5628 wxBrush
& _result_ref
= wxDC_GetBrush(_arg0
);
5629 _result
= (wxBrush
*) &_result_ref
;
5631 wxPy_END_ALLOW_THREADS
;
5633 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
5634 _resultobj
= Py_BuildValue("s",_ptemp
);
5637 _resultobj
= Py_None
;
5642 #define wxDC_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
5643 static PyObject
*_wrap_wxDC_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5644 PyObject
* _resultobj
;
5647 PyObject
* _argo0
= 0;
5648 char *_kwnames
[] = { "self", NULL
};
5651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetCharHeight",_kwnames
,&_argo0
))
5654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharHeight. Expected _wxDC_p.");
5661 wxPy_BEGIN_ALLOW_THREADS
;
5662 _result
= (long )wxDC_GetCharHeight(_arg0
);
5664 wxPy_END_ALLOW_THREADS
;
5665 } _resultobj
= Py_BuildValue("l",_result
);
5669 #define wxDC_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
5670 static PyObject
*_wrap_wxDC_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5671 PyObject
* _resultobj
;
5674 PyObject
* _argo0
= 0;
5675 char *_kwnames
[] = { "self", NULL
};
5678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetCharWidth",_kwnames
,&_argo0
))
5681 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5682 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharWidth. Expected _wxDC_p.");
5688 wxPy_BEGIN_ALLOW_THREADS
;
5689 _result
= (long )wxDC_GetCharWidth(_arg0
);
5691 wxPy_END_ALLOW_THREADS
;
5692 } _resultobj
= Py_BuildValue("l",_result
);
5696 #define wxDC_GetClippingBox(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetClippingBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5697 static PyObject
*_wrap_wxDC_GetClippingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5698 PyObject
* _resultobj
;
5708 PyObject
* _argo0
= 0;
5709 char *_kwnames
[] = { "self", NULL
};
5724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetClippingBox",_kwnames
,&_argo0
))
5727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetClippingBox. Expected _wxDC_p.");
5734 wxPy_BEGIN_ALLOW_THREADS
;
5735 wxDC_GetClippingBox(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5737 wxPy_END_ALLOW_THREADS
;
5738 } Py_INCREF(Py_None
);
5739 _resultobj
= Py_None
;
5742 o
= PyInt_FromLong((long) (*_arg1
));
5743 _resultobj
= t_output_helper(_resultobj
, o
);
5747 o
= PyInt_FromLong((long) (*_arg2
));
5748 _resultobj
= t_output_helper(_resultobj
, o
);
5752 o
= PyInt_FromLong((long) (*_arg3
));
5753 _resultobj
= t_output_helper(_resultobj
, o
);
5757 o
= PyInt_FromLong((long) (*_arg4
));
5758 _resultobj
= t_output_helper(_resultobj
, o
);
5763 #define wxDC_GetFont(_swigobj) (_swigobj->GetFont())
5764 static PyObject
*_wrap_wxDC_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5765 PyObject
* _resultobj
;
5768 PyObject
* _argo0
= 0;
5769 char *_kwnames
[] = { "self", NULL
};
5773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetFont",_kwnames
,&_argo0
))
5776 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5777 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFont. Expected _wxDC_p.");
5783 wxPy_BEGIN_ALLOW_THREADS
;
5784 wxFont
& _result_ref
= wxDC_GetFont(_arg0
);
5785 _result
= (wxFont
*) &_result_ref
;
5787 wxPy_END_ALLOW_THREADS
;
5789 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
5790 _resultobj
= Py_BuildValue("s",_ptemp
);
5793 _resultobj
= Py_None
;
5798 #define wxDC_GetLogicalFunction(_swigobj) (_swigobj->GetLogicalFunction())
5799 static PyObject
*_wrap_wxDC_GetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5800 PyObject
* _resultobj
;
5803 PyObject
* _argo0
= 0;
5804 char *_kwnames
[] = { "self", NULL
};
5807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalFunction",_kwnames
,&_argo0
))
5810 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5811 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalFunction. Expected _wxDC_p.");
5817 wxPy_BEGIN_ALLOW_THREADS
;
5818 _result
= (int )wxDC_GetLogicalFunction(_arg0
);
5820 wxPy_END_ALLOW_THREADS
;
5821 } _resultobj
= Py_BuildValue("i",_result
);
5825 #define wxDC_GetLogicalScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLogicalScale(_swigarg0,_swigarg1))
5826 static PyObject
*_wrap_wxDC_GetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5827 PyObject
* _resultobj
;
5833 PyObject
* _argo0
= 0;
5834 char *_kwnames
[] = { "self", NULL
};
5843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalScale",_kwnames
,&_argo0
))
5846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalScale. Expected _wxDC_p.");
5853 wxPy_BEGIN_ALLOW_THREADS
;
5854 wxDC_GetLogicalScale(_arg0
,_arg1
,_arg2
);
5856 wxPy_END_ALLOW_THREADS
;
5857 } Py_INCREF(Py_None
);
5858 _resultobj
= Py_None
;
5861 o
= PyFloat_FromDouble((double) (*_arg1
));
5862 _resultobj
= t_output_helper(_resultobj
, o
);
5866 o
= PyFloat_FromDouble((double) (*_arg2
));
5867 _resultobj
= t_output_helper(_resultobj
, o
);
5872 #define wxDC_GetMapMode(_swigobj) (_swigobj->GetMapMode())
5873 static PyObject
*_wrap_wxDC_GetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5874 PyObject
* _resultobj
;
5877 PyObject
* _argo0
= 0;
5878 char *_kwnames
[] = { "self", NULL
};
5881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetMapMode",_kwnames
,&_argo0
))
5884 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5885 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetMapMode. Expected _wxDC_p.");
5891 wxPy_BEGIN_ALLOW_THREADS
;
5892 _result
= (int )wxDC_GetMapMode(_arg0
);
5894 wxPy_END_ALLOW_THREADS
;
5895 } _resultobj
= Py_BuildValue("i",_result
);
5899 #define wxDC_GetOptimization(_swigobj) (_swigobj->GetOptimization())
5900 static PyObject
*_wrap_wxDC_GetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5901 PyObject
* _resultobj
;
5904 PyObject
* _argo0
= 0;
5905 char *_kwnames
[] = { "self", NULL
};
5908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetOptimization",_kwnames
,&_argo0
))
5911 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5912 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetOptimization. Expected _wxDC_p.");
5918 wxPy_BEGIN_ALLOW_THREADS
;
5919 _result
= (bool )wxDC_GetOptimization(_arg0
);
5921 wxPy_END_ALLOW_THREADS
;
5922 } _resultobj
= Py_BuildValue("i",_result
);
5926 #define wxDC_GetPen(_swigobj) (_swigobj->GetPen())
5927 static PyObject
*_wrap_wxDC_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5928 PyObject
* _resultobj
;
5931 PyObject
* _argo0
= 0;
5932 char *_kwnames
[] = { "self", NULL
};
5936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetPen",_kwnames
,&_argo0
))
5939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPen. Expected _wxDC_p.");
5946 wxPy_BEGIN_ALLOW_THREADS
;
5947 wxPen
& _result_ref
= wxDC_GetPen(_arg0
);
5948 _result
= (wxPen
*) &_result_ref
;
5950 wxPy_END_ALLOW_THREADS
;
5952 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
5953 _resultobj
= Py_BuildValue("s",_ptemp
);
5956 _resultobj
= Py_None
;
5961 static wxColour
* wxDC_GetPixel(wxDC
*self
,long x
,long y
) {
5962 wxColour
* wc
= new wxColour();
5963 self
->GetPixel(x
, y
, wc
);
5966 static PyObject
*_wrap_wxDC_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5967 PyObject
* _resultobj
;
5972 PyObject
* _argo0
= 0;
5973 char *_kwnames
[] = { "self","x","y", NULL
};
5977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_GetPixel",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5980 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5981 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPixel. Expected _wxDC_p.");
5987 wxPy_BEGIN_ALLOW_THREADS
;
5988 _result
= (wxColour
*)wxDC_GetPixel(_arg0
,_arg1
,_arg2
);
5990 wxPy_END_ALLOW_THREADS
;
5992 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
5993 _resultobj
= Py_BuildValue("s",_ptemp
);
5996 _resultobj
= Py_None
;
6001 #define wxDC_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
6002 static PyObject
*_wrap_wxDC_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6003 PyObject
* _resultobj
;
6009 PyObject
* _argo0
= 0;
6010 char *_kwnames
[] = { "self", NULL
};
6019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSizeTuple",_kwnames
,&_argo0
))
6022 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6023 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSizeTuple. Expected _wxDC_p.");
6029 wxPy_BEGIN_ALLOW_THREADS
;
6030 wxDC_GetSizeTuple(_arg0
,_arg1
,_arg2
);
6032 wxPy_END_ALLOW_THREADS
;
6033 } Py_INCREF(Py_None
);
6034 _resultobj
= Py_None
;
6037 o
= PyInt_FromLong((long) (*_arg1
));
6038 _resultobj
= t_output_helper(_resultobj
, o
);
6042 o
= PyInt_FromLong((long) (*_arg2
));
6043 _resultobj
= t_output_helper(_resultobj
, o
);
6048 #define wxDC_GetSize(_swigobj) (_swigobj->GetSize())
6049 static PyObject
*_wrap_wxDC_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6050 PyObject
* _resultobj
;
6053 PyObject
* _argo0
= 0;
6054 char *_kwnames
[] = { "self", NULL
};
6058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSize",_kwnames
,&_argo0
))
6061 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6062 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6063 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSize. Expected _wxDC_p.");
6068 wxPy_BEGIN_ALLOW_THREADS
;
6069 _result
= new wxSize (wxDC_GetSize(_arg0
));
6071 wxPy_END_ALLOW_THREADS
;
6072 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
6073 _resultobj
= Py_BuildValue("s",_ptemp
);
6077 #define wxDC_GetSizeMM(_swigobj) (_swigobj->GetSizeMM())
6078 static PyObject
*_wrap_wxDC_GetSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6079 PyObject
* _resultobj
;
6082 PyObject
* _argo0
= 0;
6083 char *_kwnames
[] = { "self", NULL
};
6087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSizeMM",_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_GetSizeMM. Expected _wxDC_p.");
6097 wxPy_BEGIN_ALLOW_THREADS
;
6098 _result
= new wxSize (wxDC_GetSizeMM(_arg0
));
6100 wxPy_END_ALLOW_THREADS
;
6101 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
6102 _resultobj
= Py_BuildValue("s",_ptemp
);
6106 #define wxDC_GetTextBackground(_swigobj) (_swigobj->GetTextBackground())
6107 static PyObject
*_wrap_wxDC_GetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6108 PyObject
* _resultobj
;
6111 PyObject
* _argo0
= 0;
6112 char *_kwnames
[] = { "self", NULL
};
6116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetTextBackground",_kwnames
,&_argo0
))
6119 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6120 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextBackground. Expected _wxDC_p.");
6126 wxPy_BEGIN_ALLOW_THREADS
;
6127 wxColour
& _result_ref
= wxDC_GetTextBackground(_arg0
);
6128 _result
= (wxColour
*) &_result_ref
;
6130 wxPy_END_ALLOW_THREADS
;
6132 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
6133 _resultobj
= Py_BuildValue("s",_ptemp
);
6136 _resultobj
= Py_None
;
6141 #define wxDC_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
6142 static PyObject
*_wrap_wxDC_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6143 PyObject
* _resultobj
;
6150 PyObject
* _argo0
= 0;
6151 PyObject
* _obj1
= 0;
6152 char *_kwnames
[] = { "self","string", NULL
};
6161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_GetTextExtent",_kwnames
,&_argo0
,&_obj1
))
6164 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6165 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextExtent. Expected _wxDC_p.");
6171 #if PYTHON_API_VERSION >= 1009
6172 char* tmpPtr
; int tmpSize
;
6173 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6174 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6177 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6179 _arg1
= new wxString(tmpPtr
, tmpSize
);
6181 if (!PyString_Check(_obj1
)) {
6182 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6185 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6189 wxPy_BEGIN_ALLOW_THREADS
;
6190 wxDC_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
6192 wxPy_END_ALLOW_THREADS
;
6193 } Py_INCREF(Py_None
);
6194 _resultobj
= Py_None
;
6197 o
= PyInt_FromLong((long) (*_arg2
));
6198 _resultobj
= t_output_helper(_resultobj
, o
);
6202 o
= PyInt_FromLong((long) (*_arg3
));
6203 _resultobj
= t_output_helper(_resultobj
, o
);
6212 #define wxDC_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6213 static PyObject
*_wrap_wxDC_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6214 PyObject
* _resultobj
;
6225 wxFont
* _arg6
= (wxFont
*) NULL
;
6226 PyObject
* _argo0
= 0;
6227 PyObject
* _obj1
= 0;
6228 PyObject
* _argo6
= 0;
6229 char *_kwnames
[] = { "self","string","font", NULL
};
6244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxDC_GetFullTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo6
))
6247 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6248 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFullTextExtent. Expected _wxDC_p.");
6254 #if PYTHON_API_VERSION >= 1009
6255 char* tmpPtr
; int tmpSize
;
6256 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6257 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6260 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6262 _arg1
= new wxString(tmpPtr
, tmpSize
);
6264 if (!PyString_Check(_obj1
)) {
6265 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6268 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6272 if (_argo6
== Py_None
) { _arg6
= NULL
; }
6273 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
6274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxDC_GetFullTextExtent. Expected _wxFont_p.");
6279 wxPy_BEGIN_ALLOW_THREADS
;
6280 wxDC_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
6282 wxPy_END_ALLOW_THREADS
;
6283 } Py_INCREF(Py_None
);
6284 _resultobj
= Py_None
;
6287 o
= PyInt_FromLong((long) (*_arg2
));
6288 _resultobj
= t_output_helper(_resultobj
, o
);
6292 o
= PyInt_FromLong((long) (*_arg3
));
6293 _resultobj
= t_output_helper(_resultobj
, o
);
6297 o
= PyInt_FromLong((long) (*_arg4
));
6298 _resultobj
= t_output_helper(_resultobj
, o
);
6302 o
= PyInt_FromLong((long) (*_arg5
));
6303 _resultobj
= t_output_helper(_resultobj
, o
);
6312 #define wxDC_GetTextForeground(_swigobj) (_swigobj->GetTextForeground())
6313 static PyObject
*_wrap_wxDC_GetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6314 PyObject
* _resultobj
;
6317 PyObject
* _argo0
= 0;
6318 char *_kwnames
[] = { "self", NULL
};
6322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetTextForeground",_kwnames
,&_argo0
))
6325 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6326 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextForeground. Expected _wxDC_p.");
6332 wxPy_BEGIN_ALLOW_THREADS
;
6333 wxColour
& _result_ref
= wxDC_GetTextForeground(_arg0
);
6334 _result
= (wxColour
*) &_result_ref
;
6336 wxPy_END_ALLOW_THREADS
;
6338 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
6339 _resultobj
= Py_BuildValue("s",_ptemp
);
6342 _resultobj
= Py_None
;
6347 #define wxDC_GetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetUserScale(_swigarg0,_swigarg1))
6348 static PyObject
*_wrap_wxDC_GetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6349 PyObject
* _resultobj
;
6355 PyObject
* _argo0
= 0;
6356 char *_kwnames
[] = { "self", NULL
};
6365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetUserScale",_kwnames
,&_argo0
))
6368 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6369 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetUserScale. Expected _wxDC_p.");
6375 wxPy_BEGIN_ALLOW_THREADS
;
6376 wxDC_GetUserScale(_arg0
,_arg1
,_arg2
);
6378 wxPy_END_ALLOW_THREADS
;
6379 } Py_INCREF(Py_None
);
6380 _resultobj
= Py_None
;
6383 o
= PyFloat_FromDouble((double) (*_arg1
));
6384 _resultobj
= t_output_helper(_resultobj
, o
);
6388 o
= PyFloat_FromDouble((double) (*_arg2
));
6389 _resultobj
= t_output_helper(_resultobj
, o
);
6394 #define wxDC_LogicalToDeviceX(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceX(_swigarg0))
6395 static PyObject
*_wrap_wxDC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6396 PyObject
* _resultobj
;
6400 PyObject
* _argo0
= 0;
6401 char *_kwnames
[] = { "self","x", NULL
};
6404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceX",_kwnames
,&_argo0
,&_arg1
))
6407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceX. Expected _wxDC_p.");
6414 wxPy_BEGIN_ALLOW_THREADS
;
6415 _result
= (long )wxDC_LogicalToDeviceX(_arg0
,_arg1
);
6417 wxPy_END_ALLOW_THREADS
;
6418 } _resultobj
= Py_BuildValue("l",_result
);
6422 #define wxDC_LogicalToDeviceXRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceXRel(_swigarg0))
6423 static PyObject
*_wrap_wxDC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6424 PyObject
* _resultobj
;
6428 PyObject
* _argo0
= 0;
6429 char *_kwnames
[] = { "self","x", NULL
};
6432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceXRel",_kwnames
,&_argo0
,&_arg1
))
6435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceXRel. Expected _wxDC_p.");
6442 wxPy_BEGIN_ALLOW_THREADS
;
6443 _result
= (long )wxDC_LogicalToDeviceXRel(_arg0
,_arg1
);
6445 wxPy_END_ALLOW_THREADS
;
6446 } _resultobj
= Py_BuildValue("l",_result
);
6450 #define wxDC_LogicalToDeviceY(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceY(_swigarg0))
6451 static PyObject
*_wrap_wxDC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6452 PyObject
* _resultobj
;
6456 PyObject
* _argo0
= 0;
6457 char *_kwnames
[] = { "self","y", NULL
};
6460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceY",_kwnames
,&_argo0
,&_arg1
))
6463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceY. Expected _wxDC_p.");
6470 wxPy_BEGIN_ALLOW_THREADS
;
6471 _result
= (long )wxDC_LogicalToDeviceY(_arg0
,_arg1
);
6473 wxPy_END_ALLOW_THREADS
;
6474 } _resultobj
= Py_BuildValue("l",_result
);
6478 #define wxDC_LogicalToDeviceYRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceYRel(_swigarg0))
6479 static PyObject
*_wrap_wxDC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6480 PyObject
* _resultobj
;
6484 PyObject
* _argo0
= 0;
6485 char *_kwnames
[] = { "self","y", NULL
};
6488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceYRel",_kwnames
,&_argo0
,&_arg1
))
6491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceYRel. Expected _wxDC_p.");
6498 wxPy_BEGIN_ALLOW_THREADS
;
6499 _result
= (long )wxDC_LogicalToDeviceYRel(_arg0
,_arg1
);
6501 wxPy_END_ALLOW_THREADS
;
6502 } _resultobj
= Py_BuildValue("l",_result
);
6506 #define wxDC_MaxX(_swigobj) (_swigobj->MaxX())
6507 static PyObject
*_wrap_wxDC_MaxX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6508 PyObject
* _resultobj
;
6511 PyObject
* _argo0
= 0;
6512 char *_kwnames
[] = { "self", NULL
};
6515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MaxX",_kwnames
,&_argo0
))
6518 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6519 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxX. Expected _wxDC_p.");
6525 wxPy_BEGIN_ALLOW_THREADS
;
6526 _result
= (long )wxDC_MaxX(_arg0
);
6528 wxPy_END_ALLOW_THREADS
;
6529 } _resultobj
= Py_BuildValue("l",_result
);
6533 #define wxDC_MaxY(_swigobj) (_swigobj->MaxY())
6534 static PyObject
*_wrap_wxDC_MaxY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6535 PyObject
* _resultobj
;
6538 PyObject
* _argo0
= 0;
6539 char *_kwnames
[] = { "self", NULL
};
6542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MaxY",_kwnames
,&_argo0
))
6545 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6546 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxY. Expected _wxDC_p.");
6552 wxPy_BEGIN_ALLOW_THREADS
;
6553 _result
= (long )wxDC_MaxY(_arg0
);
6555 wxPy_END_ALLOW_THREADS
;
6556 } _resultobj
= Py_BuildValue("l",_result
);
6560 #define wxDC_MinX(_swigobj) (_swigobj->MinX())
6561 static PyObject
*_wrap_wxDC_MinX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6562 PyObject
* _resultobj
;
6565 PyObject
* _argo0
= 0;
6566 char *_kwnames
[] = { "self", NULL
};
6569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MinX",_kwnames
,&_argo0
))
6572 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6573 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinX. Expected _wxDC_p.");
6579 wxPy_BEGIN_ALLOW_THREADS
;
6580 _result
= (long )wxDC_MinX(_arg0
);
6582 wxPy_END_ALLOW_THREADS
;
6583 } _resultobj
= Py_BuildValue("l",_result
);
6587 #define wxDC_MinY(_swigobj) (_swigobj->MinY())
6588 static PyObject
*_wrap_wxDC_MinY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6589 PyObject
* _resultobj
;
6592 PyObject
* _argo0
= 0;
6593 char *_kwnames
[] = { "self", NULL
};
6596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MinY",_kwnames
,&_argo0
))
6599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinY. Expected _wxDC_p.");
6606 wxPy_BEGIN_ALLOW_THREADS
;
6607 _result
= (long )wxDC_MinY(_arg0
);
6609 wxPy_END_ALLOW_THREADS
;
6610 } _resultobj
= Py_BuildValue("l",_result
);
6614 #define wxDC_Ok(_swigobj) (_swigobj->Ok())
6615 static PyObject
*_wrap_wxDC_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6616 PyObject
* _resultobj
;
6619 PyObject
* _argo0
= 0;
6620 char *_kwnames
[] = { "self", NULL
};
6623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_Ok",_kwnames
,&_argo0
))
6626 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6627 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Ok. Expected _wxDC_p.");
6633 wxPy_BEGIN_ALLOW_THREADS
;
6634 _result
= (bool )wxDC_Ok(_arg0
);
6636 wxPy_END_ALLOW_THREADS
;
6637 } _resultobj
= Py_BuildValue("i",_result
);
6641 #define wxDC_SetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDeviceOrigin(_swigarg0,_swigarg1))
6642 static PyObject
*_wrap_wxDC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6643 PyObject
* _resultobj
;
6647 PyObject
* _argo0
= 0;
6648 char *_kwnames
[] = { "self","x","y", NULL
};
6651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_SetDeviceOrigin",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetDeviceOrigin. Expected _wxDC_p.");
6661 wxPy_BEGIN_ALLOW_THREADS
;
6662 wxDC_SetDeviceOrigin(_arg0
,_arg1
,_arg2
);
6664 wxPy_END_ALLOW_THREADS
;
6665 } Py_INCREF(Py_None
);
6666 _resultobj
= Py_None
;
6670 #define wxDC_SetBackground(_swigobj,_swigarg0) (_swigobj->SetBackground(_swigarg0))
6671 static PyObject
*_wrap_wxDC_SetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6672 PyObject
* _resultobj
;
6675 PyObject
* _argo0
= 0;
6676 PyObject
* _argo1
= 0;
6677 char *_kwnames
[] = { "self","brush", NULL
};
6680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetBackground",_kwnames
,&_argo0
,&_argo1
))
6683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackground. Expected _wxDC_p.");
6690 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6691 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
6692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBackground. Expected _wxBrush_p.");
6697 wxPy_BEGIN_ALLOW_THREADS
;
6698 wxDC_SetBackground(_arg0
,*_arg1
);
6700 wxPy_END_ALLOW_THREADS
;
6701 } Py_INCREF(Py_None
);
6702 _resultobj
= Py_None
;
6706 #define wxDC_SetBackgroundMode(_swigobj,_swigarg0) (_swigobj->SetBackgroundMode(_swigarg0))
6707 static PyObject
*_wrap_wxDC_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6708 PyObject
* _resultobj
;
6711 PyObject
* _argo0
= 0;
6712 char *_kwnames
[] = { "self","mode", NULL
};
6715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetBackgroundMode",_kwnames
,&_argo0
,&_arg1
))
6718 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6719 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackgroundMode. Expected _wxDC_p.");
6725 wxPy_BEGIN_ALLOW_THREADS
;
6726 wxDC_SetBackgroundMode(_arg0
,_arg1
);
6728 wxPy_END_ALLOW_THREADS
;
6729 } Py_INCREF(Py_None
);
6730 _resultobj
= Py_None
;
6734 #define wxDC_SetClippingRegion(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetClippingRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6735 static PyObject
*_wrap_wxDC_SetClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6736 PyObject
* _resultobj
;
6742 PyObject
* _argo0
= 0;
6743 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
6746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_SetClippingRegion",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
6749 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6750 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetClippingRegion. Expected _wxDC_p.");
6756 wxPy_BEGIN_ALLOW_THREADS
;
6757 wxDC_SetClippingRegion(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6759 wxPy_END_ALLOW_THREADS
;
6760 } Py_INCREF(Py_None
);
6761 _resultobj
= Py_None
;
6765 #define wxDC_SetPalette(_swigobj,_swigarg0) (_swigobj->SetPalette(_swigarg0))
6766 static PyObject
*_wrap_wxDC_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6767 PyObject
* _resultobj
;
6770 PyObject
* _argo0
= 0;
6771 PyObject
* _argo1
= 0;
6772 char *_kwnames
[] = { "self","colourMap", NULL
};
6775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetPalette",_kwnames
,&_argo0
,&_argo1
))
6778 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6779 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPalette. Expected _wxDC_p.");
6785 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6786 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPalette_p")) {
6787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPalette. Expected _wxPalette_p.");
6792 wxPy_BEGIN_ALLOW_THREADS
;
6793 wxDC_SetPalette(_arg0
,*_arg1
);
6795 wxPy_END_ALLOW_THREADS
;
6796 } Py_INCREF(Py_None
);
6797 _resultobj
= Py_None
;
6801 #define wxDC_SetBrush(_swigobj,_swigarg0) (_swigobj->SetBrush(_swigarg0))
6802 static PyObject
*_wrap_wxDC_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6803 PyObject
* _resultobj
;
6806 PyObject
* _argo0
= 0;
6807 PyObject
* _argo1
= 0;
6808 char *_kwnames
[] = { "self","brush", NULL
};
6811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetBrush",_kwnames
,&_argo0
,&_argo1
))
6814 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6815 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBrush. Expected _wxDC_p.");
6821 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6822 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
6823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBrush. Expected _wxBrush_p.");
6828 wxPy_BEGIN_ALLOW_THREADS
;
6829 wxDC_SetBrush(_arg0
,*_arg1
);
6831 wxPy_END_ALLOW_THREADS
;
6832 } Py_INCREF(Py_None
);
6833 _resultobj
= Py_None
;
6837 #define wxDC_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
6838 static PyObject
*_wrap_wxDC_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6839 PyObject
* _resultobj
;
6842 PyObject
* _argo0
= 0;
6843 PyObject
* _argo1
= 0;
6844 char *_kwnames
[] = { "self","font", NULL
};
6847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetFont",_kwnames
,&_argo0
,&_argo1
))
6850 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6851 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetFont. Expected _wxDC_p.");
6857 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6858 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
6859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetFont. Expected _wxFont_p.");
6864 wxPy_BEGIN_ALLOW_THREADS
;
6865 wxDC_SetFont(_arg0
,*_arg1
);
6867 wxPy_END_ALLOW_THREADS
;
6868 } Py_INCREF(Py_None
);
6869 _resultobj
= Py_None
;
6873 #define wxDC_SetLogicalFunction(_swigobj,_swigarg0) (_swigobj->SetLogicalFunction(_swigarg0))
6874 static PyObject
*_wrap_wxDC_SetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6875 PyObject
* _resultobj
;
6878 PyObject
* _argo0
= 0;
6879 char *_kwnames
[] = { "self","function", NULL
};
6882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetLogicalFunction",_kwnames
,&_argo0
,&_arg1
))
6885 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6886 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalFunction. Expected _wxDC_p.");
6892 wxPy_BEGIN_ALLOW_THREADS
;
6893 wxDC_SetLogicalFunction(_arg0
,_arg1
);
6895 wxPy_END_ALLOW_THREADS
;
6896 } Py_INCREF(Py_None
);
6897 _resultobj
= Py_None
;
6901 #define wxDC_SetLogicalScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLogicalScale(_swigarg0,_swigarg1))
6902 static PyObject
*_wrap_wxDC_SetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6903 PyObject
* _resultobj
;
6907 PyObject
* _argo0
= 0;
6908 char *_kwnames
[] = { "self","x","y", NULL
};
6911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxDC_SetLogicalScale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6914 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6915 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalScale. Expected _wxDC_p.");
6921 wxPy_BEGIN_ALLOW_THREADS
;
6922 wxDC_SetLogicalScale(_arg0
,_arg1
,_arg2
);
6924 wxPy_END_ALLOW_THREADS
;
6925 } Py_INCREF(Py_None
);
6926 _resultobj
= Py_None
;
6930 #define wxDC_SetMapMode(_swigobj,_swigarg0) (_swigobj->SetMapMode(_swigarg0))
6931 static PyObject
*_wrap_wxDC_SetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6932 PyObject
* _resultobj
;
6935 PyObject
* _argo0
= 0;
6936 char *_kwnames
[] = { "self","mode", NULL
};
6939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetMapMode",_kwnames
,&_argo0
,&_arg1
))
6942 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6943 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetMapMode. Expected _wxDC_p.");
6949 wxPy_BEGIN_ALLOW_THREADS
;
6950 wxDC_SetMapMode(_arg0
,_arg1
);
6952 wxPy_END_ALLOW_THREADS
;
6953 } Py_INCREF(Py_None
);
6954 _resultobj
= Py_None
;
6958 #define wxDC_SetOptimization(_swigobj,_swigarg0) (_swigobj->SetOptimization(_swigarg0))
6959 static PyObject
*_wrap_wxDC_SetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6960 PyObject
* _resultobj
;
6963 PyObject
* _argo0
= 0;
6965 char *_kwnames
[] = { "self","optimize", NULL
};
6968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetOptimization",_kwnames
,&_argo0
,&tempbool1
))
6971 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6972 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetOptimization. Expected _wxDC_p.");
6977 _arg1
= (bool ) tempbool1
;
6979 wxPy_BEGIN_ALLOW_THREADS
;
6980 wxDC_SetOptimization(_arg0
,_arg1
);
6982 wxPy_END_ALLOW_THREADS
;
6983 } Py_INCREF(Py_None
);
6984 _resultobj
= Py_None
;
6988 #define wxDC_SetPen(_swigobj,_swigarg0) (_swigobj->SetPen(_swigarg0))
6989 static PyObject
*_wrap_wxDC_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6990 PyObject
* _resultobj
;
6993 PyObject
* _argo0
= 0;
6994 PyObject
* _argo1
= 0;
6995 char *_kwnames
[] = { "self","pen", NULL
};
6998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetPen",_kwnames
,&_argo0
,&_argo1
))
7001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPen. Expected _wxDC_p.");
7008 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7009 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
7010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPen. Expected _wxPen_p.");
7015 wxPy_BEGIN_ALLOW_THREADS
;
7016 wxDC_SetPen(_arg0
,*_arg1
);
7018 wxPy_END_ALLOW_THREADS
;
7019 } Py_INCREF(Py_None
);
7020 _resultobj
= Py_None
;
7024 #define wxDC_SetTextBackground(_swigobj,_swigarg0) (_swigobj->SetTextBackground(_swigarg0))
7025 static PyObject
*_wrap_wxDC_SetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7026 PyObject
* _resultobj
;
7029 PyObject
* _argo0
= 0;
7031 PyObject
* _obj1
= 0;
7032 char *_kwnames
[] = { "self","colour", NULL
};
7035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetTextBackground",_kwnames
,&_argo0
,&_obj1
))
7038 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7039 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextBackground. Expected _wxDC_p.");
7046 if (! wxColour_helper(_obj1
, &_arg1
))
7050 wxPy_BEGIN_ALLOW_THREADS
;
7051 wxDC_SetTextBackground(_arg0
,*_arg1
);
7053 wxPy_END_ALLOW_THREADS
;
7054 } Py_INCREF(Py_None
);
7055 _resultobj
= Py_None
;
7059 #define wxDC_SetTextForeground(_swigobj,_swigarg0) (_swigobj->SetTextForeground(_swigarg0))
7060 static PyObject
*_wrap_wxDC_SetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7061 PyObject
* _resultobj
;
7064 PyObject
* _argo0
= 0;
7066 PyObject
* _obj1
= 0;
7067 char *_kwnames
[] = { "self","colour", NULL
};
7070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetTextForeground",_kwnames
,&_argo0
,&_obj1
))
7073 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7074 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextForeground. Expected _wxDC_p.");
7081 if (! wxColour_helper(_obj1
, &_arg1
))
7085 wxPy_BEGIN_ALLOW_THREADS
;
7086 wxDC_SetTextForeground(_arg0
,*_arg1
);
7088 wxPy_END_ALLOW_THREADS
;
7089 } Py_INCREF(Py_None
);
7090 _resultobj
= Py_None
;
7094 #define wxDC_SetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetUserScale(_swigarg0,_swigarg1))
7095 static PyObject
*_wrap_wxDC_SetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7096 PyObject
* _resultobj
;
7100 PyObject
* _argo0
= 0;
7101 char *_kwnames
[] = { "self","x_scale","y_scale", NULL
};
7104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxDC_SetUserScale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetUserScale. Expected _wxDC_p.");
7114 wxPy_BEGIN_ALLOW_THREADS
;
7115 wxDC_SetUserScale(_arg0
,_arg1
,_arg2
);
7117 wxPy_END_ALLOW_THREADS
;
7118 } Py_INCREF(Py_None
);
7119 _resultobj
= Py_None
;
7123 #define wxDC_StartDoc(_swigobj,_swigarg0) (_swigobj->StartDoc(_swigarg0))
7124 static PyObject
*_wrap_wxDC_StartDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7125 PyObject
* _resultobj
;
7129 PyObject
* _argo0
= 0;
7130 PyObject
* _obj1
= 0;
7131 char *_kwnames
[] = { "self","message", NULL
};
7134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_StartDoc",_kwnames
,&_argo0
,&_obj1
))
7137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartDoc. Expected _wxDC_p.");
7144 #if PYTHON_API_VERSION >= 1009
7145 char* tmpPtr
; int tmpSize
;
7146 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7147 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7150 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7152 _arg1
= new wxString(tmpPtr
, tmpSize
);
7154 if (!PyString_Check(_obj1
)) {
7155 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7158 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
7162 wxPy_BEGIN_ALLOW_THREADS
;
7163 _result
= (bool )wxDC_StartDoc(_arg0
,*_arg1
);
7165 wxPy_END_ALLOW_THREADS
;
7166 } _resultobj
= Py_BuildValue("i",_result
);
7174 #define wxDC_StartPage(_swigobj) (_swigobj->StartPage())
7175 static PyObject
*_wrap_wxDC_StartPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7176 PyObject
* _resultobj
;
7178 PyObject
* _argo0
= 0;
7179 char *_kwnames
[] = { "self", NULL
};
7182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_StartPage",_kwnames
,&_argo0
))
7185 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7186 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartPage. Expected _wxDC_p.");
7192 wxPy_BEGIN_ALLOW_THREADS
;
7193 wxDC_StartPage(_arg0
);
7195 wxPy_END_ALLOW_THREADS
;
7196 } Py_INCREF(Py_None
);
7197 _resultobj
= Py_None
;
7201 #define wxDC_DrawBitmap(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7202 static PyObject
*_wrap_wxDC_DrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7203 PyObject
* _resultobj
;
7208 int _arg4
= (int ) FALSE
;
7209 PyObject
* _argo0
= 0;
7210 PyObject
* _argo1
= 0;
7211 char *_kwnames
[] = { "self","bitmap","x","y","useMask", NULL
};
7214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOll|i:wxDC_DrawBitmap",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
))
7217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawBitmap. Expected _wxDC_p.");
7224 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7225 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
7226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawBitmap. Expected _wxBitmap_p.");
7231 wxPy_BEGIN_ALLOW_THREADS
;
7232 wxDC_DrawBitmap(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
7234 wxPy_END_ALLOW_THREADS
;
7235 } Py_INCREF(Py_None
);
7236 _resultobj
= Py_None
;
7240 #define wxDC_CanDrawBitmap(_swigobj) (_swigobj->CanDrawBitmap())
7241 static PyObject
*_wrap_wxDC_CanDrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7242 PyObject
* _resultobj
;
7245 PyObject
* _argo0
= 0;
7246 char *_kwnames
[] = { "self", NULL
};
7249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_CanDrawBitmap",_kwnames
,&_argo0
))
7252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CanDrawBitmap. Expected _wxDC_p.");
7259 wxPy_BEGIN_ALLOW_THREADS
;
7260 _result
= (bool )wxDC_CanDrawBitmap(_arg0
);
7262 wxPy_END_ALLOW_THREADS
;
7263 } _resultobj
= Py_BuildValue("i",_result
);
7267 #define wxDC_CanGetTextExtent(_swigobj) (_swigobj->CanGetTextExtent())
7268 static PyObject
*_wrap_wxDC_CanGetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7269 PyObject
* _resultobj
;
7272 PyObject
* _argo0
= 0;
7273 char *_kwnames
[] = { "self", NULL
};
7276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_CanGetTextExtent",_kwnames
,&_argo0
))
7279 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7280 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CanGetTextExtent. Expected _wxDC_p.");
7286 wxPy_BEGIN_ALLOW_THREADS
;
7287 _result
= (bool )wxDC_CanGetTextExtent(_arg0
);
7289 wxPy_END_ALLOW_THREADS
;
7290 } _resultobj
= Py_BuildValue("i",_result
);
7294 #define wxDC_GetDepth(_swigobj) (_swigobj->GetDepth())
7295 static PyObject
*_wrap_wxDC_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7296 PyObject
* _resultobj
;
7299 PyObject
* _argo0
= 0;
7300 char *_kwnames
[] = { "self", NULL
};
7303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetDepth",_kwnames
,&_argo0
))
7306 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7307 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetDepth. Expected _wxDC_p.");
7313 wxPy_BEGIN_ALLOW_THREADS
;
7314 _result
= (int )wxDC_GetDepth(_arg0
);
7316 wxPy_END_ALLOW_THREADS
;
7317 } _resultobj
= Py_BuildValue("i",_result
);
7321 #define wxDC_GetPPI(_swigobj) (_swigobj->GetPPI())
7322 static PyObject
*_wrap_wxDC_GetPPI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7323 PyObject
* _resultobj
;
7326 PyObject
* _argo0
= 0;
7327 char *_kwnames
[] = { "self", NULL
};
7331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetPPI",_kwnames
,&_argo0
))
7334 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7335 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPPI. Expected _wxDC_p.");
7341 wxPy_BEGIN_ALLOW_THREADS
;
7342 _result
= new wxSize (wxDC_GetPPI(_arg0
));
7344 wxPy_END_ALLOW_THREADS
;
7345 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
7346 _resultobj
= Py_BuildValue("s",_ptemp
);
7350 #define wxDC_GetLogicalOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLogicalOrigin(_swigarg0,_swigarg1))
7351 static PyObject
*_wrap_wxDC_GetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7352 PyObject
* _resultobj
;
7358 PyObject
* _argo0
= 0;
7359 char *_kwnames
[] = { "self", NULL
};
7368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalOrigin",_kwnames
,&_argo0
))
7371 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7372 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalOrigin. Expected _wxDC_p.");
7378 wxPy_BEGIN_ALLOW_THREADS
;
7379 wxDC_GetLogicalOrigin(_arg0
,_arg1
,_arg2
);
7381 wxPy_END_ALLOW_THREADS
;
7382 } Py_INCREF(Py_None
);
7383 _resultobj
= Py_None
;
7386 o
= PyInt_FromLong((long) (*_arg1
));
7387 _resultobj
= t_output_helper(_resultobj
, o
);
7391 o
= PyInt_FromLong((long) (*_arg2
));
7392 _resultobj
= t_output_helper(_resultobj
, o
);
7397 #define wxDC_SetLogicalOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLogicalOrigin(_swigarg0,_swigarg1))
7398 static PyObject
*_wrap_wxDC_SetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7399 PyObject
* _resultobj
;
7403 PyObject
* _argo0
= 0;
7404 char *_kwnames
[] = { "self","x","y", NULL
};
7407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_SetLogicalOrigin",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalOrigin. Expected _wxDC_p.");
7417 wxPy_BEGIN_ALLOW_THREADS
;
7418 wxDC_SetLogicalOrigin(_arg0
,_arg1
,_arg2
);
7420 wxPy_END_ALLOW_THREADS
;
7421 } Py_INCREF(Py_None
);
7422 _resultobj
= Py_None
;
7426 #define wxDC_GetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDeviceOrigin(_swigarg0,_swigarg1))
7427 static PyObject
*_wrap_wxDC_GetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7428 PyObject
* _resultobj
;
7434 PyObject
* _argo0
= 0;
7435 char *_kwnames
[] = { "self", NULL
};
7444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetDeviceOrigin",_kwnames
,&_argo0
))
7447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetDeviceOrigin. Expected _wxDC_p.");
7454 wxPy_BEGIN_ALLOW_THREADS
;
7455 wxDC_GetDeviceOrigin(_arg0
,_arg1
,_arg2
);
7457 wxPy_END_ALLOW_THREADS
;
7458 } Py_INCREF(Py_None
);
7459 _resultobj
= Py_None
;
7462 o
= PyInt_FromLong((long) (*_arg1
));
7463 _resultobj
= t_output_helper(_resultobj
, o
);
7467 o
= PyInt_FromLong((long) (*_arg2
));
7468 _resultobj
= t_output_helper(_resultobj
, o
);
7473 #define wxDC_SetAxisOrientation(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAxisOrientation(_swigarg0,_swigarg1))
7474 static PyObject
*_wrap_wxDC_SetAxisOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7475 PyObject
* _resultobj
;
7479 PyObject
* _argo0
= 0;
7482 char *_kwnames
[] = { "self","xLeftRight","yBottomUp", NULL
};
7485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_SetAxisOrientation",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
7488 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7489 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetAxisOrientation. Expected _wxDC_p.");
7494 _arg1
= (bool ) tempbool1
;
7495 _arg2
= (bool ) tempbool2
;
7497 wxPy_BEGIN_ALLOW_THREADS
;
7498 wxDC_SetAxisOrientation(_arg0
,_arg1
,_arg2
);
7500 wxPy_END_ALLOW_THREADS
;
7501 } Py_INCREF(Py_None
);
7502 _resultobj
= Py_None
;
7506 #define wxDC_CalcBoundingBox(_swigobj,_swigarg0,_swigarg1) (_swigobj->CalcBoundingBox(_swigarg0,_swigarg1))
7507 static PyObject
*_wrap_wxDC_CalcBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7508 PyObject
* _resultobj
;
7512 PyObject
* _argo0
= 0;
7513 char *_kwnames
[] = { "self","x","y", NULL
};
7516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_CalcBoundingBox",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CalcBoundingBox. Expected _wxDC_p.");
7526 wxPy_BEGIN_ALLOW_THREADS
;
7527 wxDC_CalcBoundingBox(_arg0
,_arg1
,_arg2
);
7529 wxPy_END_ALLOW_THREADS
;
7530 } Py_INCREF(Py_None
);
7531 _resultobj
= Py_None
;
7535 #define wxDC_ResetBoundingBox(_swigobj) (_swigobj->ResetBoundingBox())
7536 static PyObject
*_wrap_wxDC_ResetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7537 PyObject
* _resultobj
;
7539 PyObject
* _argo0
= 0;
7540 char *_kwnames
[] = { "self", NULL
};
7543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_ResetBoundingBox",_kwnames
,&_argo0
))
7546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_ResetBoundingBox. Expected _wxDC_p.");
7553 wxPy_BEGIN_ALLOW_THREADS
;
7554 wxDC_ResetBoundingBox(_arg0
);
7556 wxPy_END_ALLOW_THREADS
;
7557 } Py_INCREF(Py_None
);
7558 _resultobj
= Py_None
;
7562 static void *SwigwxMemoryDCTowxDC(void *ptr
) {
7565 src
= (wxMemoryDC
*) ptr
;
7566 dest
= (wxDC
*) src
;
7567 return (void *) dest
;
7570 static void *SwigwxMemoryDCTowxObject(void *ptr
) {
7573 src
= (wxMemoryDC
*) ptr
;
7574 dest
= (wxObject
*) src
;
7575 return (void *) dest
;
7578 #define new_wxMemoryDC() (new wxMemoryDC())
7579 static PyObject
*_wrap_new_wxMemoryDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7580 PyObject
* _resultobj
;
7581 wxMemoryDC
* _result
;
7582 char *_kwnames
[] = { NULL
};
7586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMemoryDC",_kwnames
))
7589 wxPy_BEGIN_ALLOW_THREADS
;
7590 _result
= (wxMemoryDC
*)new_wxMemoryDC();
7592 wxPy_END_ALLOW_THREADS
;
7594 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
7595 _resultobj
= Py_BuildValue("s",_ptemp
);
7598 _resultobj
= Py_None
;
7603 #define wxMemoryDC_SelectObject(_swigobj,_swigarg0) (_swigobj->SelectObject(_swigarg0))
7604 static PyObject
*_wrap_wxMemoryDC_SelectObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7605 PyObject
* _resultobj
;
7608 PyObject
* _argo0
= 0;
7609 PyObject
* _argo1
= 0;
7610 char *_kwnames
[] = { "self","bitmap", NULL
};
7613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMemoryDC_SelectObject",_kwnames
,&_argo0
,&_argo1
))
7616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMemoryDC_p")) {
7618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDC_SelectObject. Expected _wxMemoryDC_p.");
7623 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7624 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
7625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMemoryDC_SelectObject. Expected _wxBitmap_p.");
7630 wxPy_BEGIN_ALLOW_THREADS
;
7631 wxMemoryDC_SelectObject(_arg0
,*_arg1
);
7633 wxPy_END_ALLOW_THREADS
;
7634 } Py_INCREF(Py_None
);
7635 _resultobj
= Py_None
;
7639 static void *SwigwxScreenDCTowxDC(void *ptr
) {
7642 src
= (wxScreenDC
*) ptr
;
7643 dest
= (wxDC
*) src
;
7644 return (void *) dest
;
7647 static void *SwigwxScreenDCTowxObject(void *ptr
) {
7650 src
= (wxScreenDC
*) ptr
;
7651 dest
= (wxObject
*) src
;
7652 return (void *) dest
;
7655 #define new_wxScreenDC() (new wxScreenDC())
7656 static PyObject
*_wrap_new_wxScreenDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7657 PyObject
* _resultobj
;
7658 wxScreenDC
* _result
;
7659 char *_kwnames
[] = { NULL
};
7663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxScreenDC",_kwnames
))
7666 wxPy_BEGIN_ALLOW_THREADS
;
7667 _result
= (wxScreenDC
*)new_wxScreenDC();
7669 wxPy_END_ALLOW_THREADS
;
7671 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScreenDC_p");
7672 _resultobj
= Py_BuildValue("s",_ptemp
);
7675 _resultobj
= Py_None
;
7680 #define wxScreenDC_StartDrawingOnTopWin(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
7681 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTopWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7682 PyObject
* _resultobj
;
7686 PyObject
* _argo0
= 0;
7687 PyObject
* _argo1
= 0;
7688 char *_kwnames
[] = { "self","window", NULL
};
7691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScreenDC_StartDrawingOnTopWin",_kwnames
,&_argo0
,&_argo1
))
7694 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7695 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
7696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTopWin. Expected _wxScreenDC_p.");
7701 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7702 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScreenDC_StartDrawingOnTopWin. Expected _wxWindow_p.");
7708 wxPy_BEGIN_ALLOW_THREADS
;
7709 _result
= (bool )wxScreenDC_StartDrawingOnTopWin(_arg0
,_arg1
);
7711 wxPy_END_ALLOW_THREADS
;
7712 } _resultobj
= Py_BuildValue("i",_result
);
7716 #define wxScreenDC_StartDrawingOnTop(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
7717 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7718 PyObject
* _resultobj
;
7721 wxRect
* _arg1
= (wxRect
*) NULL
;
7722 PyObject
* _argo0
= 0;
7724 PyObject
* _obj1
= 0;
7725 char *_kwnames
[] = { "self","rect", NULL
};
7728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxScreenDC_StartDrawingOnTop",_kwnames
,&_argo0
,&_obj1
))
7731 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7732 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
7733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTop. Expected _wxScreenDC_p.");
7740 if (! wxRect_helper(_obj1
, &_arg1
))
7744 wxPy_BEGIN_ALLOW_THREADS
;
7745 _result
= (bool )wxScreenDC_StartDrawingOnTop(_arg0
,_arg1
);
7747 wxPy_END_ALLOW_THREADS
;
7748 } _resultobj
= Py_BuildValue("i",_result
);
7752 #define wxScreenDC_EndDrawingOnTop(_swigobj) (_swigobj->EndDrawingOnTop())
7753 static PyObject
*_wrap_wxScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7754 PyObject
* _resultobj
;
7757 PyObject
* _argo0
= 0;
7758 char *_kwnames
[] = { "self", NULL
};
7761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScreenDC_EndDrawingOnTop",_kwnames
,&_argo0
))
7764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
7766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_EndDrawingOnTop. Expected _wxScreenDC_p.");
7771 wxPy_BEGIN_ALLOW_THREADS
;
7772 _result
= (bool )wxScreenDC_EndDrawingOnTop(_arg0
);
7774 wxPy_END_ALLOW_THREADS
;
7775 } _resultobj
= Py_BuildValue("i",_result
);
7779 static void *SwigwxClientDCTowxDC(void *ptr
) {
7782 src
= (wxClientDC
*) ptr
;
7783 dest
= (wxDC
*) src
;
7784 return (void *) dest
;
7787 static void *SwigwxClientDCTowxObject(void *ptr
) {
7790 src
= (wxClientDC
*) ptr
;
7791 dest
= (wxObject
*) src
;
7792 return (void *) dest
;
7795 #define new_wxClientDC(_swigarg0) (new wxClientDC(_swigarg0))
7796 static PyObject
*_wrap_new_wxClientDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7797 PyObject
* _resultobj
;
7798 wxClientDC
* _result
;
7800 PyObject
* _argo0
= 0;
7801 char *_kwnames
[] = { "win", NULL
};
7805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxClientDC",_kwnames
,&_argo0
))
7808 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7809 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
7810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxClientDC. Expected _wxWindow_p.");
7815 wxPy_BEGIN_ALLOW_THREADS
;
7816 _result
= (wxClientDC
*)new_wxClientDC(_arg0
);
7818 wxPy_END_ALLOW_THREADS
;
7820 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxClientDC_p");
7821 _resultobj
= Py_BuildValue("s",_ptemp
);
7824 _resultobj
= Py_None
;
7829 static void *SwigwxPaintDCTowxDC(void *ptr
) {
7832 src
= (wxPaintDC
*) ptr
;
7833 dest
= (wxDC
*) src
;
7834 return (void *) dest
;
7837 static void *SwigwxPaintDCTowxObject(void *ptr
) {
7840 src
= (wxPaintDC
*) ptr
;
7841 dest
= (wxObject
*) src
;
7842 return (void *) dest
;
7845 #define new_wxPaintDC(_swigarg0) (new wxPaintDC(_swigarg0))
7846 static PyObject
*_wrap_new_wxPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7847 PyObject
* _resultobj
;
7848 wxPaintDC
* _result
;
7850 PyObject
* _argo0
= 0;
7851 char *_kwnames
[] = { "win", NULL
};
7855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPaintDC",_kwnames
,&_argo0
))
7858 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7859 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
7860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPaintDC. Expected _wxWindow_p.");
7865 wxPy_BEGIN_ALLOW_THREADS
;
7866 _result
= (wxPaintDC
*)new_wxPaintDC(_arg0
);
7868 wxPy_END_ALLOW_THREADS
;
7870 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPaintDC_p");
7871 _resultobj
= Py_BuildValue("s",_ptemp
);
7874 _resultobj
= Py_None
;
7879 static void *SwigwxWindowDCTowxDC(void *ptr
) {
7882 src
= (wxWindowDC
*) ptr
;
7883 dest
= (wxDC
*) src
;
7884 return (void *) dest
;
7887 static void *SwigwxWindowDCTowxObject(void *ptr
) {
7890 src
= (wxWindowDC
*) ptr
;
7891 dest
= (wxObject
*) src
;
7892 return (void *) dest
;
7895 #define new_wxWindowDC(_swigarg0) (new wxWindowDC(_swigarg0))
7896 static PyObject
*_wrap_new_wxWindowDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7897 PyObject
* _resultobj
;
7898 wxWindowDC
* _result
;
7900 PyObject
* _argo0
= 0;
7901 char *_kwnames
[] = { "win", NULL
};
7905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxWindowDC",_kwnames
,&_argo0
))
7908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
7910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDC. Expected _wxWindow_p.");
7915 wxPy_BEGIN_ALLOW_THREADS
;
7916 _result
= (wxWindowDC
*)new_wxWindowDC(_arg0
);
7918 wxPy_END_ALLOW_THREADS
;
7920 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDC_p");
7921 _resultobj
= Py_BuildValue("s",_ptemp
);
7924 _resultobj
= Py_None
;
7929 static void *SwigwxPostScriptDCTowxDC(void *ptr
) {
7930 wxPostScriptDC
*src
;
7932 src
= (wxPostScriptDC
*) ptr
;
7933 dest
= (wxDC
*) src
;
7934 return (void *) dest
;
7937 static void *SwigwxPostScriptDCTowxObject(void *ptr
) {
7938 wxPostScriptDC
*src
;
7940 src
= (wxPostScriptDC
*) ptr
;
7941 dest
= (wxObject
*) src
;
7942 return (void *) dest
;
7945 #define new_wxPostScriptDC(_swigarg0,_swigarg1,_swigarg2) (new wxPostScriptDC(_swigarg0,_swigarg1,_swigarg2))
7946 static PyObject
*_wrap_new_wxPostScriptDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7947 PyObject
* _resultobj
;
7948 wxPostScriptDC
* _result
;
7950 bool _arg1
= (bool ) TRUE
;
7951 wxWindow
* _arg2
= (wxWindow
*) NULL
;
7952 PyObject
* _obj0
= 0;
7953 int tempbool1
= (int) TRUE
;
7954 PyObject
* _argo2
= 0;
7955 char *_kwnames
[] = { "output","interactive","win", NULL
};
7959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:new_wxPostScriptDC",_kwnames
,&_obj0
,&tempbool1
,&_argo2
))
7962 #if PYTHON_API_VERSION >= 1009
7963 char* tmpPtr
; int tmpSize
;
7964 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
7965 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7968 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
7970 _arg0
= new wxString(tmpPtr
, tmpSize
);
7972 if (!PyString_Check(_obj0
)) {
7973 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7976 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
7979 _arg1
= (bool ) tempbool1
;
7981 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7982 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
7983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxPostScriptDC. Expected _wxWindow_p.");
7988 wxPy_BEGIN_ALLOW_THREADS
;
7989 _result
= (wxPostScriptDC
*)new_wxPostScriptDC(*_arg0
,_arg1
,_arg2
);
7991 wxPy_END_ALLOW_THREADS
;
7993 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPostScriptDC_p");
7994 _resultobj
= Py_BuildValue("s",_ptemp
);
7997 _resultobj
= Py_None
;
8006 static void *SwigwxPaletteTowxGDIObject(void *ptr
) {
8009 src
= (wxPalette
*) ptr
;
8010 dest
= (wxGDIObject
*) src
;
8011 return (void *) dest
;
8014 static void *SwigwxPaletteTowxObject(void *ptr
) {
8017 src
= (wxPalette
*) ptr
;
8018 dest
= (wxObject
*) src
;
8019 return (void *) dest
;
8022 #define new_wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8023 static PyObject
*_wrap_new_wxPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8024 PyObject
* _resultobj
;
8025 wxPalette
* _result
;
8030 PyObject
* _obj1
= 0;
8031 PyObject
* _obj2
= 0;
8032 PyObject
* _obj3
= 0;
8033 char *_kwnames
[] = { "choices","choices","choices", NULL
};
8037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:new_wxPalette",_kwnames
,&_obj1
,&_obj2
,&_obj3
))
8040 _arg1
= byte_LIST_helper(_obj1
);
8041 if (_arg1
== NULL
) {
8046 _arg2
= byte_LIST_helper(_obj2
);
8047 if (_arg2
== NULL
) {
8053 _arg3
= byte_LIST_helper(_obj3
);
8054 if (_arg3
== NULL
) {
8060 _arg0
= PyList_Size(_obj1
);
8067 wxPy_BEGIN_ALLOW_THREADS
;
8068 _result
= (wxPalette
*)new_wxPalette(_arg0
,_arg1
,_arg2
,_arg3
);
8070 wxPy_END_ALLOW_THREADS
;
8072 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPalette_p");
8073 _resultobj
= Py_BuildValue("s",_ptemp
);
8076 _resultobj
= Py_None
;
8090 #define delete_wxPalette(_swigobj) (delete _swigobj)
8091 static PyObject
*_wrap_delete_wxPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8092 PyObject
* _resultobj
;
8094 PyObject
* _argo0
= 0;
8095 char *_kwnames
[] = { "self", NULL
};
8098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPalette",_kwnames
,&_argo0
))
8101 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8102 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
8103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPalette. Expected _wxPalette_p.");
8108 wxPy_BEGIN_ALLOW_THREADS
;
8109 delete_wxPalette(_arg0
);
8111 wxPy_END_ALLOW_THREADS
;
8112 } Py_INCREF(Py_None
);
8113 _resultobj
= Py_None
;
8117 #define wxPalette_GetPixel(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetPixel(_swigarg0,_swigarg1,_swigarg2))
8118 static PyObject
*_wrap_wxPalette_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8119 PyObject
* _resultobj
;
8125 PyObject
* _argo0
= 0;
8126 char *_kwnames
[] = { "self","red","green","blue", NULL
};
8129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Obbb:wxPalette_GetPixel",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
8132 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8133 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
8134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetPixel. Expected _wxPalette_p.");
8139 wxPy_BEGIN_ALLOW_THREADS
;
8140 _result
= (int )wxPalette_GetPixel(_arg0
,_arg1
,_arg2
,_arg3
);
8142 wxPy_END_ALLOW_THREADS
;
8143 } _resultobj
= Py_BuildValue("i",_result
);
8147 #define wxPalette_GetRGB(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetRGB(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8148 static PyObject
*_wrap_wxPalette_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8149 PyObject
* _resultobj
;
8156 PyObject
* _argo0
= 0;
8157 PyObject
* _argo2
= 0;
8158 PyObject
* _argo3
= 0;
8159 PyObject
* _argo4
= 0;
8160 char *_kwnames
[] = { "self","pixel","OUTPUT","OUTPUT","OUTPUT", NULL
};
8163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOOO:wxPalette_GetRGB",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_argo4
))
8166 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8167 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
8168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetRGB. Expected _wxPalette_p.");
8173 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8174 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_byte_p")) {
8175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPalette_GetRGB. Expected _byte_p.");
8180 if (_argo3
== Py_None
) { _arg3
= NULL
; }
8181 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_byte_p")) {
8182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxPalette_GetRGB. Expected _byte_p.");
8187 if (_argo4
== Py_None
) { _arg4
= NULL
; }
8188 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_byte_p")) {
8189 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxPalette_GetRGB. Expected _byte_p.");
8194 wxPy_BEGIN_ALLOW_THREADS
;
8195 _result
= (bool )wxPalette_GetRGB(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
8197 wxPy_END_ALLOW_THREADS
;
8198 } _resultobj
= Py_BuildValue("i",_result
);
8202 #define wxPalette_Ok(_swigobj) (_swigobj->Ok())
8203 static PyObject
*_wrap_wxPalette_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8204 PyObject
* _resultobj
;
8207 PyObject
* _argo0
= 0;
8208 char *_kwnames
[] = { "self", NULL
};
8211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPalette_Ok",_kwnames
,&_argo0
))
8214 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8215 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
8216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_Ok. Expected _wxPalette_p.");
8221 wxPy_BEGIN_ALLOW_THREADS
;
8222 _result
= (bool )wxPalette_Ok(_arg0
);
8224 wxPy_END_ALLOW_THREADS
;
8225 } _resultobj
= Py_BuildValue("i",_result
);
8229 static void *SwigwxImageListTowxObject(void *ptr
) {
8232 src
= (wxImageList
*) ptr
;
8233 dest
= (wxObject
*) src
;
8234 return (void *) dest
;
8237 #define new_wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8238 static PyObject
*_wrap_new_wxImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8239 PyObject
* _resultobj
;
8240 wxImageList
* _result
;
8243 int _arg2
= (int ) TRUE
;
8244 int _arg3
= (int ) 1;
8245 char *_kwnames
[] = { "width","height","mask","initialCount", NULL
};
8249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ii|ii:new_wxImageList",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
8252 wxPy_BEGIN_ALLOW_THREADS
;
8253 _result
= (wxImageList
*)new_wxImageList(_arg0
,_arg1
,_arg2
,_arg3
);
8255 wxPy_END_ALLOW_THREADS
;
8257 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
8258 _resultobj
= Py_BuildValue("s",_ptemp
);
8261 _resultobj
= Py_None
;
8266 #define delete_wxImageList(_swigobj) (delete _swigobj)
8267 static PyObject
*_wrap_delete_wxImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8268 PyObject
* _resultobj
;
8269 wxImageList
* _arg0
;
8270 PyObject
* _argo0
= 0;
8271 char *_kwnames
[] = { "self", NULL
};
8274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxImageList",_kwnames
,&_argo0
))
8277 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8278 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
8279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxImageList. Expected _wxImageList_p.");
8284 wxPy_BEGIN_ALLOW_THREADS
;
8285 delete_wxImageList(_arg0
);
8287 wxPy_END_ALLOW_THREADS
;
8288 } Py_INCREF(Py_None
);
8289 _resultobj
= Py_None
;
8293 #define wxImageList_Add(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
8294 static PyObject
*_wrap_wxImageList_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8295 PyObject
* _resultobj
;
8297 wxImageList
* _arg0
;
8299 wxBitmap
* _arg2
= (wxBitmap
*) &wxNullBitmap
;
8300 PyObject
* _argo0
= 0;
8301 PyObject
* _argo1
= 0;
8302 PyObject
* _argo2
= 0;
8303 char *_kwnames
[] = { "self","bitmap","mask", NULL
};
8306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxImageList_Add",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
8309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
8311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Add. Expected _wxImageList_p.");
8316 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8317 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
8318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_Add. Expected _wxBitmap_p.");
8323 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8324 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
8325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Add. Expected _wxBitmap_p.");
8330 wxPy_BEGIN_ALLOW_THREADS
;
8331 _result
= (int )wxImageList_Add(_arg0
,*_arg1
,*_arg2
);
8333 wxPy_END_ALLOW_THREADS
;
8334 } _resultobj
= Py_BuildValue("i",_result
);
8338 #define wxImageList_AddWithColourMask(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
8339 static PyObject
*_wrap_wxImageList_AddWithColourMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8340 PyObject
* _resultobj
;
8342 wxImageList
* _arg0
;
8345 PyObject
* _argo0
= 0;
8346 PyObject
* _argo1
= 0;
8348 PyObject
* _obj2
= 0;
8349 char *_kwnames
[] = { "self","bitmap","maskColour", NULL
};
8352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxImageList_AddWithColourMask",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
8355 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8356 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
8357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_AddWithColourMask. Expected _wxImageList_p.");
8362 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8363 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
8364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_AddWithColourMask. Expected _wxBitmap_p.");
8370 if (! wxColour_helper(_obj2
, &_arg2
))
8374 wxPy_BEGIN_ALLOW_THREADS
;
8375 _result
= (int )wxImageList_AddWithColourMask(_arg0
,*_arg1
,*_arg2
);
8377 wxPy_END_ALLOW_THREADS
;
8378 } _resultobj
= Py_BuildValue("i",_result
);
8382 #define wxImageList_AddIcon(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
8383 static PyObject
*_wrap_wxImageList_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8384 PyObject
* _resultobj
;
8386 wxImageList
* _arg0
;
8388 PyObject
* _argo0
= 0;
8389 PyObject
* _argo1
= 0;
8390 char *_kwnames
[] = { "self","icon", NULL
};
8393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxImageList_AddIcon",_kwnames
,&_argo0
,&_argo1
))
8396 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8397 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
8398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_AddIcon. Expected _wxImageList_p.");
8403 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8404 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
8405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_AddIcon. Expected _wxIcon_p.");
8410 wxPy_BEGIN_ALLOW_THREADS
;
8411 _result
= (int )wxImageList_AddIcon(_arg0
,*_arg1
);
8413 wxPy_END_ALLOW_THREADS
;
8414 } _resultobj
= Py_BuildValue("i",_result
);
8418 #define wxImageList_Replace(_swigobj,_swigarg0,_swigarg1) (_swigobj->Replace(_swigarg0,_swigarg1))
8419 static PyObject
*_wrap_wxImageList_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8420 PyObject
* _resultobj
;
8422 wxImageList
* _arg0
;
8425 PyObject
* _argo0
= 0;
8426 PyObject
* _argo2
= 0;
8427 char *_kwnames
[] = { "self","index","bitmap", NULL
};
8430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxImageList_Replace",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
8433 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8434 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
8435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Replace. Expected _wxImageList_p.");
8440 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8441 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
8442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Replace. Expected _wxBitmap_p.");
8447 wxPy_BEGIN_ALLOW_THREADS
;
8448 _result
= (bool )wxImageList_Replace(_arg0
,_arg1
,*_arg2
);
8450 wxPy_END_ALLOW_THREADS
;
8451 } _resultobj
= Py_BuildValue("i",_result
);
8455 #define wxImageList_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8456 static PyObject
*_wrap_wxImageList_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8457 PyObject
* _resultobj
;
8459 wxImageList
* _arg0
;
8464 int _arg5
= (int ) (wxIMAGELIST_DRAW_NORMAL
);
8465 bool _arg6
= (bool ) FALSE
;
8466 PyObject
* _argo0
= 0;
8467 PyObject
* _argo2
= 0;
8468 int tempbool6
= (int) FALSE
;
8469 char *_kwnames
[] = { "self","index","dc","x","x","flags","solidBackground", NULL
};
8472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOii|ii:wxImageList_Draw",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
8475 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8476 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
8477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Draw. Expected _wxImageList_p.");
8482 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8483 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDC_p")) {
8484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Draw. Expected _wxDC_p.");
8488 _arg6
= (bool ) tempbool6
;
8490 wxPy_BEGIN_ALLOW_THREADS
;
8491 _result
= (bool )wxImageList_Draw(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
8493 wxPy_END_ALLOW_THREADS
;
8494 } _resultobj
= Py_BuildValue("i",_result
);
8498 #define wxImageList_GetImageCount(_swigobj) (_swigobj->GetImageCount())
8499 static PyObject
*_wrap_wxImageList_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8500 PyObject
* _resultobj
;
8502 wxImageList
* _arg0
;
8503 PyObject
* _argo0
= 0;
8504 char *_kwnames
[] = { "self", NULL
};
8507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxImageList_GetImageCount",_kwnames
,&_argo0
))
8510 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8511 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
8512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_GetImageCount. Expected _wxImageList_p.");
8517 wxPy_BEGIN_ALLOW_THREADS
;
8518 _result
= (int )wxImageList_GetImageCount(_arg0
);
8520 wxPy_END_ALLOW_THREADS
;
8521 } _resultobj
= Py_BuildValue("i",_result
);
8525 #define wxImageList_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
8526 static PyObject
*_wrap_wxImageList_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8527 PyObject
* _resultobj
;
8529 wxImageList
* _arg0
;
8531 PyObject
* _argo0
= 0;
8532 char *_kwnames
[] = { "self","index", NULL
};
8535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxImageList_Remove",_kwnames
,&_argo0
,&_arg1
))
8538 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8539 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
8540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Remove. Expected _wxImageList_p.");
8545 wxPy_BEGIN_ALLOW_THREADS
;
8546 _result
= (bool )wxImageList_Remove(_arg0
,_arg1
);
8548 wxPy_END_ALLOW_THREADS
;
8549 } _resultobj
= Py_BuildValue("i",_result
);
8553 #define wxImageList_RemoveAll(_swigobj) (_swigobj->RemoveAll())
8554 static PyObject
*_wrap_wxImageList_RemoveAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8555 PyObject
* _resultobj
;
8557 wxImageList
* _arg0
;
8558 PyObject
* _argo0
= 0;
8559 char *_kwnames
[] = { "self", NULL
};
8562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxImageList_RemoveAll",_kwnames
,&_argo0
))
8565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
8567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_RemoveAll. Expected _wxImageList_p.");
8572 wxPy_BEGIN_ALLOW_THREADS
;
8573 _result
= (bool )wxImageList_RemoveAll(_arg0
);
8575 wxPy_END_ALLOW_THREADS
;
8576 } _resultobj
= Py_BuildValue("i",_result
);
8580 #define wxImageList_GetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetSize(_swigarg0,_swigarg1,_swigarg2))
8581 static PyObject
*_wrap_wxImageList_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8582 PyObject
* _resultobj
;
8583 wxImageList
* _arg0
;
8589 PyObject
* _argo0
= 0;
8590 char *_kwnames
[] = { "self","index", NULL
};
8599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxImageList_GetSize",_kwnames
,&_argo0
,&_arg1
))
8602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
8604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_GetSize. Expected _wxImageList_p.");
8609 wxPy_BEGIN_ALLOW_THREADS
;
8610 wxImageList_GetSize(_arg0
,_arg1
,*_arg2
,*_arg3
);
8612 wxPy_END_ALLOW_THREADS
;
8613 } Py_INCREF(Py_None
);
8614 _resultobj
= Py_None
;
8617 o
= PyInt_FromLong((long) (*_arg2
));
8618 _resultobj
= t_output_helper(_resultobj
, o
);
8622 o
= PyInt_FromLong((long) (*_arg3
));
8623 _resultobj
= t_output_helper(_resultobj
, o
);
8628 static void *SwigwxRegionTowxGDIObject(void *ptr
) {
8631 src
= (wxRegion
*) ptr
;
8632 dest
= (wxGDIObject
*) src
;
8633 return (void *) dest
;
8636 static void *SwigwxRegionTowxObject(void *ptr
) {
8639 src
= (wxRegion
*) ptr
;
8640 dest
= (wxObject
*) src
;
8641 return (void *) dest
;
8644 #define new_wxRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8645 static PyObject
*_wrap_new_wxRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8646 PyObject
* _resultobj
;
8648 long _arg0
= (long ) 0;
8649 long _arg1
= (long ) 0;
8650 long _arg2
= (long ) 0;
8651 long _arg3
= (long ) 0;
8652 char *_kwnames
[] = { "x","y","width","height", NULL
};
8656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|llll:new_wxRegion",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
8659 wxPy_BEGIN_ALLOW_THREADS
;
8660 _result
= (wxRegion
*)new_wxRegion(_arg0
,_arg1
,_arg2
,_arg3
);
8662 wxPy_END_ALLOW_THREADS
;
8664 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegion_p");
8665 _resultobj
= Py_BuildValue("s",_ptemp
);
8668 _resultobj
= Py_None
;
8673 #define delete_wxRegion(_swigobj) (delete _swigobj)
8674 static PyObject
*_wrap_delete_wxRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8675 PyObject
* _resultobj
;
8677 PyObject
* _argo0
= 0;
8678 char *_kwnames
[] = { "self", NULL
};
8681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRegion",_kwnames
,&_argo0
))
8684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
8686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegion. Expected _wxRegion_p.");
8691 wxPy_BEGIN_ALLOW_THREADS
;
8692 delete_wxRegion(_arg0
);
8694 wxPy_END_ALLOW_THREADS
;
8695 } Py_INCREF(Py_None
);
8696 _resultobj
= Py_None
;
8700 #define wxRegion_Clear(_swigobj) (_swigobj->Clear())
8701 static PyObject
*_wrap_wxRegion_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8702 PyObject
* _resultobj
;
8704 PyObject
* _argo0
= 0;
8705 char *_kwnames
[] = { "self", NULL
};
8708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_Clear",_kwnames
,&_argo0
))
8711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
8713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Clear. Expected _wxRegion_p.");
8718 wxPy_BEGIN_ALLOW_THREADS
;
8719 wxRegion_Clear(_arg0
);
8721 wxPy_END_ALLOW_THREADS
;
8722 } Py_INCREF(Py_None
);
8723 _resultobj
= Py_None
;
8727 #define wxRegion_Contains(_swigobj,_swigarg0,_swigarg1) (_swigobj->Contains(_swigarg0,_swigarg1))
8728 static PyObject
*_wrap_wxRegion_Contains(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8729 PyObject
* _resultobj
;
8730 wxRegionContain _result
;
8734 PyObject
* _argo0
= 0;
8735 char *_kwnames
[] = { "self","x","y", NULL
};
8738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxRegion_Contains",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8741 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8742 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
8743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Contains. Expected _wxRegion_p.");
8748 wxPy_BEGIN_ALLOW_THREADS
;
8749 _result
= (wxRegionContain
)wxRegion_Contains(_arg0
,_arg1
,_arg2
);
8751 wxPy_END_ALLOW_THREADS
;
8752 } _resultobj
= Py_BuildValue("i",_result
);
8756 #define wxRegion_ContainsPoint(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
8757 static PyObject
*_wrap_wxRegion_ContainsPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8758 PyObject
* _resultobj
;
8759 wxRegionContain _result
;
8762 PyObject
* _argo0
= 0;
8764 PyObject
* _obj1
= 0;
8765 char *_kwnames
[] = { "self","pt", NULL
};
8768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_ContainsPoint",_kwnames
,&_argo0
,&_obj1
))
8771 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8772 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
8773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsPoint. Expected _wxRegion_p.");
8779 if (! wxPoint_helper(_obj1
, &_arg1
))
8783 wxPy_BEGIN_ALLOW_THREADS
;
8784 _result
= (wxRegionContain
)wxRegion_ContainsPoint(_arg0
,*_arg1
);
8786 wxPy_END_ALLOW_THREADS
;
8787 } _resultobj
= Py_BuildValue("i",_result
);
8791 #define wxRegion_ContainsRect(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
8792 static PyObject
*_wrap_wxRegion_ContainsRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8793 PyObject
* _resultobj
;
8794 wxRegionContain _result
;
8797 PyObject
* _argo0
= 0;
8799 PyObject
* _obj1
= 0;
8800 char *_kwnames
[] = { "self","rect", NULL
};
8803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_ContainsRect",_kwnames
,&_argo0
,&_obj1
))
8806 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8807 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
8808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsRect. Expected _wxRegion_p.");
8814 if (! wxRect_helper(_obj1
, &_arg1
))
8818 wxPy_BEGIN_ALLOW_THREADS
;
8819 _result
= (wxRegionContain
)wxRegion_ContainsRect(_arg0
,*_arg1
);
8821 wxPy_END_ALLOW_THREADS
;
8822 } _resultobj
= Py_BuildValue("i",_result
);
8826 #define wxRegion_ContainsRectDim(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Contains(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8827 static PyObject
*_wrap_wxRegion_ContainsRectDim(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8828 PyObject
* _resultobj
;
8829 wxRegionContain _result
;
8835 PyObject
* _argo0
= 0;
8836 char *_kwnames
[] = { "self","x","y","w","h", NULL
};
8839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_ContainsRectDim",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
8842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
8844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsRectDim. Expected _wxRegion_p.");
8849 wxPy_BEGIN_ALLOW_THREADS
;
8850 _result
= (wxRegionContain
)wxRegion_ContainsRectDim(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
8852 wxPy_END_ALLOW_THREADS
;
8853 } _resultobj
= Py_BuildValue("i",_result
);
8857 #define wxRegion_GetBox(_swigobj) (_swigobj->GetBox())
8858 static PyObject
*_wrap_wxRegion_GetBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8859 PyObject
* _resultobj
;
8862 PyObject
* _argo0
= 0;
8863 char *_kwnames
[] = { "self", NULL
};
8867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_GetBox",_kwnames
,&_argo0
))
8870 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8871 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
8872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_GetBox. Expected _wxRegion_p.");
8877 wxPy_BEGIN_ALLOW_THREADS
;
8878 _result
= new wxRect (wxRegion_GetBox(_arg0
));
8880 wxPy_END_ALLOW_THREADS
;
8881 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
8882 _resultobj
= Py_BuildValue("s",_ptemp
);
8886 #define wxRegion_Intersect(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Intersect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8887 static PyObject
*_wrap_wxRegion_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8888 PyObject
* _resultobj
;
8895 PyObject
* _argo0
= 0;
8896 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
8899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Intersect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
8902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
8904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Intersect. Expected _wxRegion_p.");
8909 wxPy_BEGIN_ALLOW_THREADS
;
8910 _result
= (bool )wxRegion_Intersect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
8912 wxPy_END_ALLOW_THREADS
;
8913 } _resultobj
= Py_BuildValue("i",_result
);
8917 #define wxRegion_IntersectRect(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
8918 static PyObject
*_wrap_wxRegion_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8919 PyObject
* _resultobj
;
8923 PyObject
* _argo0
= 0;
8925 PyObject
* _obj1
= 0;
8926 char *_kwnames
[] = { "self","rect", NULL
};
8929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_IntersectRect",_kwnames
,&_argo0
,&_obj1
))
8932 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8933 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
8934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IntersectRect. Expected _wxRegion_p.");
8940 if (! wxRect_helper(_obj1
, &_arg1
))
8944 wxPy_BEGIN_ALLOW_THREADS
;
8945 _result
= (bool )wxRegion_IntersectRect(_arg0
,*_arg1
);
8947 wxPy_END_ALLOW_THREADS
;
8948 } _resultobj
= Py_BuildValue("i",_result
);
8952 #define wxRegion_IntersectRegion(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
8953 static PyObject
*_wrap_wxRegion_IntersectRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8954 PyObject
* _resultobj
;
8958 PyObject
* _argo0
= 0;
8959 PyObject
* _argo1
= 0;
8960 char *_kwnames
[] = { "self","region", NULL
};
8963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_IntersectRegion",_kwnames
,&_argo0
,&_argo1
))
8966 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8967 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
8968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IntersectRegion. Expected _wxRegion_p.");
8973 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8974 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
8975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_IntersectRegion. Expected _wxRegion_p.");
8980 wxPy_BEGIN_ALLOW_THREADS
;
8981 _result
= (bool )wxRegion_IntersectRegion(_arg0
,*_arg1
);
8983 wxPy_END_ALLOW_THREADS
;
8984 } _resultobj
= Py_BuildValue("i",_result
);
8988 #define wxRegion_IsEmpty(_swigobj) (_swigobj->IsEmpty())
8989 static PyObject
*_wrap_wxRegion_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8990 PyObject
* _resultobj
;
8993 PyObject
* _argo0
= 0;
8994 char *_kwnames
[] = { "self", NULL
};
8997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_IsEmpty",_kwnames
,&_argo0
))
9000 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9001 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IsEmpty. Expected _wxRegion_p.");
9007 wxPy_BEGIN_ALLOW_THREADS
;
9008 _result
= (bool )wxRegion_IsEmpty(_arg0
);
9010 wxPy_END_ALLOW_THREADS
;
9011 } _resultobj
= Py_BuildValue("i",_result
);
9015 #define wxRegion_Union(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Union(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9016 static PyObject
*_wrap_wxRegion_Union(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9017 PyObject
* _resultobj
;
9024 PyObject
* _argo0
= 0;
9025 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
9028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Union",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
9031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Union. Expected _wxRegion_p.");
9038 wxPy_BEGIN_ALLOW_THREADS
;
9039 _result
= (bool )wxRegion_Union(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
9041 wxPy_END_ALLOW_THREADS
;
9042 } _resultobj
= Py_BuildValue("i",_result
);
9046 #define wxRegion_UnionRect(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
9047 static PyObject
*_wrap_wxRegion_UnionRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9048 PyObject
* _resultobj
;
9052 PyObject
* _argo0
= 0;
9054 PyObject
* _obj1
= 0;
9055 char *_kwnames
[] = { "self","rect", NULL
};
9058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_UnionRect",_kwnames
,&_argo0
,&_obj1
))
9061 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9062 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9063 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_UnionRect. Expected _wxRegion_p.");
9069 if (! wxRect_helper(_obj1
, &_arg1
))
9073 wxPy_BEGIN_ALLOW_THREADS
;
9074 _result
= (bool )wxRegion_UnionRect(_arg0
,*_arg1
);
9076 wxPy_END_ALLOW_THREADS
;
9077 } _resultobj
= Py_BuildValue("i",_result
);
9081 #define wxRegion_UnionRegion(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
9082 static PyObject
*_wrap_wxRegion_UnionRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9083 PyObject
* _resultobj
;
9087 PyObject
* _argo0
= 0;
9088 PyObject
* _argo1
= 0;
9089 char *_kwnames
[] = { "self","region", NULL
};
9092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_UnionRegion",_kwnames
,&_argo0
,&_argo1
))
9095 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9096 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9097 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_UnionRegion. Expected _wxRegion_p.");
9102 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9103 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
9104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_UnionRegion. Expected _wxRegion_p.");
9109 wxPy_BEGIN_ALLOW_THREADS
;
9110 _result
= (bool )wxRegion_UnionRegion(_arg0
,*_arg1
);
9112 wxPy_END_ALLOW_THREADS
;
9113 } _resultobj
= Py_BuildValue("i",_result
);
9117 #define wxRegion_Subtract(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Subtract(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9118 static PyObject
*_wrap_wxRegion_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9119 PyObject
* _resultobj
;
9126 PyObject
* _argo0
= 0;
9127 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
9130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Subtract",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
9133 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9134 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Subtract. Expected _wxRegion_p.");
9140 wxPy_BEGIN_ALLOW_THREADS
;
9141 _result
= (bool )wxRegion_Subtract(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
9143 wxPy_END_ALLOW_THREADS
;
9144 } _resultobj
= Py_BuildValue("i",_result
);
9148 #define wxRegion_SubtractRect(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
9149 static PyObject
*_wrap_wxRegion_SubtractRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9150 PyObject
* _resultobj
;
9154 PyObject
* _argo0
= 0;
9156 PyObject
* _obj1
= 0;
9157 char *_kwnames
[] = { "self","rect", NULL
};
9160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_SubtractRect",_kwnames
,&_argo0
,&_obj1
))
9163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_SubtractRect. Expected _wxRegion_p.");
9171 if (! wxRect_helper(_obj1
, &_arg1
))
9175 wxPy_BEGIN_ALLOW_THREADS
;
9176 _result
= (bool )wxRegion_SubtractRect(_arg0
,*_arg1
);
9178 wxPy_END_ALLOW_THREADS
;
9179 } _resultobj
= Py_BuildValue("i",_result
);
9183 #define wxRegion_SubtractRegion(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
9184 static PyObject
*_wrap_wxRegion_SubtractRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9185 PyObject
* _resultobj
;
9189 PyObject
* _argo0
= 0;
9190 PyObject
* _argo1
= 0;
9191 char *_kwnames
[] = { "self","region", NULL
};
9194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_SubtractRegion",_kwnames
,&_argo0
,&_argo1
))
9197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_SubtractRegion. Expected _wxRegion_p.");
9204 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9205 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
9206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_SubtractRegion. Expected _wxRegion_p.");
9211 wxPy_BEGIN_ALLOW_THREADS
;
9212 _result
= (bool )wxRegion_SubtractRegion(_arg0
,*_arg1
);
9214 wxPy_END_ALLOW_THREADS
;
9215 } _resultobj
= Py_BuildValue("i",_result
);
9219 #define wxRegion_Xor(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Xor(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9220 static PyObject
*_wrap_wxRegion_Xor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9221 PyObject
* _resultobj
;
9228 PyObject
* _argo0
= 0;
9229 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
9232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Xor",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
9235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Xor. Expected _wxRegion_p.");
9242 wxPy_BEGIN_ALLOW_THREADS
;
9243 _result
= (bool )wxRegion_Xor(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
9245 wxPy_END_ALLOW_THREADS
;
9246 } _resultobj
= Py_BuildValue("i",_result
);
9250 #define wxRegion_XorRect(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
9251 static PyObject
*_wrap_wxRegion_XorRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9252 PyObject
* _resultobj
;
9256 PyObject
* _argo0
= 0;
9258 PyObject
* _obj1
= 0;
9259 char *_kwnames
[] = { "self","rect", NULL
};
9262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_XorRect",_kwnames
,&_argo0
,&_obj1
))
9265 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9266 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_XorRect. Expected _wxRegion_p.");
9273 if (! wxRect_helper(_obj1
, &_arg1
))
9277 wxPy_BEGIN_ALLOW_THREADS
;
9278 _result
= (bool )wxRegion_XorRect(_arg0
,*_arg1
);
9280 wxPy_END_ALLOW_THREADS
;
9281 } _resultobj
= Py_BuildValue("i",_result
);
9285 #define wxRegion_XorRegion(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
9286 static PyObject
*_wrap_wxRegion_XorRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9287 PyObject
* _resultobj
;
9291 PyObject
* _argo0
= 0;
9292 PyObject
* _argo1
= 0;
9293 char *_kwnames
[] = { "self","region", NULL
};
9296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_XorRegion",_kwnames
,&_argo0
,&_argo1
))
9299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_XorRegion. Expected _wxRegion_p.");
9306 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9307 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
9308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_XorRegion. Expected _wxRegion_p.");
9313 wxPy_BEGIN_ALLOW_THREADS
;
9314 _result
= (bool )wxRegion_XorRegion(_arg0
,*_arg1
);
9316 wxPy_END_ALLOW_THREADS
;
9317 } _resultobj
= Py_BuildValue("i",_result
);
9321 static void *SwigwxRegionIteratorTowxObject(void *ptr
) {
9322 wxRegionIterator
*src
;
9324 src
= (wxRegionIterator
*) ptr
;
9325 dest
= (wxObject
*) src
;
9326 return (void *) dest
;
9329 #define new_wxRegionIterator(_swigarg0) (new wxRegionIterator(_swigarg0))
9330 static PyObject
*_wrap_new_wxRegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9331 PyObject
* _resultobj
;
9332 wxRegionIterator
* _result
;
9334 PyObject
* _argo0
= 0;
9335 char *_kwnames
[] = { "region", NULL
};
9339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxRegionIterator",_kwnames
,&_argo0
))
9342 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9343 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRegionIterator. Expected _wxRegion_p.");
9349 wxPy_BEGIN_ALLOW_THREADS
;
9350 _result
= (wxRegionIterator
*)new_wxRegionIterator(*_arg0
);
9352 wxPy_END_ALLOW_THREADS
;
9354 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegionIterator_p");
9355 _resultobj
= Py_BuildValue("s",_ptemp
);
9358 _resultobj
= Py_None
;
9363 #define delete_wxRegionIterator(_swigobj) (delete _swigobj)
9364 static PyObject
*_wrap_delete_wxRegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9365 PyObject
* _resultobj
;
9366 wxRegionIterator
* _arg0
;
9367 PyObject
* _argo0
= 0;
9368 char *_kwnames
[] = { "self", NULL
};
9371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRegionIterator",_kwnames
,&_argo0
))
9374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
9376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegionIterator. Expected _wxRegionIterator_p.");
9381 wxPy_BEGIN_ALLOW_THREADS
;
9382 delete_wxRegionIterator(_arg0
);
9384 wxPy_END_ALLOW_THREADS
;
9385 } Py_INCREF(Py_None
);
9386 _resultobj
= Py_None
;
9390 #define wxRegionIterator_GetX(_swigobj) (_swigobj->GetX())
9391 static PyObject
*_wrap_wxRegionIterator_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9392 PyObject
* _resultobj
;
9394 wxRegionIterator
* _arg0
;
9395 PyObject
* _argo0
= 0;
9396 char *_kwnames
[] = { "self", NULL
};
9399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetX",_kwnames
,&_argo0
))
9402 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9403 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
9404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetX. Expected _wxRegionIterator_p.");
9409 wxPy_BEGIN_ALLOW_THREADS
;
9410 _result
= (long )wxRegionIterator_GetX(_arg0
);
9412 wxPy_END_ALLOW_THREADS
;
9413 } _resultobj
= Py_BuildValue("l",_result
);
9417 #define wxRegionIterator_GetY(_swigobj) (_swigobj->GetY())
9418 static PyObject
*_wrap_wxRegionIterator_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9419 PyObject
* _resultobj
;
9421 wxRegionIterator
* _arg0
;
9422 PyObject
* _argo0
= 0;
9423 char *_kwnames
[] = { "self", NULL
};
9426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetY",_kwnames
,&_argo0
))
9429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
9431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetY. Expected _wxRegionIterator_p.");
9436 wxPy_BEGIN_ALLOW_THREADS
;
9437 _result
= (long )wxRegionIterator_GetY(_arg0
);
9439 wxPy_END_ALLOW_THREADS
;
9440 } _resultobj
= Py_BuildValue("l",_result
);
9444 #define wxRegionIterator_GetW(_swigobj) (_swigobj->GetW())
9445 static PyObject
*_wrap_wxRegionIterator_GetW(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9446 PyObject
* _resultobj
;
9448 wxRegionIterator
* _arg0
;
9449 PyObject
* _argo0
= 0;
9450 char *_kwnames
[] = { "self", NULL
};
9453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetW",_kwnames
,&_argo0
))
9456 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9457 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
9458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetW. Expected _wxRegionIterator_p.");
9463 wxPy_BEGIN_ALLOW_THREADS
;
9464 _result
= (long )wxRegionIterator_GetW(_arg0
);
9466 wxPy_END_ALLOW_THREADS
;
9467 } _resultobj
= Py_BuildValue("l",_result
);
9471 #define wxRegionIterator_GetWidth(_swigobj) (_swigobj->GetWidth())
9472 static PyObject
*_wrap_wxRegionIterator_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9473 PyObject
* _resultobj
;
9475 wxRegionIterator
* _arg0
;
9476 PyObject
* _argo0
= 0;
9477 char *_kwnames
[] = { "self", NULL
};
9480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetWidth",_kwnames
,&_argo0
))
9483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
9485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetWidth. Expected _wxRegionIterator_p.");
9490 wxPy_BEGIN_ALLOW_THREADS
;
9491 _result
= (long )wxRegionIterator_GetWidth(_arg0
);
9493 wxPy_END_ALLOW_THREADS
;
9494 } _resultobj
= Py_BuildValue("l",_result
);
9498 #define wxRegionIterator_GetH(_swigobj) (_swigobj->GetH())
9499 static PyObject
*_wrap_wxRegionIterator_GetH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9500 PyObject
* _resultobj
;
9502 wxRegionIterator
* _arg0
;
9503 PyObject
* _argo0
= 0;
9504 char *_kwnames
[] = { "self", NULL
};
9507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetH",_kwnames
,&_argo0
))
9510 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9511 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
9512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetH. Expected _wxRegionIterator_p.");
9517 wxPy_BEGIN_ALLOW_THREADS
;
9518 _result
= (long )wxRegionIterator_GetH(_arg0
);
9520 wxPy_END_ALLOW_THREADS
;
9521 } _resultobj
= Py_BuildValue("l",_result
);
9525 #define wxRegionIterator_GetHeight(_swigobj) (_swigobj->GetHeight())
9526 static PyObject
*_wrap_wxRegionIterator_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9527 PyObject
* _resultobj
;
9529 wxRegionIterator
* _arg0
;
9530 PyObject
* _argo0
= 0;
9531 char *_kwnames
[] = { "self", NULL
};
9534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetHeight",_kwnames
,&_argo0
))
9537 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9538 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
9539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetHeight. Expected _wxRegionIterator_p.");
9544 wxPy_BEGIN_ALLOW_THREADS
;
9545 _result
= (long )wxRegionIterator_GetHeight(_arg0
);
9547 wxPy_END_ALLOW_THREADS
;
9548 } _resultobj
= Py_BuildValue("l",_result
);
9552 #define wxRegionIterator_GetRect(_swigobj) (_swigobj->GetRect())
9553 static PyObject
*_wrap_wxRegionIterator_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9554 PyObject
* _resultobj
;
9556 wxRegionIterator
* _arg0
;
9557 PyObject
* _argo0
= 0;
9558 char *_kwnames
[] = { "self", NULL
};
9562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetRect",_kwnames
,&_argo0
))
9565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
9567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetRect. Expected _wxRegionIterator_p.");
9572 wxPy_BEGIN_ALLOW_THREADS
;
9573 _result
= new wxRect (wxRegionIterator_GetRect(_arg0
));
9575 wxPy_END_ALLOW_THREADS
;
9576 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
9577 _resultobj
= Py_BuildValue("s",_ptemp
);
9581 #define wxRegionIterator_HaveRects(_swigobj) (_swigobj->HaveRects())
9582 static PyObject
*_wrap_wxRegionIterator_HaveRects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9583 PyObject
* _resultobj
;
9585 wxRegionIterator
* _arg0
;
9586 PyObject
* _argo0
= 0;
9587 char *_kwnames
[] = { "self", NULL
};
9590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_HaveRects",_kwnames
,&_argo0
))
9593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
9595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_HaveRects. Expected _wxRegionIterator_p.");
9600 wxPy_BEGIN_ALLOW_THREADS
;
9601 _result
= (bool )wxRegionIterator_HaveRects(_arg0
);
9603 wxPy_END_ALLOW_THREADS
;
9604 } _resultobj
= Py_BuildValue("i",_result
);
9608 #define wxRegionIterator_Reset(_swigobj) (_swigobj->Reset())
9609 static PyObject
*_wrap_wxRegionIterator_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9610 PyObject
* _resultobj
;
9611 wxRegionIterator
* _arg0
;
9612 PyObject
* _argo0
= 0;
9613 char *_kwnames
[] = { "self", NULL
};
9616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_Reset",_kwnames
,&_argo0
))
9619 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9620 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
9621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Reset. Expected _wxRegionIterator_p.");
9626 wxPy_BEGIN_ALLOW_THREADS
;
9627 wxRegionIterator_Reset(_arg0
);
9629 wxPy_END_ALLOW_THREADS
;
9630 } Py_INCREF(Py_None
);
9631 _resultobj
= Py_None
;
9635 static void wxRegionIterator_Next(wxRegionIterator
*self
) {
9638 static PyObject
*_wrap_wxRegionIterator_Next(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9639 PyObject
* _resultobj
;
9640 wxRegionIterator
* _arg0
;
9641 PyObject
* _argo0
= 0;
9642 char *_kwnames
[] = { "self", NULL
};
9645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_Next",_kwnames
,&_argo0
))
9648 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9649 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
9650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Next. Expected _wxRegionIterator_p.");
9655 wxPy_BEGIN_ALLOW_THREADS
;
9656 wxRegionIterator_Next(_arg0
);
9658 wxPy_END_ALLOW_THREADS
;
9659 } Py_INCREF(Py_None
);
9660 _resultobj
= Py_None
;
9664 static PyMethodDef gdicMethods
[] = {
9665 { "wxRegionIterator_Next", (PyCFunction
) _wrap_wxRegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
},
9666 { "wxRegionIterator_Reset", (PyCFunction
) _wrap_wxRegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
},
9667 { "wxRegionIterator_HaveRects", (PyCFunction
) _wrap_wxRegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
},
9668 { "wxRegionIterator_GetRect", (PyCFunction
) _wrap_wxRegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
9669 { "wxRegionIterator_GetHeight", (PyCFunction
) _wrap_wxRegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
9670 { "wxRegionIterator_GetH", (PyCFunction
) _wrap_wxRegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
},
9671 { "wxRegionIterator_GetWidth", (PyCFunction
) _wrap_wxRegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
9672 { "wxRegionIterator_GetW", (PyCFunction
) _wrap_wxRegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
},
9673 { "wxRegionIterator_GetY", (PyCFunction
) _wrap_wxRegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
},
9674 { "wxRegionIterator_GetX", (PyCFunction
) _wrap_wxRegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
},
9675 { "delete_wxRegionIterator", (PyCFunction
) _wrap_delete_wxRegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
9676 { "new_wxRegionIterator", (PyCFunction
) _wrap_new_wxRegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
9677 { "wxRegion_XorRegion", (PyCFunction
) _wrap_wxRegion_XorRegion
, METH_VARARGS
| METH_KEYWORDS
},
9678 { "wxRegion_XorRect", (PyCFunction
) _wrap_wxRegion_XorRect
, METH_VARARGS
| METH_KEYWORDS
},
9679 { "wxRegion_Xor", (PyCFunction
) _wrap_wxRegion_Xor
, METH_VARARGS
| METH_KEYWORDS
},
9680 { "wxRegion_SubtractRegion", (PyCFunction
) _wrap_wxRegion_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
},
9681 { "wxRegion_SubtractRect", (PyCFunction
) _wrap_wxRegion_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
},
9682 { "wxRegion_Subtract", (PyCFunction
) _wrap_wxRegion_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
9683 { "wxRegion_UnionRegion", (PyCFunction
) _wrap_wxRegion_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
},
9684 { "wxRegion_UnionRect", (PyCFunction
) _wrap_wxRegion_UnionRect
, METH_VARARGS
| METH_KEYWORDS
},
9685 { "wxRegion_Union", (PyCFunction
) _wrap_wxRegion_Union
, METH_VARARGS
| METH_KEYWORDS
},
9686 { "wxRegion_IsEmpty", (PyCFunction
) _wrap_wxRegion_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
9687 { "wxRegion_IntersectRegion", (PyCFunction
) _wrap_wxRegion_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
},
9688 { "wxRegion_IntersectRect", (PyCFunction
) _wrap_wxRegion_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
9689 { "wxRegion_Intersect", (PyCFunction
) _wrap_wxRegion_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
9690 { "wxRegion_GetBox", (PyCFunction
) _wrap_wxRegion_GetBox
, METH_VARARGS
| METH_KEYWORDS
},
9691 { "wxRegion_ContainsRectDim", (PyCFunction
) _wrap_wxRegion_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
},
9692 { "wxRegion_ContainsRect", (PyCFunction
) _wrap_wxRegion_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
},
9693 { "wxRegion_ContainsPoint", (PyCFunction
) _wrap_wxRegion_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
},
9694 { "wxRegion_Contains", (PyCFunction
) _wrap_wxRegion_Contains
, METH_VARARGS
| METH_KEYWORDS
},
9695 { "wxRegion_Clear", (PyCFunction
) _wrap_wxRegion_Clear
, METH_VARARGS
| METH_KEYWORDS
},
9696 { "delete_wxRegion", (PyCFunction
) _wrap_delete_wxRegion
, METH_VARARGS
| METH_KEYWORDS
},
9697 { "new_wxRegion", (PyCFunction
) _wrap_new_wxRegion
, METH_VARARGS
| METH_KEYWORDS
},
9698 { "wxImageList_GetSize", (PyCFunction
) _wrap_wxImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
9699 { "wxImageList_RemoveAll", (PyCFunction
) _wrap_wxImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
},
9700 { "wxImageList_Remove", (PyCFunction
) _wrap_wxImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
},
9701 { "wxImageList_GetImageCount", (PyCFunction
) _wrap_wxImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
9702 { "wxImageList_Draw", (PyCFunction
) _wrap_wxImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
},
9703 { "wxImageList_Replace", (PyCFunction
) _wrap_wxImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
},
9704 { "wxImageList_AddIcon", (PyCFunction
) _wrap_wxImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
9705 { "wxImageList_AddWithColourMask", (PyCFunction
) _wrap_wxImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
},
9706 { "wxImageList_Add", (PyCFunction
) _wrap_wxImageList_Add
, METH_VARARGS
| METH_KEYWORDS
},
9707 { "delete_wxImageList", (PyCFunction
) _wrap_delete_wxImageList
, METH_VARARGS
| METH_KEYWORDS
},
9708 { "new_wxImageList", (PyCFunction
) _wrap_new_wxImageList
, METH_VARARGS
| METH_KEYWORDS
},
9709 { "wxPalette_Ok", (PyCFunction
) _wrap_wxPalette_Ok
, METH_VARARGS
| METH_KEYWORDS
},
9710 { "wxPalette_GetRGB", (PyCFunction
) _wrap_wxPalette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
9711 { "wxPalette_GetPixel", (PyCFunction
) _wrap_wxPalette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
9712 { "delete_wxPalette", (PyCFunction
) _wrap_delete_wxPalette
, METH_VARARGS
| METH_KEYWORDS
},
9713 { "new_wxPalette", (PyCFunction
) _wrap_new_wxPalette
, METH_VARARGS
| METH_KEYWORDS
},
9714 { "new_wxPostScriptDC", (PyCFunction
) _wrap_new_wxPostScriptDC
, METH_VARARGS
| METH_KEYWORDS
},
9715 { "new_wxWindowDC", (PyCFunction
) _wrap_new_wxWindowDC
, METH_VARARGS
| METH_KEYWORDS
},
9716 { "new_wxPaintDC", (PyCFunction
) _wrap_new_wxPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
9717 { "new_wxClientDC", (PyCFunction
) _wrap_new_wxClientDC
, METH_VARARGS
| METH_KEYWORDS
},
9718 { "wxScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_wxScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
9719 { "wxScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_wxScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
9720 { "wxScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_wxScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
},
9721 { "new_wxScreenDC", (PyCFunction
) _wrap_new_wxScreenDC
, METH_VARARGS
| METH_KEYWORDS
},
9722 { "wxMemoryDC_SelectObject", (PyCFunction
) _wrap_wxMemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
},
9723 { "new_wxMemoryDC", (PyCFunction
) _wrap_new_wxMemoryDC
, METH_VARARGS
| METH_KEYWORDS
},
9724 { "wxDC_ResetBoundingBox", (PyCFunction
) _wrap_wxDC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
9725 { "wxDC_CalcBoundingBox", (PyCFunction
) _wrap_wxDC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
9726 { "wxDC_SetAxisOrientation", (PyCFunction
) _wrap_wxDC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
},
9727 { "wxDC_GetDeviceOrigin", (PyCFunction
) _wrap_wxDC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
9728 { "wxDC_SetLogicalOrigin", (PyCFunction
) _wrap_wxDC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
9729 { "wxDC_GetLogicalOrigin", (PyCFunction
) _wrap_wxDC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
9730 { "wxDC_GetPPI", (PyCFunction
) _wrap_wxDC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
},
9731 { "wxDC_GetDepth", (PyCFunction
) _wrap_wxDC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
9732 { "wxDC_CanGetTextExtent", (PyCFunction
) _wrap_wxDC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
9733 { "wxDC_CanDrawBitmap", (PyCFunction
) _wrap_wxDC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
9734 { "wxDC_DrawBitmap", (PyCFunction
) _wrap_wxDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
9735 { "wxDC_StartPage", (PyCFunction
) _wrap_wxDC_StartPage
, METH_VARARGS
| METH_KEYWORDS
},
9736 { "wxDC_StartDoc", (PyCFunction
) _wrap_wxDC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
},
9737 { "wxDC_SetUserScale", (PyCFunction
) _wrap_wxDC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
9738 { "wxDC_SetTextForeground", (PyCFunction
) _wrap_wxDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
9739 { "wxDC_SetTextBackground", (PyCFunction
) _wrap_wxDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
9740 { "wxDC_SetPen", (PyCFunction
) _wrap_wxDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
9741 { "wxDC_SetOptimization", (PyCFunction
) _wrap_wxDC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
9742 { "wxDC_SetMapMode", (PyCFunction
) _wrap_wxDC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
9743 { "wxDC_SetLogicalScale", (PyCFunction
) _wrap_wxDC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
9744 { "wxDC_SetLogicalFunction", (PyCFunction
) _wrap_wxDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
9745 { "wxDC_SetFont", (PyCFunction
) _wrap_wxDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
9746 { "wxDC_SetBrush", (PyCFunction
) _wrap_wxDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
9747 { "wxDC_SetPalette", (PyCFunction
) _wrap_wxDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
9748 { "wxDC_SetClippingRegion", (PyCFunction
) _wrap_wxDC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
9749 { "wxDC_SetBackgroundMode", (PyCFunction
) _wrap_wxDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
9750 { "wxDC_SetBackground", (PyCFunction
) _wrap_wxDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
},
9751 { "wxDC_SetDeviceOrigin", (PyCFunction
) _wrap_wxDC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
9752 { "wxDC_Ok", (PyCFunction
) _wrap_wxDC_Ok
, METH_VARARGS
| METH_KEYWORDS
},
9753 { "wxDC_MinY", (PyCFunction
) _wrap_wxDC_MinY
, METH_VARARGS
| METH_KEYWORDS
},
9754 { "wxDC_MinX", (PyCFunction
) _wrap_wxDC_MinX
, METH_VARARGS
| METH_KEYWORDS
},
9755 { "wxDC_MaxY", (PyCFunction
) _wrap_wxDC_MaxY
, METH_VARARGS
| METH_KEYWORDS
},
9756 { "wxDC_MaxX", (PyCFunction
) _wrap_wxDC_MaxX
, METH_VARARGS
| METH_KEYWORDS
},
9757 { "wxDC_LogicalToDeviceYRel", (PyCFunction
) _wrap_wxDC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
},
9758 { "wxDC_LogicalToDeviceY", (PyCFunction
) _wrap_wxDC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
},
9759 { "wxDC_LogicalToDeviceXRel", (PyCFunction
) _wrap_wxDC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
},
9760 { "wxDC_LogicalToDeviceX", (PyCFunction
) _wrap_wxDC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
},
9761 { "wxDC_GetUserScale", (PyCFunction
) _wrap_wxDC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
9762 { "wxDC_GetTextForeground", (PyCFunction
) _wrap_wxDC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
9763 { "wxDC_GetFullTextExtent", (PyCFunction
) _wrap_wxDC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
9764 { "wxDC_GetTextExtent", (PyCFunction
) _wrap_wxDC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
9765 { "wxDC_GetTextBackground", (PyCFunction
) _wrap_wxDC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
9766 { "wxDC_GetSizeMM", (PyCFunction
) _wrap_wxDC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
9767 { "wxDC_GetSize", (PyCFunction
) _wrap_wxDC_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
9768 { "wxDC_GetSizeTuple", (PyCFunction
) _wrap_wxDC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
9769 { "wxDC_GetPixel", (PyCFunction
) _wrap_wxDC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
9770 { "wxDC_GetPen", (PyCFunction
) _wrap_wxDC_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
9771 { "wxDC_GetOptimization", (PyCFunction
) _wrap_wxDC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
9772 { "wxDC_GetMapMode", (PyCFunction
) _wrap_wxDC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
9773 { "wxDC_GetLogicalScale", (PyCFunction
) _wrap_wxDC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
9774 { "wxDC_GetLogicalFunction", (PyCFunction
) _wrap_wxDC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
9775 { "wxDC_GetFont", (PyCFunction
) _wrap_wxDC_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
9776 { "wxDC_GetClippingBox", (PyCFunction
) _wrap_wxDC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
},
9777 { "wxDC_GetCharWidth", (PyCFunction
) _wrap_wxDC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
9778 { "wxDC_GetCharHeight", (PyCFunction
) _wrap_wxDC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
9779 { "wxDC_GetBrush", (PyCFunction
) _wrap_wxDC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
9780 { "wxDC_GetBackground", (PyCFunction
) _wrap_wxDC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
},
9781 { "wxDC_FloodFill", (PyCFunction
) _wrap_wxDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
},
9782 { "wxDC_EndPage", (PyCFunction
) _wrap_wxDC_EndPage
, METH_VARARGS
| METH_KEYWORDS
},
9783 { "wxDC_EndDrawing", (PyCFunction
) _wrap_wxDC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
},
9784 { "wxDC_EndDoc", (PyCFunction
) _wrap_wxDC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
},
9785 { "wxDC_DrawText", (PyCFunction
) _wrap_wxDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
9786 { "wxDC_DrawSpline", (PyCFunction
) _wrap_wxDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
9787 { "wxDC_DrawRoundedRectangle", (PyCFunction
) _wrap_wxDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
9788 { "wxDC_DrawRotatedText", (PyCFunction
) _wrap_wxDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
},
9789 { "wxDC_DrawRectangle", (PyCFunction
) _wrap_wxDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
9790 { "wxDC_DrawPoint", (PyCFunction
) _wrap_wxDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
9791 { "wxDC_DrawPolygon", (PyCFunction
) _wrap_wxDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
9792 { "wxDC_DrawLines", (PyCFunction
) _wrap_wxDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
9793 { "wxDC_DrawLine", (PyCFunction
) _wrap_wxDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
9794 { "wxDC_DrawIcon", (PyCFunction
) _wrap_wxDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
},
9795 { "wxDC_DrawEllipticArc", (PyCFunction
) _wrap_wxDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
9796 { "wxDC_DrawEllipse", (PyCFunction
) _wrap_wxDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
9797 { "wxDC_DrawCircle", (PyCFunction
) _wrap_wxDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
},
9798 { "wxDC_DrawArc", (PyCFunction
) _wrap_wxDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
9799 { "wxDC_DeviceToLogicalYRel", (PyCFunction
) _wrap_wxDC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
},
9800 { "wxDC_DeviceToLogicalY", (PyCFunction
) _wrap_wxDC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
},
9801 { "wxDC_DeviceToLogicalXRel", (PyCFunction
) _wrap_wxDC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
},
9802 { "wxDC_DeviceToLogicalX", (PyCFunction
) _wrap_wxDC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
},
9803 { "wxDC_DestroyClippingRegion", (PyCFunction
) _wrap_wxDC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
9804 { "wxDC_CrossHair", (PyCFunction
) _wrap_wxDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
},
9805 { "wxDC_Clear", (PyCFunction
) _wrap_wxDC_Clear
, METH_VARARGS
| METH_KEYWORDS
},
9806 { "wxDC_Blit", (PyCFunction
) _wrap_wxDC_Blit
, METH_VARARGS
| METH_KEYWORDS
},
9807 { "wxDC_BeginDrawing", (PyCFunction
) _wrap_wxDC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
},
9808 { "delete_wxDC", (PyCFunction
) _wrap_delete_wxDC
, METH_VARARGS
| METH_KEYWORDS
},
9809 { "wxBrushList_RemoveBrush", (PyCFunction
) _wrap_wxBrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
},
9810 { "wxBrushList_FindOrCreateBrush", (PyCFunction
) _wrap_wxBrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
},
9811 { "wxBrushList_AddBrush", (PyCFunction
) _wrap_wxBrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
},
9812 { "wxBrush_SetStyle", (PyCFunction
) _wrap_wxBrush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
9813 { "wxBrush_SetStipple", (PyCFunction
) _wrap_wxBrush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
9814 { "wxBrush_SetColour", (PyCFunction
) _wrap_wxBrush_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
9815 { "wxBrush_Ok", (PyCFunction
) _wrap_wxBrush_Ok
, METH_VARARGS
| METH_KEYWORDS
},
9816 { "wxBrush_GetStyle", (PyCFunction
) _wrap_wxBrush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
9817 { "wxBrush_GetStipple", (PyCFunction
) _wrap_wxBrush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
9818 { "wxBrush_GetColour", (PyCFunction
) _wrap_wxBrush_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
9819 { "delete_wxBrush", (PyCFunction
) _wrap_delete_wxBrush
, METH_VARARGS
| METH_KEYWORDS
},
9820 { "new_wxBrush", (PyCFunction
) _wrap_new_wxBrush
, METH_VARARGS
| METH_KEYWORDS
},
9821 { "wxPenList_RemovePen", (PyCFunction
) _wrap_wxPenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
},
9822 { "wxPenList_FindOrCreatePen", (PyCFunction
) _wrap_wxPenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
},
9823 { "wxPenList_AddPen", (PyCFunction
) _wrap_wxPenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
},
9824 { "wxPen_SetDashes", (PyCFunction
) _wrap_wxPen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
9825 { "wxPen_GetDashes", (PyCFunction
) _wrap_wxPen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
},
9826 { "wxPen_SetWidth", (PyCFunction
) _wrap_wxPen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
9827 { "wxPen_SetStyle", (PyCFunction
) _wrap_wxPen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
9828 { "wxPen_SetJoin", (PyCFunction
) _wrap_wxPen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
},
9829 { "wxPen_SetColour", (PyCFunction
) _wrap_wxPen_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
9830 { "wxPen_SetCap", (PyCFunction
) _wrap_wxPen_SetCap
, METH_VARARGS
| METH_KEYWORDS
},
9831 { "wxPen_Ok", (PyCFunction
) _wrap_wxPen_Ok
, METH_VARARGS
| METH_KEYWORDS
},
9832 { "wxPen_GetWidth", (PyCFunction
) _wrap_wxPen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
9833 { "wxPen_GetStyle", (PyCFunction
) _wrap_wxPen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
9834 { "wxPen_GetJoin", (PyCFunction
) _wrap_wxPen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
},
9835 { "wxPen_GetColour", (PyCFunction
) _wrap_wxPen_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
9836 { "wxPen_GetCap", (PyCFunction
) _wrap_wxPen_GetCap
, METH_VARARGS
| METH_KEYWORDS
},
9837 { "delete_wxPen", (PyCFunction
) _wrap_delete_wxPen
, METH_VARARGS
| METH_KEYWORDS
},
9838 { "new_wxPen", (PyCFunction
) _wrap_new_wxPen
, METH_VARARGS
| METH_KEYWORDS
},
9839 { "wxColourDatabase_Append", (PyCFunction
) _wrap_wxColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
},
9840 { "wxColourDatabase_FindName", (PyCFunction
) _wrap_wxColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
},
9841 { "wxColourDatabase_FindColour", (PyCFunction
) _wrap_wxColourDatabase_FindColour
, METH_VARARGS
| METH_KEYWORDS
},
9842 { "wxColour_Get", (PyCFunction
) _wrap_wxColour_Get
, METH_VARARGS
| METH_KEYWORDS
},
9843 { "wxColour_Set", (PyCFunction
) _wrap_wxColour_Set
, METH_VARARGS
| METH_KEYWORDS
},
9844 { "wxColour_Ok", (PyCFunction
) _wrap_wxColour_Ok
, METH_VARARGS
| METH_KEYWORDS
},
9845 { "wxColour_Blue", (PyCFunction
) _wrap_wxColour_Blue
, METH_VARARGS
| METH_KEYWORDS
},
9846 { "wxColour_Green", (PyCFunction
) _wrap_wxColour_Green
, METH_VARARGS
| METH_KEYWORDS
},
9847 { "wxColour_Red", (PyCFunction
) _wrap_wxColour_Red
, METH_VARARGS
| METH_KEYWORDS
},
9848 { "delete_wxColour", (PyCFunction
) _wrap_delete_wxColour
, METH_VARARGS
| METH_KEYWORDS
},
9849 { "new_wxColour", (PyCFunction
) _wrap_new_wxColour
, METH_VARARGS
| METH_KEYWORDS
},
9850 { "wxFontList_RemoveFont", (PyCFunction
) _wrap_wxFontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
},
9851 { "wxFontList_FindOrCreateFont", (PyCFunction
) _wrap_wxFontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
},
9852 { "wxFontList_AddFont", (PyCFunction
) _wrap_wxFontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
},
9853 { "wxFont_GetWeightString", (PyCFunction
) _wrap_wxFont_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
},
9854 { "wxFont_GetStyleString", (PyCFunction
) _wrap_wxFont_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
},
9855 { "wxFont_GetFamilyString", (PyCFunction
) _wrap_wxFont_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
},
9856 { "wxFont_SetEncoding", (PyCFunction
) _wrap_wxFont_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
9857 { "wxFont_SetWeight", (PyCFunction
) _wrap_wxFont_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
9858 { "wxFont_SetUnderlined", (PyCFunction
) _wrap_wxFont_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
9859 { "wxFont_SetStyle", (PyCFunction
) _wrap_wxFont_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
9860 { "wxFont_SetPointSize", (PyCFunction
) _wrap_wxFont_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
9861 { "wxFont_SetFamily", (PyCFunction
) _wrap_wxFont_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
9862 { "wxFont_SetFaceName", (PyCFunction
) _wrap_wxFont_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
9863 { "wxFont_GetEncoding", (PyCFunction
) _wrap_wxFont_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
9864 { "wxFont_GetWeight", (PyCFunction
) _wrap_wxFont_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
9865 { "wxFont_GetUnderlined", (PyCFunction
) _wrap_wxFont_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
9866 { "wxFont_GetStyle", (PyCFunction
) _wrap_wxFont_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
9867 { "wxFont_GetPointSize", (PyCFunction
) _wrap_wxFont_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
9868 { "wxFont_GetFamily", (PyCFunction
) _wrap_wxFont_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
9869 { "wxFont_GetFaceName", (PyCFunction
) _wrap_wxFont_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
9870 { "wxFont_Ok", (PyCFunction
) _wrap_wxFont_Ok
, METH_VARARGS
| METH_KEYWORDS
},
9871 { "delete_wxFont", (PyCFunction
) _wrap_delete_wxFont
, METH_VARARGS
| METH_KEYWORDS
},
9872 { "new_wxFont", (PyCFunction
) _wrap_new_wxFont
, METH_VARARGS
| METH_KEYWORDS
},
9873 { "wxCursor_Ok", (PyCFunction
) _wrap_wxCursor_Ok
, METH_VARARGS
| METH_KEYWORDS
},
9874 { "delete_wxCursor", (PyCFunction
) _wrap_delete_wxCursor
, METH_VARARGS
| METH_KEYWORDS
},
9875 { "wxIcon_CopyFromBitmap", (PyCFunction
) _wrap_wxIcon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
9876 { "wxIcon_SetDepth", (PyCFunction
) _wrap_wxIcon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
9877 { "wxIcon_SetHeight", (PyCFunction
) _wrap_wxIcon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
9878 { "wxIcon_SetWidth", (PyCFunction
) _wrap_wxIcon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
9879 { "wxIcon_GetDepth", (PyCFunction
) _wrap_wxIcon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
9880 { "wxIcon_GetHeight", (PyCFunction
) _wrap_wxIcon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
9881 { "wxIcon_GetWidth", (PyCFunction
) _wrap_wxIcon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
9882 { "wxIcon_Ok", (PyCFunction
) _wrap_wxIcon_Ok
, METH_VARARGS
| METH_KEYWORDS
},
9883 { "wxIcon_LoadFile", (PyCFunction
) _wrap_wxIcon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
9884 { "delete_wxIcon", (PyCFunction
) _wrap_delete_wxIcon
, METH_VARARGS
| METH_KEYWORDS
},
9885 { "new_wxIcon", (PyCFunction
) _wrap_new_wxIcon
, METH_VARARGS
| METH_KEYWORDS
},
9886 { "wxMask_Destroy", (PyCFunction
) _wrap_wxMask_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
9887 { "new_wxMask", (PyCFunction
) _wrap_new_wxMask
, METH_VARARGS
| METH_KEYWORDS
},
9888 { "wxBitmap_GetSubBitmap", (PyCFunction
) _wrap_wxBitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
},
9889 { "wxBitmap_SetDepth", (PyCFunction
) _wrap_wxBitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
9890 { "wxBitmap_SetHeight", (PyCFunction
) _wrap_wxBitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
9891 { "wxBitmap_SetWidth", (PyCFunction
) _wrap_wxBitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
9892 { "wxBitmap_GetDepth", (PyCFunction
) _wrap_wxBitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
9893 { "wxBitmap_GetHeight", (PyCFunction
) _wrap_wxBitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
9894 { "wxBitmap_GetWidth", (PyCFunction
) _wrap_wxBitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
9895 { "wxBitmap_Ok", (PyCFunction
) _wrap_wxBitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
},
9896 { "wxBitmap_SetMask", (PyCFunction
) _wrap_wxBitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
9897 { "wxBitmap_SaveFile", (PyCFunction
) _wrap_wxBitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
9898 { "wxBitmap_LoadFile", (PyCFunction
) _wrap_wxBitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
9899 { "wxBitmap_GetMask", (PyCFunction
) _wrap_wxBitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
9900 { "wxBitmap_GetPalette", (PyCFunction
) _wrap_wxBitmap_GetPalette
, METH_VARARGS
| METH_KEYWORDS
},
9901 { "delete_wxBitmap", (PyCFunction
) _wrap_delete_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
9902 { "new_wxBitmap", (PyCFunction
) _wrap_new_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
9903 { "wxGDIObject_IsNull", (PyCFunction
) _wrap_wxGDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
9904 { "wxGDIObject_SetVisible", (PyCFunction
) _wrap_wxGDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
},
9905 { "wxGDIObject_GetVisible", (PyCFunction
) _wrap_wxGDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
},
9906 { "delete_wxGDIObject", (PyCFunction
) _wrap_delete_wxGDIObject
, METH_VARARGS
| METH_KEYWORDS
},
9907 { "new_wxGDIObject", (PyCFunction
) _wrap_new_wxGDIObject
, METH_VARARGS
| METH_KEYWORDS
},
9908 { "wxMemoryDCFromDC", (PyCFunction
) _wrap_wxMemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
},
9909 { "wxNamedColour", (PyCFunction
) _wrap_wxNamedColour
, METH_VARARGS
| METH_KEYWORDS
},
9910 { "wxFont_SetDefaultEncoding", (PyCFunction
) _wrap_wxFont_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
9911 { "wxFont_GetDefaultEncoding", (PyCFunction
) _wrap_wxFont_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
9912 { "wxStockCursor", (PyCFunction
) _wrap_wxStockCursor
, METH_VARARGS
| METH_KEYWORDS
},
9913 { "wxIconFromXPMData", (PyCFunction
) _wrap_wxIconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
9914 { "wxEmptyIcon", (PyCFunction
) _wrap_wxEmptyIcon
, METH_VARARGS
| METH_KEYWORDS
},
9915 { "wxMaskColour", (PyCFunction
) _wrap_wxMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
9916 { "wxBitmapFromIcon", (PyCFunction
) _wrap_wxBitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
9917 { "wxBitmapFromXPMData", (PyCFunction
) _wrap_wxBitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
9918 { "wxEmptyBitmap", (PyCFunction
) _wrap_wxEmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
},
9925 * This table is used by the pointer type-checker
9927 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
9928 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
9929 { "_signed_long","_long",0},
9930 { "_wxPrintQuality","_wxCoord",0},
9931 { "_wxPrintQuality","_int",0},
9932 { "_wxPrintQuality","_signed_int",0},
9933 { "_wxPrintQuality","_unsigned_int",0},
9934 { "_wxPrintQuality","_wxWindowID",0},
9935 { "_wxPrintQuality","_uint",0},
9936 { "_wxPrintQuality","_EBool",0},
9937 { "_wxPrintQuality","_size_t",0},
9938 { "_wxPrintQuality","_time_t",0},
9939 { "_class_wxRegionIterator","_wxRegionIterator",0},
9940 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
9941 { "_wxCursor","_class_wxCursor",0},
9942 { "_wxMask","_class_wxMask",0},
9943 { "_wxPen","_class_wxPen",0},
9944 { "_byte","_unsigned_char",0},
9945 { "_wxColourDatabase","_class_wxColourDatabase",0},
9946 { "_long","_unsigned_long",0},
9947 { "_long","_signed_long",0},
9948 { "_wxImageList","_class_wxImageList",0},
9949 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
9950 { "_wxGDIObject","_class_wxRegion",SwigwxRegionTowxGDIObject
},
9951 { "_wxGDIObject","_wxRegion",SwigwxRegionTowxGDIObject
},
9952 { "_wxGDIObject","_class_wxPalette",SwigwxPaletteTowxGDIObject
},
9953 { "_wxGDIObject","_wxPalette",SwigwxPaletteTowxGDIObject
},
9954 { "_wxGDIObject","_class_wxBrush",SwigwxBrushTowxGDIObject
},
9955 { "_wxGDIObject","_wxBrush",SwigwxBrushTowxGDIObject
},
9956 { "_wxGDIObject","_class_wxPen",SwigwxPenTowxGDIObject
},
9957 { "_wxGDIObject","_wxPen",SwigwxPenTowxGDIObject
},
9958 { "_wxGDIObject","_class_wxFont",SwigwxFontTowxGDIObject
},
9959 { "_wxGDIObject","_wxFont",SwigwxFontTowxGDIObject
},
9960 { "_wxGDIObject","_class_wxCursor",SwigwxCursorTowxGDIObject
},
9961 { "_wxGDIObject","_wxCursor",SwigwxCursorTowxGDIObject
},
9962 { "_wxGDIObject","_class_wxIcon",SwigwxIconTowxGDIObject
},
9963 { "_wxGDIObject","_wxIcon",SwigwxIconTowxGDIObject
},
9964 { "_wxGDIObject","_class_wxBitmap",SwigwxBitmapTowxGDIObject
},
9965 { "_wxGDIObject","_wxBitmap",SwigwxBitmapTowxGDIObject
},
9966 { "_wxGDIObject","_class_wxGDIObject",0},
9967 { "_wxDC","_class_wxPostScriptDC",SwigwxPostScriptDCTowxDC
},
9968 { "_wxDC","_wxPostScriptDC",SwigwxPostScriptDCTowxDC
},
9969 { "_wxDC","_class_wxWindowDC",SwigwxWindowDCTowxDC
},
9970 { "_wxDC","_wxWindowDC",SwigwxWindowDCTowxDC
},
9971 { "_wxDC","_class_wxPaintDC",SwigwxPaintDCTowxDC
},
9972 { "_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC
},
9973 { "_wxDC","_class_wxClientDC",SwigwxClientDCTowxDC
},
9974 { "_wxDC","_wxClientDC",SwigwxClientDCTowxDC
},
9975 { "_wxDC","_class_wxScreenDC",SwigwxScreenDCTowxDC
},
9976 { "_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC
},
9977 { "_wxDC","_class_wxMemoryDC",SwigwxMemoryDCTowxDC
},
9978 { "_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC
},
9979 { "_wxDC","_class_wxDC",0},
9980 { "_class_wxObject","_class_wxRegionIterator",SwigwxRegionIteratorTowxObject
},
9981 { "_class_wxObject","_wxRegionIterator",SwigwxRegionIteratorTowxObject
},
9982 { "_class_wxObject","_class_wxRegion",SwigwxRegionTowxObject
},
9983 { "_class_wxObject","_wxRegion",SwigwxRegionTowxObject
},
9984 { "_class_wxObject","_class_wxImageList",SwigwxImageListTowxObject
},
9985 { "_class_wxObject","_wxImageList",SwigwxImageListTowxObject
},
9986 { "_class_wxObject","_class_wxPalette",SwigwxPaletteTowxObject
},
9987 { "_class_wxObject","_wxPalette",SwigwxPaletteTowxObject
},
9988 { "_class_wxObject","_class_wxPostScriptDC",SwigwxPostScriptDCTowxObject
},
9989 { "_class_wxObject","_wxPostScriptDC",SwigwxPostScriptDCTowxObject
},
9990 { "_class_wxObject","_class_wxWindowDC",SwigwxWindowDCTowxObject
},
9991 { "_class_wxObject","_wxWindowDC",SwigwxWindowDCTowxObject
},
9992 { "_class_wxObject","_class_wxPaintDC",SwigwxPaintDCTowxObject
},
9993 { "_class_wxObject","_wxPaintDC",SwigwxPaintDCTowxObject
},
9994 { "_class_wxObject","_class_wxClientDC",SwigwxClientDCTowxObject
},
9995 { "_class_wxObject","_wxClientDC",SwigwxClientDCTowxObject
},
9996 { "_class_wxObject","_class_wxScreenDC",SwigwxScreenDCTowxObject
},
9997 { "_class_wxObject","_wxScreenDC",SwigwxScreenDCTowxObject
},
9998 { "_class_wxObject","_class_wxMemoryDC",SwigwxMemoryDCTowxObject
},
9999 { "_class_wxObject","_wxMemoryDC",SwigwxMemoryDCTowxObject
},
10000 { "_class_wxObject","_class_wxDC",SwigwxDCTowxObject
},
10001 { "_class_wxObject","_wxDC",SwigwxDCTowxObject
},
10002 { "_class_wxObject","_class_wxBrush",SwigwxBrushTowxObject
},
10003 { "_class_wxObject","_wxBrush",SwigwxBrushTowxObject
},
10004 { "_class_wxObject","_class_wxPenList",SwigwxPenListTowxObject
},
10005 { "_class_wxObject","_wxPenList",SwigwxPenListTowxObject
},
10006 { "_class_wxObject","_class_wxPen",SwigwxPenTowxObject
},
10007 { "_class_wxObject","_wxPen",SwigwxPenTowxObject
},
10008 { "_class_wxObject","_class_wxColourDatabase",SwigwxColourDatabaseTowxObject
},
10009 { "_class_wxObject","_wxColourDatabase",SwigwxColourDatabaseTowxObject
},
10010 { "_class_wxObject","_class_wxColour",SwigwxColourTowxObject
},
10011 { "_class_wxObject","_wxColour",SwigwxColourTowxObject
},
10012 { "_class_wxObject","_class_wxFontList",SwigwxFontListTowxObject
},
10013 { "_class_wxObject","_wxFontList",SwigwxFontListTowxObject
},
10014 { "_class_wxObject","_class_wxFont",SwigwxFontTowxObject
},
10015 { "_class_wxObject","_wxFont",SwigwxFontTowxObject
},
10016 { "_class_wxObject","_class_wxCursor",SwigwxCursorTowxObject
},
10017 { "_class_wxObject","_wxCursor",SwigwxCursorTowxObject
},
10018 { "_class_wxObject","_class_wxIcon",SwigwxIconTowxObject
},
10019 { "_class_wxObject","_wxIcon",SwigwxIconTowxObject
},
10020 { "_class_wxObject","_class_wxMask",SwigwxMaskTowxObject
},
10021 { "_class_wxObject","_wxMask",SwigwxMaskTowxObject
},
10022 { "_class_wxObject","_class_wxBitmap",SwigwxBitmapTowxObject
},
10023 { "_class_wxObject","_wxBitmap",SwigwxBitmapTowxObject
},
10024 { "_class_wxObject","_class_wxGDIObject",SwigwxGDIObjectTowxObject
},
10025 { "_class_wxObject","_wxGDIObject",SwigwxGDIObjectTowxObject
},
10026 { "_class_wxObject","_wxObject",0},
10027 { "_size_t","_wxCoord",0},
10028 { "_size_t","_wxPrintQuality",0},
10029 { "_size_t","_time_t",0},
10030 { "_size_t","_unsigned_int",0},
10031 { "_size_t","_int",0},
10032 { "_size_t","_wxWindowID",0},
10033 { "_size_t","_uint",0},
10034 { "_class_wxRealPoint","_wxRealPoint",0},
10035 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
10036 { "_class_wxMask","_wxMask",0},
10037 { "_wxColour","_class_wxColour",0},
10038 { "_wxBrush","_class_wxBrush",0},
10039 { "_uint","_wxCoord",0},
10040 { "_uint","_wxPrintQuality",0},
10041 { "_uint","_time_t",0},
10042 { "_uint","_size_t",0},
10043 { "_uint","_unsigned_int",0},
10044 { "_uint","_int",0},
10045 { "_uint","_wxWindowID",0},
10046 { "_wxChar","_char",0},
10047 { "_wxRect","_class_wxRect",0},
10048 { "_wxPoint","_class_wxPoint",0},
10049 { "_char","_wxChar",0},
10050 { "_wxBitmap","_class_wxBitmap",0},
10051 { "_wxPenList","_class_wxPenList",0},
10052 { "_wxWindowDC","_class_wxWindowDC",0},
10053 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
10054 { "_class_wxColourDatabase","_wxColourDatabase",0},
10055 { "_EBool","_wxCoord",0},
10056 { "_EBool","_wxPrintQuality",0},
10057 { "_EBool","_signed_int",0},
10058 { "_EBool","_int",0},
10059 { "_EBool","_wxWindowID",0},
10060 { "_class_wxRegion","_wxRegion",0},
10061 { "_wxFont","_class_wxFont",0},
10062 { "_unsigned_long","_long",0},
10063 { "_class_wxRect","_wxRect",0},
10064 { "_class_wxDC","_class_wxPostScriptDC",SwigwxPostScriptDCTowxDC
},
10065 { "_class_wxDC","_wxPostScriptDC",SwigwxPostScriptDCTowxDC
},
10066 { "_class_wxDC","_class_wxWindowDC",SwigwxWindowDCTowxDC
},
10067 { "_class_wxDC","_wxWindowDC",SwigwxWindowDCTowxDC
},
10068 { "_class_wxDC","_class_wxPaintDC",SwigwxPaintDCTowxDC
},
10069 { "_class_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC
},
10070 { "_class_wxDC","_class_wxClientDC",SwigwxClientDCTowxDC
},
10071 { "_class_wxDC","_wxClientDC",SwigwxClientDCTowxDC
},
10072 { "_class_wxDC","_class_wxScreenDC",SwigwxScreenDCTowxDC
},
10073 { "_class_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC
},
10074 { "_class_wxDC","_class_wxMemoryDC",SwigwxMemoryDCTowxDC
},
10075 { "_class_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC
},
10076 { "_class_wxDC","_wxDC",0},
10077 { "_class_wxBrushList","_wxBrushList",0},
10078 { "_class_wxPenList","_wxPenList",0},
10079 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
10080 { "_signed_int","_wxCoord",0},
10081 { "_signed_int","_wxPrintQuality",0},
10082 { "_signed_int","_EBool",0},
10083 { "_signed_int","_wxWindowID",0},
10084 { "_signed_int","_int",0},
10085 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
10086 { "_wxScreenDC","_class_wxScreenDC",0},
10087 { "_WXTYPE","_short",0},
10088 { "_WXTYPE","_signed_short",0},
10089 { "_WXTYPE","_unsigned_short",0},
10090 { "_class_wxBrush","_wxBrush",0},
10091 { "_unsigned_short","_WXTYPE",0},
10092 { "_unsigned_short","_short",0},
10093 { "_class_wxFont","_wxFont",0},
10094 { "_wxBusyInfo","_class_wxBusyInfo",0},
10095 { "_wxFontList","_class_wxFontList",0},
10096 { "_wxClientDC","_class_wxClientDC",0},
10097 { "_wxObject","_class_wxRegionIterator",SwigwxRegionIteratorTowxObject
},
10098 { "_wxObject","_wxRegionIterator",SwigwxRegionIteratorTowxObject
},
10099 { "_wxObject","_class_wxRegion",SwigwxRegionTowxObject
},
10100 { "_wxObject","_wxRegion",SwigwxRegionTowxObject
},
10101 { "_wxObject","_class_wxImageList",SwigwxImageListTowxObject
},
10102 { "_wxObject","_wxImageList",SwigwxImageListTowxObject
},
10103 { "_wxObject","_class_wxPalette",SwigwxPaletteTowxObject
},
10104 { "_wxObject","_wxPalette",SwigwxPaletteTowxObject
},
10105 { "_wxObject","_class_wxPostScriptDC",SwigwxPostScriptDCTowxObject
},
10106 { "_wxObject","_wxPostScriptDC",SwigwxPostScriptDCTowxObject
},
10107 { "_wxObject","_class_wxWindowDC",SwigwxWindowDCTowxObject
},
10108 { "_wxObject","_wxWindowDC",SwigwxWindowDCTowxObject
},
10109 { "_wxObject","_class_wxPaintDC",SwigwxPaintDCTowxObject
},
10110 { "_wxObject","_wxPaintDC",SwigwxPaintDCTowxObject
},
10111 { "_wxObject","_class_wxClientDC",SwigwxClientDCTowxObject
},
10112 { "_wxObject","_wxClientDC",SwigwxClientDCTowxObject
},
10113 { "_wxObject","_class_wxScreenDC",SwigwxScreenDCTowxObject
},
10114 { "_wxObject","_wxScreenDC",SwigwxScreenDCTowxObject
},
10115 { "_wxObject","_class_wxMemoryDC",SwigwxMemoryDCTowxObject
},
10116 { "_wxObject","_wxMemoryDC",SwigwxMemoryDCTowxObject
},
10117 { "_wxObject","_class_wxDC",SwigwxDCTowxObject
},
10118 { "_wxObject","_wxDC",SwigwxDCTowxObject
},
10119 { "_wxObject","_class_wxBrush",SwigwxBrushTowxObject
},
10120 { "_wxObject","_wxBrush",SwigwxBrushTowxObject
},
10121 { "_wxObject","_class_wxPenList",SwigwxPenListTowxObject
},
10122 { "_wxObject","_wxPenList",SwigwxPenListTowxObject
},
10123 { "_wxObject","_class_wxPen",SwigwxPenTowxObject
},
10124 { "_wxObject","_wxPen",SwigwxPenTowxObject
},
10125 { "_wxObject","_class_wxColourDatabase",SwigwxColourDatabaseTowxObject
},
10126 { "_wxObject","_wxColourDatabase",SwigwxColourDatabaseTowxObject
},
10127 { "_wxObject","_class_wxColour",SwigwxColourTowxObject
},
10128 { "_wxObject","_wxColour",SwigwxColourTowxObject
},
10129 { "_wxObject","_class_wxFontList",SwigwxFontListTowxObject
},
10130 { "_wxObject","_wxFontList",SwigwxFontListTowxObject
},
10131 { "_wxObject","_class_wxFont",SwigwxFontTowxObject
},
10132 { "_wxObject","_wxFont",SwigwxFontTowxObject
},
10133 { "_wxObject","_class_wxCursor",SwigwxCursorTowxObject
},
10134 { "_wxObject","_wxCursor",SwigwxCursorTowxObject
},
10135 { "_wxObject","_class_wxIcon",SwigwxIconTowxObject
},
10136 { "_wxObject","_wxIcon",SwigwxIconTowxObject
},
10137 { "_wxObject","_class_wxMask",SwigwxMaskTowxObject
},
10138 { "_wxObject","_wxMask",SwigwxMaskTowxObject
},
10139 { "_wxObject","_class_wxBitmap",SwigwxBitmapTowxObject
},
10140 { "_wxObject","_wxBitmap",SwigwxBitmapTowxObject
},
10141 { "_wxObject","_class_wxGDIObject",SwigwxGDIObjectTowxObject
},
10142 { "_wxObject","_wxGDIObject",SwigwxGDIObjectTowxObject
},
10143 { "_wxObject","_class_wxObject",0},
10144 { "_class_wxPoint","_wxPoint",0},
10145 { "_wxRealPoint","_class_wxRealPoint",0},
10146 { "_signed_short","_WXTYPE",0},
10147 { "_signed_short","_short",0},
10148 { "_wxMemoryDC","_class_wxMemoryDC",0},
10149 { "_wxPaintDC","_class_wxPaintDC",0},
10150 { "_class_wxWindowDC","_wxWindowDC",0},
10151 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
10152 { "_class_wxCursor","_wxCursor",0},
10153 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
10154 { "_unsigned_char","_byte",0},
10155 { "_unsigned_int","_wxCoord",0},
10156 { "_unsigned_int","_wxPrintQuality",0},
10157 { "_unsigned_int","_time_t",0},
10158 { "_unsigned_int","_size_t",0},
10159 { "_unsigned_int","_uint",0},
10160 { "_unsigned_int","_wxWindowID",0},
10161 { "_unsigned_int","_int",0},
10162 { "_wxIcon","_class_wxIcon",0},
10163 { "_class_wxPen","_wxPen",0},
10164 { "_short","_WXTYPE",0},
10165 { "_short","_unsigned_short",0},
10166 { "_short","_signed_short",0},
10167 { "_class_wxImageList","_wxImageList",0},
10168 { "_wxWindowID","_wxCoord",0},
10169 { "_wxWindowID","_wxPrintQuality",0},
10170 { "_wxWindowID","_time_t",0},
10171 { "_wxWindowID","_size_t",0},
10172 { "_wxWindowID","_EBool",0},
10173 { "_wxWindowID","_uint",0},
10174 { "_wxWindowID","_int",0},
10175 { "_wxWindowID","_signed_int",0},
10176 { "_wxWindowID","_unsigned_int",0},
10177 { "_class_wxGDIObject","_class_wxRegion",SwigwxRegionTowxGDIObject
},
10178 { "_class_wxGDIObject","_wxRegion",SwigwxRegionTowxGDIObject
},
10179 { "_class_wxGDIObject","_class_wxPalette",SwigwxPaletteTowxGDIObject
},
10180 { "_class_wxGDIObject","_wxPalette",SwigwxPaletteTowxGDIObject
},
10181 { "_class_wxGDIObject","_class_wxBrush",SwigwxBrushTowxGDIObject
},
10182 { "_class_wxGDIObject","_wxBrush",SwigwxBrushTowxGDIObject
},
10183 { "_class_wxGDIObject","_class_wxPen",SwigwxPenTowxGDIObject
},
10184 { "_class_wxGDIObject","_wxPen",SwigwxPenTowxGDIObject
},
10185 { "_class_wxGDIObject","_class_wxFont",SwigwxFontTowxGDIObject
},
10186 { "_class_wxGDIObject","_wxFont",SwigwxFontTowxGDIObject
},
10187 { "_class_wxGDIObject","_class_wxCursor",SwigwxCursorTowxGDIObject
},
10188 { "_class_wxGDIObject","_wxCursor",SwigwxCursorTowxGDIObject
},
10189 { "_class_wxGDIObject","_class_wxIcon",SwigwxIconTowxGDIObject
},
10190 { "_class_wxGDIObject","_wxIcon",SwigwxIconTowxGDIObject
},
10191 { "_class_wxGDIObject","_class_wxBitmap",SwigwxBitmapTowxGDIObject
},
10192 { "_class_wxGDIObject","_wxBitmap",SwigwxBitmapTowxGDIObject
},
10193 { "_class_wxGDIObject","_wxGDIObject",0},
10194 { "_int","_wxCoord",0},
10195 { "_int","_wxPrintQuality",0},
10196 { "_int","_time_t",0},
10197 { "_int","_size_t",0},
10198 { "_int","_EBool",0},
10199 { "_int","_uint",0},
10200 { "_int","_wxWindowID",0},
10201 { "_int","_unsigned_int",0},
10202 { "_int","_signed_int",0},
10203 { "_time_t","_wxCoord",0},
10204 { "_time_t","_wxPrintQuality",0},
10205 { "_time_t","_unsigned_int",0},
10206 { "_time_t","_int",0},
10207 { "_time_t","_wxWindowID",0},
10208 { "_time_t","_uint",0},
10209 { "_time_t","_size_t",0},
10210 { "_wxSize","_class_wxSize",0},
10211 { "_wxRegionIterator","_class_wxRegionIterator",0},
10212 { "_class_wxPaintDC","_wxPaintDC",0},
10213 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
10214 { "_class_wxIcon","_wxIcon",0},
10215 { "_class_wxColour","_wxColour",0},
10216 { "_class_wxScreenDC","_wxScreenDC",0},
10217 { "_wxPalette","_class_wxPalette",0},
10218 { "_wxCoord","_int",0},
10219 { "_wxCoord","_signed_int",0},
10220 { "_wxCoord","_unsigned_int",0},
10221 { "_wxCoord","_wxWindowID",0},
10222 { "_wxCoord","_uint",0},
10223 { "_wxCoord","_EBool",0},
10224 { "_wxCoord","_size_t",0},
10225 { "_wxCoord","_time_t",0},
10226 { "_wxCoord","_wxPrintQuality",0},
10227 { "_wxRegion","_class_wxRegion",0},
10228 { "_class_wxBusyInfo","_wxBusyInfo",0},
10229 { "_class_wxFontList","_wxFontList",0},
10230 { "_class_wxClientDC","_wxClientDC",0},
10231 { "_wxBrushList","_class_wxBrushList",0},
10232 { "_class_wxSize","_wxSize",0},
10233 { "_class_wxBitmap","_wxBitmap",0},
10234 { "_class_wxMemoryDC","_wxMemoryDC",0},
10235 { "_class_wxPalette","_wxPalette",0},
10238 static PyObject
*SWIG_globals
;
10242 SWIGEXPORT(void) initgdic() {
10244 SWIG_globals
= SWIG_newvarlink();
10245 m
= Py_InitModule("gdic", gdicMethods
);
10246 d
= PyModule_GetDict(m
);
10247 PyDict_SetItemString(d
,"wxFONTENCODING_SYSTEM", PyInt_FromLong((long) wxFONTENCODING_SYSTEM
));
10248 PyDict_SetItemString(d
,"wxFONTENCODING_DEFAULT", PyInt_FromLong((long) wxFONTENCODING_DEFAULT
));
10249 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_1", PyInt_FromLong((long) wxFONTENCODING_ISO8859_1
));
10250 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_2", PyInt_FromLong((long) wxFONTENCODING_ISO8859_2
));
10251 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_3", PyInt_FromLong((long) wxFONTENCODING_ISO8859_3
));
10252 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_4", PyInt_FromLong((long) wxFONTENCODING_ISO8859_4
));
10253 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_5", PyInt_FromLong((long) wxFONTENCODING_ISO8859_5
));
10254 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_6", PyInt_FromLong((long) wxFONTENCODING_ISO8859_6
));
10255 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_7", PyInt_FromLong((long) wxFONTENCODING_ISO8859_7
));
10256 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_8", PyInt_FromLong((long) wxFONTENCODING_ISO8859_8
));
10257 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_9", PyInt_FromLong((long) wxFONTENCODING_ISO8859_9
));
10258 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_10", PyInt_FromLong((long) wxFONTENCODING_ISO8859_10
));
10259 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_11", PyInt_FromLong((long) wxFONTENCODING_ISO8859_11
));
10260 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_12", PyInt_FromLong((long) wxFONTENCODING_ISO8859_12
));
10261 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_13", PyInt_FromLong((long) wxFONTENCODING_ISO8859_13
));
10262 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_14", PyInt_FromLong((long) wxFONTENCODING_ISO8859_14
));
10263 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_15", PyInt_FromLong((long) wxFONTENCODING_ISO8859_15
));
10264 PyDict_SetItemString(d
,"wxFONTENCODING_KOI8", PyInt_FromLong((long) wxFONTENCODING_KOI8
));
10265 PyDict_SetItemString(d
,"wxFONTENCODING_ALTERNATIVE", PyInt_FromLong((long) wxFONTENCODING_ALTERNATIVE
));
10266 PyDict_SetItemString(d
,"wxFONTENCODING_BULGARIAN", PyInt_FromLong((long) wxFONTENCODING_BULGARIAN
));
10267 PyDict_SetItemString(d
,"wxFONTENCODING_CP437", PyInt_FromLong((long) wxFONTENCODING_CP437
));
10268 PyDict_SetItemString(d
,"wxFONTENCODING_CP850", PyInt_FromLong((long) wxFONTENCODING_CP850
));
10269 PyDict_SetItemString(d
,"wxFONTENCODING_CP852", PyInt_FromLong((long) wxFONTENCODING_CP852
));
10270 PyDict_SetItemString(d
,"wxFONTENCODING_CP855", PyInt_FromLong((long) wxFONTENCODING_CP855
));
10271 PyDict_SetItemString(d
,"wxFONTENCODING_CP866", PyInt_FromLong((long) wxFONTENCODING_CP866
));
10272 PyDict_SetItemString(d
,"wxFONTENCODING_CP1250", PyInt_FromLong((long) wxFONTENCODING_CP1250
));
10273 PyDict_SetItemString(d
,"wxFONTENCODING_CP1251", PyInt_FromLong((long) wxFONTENCODING_CP1251
));
10274 PyDict_SetItemString(d
,"wxFONTENCODING_CP1252", PyInt_FromLong((long) wxFONTENCODING_CP1252
));
10275 PyDict_SetItemString(d
,"wxFONTENCODING_MAX", PyInt_FromLong((long) wxFONTENCODING_MAX
));
10276 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
10277 SWIG_addvarlink(SWIG_globals
,"wxNORMAL_FONT",_wrap_wxNORMAL_FONT_get
, _wrap_wxNORMAL_FONT_set
);
10278 SWIG_addvarlink(SWIG_globals
,"wxSMALL_FONT",_wrap_wxSMALL_FONT_get
, _wrap_wxSMALL_FONT_set
);
10279 SWIG_addvarlink(SWIG_globals
,"wxITALIC_FONT",_wrap_wxITALIC_FONT_get
, _wrap_wxITALIC_FONT_set
);
10280 SWIG_addvarlink(SWIG_globals
,"wxSWISS_FONT",_wrap_wxSWISS_FONT_get
, _wrap_wxSWISS_FONT_set
);
10281 SWIG_addvarlink(SWIG_globals
,"wxRED_PEN",_wrap_wxRED_PEN_get
, _wrap_wxRED_PEN_set
);
10282 SWIG_addvarlink(SWIG_globals
,"wxCYAN_PEN",_wrap_wxCYAN_PEN_get
, _wrap_wxCYAN_PEN_set
);
10283 SWIG_addvarlink(SWIG_globals
,"wxGREEN_PEN",_wrap_wxGREEN_PEN_get
, _wrap_wxGREEN_PEN_set
);
10284 SWIG_addvarlink(SWIG_globals
,"wxBLACK_PEN",_wrap_wxBLACK_PEN_get
, _wrap_wxBLACK_PEN_set
);
10285 SWIG_addvarlink(SWIG_globals
,"wxWHITE_PEN",_wrap_wxWHITE_PEN_get
, _wrap_wxWHITE_PEN_set
);
10286 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_PEN",_wrap_wxTRANSPARENT_PEN_get
, _wrap_wxTRANSPARENT_PEN_set
);
10287 SWIG_addvarlink(SWIG_globals
,"wxBLACK_DASHED_PEN",_wrap_wxBLACK_DASHED_PEN_get
, _wrap_wxBLACK_DASHED_PEN_set
);
10288 SWIG_addvarlink(SWIG_globals
,"wxGREY_PEN",_wrap_wxGREY_PEN_get
, _wrap_wxGREY_PEN_set
);
10289 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_PEN",_wrap_wxMEDIUM_GREY_PEN_get
, _wrap_wxMEDIUM_GREY_PEN_set
);
10290 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_PEN",_wrap_wxLIGHT_GREY_PEN_get
, _wrap_wxLIGHT_GREY_PEN_set
);
10291 SWIG_addvarlink(SWIG_globals
,"wxBLUE_BRUSH",_wrap_wxBLUE_BRUSH_get
, _wrap_wxBLUE_BRUSH_set
);
10292 SWIG_addvarlink(SWIG_globals
,"wxGREEN_BRUSH",_wrap_wxGREEN_BRUSH_get
, _wrap_wxGREEN_BRUSH_set
);
10293 SWIG_addvarlink(SWIG_globals
,"wxWHITE_BRUSH",_wrap_wxWHITE_BRUSH_get
, _wrap_wxWHITE_BRUSH_set
);
10294 SWIG_addvarlink(SWIG_globals
,"wxBLACK_BRUSH",_wrap_wxBLACK_BRUSH_get
, _wrap_wxBLACK_BRUSH_set
);
10295 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_BRUSH",_wrap_wxTRANSPARENT_BRUSH_get
, _wrap_wxTRANSPARENT_BRUSH_set
);
10296 SWIG_addvarlink(SWIG_globals
,"wxCYAN_BRUSH",_wrap_wxCYAN_BRUSH_get
, _wrap_wxCYAN_BRUSH_set
);
10297 SWIG_addvarlink(SWIG_globals
,"wxRED_BRUSH",_wrap_wxRED_BRUSH_get
, _wrap_wxRED_BRUSH_set
);
10298 SWIG_addvarlink(SWIG_globals
,"wxGREY_BRUSH",_wrap_wxGREY_BRUSH_get
, _wrap_wxGREY_BRUSH_set
);
10299 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_BRUSH",_wrap_wxMEDIUM_GREY_BRUSH_get
, _wrap_wxMEDIUM_GREY_BRUSH_set
);
10300 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_BRUSH",_wrap_wxLIGHT_GREY_BRUSH_get
, _wrap_wxLIGHT_GREY_BRUSH_set
);
10301 SWIG_addvarlink(SWIG_globals
,"wxBLACK",_wrap_wxBLACK_get
, _wrap_wxBLACK_set
);
10302 SWIG_addvarlink(SWIG_globals
,"wxWHITE",_wrap_wxWHITE_get
, _wrap_wxWHITE_set
);
10303 SWIG_addvarlink(SWIG_globals
,"wxRED",_wrap_wxRED_get
, _wrap_wxRED_set
);
10304 SWIG_addvarlink(SWIG_globals
,"wxBLUE",_wrap_wxBLUE_get
, _wrap_wxBLUE_set
);
10305 SWIG_addvarlink(SWIG_globals
,"wxGREEN",_wrap_wxGREEN_get
, _wrap_wxGREEN_set
);
10306 SWIG_addvarlink(SWIG_globals
,"wxCYAN",_wrap_wxCYAN_get
, _wrap_wxCYAN_set
);
10307 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY",_wrap_wxLIGHT_GREY_get
, _wrap_wxLIGHT_GREY_set
);
10308 SWIG_addvarlink(SWIG_globals
,"wxSTANDARD_CURSOR",_wrap_wxSTANDARD_CURSOR_get
, _wrap_wxSTANDARD_CURSOR_set
);
10309 SWIG_addvarlink(SWIG_globals
,"wxHOURGLASS_CURSOR",_wrap_wxHOURGLASS_CURSOR_get
, _wrap_wxHOURGLASS_CURSOR_set
);
10310 SWIG_addvarlink(SWIG_globals
,"wxCROSS_CURSOR",_wrap_wxCROSS_CURSOR_get
, _wrap_wxCROSS_CURSOR_set
);
10311 SWIG_addvarlink(SWIG_globals
,"wxNullBitmap",_wrap_wxNullBitmap_get
, _wrap_wxNullBitmap_set
);
10312 SWIG_addvarlink(SWIG_globals
,"wxNullIcon",_wrap_wxNullIcon_get
, _wrap_wxNullIcon_set
);
10313 SWIG_addvarlink(SWIG_globals
,"wxNullCursor",_wrap_wxNullCursor_get
, _wrap_wxNullCursor_set
);
10314 SWIG_addvarlink(SWIG_globals
,"wxNullPen",_wrap_wxNullPen_get
, _wrap_wxNullPen_set
);
10315 SWIG_addvarlink(SWIG_globals
,"wxNullBrush",_wrap_wxNullBrush_get
, _wrap_wxNullBrush_set
);
10316 SWIG_addvarlink(SWIG_globals
,"wxNullPalette",_wrap_wxNullPalette_get
, _wrap_wxNullPalette_set
);
10317 SWIG_addvarlink(SWIG_globals
,"wxNullFont",_wrap_wxNullFont_get
, _wrap_wxNullFont_set
);
10318 SWIG_addvarlink(SWIG_globals
,"wxNullColour",_wrap_wxNullColour_get
, _wrap_wxNullColour_set
);
10319 SWIG_addvarlink(SWIG_globals
,"wxTheFontList",_wrap_wxTheFontList_get
, _wrap_wxTheFontList_set
);
10320 SWIG_addvarlink(SWIG_globals
,"wxThePenList",_wrap_wxThePenList_get
, _wrap_wxThePenList_set
);
10321 SWIG_addvarlink(SWIG_globals
,"wxTheBrushList",_wrap_wxTheBrushList_get
, _wrap_wxTheBrushList_set
);
10322 SWIG_addvarlink(SWIG_globals
,"wxTheColourDatabase",_wrap_wxTheColourDatabase_get
, _wrap_wxTheColourDatabase_set
);
10323 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_NORMAL", PyInt_FromLong((long) wxIMAGELIST_DRAW_NORMAL
));
10324 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_TRANSPARENT", PyInt_FromLong((long) wxIMAGELIST_DRAW_TRANSPARENT
));
10325 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_SELECTED", PyInt_FromLong((long) wxIMAGELIST_DRAW_SELECTED
));
10326 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_FOCUSED", PyInt_FromLong((long) wxIMAGELIST_DRAW_FOCUSED
));
10327 PyDict_SetItemString(d
,"wxIMAGE_LIST_NORMAL", PyInt_FromLong((long) wxIMAGE_LIST_NORMAL
));
10328 PyDict_SetItemString(d
,"wxIMAGE_LIST_SMALL", PyInt_FromLong((long) wxIMAGE_LIST_SMALL
));
10329 PyDict_SetItemString(d
,"wxIMAGE_LIST_STATE", PyInt_FromLong((long) wxIMAGE_LIST_STATE
));
10330 PyDict_SetItemString(d
,"wxOutRegion", PyInt_FromLong((long) wxOutRegion
));
10331 PyDict_SetItemString(d
,"wxPartRegion", PyInt_FromLong((long) wxPartRegion
));
10332 PyDict_SetItemString(d
,"wxInRegion", PyInt_FromLong((long) wxInRegion
));
10335 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
10336 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);