2 * FILE : src/mac/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/imaglist.h>
60 #include <wx/fontmap.h>
61 #include <wx/fontenc.h>
62 #include <wx/fontmap.h>
63 #include <wx/fontutil.h>
66 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
72 } else if (target
== Py_None
) {
76 if (!PyTuple_Check(target
)) {
78 target
= PyTuple_New(1);
79 PyTuple_SetItem(target
, 0, o2
);
82 PyTuple_SetItem(o3
, 0, o
);
85 target
= PySequence_Concat(o2
, o3
);
92 #if PYTHON_API_VERSION >= 1009
93 static char* wxStringErrorMsg
= "String or Unicode type required";
95 static char* wxStringErrorMsg
= "String type required";
98 static wxString
wxPyEmptyStr("");
99 // Implementations of some alternate "constructors"
101 wxBitmap
* wxEmptyBitmap(int width
, int height
, int depth
=-1) {
102 return new wxBitmap(width
, height
, depth
);
105 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
106 char** cArray
= NULL
;
109 if (!PyList_Check(listOfStrings
)) {
110 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
113 count
= PyList_Size(listOfStrings
);
114 cArray
= new char*[count
];
116 for(int x
=0; x
<count
; x
++) {
117 // TODO: Need some validation and error checking here
118 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
124 wxBitmap
* wxBitmapFromXPMData(PyObject
* listOfStrings
) {
125 char** cArray
= NULL
;
128 cArray
= ConvertListOfStrings(listOfStrings
);
131 bmp
= new wxBitmap(cArray
);
137 wxBitmap
* wxBitmapFromIcon(const wxIcon
& icon
) {
138 return new wxBitmap(icon
);
142 wxBitmap
* wxBitmapFromBits(char* bits
, int width
, int height
, int depth
= 1 ) {
143 return new wxBitmap(bits
, width
, height
, depth
);
148 // wxBitmap* wxBitmapFromData(PyObject* data, long type,
149 // int width, int height, int depth = 1) {
150 // if (! PyString_Check(data)) {
151 // PyErr_SetString(PyExc_TypeError, "Expected string object");
154 // return new wxBitmap((void*)PyString_AsString(data), type, width, height, depth);
158 wxMask
* wxMaskColour(const wxBitmap
& bitmap
, const wxColour
& colour
) {
159 return new wxMask(bitmap
, colour
);
161 // Implementations of some alternate "constructors"
162 wxIcon
* wxEmptyIcon() {
166 wxIcon
* wxIconFromXPMData(PyObject
* listOfStrings
) {
167 char** cArray
= NULL
;
170 cArray
= ConvertListOfStrings(listOfStrings
);
173 icon
= new wxIcon(cArray
);
177 // Alternate 'constructor'
178 wxCursor
* wxPyStockCursor(int id
) {
179 return new wxCursor(id
);
181 // Alternate 'constructor'
182 wxColour
* wxNamedColour(const wxString
& colorName
) {
183 return new wxColour(colorName
);
186 class wxPyPen
: public wxPen
{
188 wxPyPen(wxColour
& colour
, int width
=1, int style
=wxSOLID
)
189 : wxPen(colour
, width
, style
)
196 void SetDashes(int nb_dashes
, const wxDash
*dash
) {
199 m_dash
= new wxDash
[nb_dashes
];
200 for (int i
=0; i
<nb_dashes
; i
++) {
203 wxPen::SetDashes(nb_dashes
, m_dash
);
210 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
216 // Alternate 'constructor'
217 wxMemoryDC
* wxMemoryDCFromDC(wxDC
* oldDC
) {
218 return new wxMemoryDC(oldDC
);
222 extern wxFont
* wxNORMAL_FONT
;
223 extern wxFont
* wxSMALL_FONT
;
224 extern wxFont
* wxITALIC_FONT
;
225 extern wxFont
* wxSWISS_FONT
;
226 extern wxPen
* wxRED_PEN
;
227 extern wxPen
* wxCYAN_PEN
;
228 extern wxPen
* wxGREEN_PEN
;
229 extern wxPen
* wxBLACK_PEN
;
230 extern wxPen
* wxWHITE_PEN
;
231 extern wxPen
* wxTRANSPARENT_PEN
;
232 extern wxPen
* wxBLACK_DASHED_PEN
;
233 extern wxPen
* wxGREY_PEN
;
234 extern wxPen
* wxMEDIUM_GREY_PEN
;
235 extern wxPen
* wxLIGHT_GREY_PEN
;
236 extern wxBrush
* wxBLUE_BRUSH
;
237 extern wxBrush
* wxGREEN_BRUSH
;
238 extern wxBrush
* wxWHITE_BRUSH
;
239 extern wxBrush
* wxBLACK_BRUSH
;
240 extern wxBrush
* wxTRANSPARENT_BRUSH
;
241 extern wxBrush
* wxCYAN_BRUSH
;
242 extern wxBrush
* wxRED_BRUSH
;
243 extern wxBrush
* wxGREY_BRUSH
;
244 extern wxBrush
* wxMEDIUM_GREY_BRUSH
;
245 extern wxBrush
* wxLIGHT_GREY_BRUSH
;
246 extern wxColour
* wxBLACK
;
247 extern wxColour
* wxWHITE
;
248 extern wxColour
* wxRED
;
249 extern wxColour
* wxBLUE
;
250 extern wxColour
* wxGREEN
;
251 extern wxColour
* wxCYAN
;
252 extern wxColour
* wxLIGHT_GREY
;
253 extern wxCursor
* wxSTANDARD_CURSOR
;
254 extern wxCursor
* wxHOURGLASS_CURSOR
;
255 extern wxCursor
* wxCROSS_CURSOR
;
256 extern wxBitmap wxNullBitmap
;
257 extern wxIcon wxNullIcon
;
258 extern wxCursor wxNullCursor
;
259 extern wxPen wxNullPen
;
260 extern wxBrush wxNullBrush
;
261 extern wxPalette wxNullPalette
;
262 extern wxFont wxNullFont
;
263 extern wxColour wxNullColour
;
264 extern wxFontList
* wxTheFontList
;
265 extern wxPenList
* wxThePenList
;
266 extern wxBrushList
* wxTheBrushList
;
267 extern wxColourDatabase
* wxTheColourDatabase
;
273 static PyObject
*_wrap_wxEmptyBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
274 PyObject
* _resultobj
;
278 int _arg2
= (int ) -1;
279 char *_kwnames
[] = { "width","height","depth", NULL
};
283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ii|i:wxEmptyBitmap",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
287 _result
= (wxBitmap
*)wxEmptyBitmap(_arg0
,_arg1
,_arg2
);
289 wxPyEndAllowThreads(__tstate
);
290 if (PyErr_Occurred()) return NULL
;
292 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
293 _resultobj
= Py_BuildValue("s",_ptemp
);
296 _resultobj
= Py_None
;
301 static PyObject
*_wrap_wxBitmapFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
302 PyObject
* _resultobj
;
305 PyObject
* _obj0
= 0;
306 char *_kwnames
[] = { "listOfStrings", NULL
};
310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapFromXPMData",_kwnames
,&_obj0
))
316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
317 _result
= (wxBitmap
*)wxBitmapFromXPMData(_arg0
);
319 wxPyEndAllowThreads(__tstate
);
320 if (PyErr_Occurred()) return NULL
;
322 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
323 _resultobj
= Py_BuildValue("s",_ptemp
);
326 _resultobj
= Py_None
;
331 static PyObject
*_wrap_wxBitmapFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
332 PyObject
* _resultobj
;
335 PyObject
* _argo0
= 0;
336 char *_kwnames
[] = { "icon", NULL
};
340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapFromIcon",_kwnames
,&_argo0
))
343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapFromIcon. Expected _wxIcon_p.");
350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
351 _result
= (wxBitmap
*)wxBitmapFromIcon(*_arg0
);
353 wxPyEndAllowThreads(__tstate
);
354 if (PyErr_Occurred()) return NULL
;
356 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
357 _resultobj
= Py_BuildValue("s",_ptemp
);
360 _resultobj
= Py_None
;
365 static PyObject
*_wrap_wxBitmapFromBits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
366 PyObject
* _resultobj
;
371 int _arg3
= (int ) 1;
372 char *_kwnames
[] = { "bits","width","height","depth", NULL
};
376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"sii|i:wxBitmapFromBits",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
380 _result
= (wxBitmap
*)wxBitmapFromBits(_arg0
,_arg1
,_arg2
,_arg3
);
382 wxPyEndAllowThreads(__tstate
);
383 if (PyErr_Occurred()) return NULL
;
385 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
386 _resultobj
= Py_BuildValue("s",_ptemp
);
389 _resultobj
= Py_None
;
394 static PyObject
*_wrap_wxMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
395 PyObject
* _resultobj
;
399 PyObject
* _argo0
= 0;
401 PyObject
* _obj1
= 0;
402 char *_kwnames
[] = { "bitmap","colour", NULL
};
406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMaskColour",_kwnames
,&_argo0
,&_obj1
))
409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMaskColour. Expected _wxBitmap_p.");
417 if (! wxColour_helper(_obj1
, &_arg1
))
421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
422 _result
= (wxMask
*)wxMaskColour(*_arg0
,*_arg1
);
424 wxPyEndAllowThreads(__tstate
);
425 if (PyErr_Occurred()) return NULL
;
427 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
428 _resultobj
= Py_BuildValue("s",_ptemp
);
431 _resultobj
= Py_None
;
436 static PyObject
*_wrap_wxEmptyIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
437 PyObject
* _resultobj
;
439 char *_kwnames
[] = { NULL
};
443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxEmptyIcon",_kwnames
))
446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
447 _result
= (wxIcon
*)wxEmptyIcon();
449 wxPyEndAllowThreads(__tstate
);
450 if (PyErr_Occurred()) return NULL
;
452 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
453 _resultobj
= Py_BuildValue("s",_ptemp
);
456 _resultobj
= Py_None
;
461 static PyObject
*_wrap_wxIconFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
462 PyObject
* _resultobj
;
465 PyObject
* _obj0
= 0;
466 char *_kwnames
[] = { "listOfStrings", NULL
};
470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIconFromXPMData",_kwnames
,&_obj0
))
476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
477 _result
= (wxIcon
*)wxIconFromXPMData(_arg0
);
479 wxPyEndAllowThreads(__tstate
);
480 if (PyErr_Occurred()) return NULL
;
482 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
483 _resultobj
= Py_BuildValue("s",_ptemp
);
486 _resultobj
= Py_None
;
491 static PyObject
*_wrap_wxStockCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
492 PyObject
* _resultobj
;
495 char *_kwnames
[] = { "id", NULL
};
499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxStockCursor",_kwnames
,&_arg0
))
502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
503 _result
= (wxCursor
*)wxPyStockCursor(_arg0
);
505 wxPyEndAllowThreads(__tstate
);
506 if (PyErr_Occurred()) return NULL
;
508 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCursor_p");
509 _resultobj
= Py_BuildValue("s",_ptemp
);
512 _resultobj
= Py_None
;
517 static PyObject
*_wrap_wxNamedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
518 PyObject
* _resultobj
;
521 PyObject
* _obj0
= 0;
522 char *_kwnames
[] = { "colorName", NULL
};
526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNamedColour",_kwnames
,&_obj0
))
529 #if PYTHON_API_VERSION >= 1009
530 char* tmpPtr
; int tmpSize
;
531 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
532 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
535 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
537 _arg0
= new wxString(tmpPtr
, tmpSize
);
539 if (!PyString_Check(_obj0
)) {
540 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
543 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
548 _result
= (wxColour
*)wxNamedColour(*_arg0
);
550 wxPyEndAllowThreads(__tstate
);
551 if (PyErr_Occurred()) return NULL
;
553 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
554 _resultobj
= Py_BuildValue("s",_ptemp
);
557 _resultobj
= Py_None
;
566 static PyObject
*_wrap_wxMemoryDCFromDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
567 PyObject
* _resultobj
;
568 wxMemoryDC
* _result
;
570 PyObject
* _argo0
= 0;
571 char *_kwnames
[] = { "oldDC", NULL
};
575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMemoryDCFromDC",_kwnames
,&_argo0
))
578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDCFromDC. Expected _wxDC_p.");
585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
586 _result
= (wxMemoryDC
*)wxMemoryDCFromDC(_arg0
);
588 wxPyEndAllowThreads(__tstate
);
589 if (PyErr_Occurred()) return NULL
;
591 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
592 _resultobj
= Py_BuildValue("s",_ptemp
);
595 _resultobj
= Py_None
;
600 static int _wrap_wxNORMAL_FONT_set(PyObject
*val
) {
602 PyErr_SetString(PyExc_TypeError
,"Variable wxNORMAL_FONT is read-only.");
606 static PyObject
*_wrap_wxNORMAL_FONT_get() {
610 SWIG_MakePtr(ptemp
, (char *) wxNORMAL_FONT
,"_wxFont_p");
611 pyobj
= PyString_FromString(ptemp
);
615 static int _wrap_wxSMALL_FONT_set(PyObject
*val
) {
617 PyErr_SetString(PyExc_TypeError
,"Variable wxSMALL_FONT is read-only.");
621 static PyObject
*_wrap_wxSMALL_FONT_get() {
625 SWIG_MakePtr(ptemp
, (char *) wxSMALL_FONT
,"_wxFont_p");
626 pyobj
= PyString_FromString(ptemp
);
630 static int _wrap_wxITALIC_FONT_set(PyObject
*val
) {
632 PyErr_SetString(PyExc_TypeError
,"Variable wxITALIC_FONT is read-only.");
636 static PyObject
*_wrap_wxITALIC_FONT_get() {
640 SWIG_MakePtr(ptemp
, (char *) wxITALIC_FONT
,"_wxFont_p");
641 pyobj
= PyString_FromString(ptemp
);
645 static int _wrap_wxSWISS_FONT_set(PyObject
*val
) {
647 PyErr_SetString(PyExc_TypeError
,"Variable wxSWISS_FONT is read-only.");
651 static PyObject
*_wrap_wxSWISS_FONT_get() {
655 SWIG_MakePtr(ptemp
, (char *) wxSWISS_FONT
,"_wxFont_p");
656 pyobj
= PyString_FromString(ptemp
);
660 static int _wrap_wxRED_PEN_set(PyObject
*val
) {
662 PyErr_SetString(PyExc_TypeError
,"Variable wxRED_PEN is read-only.");
666 static PyObject
*_wrap_wxRED_PEN_get() {
670 SWIG_MakePtr(ptemp
, (char *) wxRED_PEN
,"_wxPen_p");
671 pyobj
= PyString_FromString(ptemp
);
675 static int _wrap_wxCYAN_PEN_set(PyObject
*val
) {
677 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN_PEN is read-only.");
681 static PyObject
*_wrap_wxCYAN_PEN_get() {
685 SWIG_MakePtr(ptemp
, (char *) wxCYAN_PEN
,"_wxPen_p");
686 pyobj
= PyString_FromString(ptemp
);
690 static int _wrap_wxGREEN_PEN_set(PyObject
*val
) {
692 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN_PEN is read-only.");
696 static PyObject
*_wrap_wxGREEN_PEN_get() {
700 SWIG_MakePtr(ptemp
, (char *) wxGREEN_PEN
,"_wxPen_p");
701 pyobj
= PyString_FromString(ptemp
);
705 static int _wrap_wxBLACK_PEN_set(PyObject
*val
) {
707 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_PEN is read-only.");
711 static PyObject
*_wrap_wxBLACK_PEN_get() {
715 SWIG_MakePtr(ptemp
, (char *) wxBLACK_PEN
,"_wxPen_p");
716 pyobj
= PyString_FromString(ptemp
);
720 static int _wrap_wxWHITE_PEN_set(PyObject
*val
) {
722 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE_PEN is read-only.");
726 static PyObject
*_wrap_wxWHITE_PEN_get() {
730 SWIG_MakePtr(ptemp
, (char *) wxWHITE_PEN
,"_wxPen_p");
731 pyobj
= PyString_FromString(ptemp
);
735 static int _wrap_wxTRANSPARENT_PEN_set(PyObject
*val
) {
737 PyErr_SetString(PyExc_TypeError
,"Variable wxTRANSPARENT_PEN is read-only.");
741 static PyObject
*_wrap_wxTRANSPARENT_PEN_get() {
745 SWIG_MakePtr(ptemp
, (char *) wxTRANSPARENT_PEN
,"_wxPen_p");
746 pyobj
= PyString_FromString(ptemp
);
750 static int _wrap_wxBLACK_DASHED_PEN_set(PyObject
*val
) {
752 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_DASHED_PEN is read-only.");
756 static PyObject
*_wrap_wxBLACK_DASHED_PEN_get() {
760 SWIG_MakePtr(ptemp
, (char *) wxBLACK_DASHED_PEN
,"_wxPen_p");
761 pyobj
= PyString_FromString(ptemp
);
765 static int _wrap_wxGREY_PEN_set(PyObject
*val
) {
767 PyErr_SetString(PyExc_TypeError
,"Variable wxGREY_PEN is read-only.");
771 static PyObject
*_wrap_wxGREY_PEN_get() {
775 SWIG_MakePtr(ptemp
, (char *) wxGREY_PEN
,"_wxPen_p");
776 pyobj
= PyString_FromString(ptemp
);
780 static int _wrap_wxMEDIUM_GREY_PEN_set(PyObject
*val
) {
782 PyErr_SetString(PyExc_TypeError
,"Variable wxMEDIUM_GREY_PEN is read-only.");
786 static PyObject
*_wrap_wxMEDIUM_GREY_PEN_get() {
790 SWIG_MakePtr(ptemp
, (char *) wxMEDIUM_GREY_PEN
,"_wxPen_p");
791 pyobj
= PyString_FromString(ptemp
);
795 static int _wrap_wxLIGHT_GREY_PEN_set(PyObject
*val
) {
797 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY_PEN is read-only.");
801 static PyObject
*_wrap_wxLIGHT_GREY_PEN_get() {
805 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY_PEN
,"_wxPen_p");
806 pyobj
= PyString_FromString(ptemp
);
810 static int _wrap_wxBLUE_BRUSH_set(PyObject
*val
) {
812 PyErr_SetString(PyExc_TypeError
,"Variable wxBLUE_BRUSH is read-only.");
816 static PyObject
*_wrap_wxBLUE_BRUSH_get() {
820 SWIG_MakePtr(ptemp
, (char *) wxBLUE_BRUSH
,"_wxBrush_p");
821 pyobj
= PyString_FromString(ptemp
);
825 static int _wrap_wxGREEN_BRUSH_set(PyObject
*val
) {
827 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN_BRUSH is read-only.");
831 static PyObject
*_wrap_wxGREEN_BRUSH_get() {
835 SWIG_MakePtr(ptemp
, (char *) wxGREEN_BRUSH
,"_wxBrush_p");
836 pyobj
= PyString_FromString(ptemp
);
840 static int _wrap_wxWHITE_BRUSH_set(PyObject
*val
) {
842 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE_BRUSH is read-only.");
846 static PyObject
*_wrap_wxWHITE_BRUSH_get() {
850 SWIG_MakePtr(ptemp
, (char *) wxWHITE_BRUSH
,"_wxBrush_p");
851 pyobj
= PyString_FromString(ptemp
);
855 static int _wrap_wxBLACK_BRUSH_set(PyObject
*val
) {
857 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_BRUSH is read-only.");
861 static PyObject
*_wrap_wxBLACK_BRUSH_get() {
865 SWIG_MakePtr(ptemp
, (char *) wxBLACK_BRUSH
,"_wxBrush_p");
866 pyobj
= PyString_FromString(ptemp
);
870 static int _wrap_wxTRANSPARENT_BRUSH_set(PyObject
*val
) {
872 PyErr_SetString(PyExc_TypeError
,"Variable wxTRANSPARENT_BRUSH is read-only.");
876 static PyObject
*_wrap_wxTRANSPARENT_BRUSH_get() {
880 SWIG_MakePtr(ptemp
, (char *) wxTRANSPARENT_BRUSH
,"_wxBrush_p");
881 pyobj
= PyString_FromString(ptemp
);
885 static int _wrap_wxCYAN_BRUSH_set(PyObject
*val
) {
887 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN_BRUSH is read-only.");
891 static PyObject
*_wrap_wxCYAN_BRUSH_get() {
895 SWIG_MakePtr(ptemp
, (char *) wxCYAN_BRUSH
,"_wxBrush_p");
896 pyobj
= PyString_FromString(ptemp
);
900 static int _wrap_wxRED_BRUSH_set(PyObject
*val
) {
902 PyErr_SetString(PyExc_TypeError
,"Variable wxRED_BRUSH is read-only.");
906 static PyObject
*_wrap_wxRED_BRUSH_get() {
910 SWIG_MakePtr(ptemp
, (char *) wxRED_BRUSH
,"_wxBrush_p");
911 pyobj
= PyString_FromString(ptemp
);
915 static int _wrap_wxGREY_BRUSH_set(PyObject
*val
) {
917 PyErr_SetString(PyExc_TypeError
,"Variable wxGREY_BRUSH is read-only.");
921 static PyObject
*_wrap_wxGREY_BRUSH_get() {
925 SWIG_MakePtr(ptemp
, (char *) wxGREY_BRUSH
,"_wxBrush_p");
926 pyobj
= PyString_FromString(ptemp
);
930 static int _wrap_wxMEDIUM_GREY_BRUSH_set(PyObject
*val
) {
932 PyErr_SetString(PyExc_TypeError
,"Variable wxMEDIUM_GREY_BRUSH is read-only.");
936 static PyObject
*_wrap_wxMEDIUM_GREY_BRUSH_get() {
940 SWIG_MakePtr(ptemp
, (char *) wxMEDIUM_GREY_BRUSH
,"_wxBrush_p");
941 pyobj
= PyString_FromString(ptemp
);
945 static int _wrap_wxLIGHT_GREY_BRUSH_set(PyObject
*val
) {
947 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY_BRUSH is read-only.");
951 static PyObject
*_wrap_wxLIGHT_GREY_BRUSH_get() {
955 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY_BRUSH
,"_wxBrush_p");
956 pyobj
= PyString_FromString(ptemp
);
960 static int _wrap_wxBLACK_set(PyObject
*val
) {
962 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK is read-only.");
966 static PyObject
*_wrap_wxBLACK_get() {
970 SWIG_MakePtr(ptemp
, (char *) wxBLACK
,"_wxColour_p");
971 pyobj
= PyString_FromString(ptemp
);
975 static int _wrap_wxWHITE_set(PyObject
*val
) {
977 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE is read-only.");
981 static PyObject
*_wrap_wxWHITE_get() {
985 SWIG_MakePtr(ptemp
, (char *) wxWHITE
,"_wxColour_p");
986 pyobj
= PyString_FromString(ptemp
);
990 static int _wrap_wxRED_set(PyObject
*val
) {
992 PyErr_SetString(PyExc_TypeError
,"Variable wxRED is read-only.");
996 static PyObject
*_wrap_wxRED_get() {
1000 SWIG_MakePtr(ptemp
, (char *) wxRED
,"_wxColour_p");
1001 pyobj
= PyString_FromString(ptemp
);
1005 static int _wrap_wxBLUE_set(PyObject
*val
) {
1007 PyErr_SetString(PyExc_TypeError
,"Variable wxBLUE is read-only.");
1011 static PyObject
*_wrap_wxBLUE_get() {
1015 SWIG_MakePtr(ptemp
, (char *) wxBLUE
,"_wxColour_p");
1016 pyobj
= PyString_FromString(ptemp
);
1020 static int _wrap_wxGREEN_set(PyObject
*val
) {
1022 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN is read-only.");
1026 static PyObject
*_wrap_wxGREEN_get() {
1030 SWIG_MakePtr(ptemp
, (char *) wxGREEN
,"_wxColour_p");
1031 pyobj
= PyString_FromString(ptemp
);
1035 static int _wrap_wxCYAN_set(PyObject
*val
) {
1037 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN is read-only.");
1041 static PyObject
*_wrap_wxCYAN_get() {
1045 SWIG_MakePtr(ptemp
, (char *) wxCYAN
,"_wxColour_p");
1046 pyobj
= PyString_FromString(ptemp
);
1050 static int _wrap_wxLIGHT_GREY_set(PyObject
*val
) {
1052 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY is read-only.");
1056 static PyObject
*_wrap_wxLIGHT_GREY_get() {
1060 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY
,"_wxColour_p");
1061 pyobj
= PyString_FromString(ptemp
);
1065 static int _wrap_wxSTANDARD_CURSOR_set(PyObject
*val
) {
1067 PyErr_SetString(PyExc_TypeError
,"Variable wxSTANDARD_CURSOR is read-only.");
1071 static PyObject
*_wrap_wxSTANDARD_CURSOR_get() {
1075 SWIG_MakePtr(ptemp
, (char *) wxSTANDARD_CURSOR
,"_wxCursor_p");
1076 pyobj
= PyString_FromString(ptemp
);
1080 static int _wrap_wxHOURGLASS_CURSOR_set(PyObject
*val
) {
1082 PyErr_SetString(PyExc_TypeError
,"Variable wxHOURGLASS_CURSOR is read-only.");
1086 static PyObject
*_wrap_wxHOURGLASS_CURSOR_get() {
1090 SWIG_MakePtr(ptemp
, (char *) wxHOURGLASS_CURSOR
,"_wxCursor_p");
1091 pyobj
= PyString_FromString(ptemp
);
1095 static int _wrap_wxCROSS_CURSOR_set(PyObject
*val
) {
1097 PyErr_SetString(PyExc_TypeError
,"Variable wxCROSS_CURSOR is read-only.");
1101 static PyObject
*_wrap_wxCROSS_CURSOR_get() {
1105 SWIG_MakePtr(ptemp
, (char *) wxCROSS_CURSOR
,"_wxCursor_p");
1106 pyobj
= PyString_FromString(ptemp
);
1110 static int _wrap_wxNullBitmap_set(PyObject
*val
) {
1112 PyErr_SetString(PyExc_TypeError
,"Variable wxNullBitmap is read-only.");
1116 static PyObject
*_wrap_wxNullBitmap_get() {
1120 SWIG_MakePtr(ptemp
,(char *) &wxNullBitmap
,"_wxBitmap_p");
1121 pyobj
= PyString_FromString(ptemp
);
1125 static int _wrap_wxNullIcon_set(PyObject
*val
) {
1127 PyErr_SetString(PyExc_TypeError
,"Variable wxNullIcon is read-only.");
1131 static PyObject
*_wrap_wxNullIcon_get() {
1135 SWIG_MakePtr(ptemp
,(char *) &wxNullIcon
,"_wxIcon_p");
1136 pyobj
= PyString_FromString(ptemp
);
1140 static int _wrap_wxNullCursor_set(PyObject
*val
) {
1142 PyErr_SetString(PyExc_TypeError
,"Variable wxNullCursor is read-only.");
1146 static PyObject
*_wrap_wxNullCursor_get() {
1150 SWIG_MakePtr(ptemp
,(char *) &wxNullCursor
,"_wxCursor_p");
1151 pyobj
= PyString_FromString(ptemp
);
1155 static int _wrap_wxNullPen_set(PyObject
*val
) {
1157 PyErr_SetString(PyExc_TypeError
,"Variable wxNullPen is read-only.");
1161 static PyObject
*_wrap_wxNullPen_get() {
1165 SWIG_MakePtr(ptemp
,(char *) &wxNullPen
,"_wxPen_p");
1166 pyobj
= PyString_FromString(ptemp
);
1170 static int _wrap_wxNullBrush_set(PyObject
*val
) {
1172 PyErr_SetString(PyExc_TypeError
,"Variable wxNullBrush is read-only.");
1176 static PyObject
*_wrap_wxNullBrush_get() {
1180 SWIG_MakePtr(ptemp
,(char *) &wxNullBrush
,"_wxBrush_p");
1181 pyobj
= PyString_FromString(ptemp
);
1185 static int _wrap_wxNullPalette_set(PyObject
*val
) {
1187 PyErr_SetString(PyExc_TypeError
,"Variable wxNullPalette is read-only.");
1191 static PyObject
*_wrap_wxNullPalette_get() {
1195 SWIG_MakePtr(ptemp
,(char *) &wxNullPalette
,"_wxPalette_p");
1196 pyobj
= PyString_FromString(ptemp
);
1200 static int _wrap_wxNullFont_set(PyObject
*val
) {
1202 PyErr_SetString(PyExc_TypeError
,"Variable wxNullFont is read-only.");
1206 static PyObject
*_wrap_wxNullFont_get() {
1210 SWIG_MakePtr(ptemp
,(char *) &wxNullFont
,"_wxFont_p");
1211 pyobj
= PyString_FromString(ptemp
);
1215 static int _wrap_wxNullColour_set(PyObject
*val
) {
1217 PyErr_SetString(PyExc_TypeError
,"Variable wxNullColour is read-only.");
1221 static PyObject
*_wrap_wxNullColour_get() {
1225 SWIG_MakePtr(ptemp
,(char *) &wxNullColour
,"_wxColour_p");
1226 pyobj
= PyString_FromString(ptemp
);
1230 static int _wrap_wxTheFontList_set(PyObject
*val
) {
1232 PyErr_SetString(PyExc_TypeError
,"Variable wxTheFontList is read-only.");
1236 static PyObject
*_wrap_wxTheFontList_get() {
1240 SWIG_MakePtr(ptemp
, (char *) wxTheFontList
,"_wxFontList_p");
1241 pyobj
= PyString_FromString(ptemp
);
1245 static int _wrap_wxThePenList_set(PyObject
*val
) {
1247 PyErr_SetString(PyExc_TypeError
,"Variable wxThePenList is read-only.");
1251 static PyObject
*_wrap_wxThePenList_get() {
1255 SWIG_MakePtr(ptemp
, (char *) wxThePenList
,"_wxPenList_p");
1256 pyobj
= PyString_FromString(ptemp
);
1260 static int _wrap_wxTheBrushList_set(PyObject
*val
) {
1262 PyErr_SetString(PyExc_TypeError
,"Variable wxTheBrushList is read-only.");
1266 static PyObject
*_wrap_wxTheBrushList_get() {
1270 SWIG_MakePtr(ptemp
, (char *) wxTheBrushList
,"_wxBrushList_p");
1271 pyobj
= PyString_FromString(ptemp
);
1275 static int _wrap_wxTheColourDatabase_set(PyObject
*val
) {
1277 PyErr_SetString(PyExc_TypeError
,"Variable wxTheColourDatabase is read-only.");
1281 static PyObject
*_wrap_wxTheColourDatabase_get() {
1285 SWIG_MakePtr(ptemp
, (char *) wxTheColourDatabase
,"_wxColourDatabase_p");
1286 pyobj
= PyString_FromString(ptemp
);
1290 static void *SwigwxGDIObjectTowxObject(void *ptr
) {
1293 src
= (wxGDIObject
*) ptr
;
1294 dest
= (wxObject
*) src
;
1295 return (void *) dest
;
1298 #define new_wxGDIObject() (new wxGDIObject())
1299 static PyObject
*_wrap_new_wxGDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1300 PyObject
* _resultobj
;
1301 wxGDIObject
* _result
;
1302 char *_kwnames
[] = { NULL
};
1306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGDIObject",_kwnames
))
1309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1310 _result
= (wxGDIObject
*)new_wxGDIObject();
1312 wxPyEndAllowThreads(__tstate
);
1313 if (PyErr_Occurred()) return NULL
;
1315 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGDIObject_p");
1316 _resultobj
= Py_BuildValue("s",_ptemp
);
1319 _resultobj
= Py_None
;
1324 #define delete_wxGDIObject(_swigobj) (delete _swigobj)
1325 static PyObject
*_wrap_delete_wxGDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1326 PyObject
* _resultobj
;
1327 wxGDIObject
* _arg0
;
1328 PyObject
* _argo0
= 0;
1329 char *_kwnames
[] = { "self", NULL
};
1332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxGDIObject",_kwnames
,&_argo0
))
1335 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1336 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGDIObject_p")) {
1337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxGDIObject. Expected _wxGDIObject_p.");
1342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1343 delete_wxGDIObject(_arg0
);
1345 wxPyEndAllowThreads(__tstate
);
1346 if (PyErr_Occurred()) return NULL
;
1347 } Py_INCREF(Py_None
);
1348 _resultobj
= Py_None
;
1352 #define wxGDIObject_GetVisible(_swigobj) (_swigobj->GetVisible())
1353 static PyObject
*_wrap_wxGDIObject_GetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1354 PyObject
* _resultobj
;
1356 wxGDIObject
* _arg0
;
1357 PyObject
* _argo0
= 0;
1358 char *_kwnames
[] = { "self", NULL
};
1361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGDIObject_GetVisible",_kwnames
,&_argo0
))
1364 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1365 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGDIObject_p")) {
1366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGDIObject_GetVisible. Expected _wxGDIObject_p.");
1371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1372 _result
= (bool )wxGDIObject_GetVisible(_arg0
);
1374 wxPyEndAllowThreads(__tstate
);
1375 if (PyErr_Occurred()) return NULL
;
1376 } _resultobj
= Py_BuildValue("i",_result
);
1380 #define wxGDIObject_SetVisible(_swigobj,_swigarg0) (_swigobj->SetVisible(_swigarg0))
1381 static PyObject
*_wrap_wxGDIObject_SetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1382 PyObject
* _resultobj
;
1383 wxGDIObject
* _arg0
;
1385 PyObject
* _argo0
= 0;
1387 char *_kwnames
[] = { "self","visible", NULL
};
1390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGDIObject_SetVisible",_kwnames
,&_argo0
,&tempbool1
))
1393 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1394 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGDIObject_p")) {
1395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGDIObject_SetVisible. Expected _wxGDIObject_p.");
1399 _arg1
= (bool ) tempbool1
;
1401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1402 wxGDIObject_SetVisible(_arg0
,_arg1
);
1404 wxPyEndAllowThreads(__tstate
);
1405 if (PyErr_Occurred()) return NULL
;
1406 } Py_INCREF(Py_None
);
1407 _resultobj
= Py_None
;
1411 #define wxGDIObject_IsNull(_swigobj) (_swigobj->IsNull())
1412 static PyObject
*_wrap_wxGDIObject_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1413 PyObject
* _resultobj
;
1415 wxGDIObject
* _arg0
;
1416 PyObject
* _argo0
= 0;
1417 char *_kwnames
[] = { "self", NULL
};
1420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGDIObject_IsNull",_kwnames
,&_argo0
))
1423 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1424 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGDIObject_p")) {
1425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGDIObject_IsNull. Expected _wxGDIObject_p.");
1430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1431 _result
= (bool )wxGDIObject_IsNull(_arg0
);
1433 wxPyEndAllowThreads(__tstate
);
1434 if (PyErr_Occurred()) return NULL
;
1435 } _resultobj
= Py_BuildValue("i",_result
);
1439 static void *SwigwxBitmapTowxGDIObject(void *ptr
) {
1442 src
= (wxBitmap
*) ptr
;
1443 dest
= (wxGDIObject
*) src
;
1444 return (void *) dest
;
1447 static void *SwigwxBitmapTowxObject(void *ptr
) {
1450 src
= (wxBitmap
*) ptr
;
1451 dest
= (wxObject
*) src
;
1452 return (void *) dest
;
1455 #define new_wxBitmap(_swigarg0,_swigarg1) (new wxBitmap(_swigarg0,_swigarg1))
1456 static PyObject
*_wrap_new_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1457 PyObject
* _resultobj
;
1460 wxBitmapType _arg1
= (wxBitmapType
) wxBITMAP_TYPE_BMP
;
1461 PyObject
* _obj0
= 0;
1462 char *_kwnames
[] = { "name","type", NULL
};
1466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxBitmap",_kwnames
,&_obj0
,&_arg1
))
1469 #if PYTHON_API_VERSION >= 1009
1470 char* tmpPtr
; int tmpSize
;
1471 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1472 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1475 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1477 _arg0
= new wxString(tmpPtr
, tmpSize
);
1479 if (!PyString_Check(_obj0
)) {
1480 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1483 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1488 _result
= (wxBitmap
*)new_wxBitmap(*_arg0
,_arg1
);
1490 wxPyEndAllowThreads(__tstate
);
1491 if (PyErr_Occurred()) return NULL
;
1493 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1494 _resultobj
= Py_BuildValue("s",_ptemp
);
1497 _resultobj
= Py_None
;
1506 #define delete_wxBitmap(_swigobj) (delete _swigobj)
1507 static PyObject
*_wrap_delete_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1508 PyObject
* _resultobj
;
1510 PyObject
* _argo0
= 0;
1511 char *_kwnames
[] = { "self", NULL
};
1514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBitmap",_kwnames
,&_argo0
))
1517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBitmap. Expected _wxBitmap_p.");
1524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1525 delete_wxBitmap(_arg0
);
1527 wxPyEndAllowThreads(__tstate
);
1528 if (PyErr_Occurred()) return NULL
;
1529 } Py_INCREF(Py_None
);
1530 _resultobj
= Py_None
;
1534 #define wxBitmap_GetPalette(_swigobj) (_swigobj->GetPalette())
1535 static PyObject
*_wrap_wxBitmap_GetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1536 PyObject
* _resultobj
;
1537 wxPalette
* _result
;
1539 PyObject
* _argo0
= 0;
1540 char *_kwnames
[] = { "self", NULL
};
1544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetPalette",_kwnames
,&_argo0
))
1547 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1548 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetPalette. Expected _wxBitmap_p.");
1554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1555 _result
= (wxPalette
*)wxBitmap_GetPalette(_arg0
);
1557 wxPyEndAllowThreads(__tstate
);
1558 if (PyErr_Occurred()) return NULL
;
1560 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPalette_p");
1561 _resultobj
= Py_BuildValue("s",_ptemp
);
1564 _resultobj
= Py_None
;
1569 #define wxBitmap_GetMask(_swigobj) (_swigobj->GetMask())
1570 static PyObject
*_wrap_wxBitmap_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1571 PyObject
* _resultobj
;
1574 PyObject
* _argo0
= 0;
1575 char *_kwnames
[] = { "self", NULL
};
1579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetMask",_kwnames
,&_argo0
))
1582 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1583 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetMask. Expected _wxBitmap_p.");
1589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1590 _result
= (wxMask
*)wxBitmap_GetMask(_arg0
);
1592 wxPyEndAllowThreads(__tstate
);
1593 if (PyErr_Occurred()) return NULL
;
1595 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
1596 _resultobj
= Py_BuildValue("s",_ptemp
);
1599 _resultobj
= Py_None
;
1604 #define wxBitmap_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
1605 static PyObject
*_wrap_wxBitmap_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1606 PyObject
* _resultobj
;
1610 wxBitmapType _arg2
= (wxBitmapType
) wxBITMAP_TYPE_BMP
;
1611 PyObject
* _argo0
= 0;
1612 PyObject
* _obj1
= 0;
1613 char *_kwnames
[] = { "self","name","type", NULL
};
1616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxBitmap_LoadFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1619 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1620 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_LoadFile. Expected _wxBitmap_p.");
1626 #if PYTHON_API_VERSION >= 1009
1627 char* tmpPtr
; int tmpSize
;
1628 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1629 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1632 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1634 _arg1
= new wxString(tmpPtr
, tmpSize
);
1636 if (!PyString_Check(_obj1
)) {
1637 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1640 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1645 _result
= (bool )wxBitmap_LoadFile(_arg0
,*_arg1
,_arg2
);
1647 wxPyEndAllowThreads(__tstate
);
1648 if (PyErr_Occurred()) return NULL
;
1649 } _resultobj
= Py_BuildValue("i",_result
);
1657 #define wxBitmap_SaveFile(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SaveFile(_swigarg0,_swigarg1,_swigarg2))
1658 static PyObject
*_wrap_wxBitmap_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1659 PyObject
* _resultobj
;
1664 wxPalette
* _arg3
= (wxPalette
*) NULL
;
1665 PyObject
* _argo0
= 0;
1666 PyObject
* _obj1
= 0;
1667 PyObject
* _argo3
= 0;
1668 char *_kwnames
[] = { "self","name","type","palette", NULL
};
1671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|O:wxBitmap_SaveFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_argo3
))
1674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SaveFile. Expected _wxBitmap_p.");
1681 #if PYTHON_API_VERSION >= 1009
1682 char* tmpPtr
; int tmpSize
;
1683 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1684 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1687 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1689 _arg1
= new wxString(tmpPtr
, tmpSize
);
1691 if (!PyString_Check(_obj1
)) {
1692 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1695 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1699 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1700 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxPalette_p")) {
1701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxBitmap_SaveFile. Expected _wxPalette_p.");
1706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1707 _result
= (bool )wxBitmap_SaveFile(_arg0
,*_arg1
,_arg2
,_arg3
);
1709 wxPyEndAllowThreads(__tstate
);
1710 if (PyErr_Occurred()) return NULL
;
1711 } _resultobj
= Py_BuildValue("i",_result
);
1719 #define wxBitmap_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
1720 static PyObject
*_wrap_wxBitmap_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1721 PyObject
* _resultobj
;
1724 PyObject
* _argo0
= 0;
1725 PyObject
* _argo1
= 0;
1726 char *_kwnames
[] = { "self","mask", NULL
};
1729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_SetMask",_kwnames
,&_argo0
,&_argo1
))
1732 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1733 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetMask. Expected _wxBitmap_p.");
1739 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1740 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMask_p")) {
1741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmap_SetMask. Expected _wxMask_p.");
1746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1747 wxBitmap_SetMask(_arg0
,_arg1
);
1749 wxPyEndAllowThreads(__tstate
);
1750 if (PyErr_Occurred()) return NULL
;
1751 } Py_INCREF(Py_None
);
1752 _resultobj
= Py_None
;
1756 #define wxBitmap_Ok(_swigobj) (_swigobj->Ok())
1757 static PyObject
*_wrap_wxBitmap_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1758 PyObject
* _resultobj
;
1761 PyObject
* _argo0
= 0;
1762 char *_kwnames
[] = { "self", NULL
};
1765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_Ok",_kwnames
,&_argo0
))
1768 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1769 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_Ok. Expected _wxBitmap_p.");
1775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1776 _result
= (bool )wxBitmap_Ok(_arg0
);
1778 wxPyEndAllowThreads(__tstate
);
1779 if (PyErr_Occurred()) return NULL
;
1780 } _resultobj
= Py_BuildValue("i",_result
);
1784 #define wxBitmap_GetWidth(_swigobj) (_swigobj->GetWidth())
1785 static PyObject
*_wrap_wxBitmap_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1786 PyObject
* _resultobj
;
1789 PyObject
* _argo0
= 0;
1790 char *_kwnames
[] = { "self", NULL
};
1793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetWidth",_kwnames
,&_argo0
))
1796 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1797 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetWidth. Expected _wxBitmap_p.");
1803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1804 _result
= (int )wxBitmap_GetWidth(_arg0
);
1806 wxPyEndAllowThreads(__tstate
);
1807 if (PyErr_Occurred()) return NULL
;
1808 } _resultobj
= Py_BuildValue("i",_result
);
1812 #define wxBitmap_GetHeight(_swigobj) (_swigobj->GetHeight())
1813 static PyObject
*_wrap_wxBitmap_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1814 PyObject
* _resultobj
;
1817 PyObject
* _argo0
= 0;
1818 char *_kwnames
[] = { "self", NULL
};
1821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetHeight",_kwnames
,&_argo0
))
1824 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1825 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetHeight. Expected _wxBitmap_p.");
1831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1832 _result
= (int )wxBitmap_GetHeight(_arg0
);
1834 wxPyEndAllowThreads(__tstate
);
1835 if (PyErr_Occurred()) return NULL
;
1836 } _resultobj
= Py_BuildValue("i",_result
);
1840 #define wxBitmap_GetDepth(_swigobj) (_swigobj->GetDepth())
1841 static PyObject
*_wrap_wxBitmap_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1842 PyObject
* _resultobj
;
1845 PyObject
* _argo0
= 0;
1846 char *_kwnames
[] = { "self", NULL
};
1849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetDepth",_kwnames
,&_argo0
))
1852 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1853 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetDepth. Expected _wxBitmap_p.");
1859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1860 _result
= (int )wxBitmap_GetDepth(_arg0
);
1862 wxPyEndAllowThreads(__tstate
);
1863 if (PyErr_Occurred()) return NULL
;
1864 } _resultobj
= Py_BuildValue("i",_result
);
1868 #define wxBitmap_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1869 static PyObject
*_wrap_wxBitmap_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1870 PyObject
* _resultobj
;
1873 PyObject
* _argo0
= 0;
1874 char *_kwnames
[] = { "self","w", NULL
};
1877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBitmap_SetWidth",_kwnames
,&_argo0
,&_arg1
))
1880 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1881 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetWidth. Expected _wxBitmap_p.");
1887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1888 wxBitmap_SetWidth(_arg0
,_arg1
);
1890 wxPyEndAllowThreads(__tstate
);
1891 if (PyErr_Occurred()) return NULL
;
1892 } Py_INCREF(Py_None
);
1893 _resultobj
= Py_None
;
1897 #define wxBitmap_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1898 static PyObject
*_wrap_wxBitmap_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1899 PyObject
* _resultobj
;
1902 PyObject
* _argo0
= 0;
1903 char *_kwnames
[] = { "self","h", NULL
};
1906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBitmap_SetHeight",_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_SetHeight. Expected _wxBitmap_p.");
1916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1917 wxBitmap_SetHeight(_arg0
,_arg1
);
1919 wxPyEndAllowThreads(__tstate
);
1920 if (PyErr_Occurred()) return NULL
;
1921 } Py_INCREF(Py_None
);
1922 _resultobj
= Py_None
;
1926 #define wxBitmap_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
1927 static PyObject
*_wrap_wxBitmap_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1928 PyObject
* _resultobj
;
1931 PyObject
* _argo0
= 0;
1932 char *_kwnames
[] = { "self","d", NULL
};
1935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBitmap_SetDepth",_kwnames
,&_argo0
,&_arg1
))
1938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetDepth. Expected _wxBitmap_p.");
1945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1946 wxBitmap_SetDepth(_arg0
,_arg1
);
1948 wxPyEndAllowThreads(__tstate
);
1949 if (PyErr_Occurred()) return NULL
;
1950 } Py_INCREF(Py_None
);
1951 _resultobj
= Py_None
;
1955 #define wxBitmap_GetSubBitmap(_swigobj,_swigarg0) (_swigobj->GetSubBitmap(_swigarg0))
1956 static PyObject
*_wrap_wxBitmap_GetSubBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1957 PyObject
* _resultobj
;
1961 PyObject
* _argo0
= 0;
1963 PyObject
* _obj1
= 0;
1964 char *_kwnames
[] = { "self","rect", NULL
};
1968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_GetSubBitmap",_kwnames
,&_argo0
,&_obj1
))
1971 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1972 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetSubBitmap. Expected _wxBitmap_p.");
1979 if (! wxRect_helper(_obj1
, &_arg1
))
1983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1984 _result
= new wxBitmap (wxBitmap_GetSubBitmap(_arg0
,*_arg1
));
1986 wxPyEndAllowThreads(__tstate
);
1987 if (PyErr_Occurred()) return NULL
;
1988 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1989 _resultobj
= Py_BuildValue("s",_ptemp
);
1993 #define wxBitmap_CopyFromIcon(_swigobj,_swigarg0) (_swigobj->CopyFromIcon(_swigarg0))
1994 static PyObject
*_wrap_wxBitmap_CopyFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1995 PyObject
* _resultobj
;
1999 PyObject
* _argo0
= 0;
2000 PyObject
* _argo1
= 0;
2001 char *_kwnames
[] = { "self","icon", NULL
};
2004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_CopyFromIcon",_kwnames
,&_argo0
,&_argo1
))
2007 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2008 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
2009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_CopyFromIcon. Expected _wxBitmap_p.");
2014 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2015 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
2016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmap_CopyFromIcon. Expected _wxIcon_p.");
2021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2022 _result
= (bool )wxBitmap_CopyFromIcon(_arg0
,*_arg1
);
2024 wxPyEndAllowThreads(__tstate
);
2025 if (PyErr_Occurred()) return NULL
;
2026 } _resultobj
= Py_BuildValue("i",_result
);
2030 static void *SwigwxMaskTowxObject(void *ptr
) {
2033 src
= (wxMask
*) ptr
;
2034 dest
= (wxObject
*) src
;
2035 return (void *) dest
;
2038 #define new_wxMask(_swigarg0) (new wxMask(_swigarg0))
2039 static PyObject
*_wrap_new_wxMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2040 PyObject
* _resultobj
;
2043 PyObject
* _argo0
= 0;
2044 char *_kwnames
[] = { "bitmap", NULL
};
2048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxMask",_kwnames
,&_argo0
))
2051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
2053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMask. Expected _wxBitmap_p.");
2058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2059 _result
= (wxMask
*)new_wxMask(*_arg0
);
2061 wxPyEndAllowThreads(__tstate
);
2062 if (PyErr_Occurred()) return NULL
;
2064 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
2065 _resultobj
= Py_BuildValue("s",_ptemp
);
2068 _resultobj
= Py_None
;
2073 static void wxMask_Destroy(wxMask
*self
) { delete self
; }
2074 static PyObject
*_wrap_wxMask_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2075 PyObject
* _resultobj
;
2077 PyObject
* _argo0
= 0;
2078 char *_kwnames
[] = { "self", NULL
};
2081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMask_Destroy",_kwnames
,&_argo0
))
2084 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2085 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMask_p")) {
2086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMask_Destroy. Expected _wxMask_p.");
2091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2092 wxMask_Destroy(_arg0
);
2094 wxPyEndAllowThreads(__tstate
);
2095 if (PyErr_Occurred()) return NULL
;
2096 } Py_INCREF(Py_None
);
2097 _resultobj
= Py_None
;
2101 static void *SwigwxIconTowxGDIObject(void *ptr
) {
2104 src
= (wxIcon
*) ptr
;
2105 dest
= (wxGDIObject
*) src
;
2106 return (void *) dest
;
2109 static void *SwigwxIconTowxObject(void *ptr
) {
2112 src
= (wxIcon
*) ptr
;
2113 dest
= (wxObject
*) src
;
2114 return (void *) dest
;
2117 #define new_wxIcon(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxIcon(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2118 static PyObject
*_wrap_new_wxIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2119 PyObject
* _resultobj
;
2123 int _arg2
= (int ) -1;
2124 int _arg3
= (int ) -1;
2125 PyObject
* _obj0
= 0;
2126 char *_kwnames
[] = { "name","flags","desiredWidth","desiredHeight", NULL
};
2130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|ii:new_wxIcon",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_arg3
))
2133 #if PYTHON_API_VERSION >= 1009
2134 char* tmpPtr
; int tmpSize
;
2135 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2136 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2139 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2141 _arg0
= new wxString(tmpPtr
, tmpSize
);
2143 if (!PyString_Check(_obj0
)) {
2144 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2147 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2152 _result
= (wxIcon
*)new_wxIcon(*_arg0
,_arg1
,_arg2
,_arg3
);
2154 wxPyEndAllowThreads(__tstate
);
2155 if (PyErr_Occurred()) return NULL
;
2157 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
2158 _resultobj
= Py_BuildValue("s",_ptemp
);
2161 _resultobj
= Py_None
;
2170 #define delete_wxIcon(_swigobj) (delete _swigobj)
2171 static PyObject
*_wrap_delete_wxIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2172 PyObject
* _resultobj
;
2174 PyObject
* _argo0
= 0;
2175 char *_kwnames
[] = { "self", NULL
};
2178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxIcon",_kwnames
,&_argo0
))
2181 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2182 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxIcon. Expected _wxIcon_p.");
2188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2189 delete_wxIcon(_arg0
);
2191 wxPyEndAllowThreads(__tstate
);
2192 if (PyErr_Occurred()) return NULL
;
2193 } Py_INCREF(Py_None
);
2194 _resultobj
= Py_None
;
2198 #define wxIcon_Ok(_swigobj) (_swigobj->Ok())
2199 static PyObject
*_wrap_wxIcon_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2200 PyObject
* _resultobj
;
2203 PyObject
* _argo0
= 0;
2204 char *_kwnames
[] = { "self", NULL
};
2207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_Ok",_kwnames
,&_argo0
))
2210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_Ok. Expected _wxIcon_p.");
2217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2218 _result
= (bool )wxIcon_Ok(_arg0
);
2220 wxPyEndAllowThreads(__tstate
);
2221 if (PyErr_Occurred()) return NULL
;
2222 } _resultobj
= Py_BuildValue("i",_result
);
2226 #define wxIcon_GetWidth(_swigobj) (_swigobj->GetWidth())
2227 static PyObject
*_wrap_wxIcon_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2228 PyObject
* _resultobj
;
2231 PyObject
* _argo0
= 0;
2232 char *_kwnames
[] = { "self", NULL
};
2235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetWidth",_kwnames
,&_argo0
))
2238 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2239 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetWidth. Expected _wxIcon_p.");
2245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2246 _result
= (int )wxIcon_GetWidth(_arg0
);
2248 wxPyEndAllowThreads(__tstate
);
2249 if (PyErr_Occurred()) return NULL
;
2250 } _resultobj
= Py_BuildValue("i",_result
);
2254 #define wxIcon_GetHeight(_swigobj) (_swigobj->GetHeight())
2255 static PyObject
*_wrap_wxIcon_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2256 PyObject
* _resultobj
;
2259 PyObject
* _argo0
= 0;
2260 char *_kwnames
[] = { "self", NULL
};
2263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetHeight",_kwnames
,&_argo0
))
2266 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2267 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetHeight. Expected _wxIcon_p.");
2273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2274 _result
= (int )wxIcon_GetHeight(_arg0
);
2276 wxPyEndAllowThreads(__tstate
);
2277 if (PyErr_Occurred()) return NULL
;
2278 } _resultobj
= Py_BuildValue("i",_result
);
2282 #define wxIcon_GetDepth(_swigobj) (_swigobj->GetDepth())
2283 static PyObject
*_wrap_wxIcon_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2284 PyObject
* _resultobj
;
2287 PyObject
* _argo0
= 0;
2288 char *_kwnames
[] = { "self", NULL
};
2291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetDepth",_kwnames
,&_argo0
))
2294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetDepth. Expected _wxIcon_p.");
2301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2302 _result
= (int )wxIcon_GetDepth(_arg0
);
2304 wxPyEndAllowThreads(__tstate
);
2305 if (PyErr_Occurred()) return NULL
;
2306 } _resultobj
= Py_BuildValue("i",_result
);
2310 #define wxIcon_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2311 static PyObject
*_wrap_wxIcon_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2312 PyObject
* _resultobj
;
2315 PyObject
* _argo0
= 0;
2316 char *_kwnames
[] = { "self","w", NULL
};
2319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetWidth",_kwnames
,&_argo0
,&_arg1
))
2322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetWidth. Expected _wxIcon_p.");
2329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2330 wxIcon_SetWidth(_arg0
,_arg1
);
2332 wxPyEndAllowThreads(__tstate
);
2333 if (PyErr_Occurred()) return NULL
;
2334 } Py_INCREF(Py_None
);
2335 _resultobj
= Py_None
;
2339 #define wxIcon_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
2340 static PyObject
*_wrap_wxIcon_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2341 PyObject
* _resultobj
;
2344 PyObject
* _argo0
= 0;
2345 char *_kwnames
[] = { "self","h", NULL
};
2348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetHeight",_kwnames
,&_argo0
,&_arg1
))
2351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetHeight. Expected _wxIcon_p.");
2358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2359 wxIcon_SetHeight(_arg0
,_arg1
);
2361 wxPyEndAllowThreads(__tstate
);
2362 if (PyErr_Occurred()) return NULL
;
2363 } Py_INCREF(Py_None
);
2364 _resultobj
= Py_None
;
2368 #define wxIcon_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
2369 static PyObject
*_wrap_wxIcon_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2370 PyObject
* _resultobj
;
2373 PyObject
* _argo0
= 0;
2374 char *_kwnames
[] = { "self","d", NULL
};
2377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetDepth",_kwnames
,&_argo0
,&_arg1
))
2380 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2381 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetDepth. Expected _wxIcon_p.");
2387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2388 wxIcon_SetDepth(_arg0
,_arg1
);
2390 wxPyEndAllowThreads(__tstate
);
2391 if (PyErr_Occurred()) return NULL
;
2392 } Py_INCREF(Py_None
);
2393 _resultobj
= Py_None
;
2397 #define wxIcon_CopyFromBitmap(_swigobj,_swigarg0) (_swigobj->CopyFromBitmap(_swigarg0))
2398 static PyObject
*_wrap_wxIcon_CopyFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2399 PyObject
* _resultobj
;
2402 PyObject
* _argo0
= 0;
2403 PyObject
* _argo1
= 0;
2404 char *_kwnames
[] = { "self","bmp", NULL
};
2407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxIcon_CopyFromBitmap",_kwnames
,&_argo0
,&_argo1
))
2410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_CopyFromBitmap. Expected _wxIcon_p.");
2417 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2418 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
2419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIcon_CopyFromBitmap. Expected _wxBitmap_p.");
2424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2425 wxIcon_CopyFromBitmap(_arg0
,*_arg1
);
2427 wxPyEndAllowThreads(__tstate
);
2428 if (PyErr_Occurred()) return NULL
;
2429 } Py_INCREF(Py_None
);
2430 _resultobj
= Py_None
;
2434 static void *SwigwxCursorTowxGDIObject(void *ptr
) {
2437 src
= (wxCursor
*) ptr
;
2438 dest
= (wxGDIObject
*) src
;
2439 return (void *) dest
;
2442 static void *SwigwxCursorTowxObject(void *ptr
) {
2445 src
= (wxCursor
*) ptr
;
2446 dest
= (wxObject
*) src
;
2447 return (void *) dest
;
2450 #define delete_wxCursor(_swigobj) (delete _swigobj)
2451 static PyObject
*_wrap_delete_wxCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2452 PyObject
* _resultobj
;
2454 PyObject
* _argo0
= 0;
2455 char *_kwnames
[] = { "self", NULL
};
2458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCursor",_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 delete_wxCursor. Expected _wxCursor_p.");
2468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2469 delete_wxCursor(_arg0
);
2471 wxPyEndAllowThreads(__tstate
);
2472 if (PyErr_Occurred()) return NULL
;
2473 } Py_INCREF(Py_None
);
2474 _resultobj
= Py_None
;
2478 #define wxCursor_Ok(_swigobj) (_swigobj->Ok())
2479 static PyObject
*_wrap_wxCursor_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2480 PyObject
* _resultobj
;
2483 PyObject
* _argo0
= 0;
2484 char *_kwnames
[] = { "self", NULL
};
2487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCursor_Ok",_kwnames
,&_argo0
))
2490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
2492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_Ok. Expected _wxCursor_p.");
2497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2498 _result
= (bool )wxCursor_Ok(_arg0
);
2500 wxPyEndAllowThreads(__tstate
);
2501 if (PyErr_Occurred()) return NULL
;
2502 } _resultobj
= Py_BuildValue("i",_result
);
2506 #define new_wxNativeFontInfo() (new wxNativeFontInfo())
2507 static PyObject
*_wrap_new_wxNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2508 PyObject
* _resultobj
;
2509 wxNativeFontInfo
* _result
;
2510 char *_kwnames
[] = { NULL
};
2514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxNativeFontInfo",_kwnames
))
2517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2518 _result
= (wxNativeFontInfo
*)new_wxNativeFontInfo();
2520 wxPyEndAllowThreads(__tstate
);
2521 if (PyErr_Occurred()) return NULL
;
2523 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNativeFontInfo_p");
2524 _resultobj
= Py_BuildValue("s",_ptemp
);
2527 _resultobj
= Py_None
;
2532 #define wxNativeFontInfo_Init(_swigobj) (_swigobj->Init())
2533 static PyObject
*_wrap_wxNativeFontInfo_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2534 PyObject
* _resultobj
;
2535 wxNativeFontInfo
* _arg0
;
2536 PyObject
* _argo0
= 0;
2537 char *_kwnames
[] = { "self", NULL
};
2540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_Init",_kwnames
,&_argo0
))
2543 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2544 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_Init. Expected _wxNativeFontInfo_p.");
2550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2551 wxNativeFontInfo_Init(_arg0
);
2553 wxPyEndAllowThreads(__tstate
);
2554 if (PyErr_Occurred()) return NULL
;
2555 } Py_INCREF(Py_None
);
2556 _resultobj
= Py_None
;
2560 #define wxNativeFontInfo_GetPointSize(_swigobj) (_swigobj->GetPointSize())
2561 static PyObject
*_wrap_wxNativeFontInfo_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2562 PyObject
* _resultobj
;
2564 wxNativeFontInfo
* _arg0
;
2565 PyObject
* _argo0
= 0;
2566 char *_kwnames
[] = { "self", NULL
};
2569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_GetPointSize",_kwnames
,&_argo0
))
2572 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2573 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_GetPointSize. Expected _wxNativeFontInfo_p.");
2579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2580 _result
= (int )wxNativeFontInfo_GetPointSize(_arg0
);
2582 wxPyEndAllowThreads(__tstate
);
2583 if (PyErr_Occurred()) return NULL
;
2584 } _resultobj
= Py_BuildValue("i",_result
);
2588 #define wxNativeFontInfo_GetStyle(_swigobj) (_swigobj->GetStyle())
2589 static PyObject
*_wrap_wxNativeFontInfo_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2590 PyObject
* _resultobj
;
2591 wxFontStyle _result
;
2592 wxNativeFontInfo
* _arg0
;
2593 PyObject
* _argo0
= 0;
2594 char *_kwnames
[] = { "self", NULL
};
2597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_GetStyle",_kwnames
,&_argo0
))
2600 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2601 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_GetStyle. Expected _wxNativeFontInfo_p.");
2607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2608 _result
= (wxFontStyle
)wxNativeFontInfo_GetStyle(_arg0
);
2610 wxPyEndAllowThreads(__tstate
);
2611 if (PyErr_Occurred()) return NULL
;
2612 } _resultobj
= Py_BuildValue("i",_result
);
2616 #define wxNativeFontInfo_GetWeight(_swigobj) (_swigobj->GetWeight())
2617 static PyObject
*_wrap_wxNativeFontInfo_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2618 PyObject
* _resultobj
;
2619 wxFontWeight _result
;
2620 wxNativeFontInfo
* _arg0
;
2621 PyObject
* _argo0
= 0;
2622 char *_kwnames
[] = { "self", NULL
};
2625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_GetWeight",_kwnames
,&_argo0
))
2628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_GetWeight. Expected _wxNativeFontInfo_p.");
2635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2636 _result
= (wxFontWeight
)wxNativeFontInfo_GetWeight(_arg0
);
2638 wxPyEndAllowThreads(__tstate
);
2639 if (PyErr_Occurred()) return NULL
;
2640 } _resultobj
= Py_BuildValue("i",_result
);
2644 #define wxNativeFontInfo_GetUnderlined(_swigobj) (_swigobj->GetUnderlined())
2645 static PyObject
*_wrap_wxNativeFontInfo_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2646 PyObject
* _resultobj
;
2648 wxNativeFontInfo
* _arg0
;
2649 PyObject
* _argo0
= 0;
2650 char *_kwnames
[] = { "self", NULL
};
2653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_GetUnderlined",_kwnames
,&_argo0
))
2656 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2657 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_GetUnderlined. Expected _wxNativeFontInfo_p.");
2663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2664 _result
= (bool )wxNativeFontInfo_GetUnderlined(_arg0
);
2666 wxPyEndAllowThreads(__tstate
);
2667 if (PyErr_Occurred()) return NULL
;
2668 } _resultobj
= Py_BuildValue("i",_result
);
2672 #define wxNativeFontInfo_GetFaceName(_swigobj) (_swigobj->GetFaceName())
2673 static PyObject
*_wrap_wxNativeFontInfo_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2674 PyObject
* _resultobj
;
2676 wxNativeFontInfo
* _arg0
;
2677 PyObject
* _argo0
= 0;
2678 char *_kwnames
[] = { "self", NULL
};
2681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_GetFaceName",_kwnames
,&_argo0
))
2684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_GetFaceName. Expected _wxNativeFontInfo_p.");
2691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2692 _result
= new wxString (wxNativeFontInfo_GetFaceName(_arg0
));
2694 wxPyEndAllowThreads(__tstate
);
2695 if (PyErr_Occurred()) return NULL
;
2697 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2705 #define wxNativeFontInfo_GetFamily(_swigobj) (_swigobj->GetFamily())
2706 static PyObject
*_wrap_wxNativeFontInfo_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2707 PyObject
* _resultobj
;
2708 wxFontFamily _result
;
2709 wxNativeFontInfo
* _arg0
;
2710 PyObject
* _argo0
= 0;
2711 char *_kwnames
[] = { "self", NULL
};
2714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_GetFamily",_kwnames
,&_argo0
))
2717 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2718 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_GetFamily. Expected _wxNativeFontInfo_p.");
2724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2725 _result
= (wxFontFamily
)wxNativeFontInfo_GetFamily(_arg0
);
2727 wxPyEndAllowThreads(__tstate
);
2728 if (PyErr_Occurred()) return NULL
;
2729 } _resultobj
= Py_BuildValue("i",_result
);
2733 #define wxNativeFontInfo_GetEncoding(_swigobj) (_swigobj->GetEncoding())
2734 static PyObject
*_wrap_wxNativeFontInfo_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2735 PyObject
* _resultobj
;
2736 wxFontEncoding _result
;
2737 wxNativeFontInfo
* _arg0
;
2738 PyObject
* _argo0
= 0;
2739 char *_kwnames
[] = { "self", NULL
};
2742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_GetEncoding",_kwnames
,&_argo0
))
2745 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2746 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_GetEncoding. Expected _wxNativeFontInfo_p.");
2752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2753 _result
= (wxFontEncoding
)wxNativeFontInfo_GetEncoding(_arg0
);
2755 wxPyEndAllowThreads(__tstate
);
2756 if (PyErr_Occurred()) return NULL
;
2757 } _resultobj
= Py_BuildValue("i",_result
);
2761 #define wxNativeFontInfo_SetPointSize(_swigobj,_swigarg0) (_swigobj->SetPointSize(_swigarg0))
2762 static PyObject
*_wrap_wxNativeFontInfo_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2763 PyObject
* _resultobj
;
2764 wxNativeFontInfo
* _arg0
;
2766 PyObject
* _argo0
= 0;
2767 char *_kwnames
[] = { "self","pointsize", NULL
};
2770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNativeFontInfo_SetPointSize",_kwnames
,&_argo0
,&_arg1
))
2773 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2774 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_SetPointSize. Expected _wxNativeFontInfo_p.");
2780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2781 wxNativeFontInfo_SetPointSize(_arg0
,_arg1
);
2783 wxPyEndAllowThreads(__tstate
);
2784 if (PyErr_Occurred()) return NULL
;
2785 } Py_INCREF(Py_None
);
2786 _resultobj
= Py_None
;
2790 #define wxNativeFontInfo_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
2791 static PyObject
*_wrap_wxNativeFontInfo_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2792 PyObject
* _resultobj
;
2793 wxNativeFontInfo
* _arg0
;
2795 PyObject
* _argo0
= 0;
2796 char *_kwnames
[] = { "self","style", NULL
};
2799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNativeFontInfo_SetStyle",_kwnames
,&_argo0
,&_arg1
))
2802 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2803 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_SetStyle. Expected _wxNativeFontInfo_p.");
2809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2810 wxNativeFontInfo_SetStyle(_arg0
,_arg1
);
2812 wxPyEndAllowThreads(__tstate
);
2813 if (PyErr_Occurred()) return NULL
;
2814 } Py_INCREF(Py_None
);
2815 _resultobj
= Py_None
;
2819 #define wxNativeFontInfo_SetWeight(_swigobj,_swigarg0) (_swigobj->SetWeight(_swigarg0))
2820 static PyObject
*_wrap_wxNativeFontInfo_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2821 PyObject
* _resultobj
;
2822 wxNativeFontInfo
* _arg0
;
2824 PyObject
* _argo0
= 0;
2825 char *_kwnames
[] = { "self","weight", NULL
};
2828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNativeFontInfo_SetWeight",_kwnames
,&_argo0
,&_arg1
))
2831 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2832 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_SetWeight. Expected _wxNativeFontInfo_p.");
2838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2839 wxNativeFontInfo_SetWeight(_arg0
,_arg1
);
2841 wxPyEndAllowThreads(__tstate
);
2842 if (PyErr_Occurred()) return NULL
;
2843 } Py_INCREF(Py_None
);
2844 _resultobj
= Py_None
;
2848 #define wxNativeFontInfo_SetUnderlined(_swigobj,_swigarg0) (_swigobj->SetUnderlined(_swigarg0))
2849 static PyObject
*_wrap_wxNativeFontInfo_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2850 PyObject
* _resultobj
;
2851 wxNativeFontInfo
* _arg0
;
2853 PyObject
* _argo0
= 0;
2855 char *_kwnames
[] = { "self","underlined", NULL
};
2858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNativeFontInfo_SetUnderlined",_kwnames
,&_argo0
,&tempbool1
))
2861 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2862 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2863 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_SetUnderlined. Expected _wxNativeFontInfo_p.");
2867 _arg1
= (bool ) tempbool1
;
2869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2870 wxNativeFontInfo_SetUnderlined(_arg0
,_arg1
);
2872 wxPyEndAllowThreads(__tstate
);
2873 if (PyErr_Occurred()) return NULL
;
2874 } Py_INCREF(Py_None
);
2875 _resultobj
= Py_None
;
2879 #define wxNativeFontInfo_SetFaceName(_swigobj,_swigarg0) (_swigobj->SetFaceName(_swigarg0))
2880 static PyObject
*_wrap_wxNativeFontInfo_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2881 PyObject
* _resultobj
;
2882 wxNativeFontInfo
* _arg0
;
2884 PyObject
* _argo0
= 0;
2885 PyObject
* _obj1
= 0;
2886 char *_kwnames
[] = { "self","facename", NULL
};
2889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNativeFontInfo_SetFaceName",_kwnames
,&_argo0
,&_obj1
))
2892 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2893 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_SetFaceName. Expected _wxNativeFontInfo_p.");
2899 #if PYTHON_API_VERSION >= 1009
2900 char* tmpPtr
; int tmpSize
;
2901 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2902 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2905 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2907 _arg1
= new wxString(tmpPtr
, tmpSize
);
2909 if (!PyString_Check(_obj1
)) {
2910 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2913 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2918 wxNativeFontInfo_SetFaceName(_arg0
,*_arg1
);
2920 wxPyEndAllowThreads(__tstate
);
2921 if (PyErr_Occurred()) return NULL
;
2922 } Py_INCREF(Py_None
);
2923 _resultobj
= Py_None
;
2931 #define wxNativeFontInfo_SetFamily(_swigobj,_swigarg0) (_swigobj->SetFamily(_swigarg0))
2932 static PyObject
*_wrap_wxNativeFontInfo_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2933 PyObject
* _resultobj
;
2934 wxNativeFontInfo
* _arg0
;
2936 PyObject
* _argo0
= 0;
2937 char *_kwnames
[] = { "self","family", NULL
};
2940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNativeFontInfo_SetFamily",_kwnames
,&_argo0
,&_arg1
))
2943 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2944 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_SetFamily. Expected _wxNativeFontInfo_p.");
2950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2951 wxNativeFontInfo_SetFamily(_arg0
,_arg1
);
2953 wxPyEndAllowThreads(__tstate
);
2954 if (PyErr_Occurred()) return NULL
;
2955 } Py_INCREF(Py_None
);
2956 _resultobj
= Py_None
;
2960 #define wxNativeFontInfo_SetEncoding(_swigobj,_swigarg0) (_swigobj->SetEncoding(_swigarg0))
2961 static PyObject
*_wrap_wxNativeFontInfo_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2962 PyObject
* _resultobj
;
2963 wxNativeFontInfo
* _arg0
;
2964 wxFontEncoding _arg1
;
2965 PyObject
* _argo0
= 0;
2966 char *_kwnames
[] = { "self","encoding", NULL
};
2969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNativeFontInfo_SetEncoding",_kwnames
,&_argo0
,&_arg1
))
2972 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2973 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_SetEncoding. Expected _wxNativeFontInfo_p.");
2979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2980 wxNativeFontInfo_SetEncoding(_arg0
,_arg1
);
2982 wxPyEndAllowThreads(__tstate
);
2983 if (PyErr_Occurred()) return NULL
;
2984 } Py_INCREF(Py_None
);
2985 _resultobj
= Py_None
;
2989 #define wxNativeFontInfo_FromString(_swigobj,_swigarg0) (_swigobj->FromString(_swigarg0))
2990 static PyObject
*_wrap_wxNativeFontInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2991 PyObject
* _resultobj
;
2993 wxNativeFontInfo
* _arg0
;
2995 PyObject
* _argo0
= 0;
2996 PyObject
* _obj1
= 0;
2997 char *_kwnames
[] = { "self","s", NULL
};
3000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNativeFontInfo_FromString",_kwnames
,&_argo0
,&_obj1
))
3003 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3004 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_FromString. Expected _wxNativeFontInfo_p.");
3010 #if PYTHON_API_VERSION >= 1009
3011 char* tmpPtr
; int tmpSize
;
3012 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3013 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3016 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3018 _arg1
= new wxString(tmpPtr
, tmpSize
);
3020 if (!PyString_Check(_obj1
)) {
3021 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3024 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3029 _result
= (bool )wxNativeFontInfo_FromString(_arg0
,*_arg1
);
3031 wxPyEndAllowThreads(__tstate
);
3032 if (PyErr_Occurred()) return NULL
;
3033 } _resultobj
= Py_BuildValue("i",_result
);
3041 #define wxNativeFontInfo_ToString(_swigobj) (_swigobj->ToString())
3042 static PyObject
*_wrap_wxNativeFontInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3043 PyObject
* _resultobj
;
3045 wxNativeFontInfo
* _arg0
;
3046 PyObject
* _argo0
= 0;
3047 char *_kwnames
[] = { "self", NULL
};
3050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_ToString",_kwnames
,&_argo0
))
3053 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3054 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_ToString. Expected _wxNativeFontInfo_p.");
3060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3061 _result
= new wxString (wxNativeFontInfo_ToString(_arg0
));
3063 wxPyEndAllowThreads(__tstate
);
3064 if (PyErr_Occurred()) return NULL
;
3066 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3074 static wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
) {
3075 return self
->ToString();
3077 static PyObject
*_wrap_wxNativeFontInfo___str__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3078 PyObject
* _resultobj
;
3080 wxNativeFontInfo
* _arg0
;
3081 PyObject
* _argo0
= 0;
3082 char *_kwnames
[] = { "self", NULL
};
3085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo___str__",_kwnames
,&_argo0
))
3088 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3089 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo___str__. Expected _wxNativeFontInfo_p.");
3095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3096 _result
= new wxString (wxNativeFontInfo___str__(_arg0
));
3098 wxPyEndAllowThreads(__tstate
);
3099 if (PyErr_Occurred()) return NULL
;
3101 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3109 #define wxNativeFontInfo_FromUserString(_swigobj,_swigarg0) (_swigobj->FromUserString(_swigarg0))
3110 static PyObject
*_wrap_wxNativeFontInfo_FromUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3111 PyObject
* _resultobj
;
3113 wxNativeFontInfo
* _arg0
;
3115 PyObject
* _argo0
= 0;
3116 PyObject
* _obj1
= 0;
3117 char *_kwnames
[] = { "self","s", NULL
};
3120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNativeFontInfo_FromUserString",_kwnames
,&_argo0
,&_obj1
))
3123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_FromUserString. Expected _wxNativeFontInfo_p.");
3130 #if PYTHON_API_VERSION >= 1009
3131 char* tmpPtr
; int tmpSize
;
3132 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3133 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3136 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3138 _arg1
= new wxString(tmpPtr
, tmpSize
);
3140 if (!PyString_Check(_obj1
)) {
3141 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3144 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3149 _result
= (bool )wxNativeFontInfo_FromUserString(_arg0
,*_arg1
);
3151 wxPyEndAllowThreads(__tstate
);
3152 if (PyErr_Occurred()) return NULL
;
3153 } _resultobj
= Py_BuildValue("i",_result
);
3161 #define wxNativeFontInfo_ToUserString(_swigobj) (_swigobj->ToUserString())
3162 static PyObject
*_wrap_wxNativeFontInfo_ToUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3163 PyObject
* _resultobj
;
3165 wxNativeFontInfo
* _arg0
;
3166 PyObject
* _argo0
= 0;
3167 char *_kwnames
[] = { "self", NULL
};
3170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_ToUserString",_kwnames
,&_argo0
))
3173 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3174 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_ToUserString. Expected _wxNativeFontInfo_p.");
3180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3181 _result
= new wxString (wxNativeFontInfo_ToUserString(_arg0
));
3183 wxPyEndAllowThreads(__tstate
);
3184 if (PyErr_Occurred()) return NULL
;
3186 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3194 #define new_wxFontMapper() (new wxFontMapper())
3195 static PyObject
*_wrap_new_wxFontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3196 PyObject
* _resultobj
;
3197 wxFontMapper
* _result
;
3198 char *_kwnames
[] = { NULL
};
3202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFontMapper",_kwnames
))
3205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3206 _result
= (wxFontMapper
*)new_wxFontMapper();
3208 wxPyEndAllowThreads(__tstate
);
3209 if (PyErr_Occurred()) return NULL
;
3211 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFontMapper_p");
3212 _resultobj
= Py_BuildValue("s",_ptemp
);
3215 _resultobj
= Py_None
;
3220 #define delete_wxFontMapper(_swigobj) (delete _swigobj)
3221 static PyObject
*_wrap_delete_wxFontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3222 PyObject
* _resultobj
;
3223 wxFontMapper
* _arg0
;
3224 PyObject
* _argo0
= 0;
3225 char *_kwnames
[] = { "self", NULL
};
3228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFontMapper",_kwnames
,&_argo0
))
3231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
3233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFontMapper. Expected _wxFontMapper_p.");
3238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3239 delete_wxFontMapper(_arg0
);
3241 wxPyEndAllowThreads(__tstate
);
3242 if (PyErr_Occurred()) return NULL
;
3243 } Py_INCREF(Py_None
);
3244 _resultobj
= Py_None
;
3248 static PyObject
* wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,const wxString
& facename
,bool interactive
) {
3249 wxFontEncoding alt_enc
;
3250 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3251 return PyInt_FromLong(alt_enc
);
3257 static PyObject
*_wrap_wxFontMapper_GetAltForEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3258 PyObject
* _resultobj
;
3260 wxFontMapper
* _arg0
;
3261 wxFontEncoding _arg1
;
3262 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
3263 bool _arg3
= (bool ) TRUE
;
3264 PyObject
* _argo0
= 0;
3265 PyObject
* _obj2
= 0;
3266 int tempbool3
= (int) TRUE
;
3267 char *_kwnames
[] = { "self","encoding","facename","interactive", NULL
};
3270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|Oi:wxFontMapper_GetAltForEncoding",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&tempbool3
))
3273 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3274 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
3275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_GetAltForEncoding. Expected _wxFontMapper_p.");
3281 #if PYTHON_API_VERSION >= 1009
3282 char* tmpPtr
; int tmpSize
;
3283 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
3284 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3287 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
3289 _arg2
= new wxString(tmpPtr
, tmpSize
);
3291 if (!PyString_Check(_obj2
)) {
3292 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3295 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
3298 _arg3
= (bool ) tempbool3
;
3300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3301 _result
= (PyObject
*)wxFontMapper_GetAltForEncoding(_arg0
,_arg1
,*_arg2
,_arg3
);
3303 wxPyEndAllowThreads(__tstate
);
3304 if (PyErr_Occurred()) return NULL
;
3306 _resultobj
= _result
;
3315 #define wxFontMapper_IsEncodingAvailable(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsEncodingAvailable(_swigarg0,_swigarg1))
3316 static PyObject
*_wrap_wxFontMapper_IsEncodingAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3317 PyObject
* _resultobj
;
3319 wxFontMapper
* _arg0
;
3320 wxFontEncoding _arg1
;
3321 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
3322 PyObject
* _argo0
= 0;
3323 PyObject
* _obj2
= 0;
3324 char *_kwnames
[] = { "self","encoding","facename", NULL
};
3327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|O:wxFontMapper_IsEncodingAvailable",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3330 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3331 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
3332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_IsEncodingAvailable. Expected _wxFontMapper_p.");
3338 #if PYTHON_API_VERSION >= 1009
3339 char* tmpPtr
; int tmpSize
;
3340 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
3341 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3344 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
3346 _arg2
= new wxString(tmpPtr
, tmpSize
);
3348 if (!PyString_Check(_obj2
)) {
3349 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3352 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
3356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3357 _result
= (bool )wxFontMapper_IsEncodingAvailable(_arg0
,_arg1
,*_arg2
);
3359 wxPyEndAllowThreads(__tstate
);
3360 if (PyErr_Occurred()) return NULL
;
3361 } _resultobj
= Py_BuildValue("i",_result
);
3369 #define wxFontMapper_CharsetToEncoding(_swigobj,_swigarg0,_swigarg1) (_swigobj->CharsetToEncoding(_swigarg0,_swigarg1))
3370 static PyObject
*_wrap_wxFontMapper_CharsetToEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3371 PyObject
* _resultobj
;
3372 wxFontEncoding _result
;
3373 wxFontMapper
* _arg0
;
3375 bool _arg2
= (bool ) TRUE
;
3376 PyObject
* _argo0
= 0;
3377 PyObject
* _obj1
= 0;
3378 int tempbool2
= (int) TRUE
;
3379 char *_kwnames
[] = { "self","charset","interactive", NULL
};
3382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFontMapper_CharsetToEncoding",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
3385 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3386 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
3387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_CharsetToEncoding. Expected _wxFontMapper_p.");
3392 #if PYTHON_API_VERSION >= 1009
3393 char* tmpPtr
; int tmpSize
;
3394 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3395 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3398 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3400 _arg1
= new wxString(tmpPtr
, tmpSize
);
3402 if (!PyString_Check(_obj1
)) {
3403 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3406 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3409 _arg2
= (bool ) tempbool2
;
3411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3412 _result
= (wxFontEncoding
)wxFontMapper_CharsetToEncoding(_arg0
,*_arg1
,_arg2
);
3414 wxPyEndAllowThreads(__tstate
);
3415 if (PyErr_Occurred()) return NULL
;
3416 } _resultobj
= Py_BuildValue("i",_result
);
3424 static PyObject
*_wrap_wxFontMapper_GetEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3425 PyObject
* _resultobj
;
3427 wxFontEncoding _arg0
;
3428 char *_kwnames
[] = { "encoding", NULL
};
3431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxFontMapper_GetEncodingName",_kwnames
,&_arg0
))
3434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3435 _result
= new wxString (wxFontMapper::GetEncodingName(_arg0
));
3437 wxPyEndAllowThreads(__tstate
);
3438 if (PyErr_Occurred()) return NULL
;
3440 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3448 static PyObject
*_wrap_wxFontMapper_GetEncodingDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3449 PyObject
* _resultobj
;
3451 wxFontEncoding _arg0
;
3452 char *_kwnames
[] = { "encoding", NULL
};
3455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxFontMapper_GetEncodingDescription",_kwnames
,&_arg0
))
3458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3459 _result
= new wxString (wxFontMapper::GetEncodingDescription(_arg0
));
3461 wxPyEndAllowThreads(__tstate
);
3462 if (PyErr_Occurred()) return NULL
;
3464 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3472 #define wxFontMapper_SetDialogParent(_swigobj,_swigarg0) (_swigobj->SetDialogParent(_swigarg0))
3473 static PyObject
*_wrap_wxFontMapper_SetDialogParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3474 PyObject
* _resultobj
;
3475 wxFontMapper
* _arg0
;
3477 PyObject
* _argo0
= 0;
3478 PyObject
* _argo1
= 0;
3479 char *_kwnames
[] = { "self","parent", NULL
};
3482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontMapper_SetDialogParent",_kwnames
,&_argo0
,&_argo1
))
3485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
3487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_SetDialogParent. Expected _wxFontMapper_p.");
3492 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3493 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontMapper_SetDialogParent. Expected _wxWindow_p.");
3499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3500 wxFontMapper_SetDialogParent(_arg0
,_arg1
);
3502 wxPyEndAllowThreads(__tstate
);
3503 if (PyErr_Occurred()) return NULL
;
3504 } Py_INCREF(Py_None
);
3505 _resultobj
= Py_None
;
3509 #define wxFontMapper_SetDialogTitle(_swigobj,_swigarg0) (_swigobj->SetDialogTitle(_swigarg0))
3510 static PyObject
*_wrap_wxFontMapper_SetDialogTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3511 PyObject
* _resultobj
;
3512 wxFontMapper
* _arg0
;
3514 PyObject
* _argo0
= 0;
3515 PyObject
* _obj1
= 0;
3516 char *_kwnames
[] = { "self","title", NULL
};
3519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontMapper_SetDialogTitle",_kwnames
,&_argo0
,&_obj1
))
3522 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3523 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
3524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_SetDialogTitle. Expected _wxFontMapper_p.");
3529 #if PYTHON_API_VERSION >= 1009
3530 char* tmpPtr
; int tmpSize
;
3531 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3532 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3535 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3537 _arg1
= new wxString(tmpPtr
, tmpSize
);
3539 if (!PyString_Check(_obj1
)) {
3540 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3543 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3548 wxFontMapper_SetDialogTitle(_arg0
,*_arg1
);
3550 wxPyEndAllowThreads(__tstate
);
3551 if (PyErr_Occurred()) return NULL
;
3552 } Py_INCREF(Py_None
);
3553 _resultobj
= Py_None
;
3561 #define wxFontMapper_SetConfig(_swigobj,_swigarg0) (_swigobj->SetConfig(_swigarg0))
3562 static PyObject
*_wrap_wxFontMapper_SetConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3563 PyObject
* _resultobj
;
3564 wxFontMapper
* _arg0
;
3565 wxConfigBase
* _arg1
;
3566 PyObject
* _argo0
= 0;
3567 PyObject
* _argo1
= 0;
3568 char *_kwnames
[] = { "self","config", NULL
};
3571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontMapper_SetConfig",_kwnames
,&_argo0
,&_argo1
))
3574 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3575 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
3576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_SetConfig. Expected _wxFontMapper_p.");
3581 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3582 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
3583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontMapper_SetConfig. Expected _wxConfigBase_p.");
3588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3589 wxFontMapper_SetConfig(_arg0
,_arg1
);
3591 wxPyEndAllowThreads(__tstate
);
3592 if (PyErr_Occurred()) return NULL
;
3593 } Py_INCREF(Py_None
);
3594 _resultobj
= Py_None
;
3598 #define wxFontMapper_SetConfigPath(_swigobj,_swigarg0) (_swigobj->SetConfigPath(_swigarg0))
3599 static PyObject
*_wrap_wxFontMapper_SetConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3600 PyObject
* _resultobj
;
3601 wxFontMapper
* _arg0
;
3603 PyObject
* _argo0
= 0;
3604 PyObject
* _obj1
= 0;
3605 char *_kwnames
[] = { "self","prefix", NULL
};
3608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontMapper_SetConfigPath",_kwnames
,&_argo0
,&_obj1
))
3611 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3612 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
3613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_SetConfigPath. Expected _wxFontMapper_p.");
3618 #if PYTHON_API_VERSION >= 1009
3619 char* tmpPtr
; int tmpSize
;
3620 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3621 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3624 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3626 _arg1
= new wxString(tmpPtr
, tmpSize
);
3628 if (!PyString_Check(_obj1
)) {
3629 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3632 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3637 wxFontMapper_SetConfigPath(_arg0
,*_arg1
);
3639 wxPyEndAllowThreads(__tstate
);
3640 if (PyErr_Occurred()) return NULL
;
3641 } Py_INCREF(Py_None
);
3642 _resultobj
= Py_None
;
3650 static PyObject
*_wrap_wxFontMapper_GetDefaultConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3651 PyObject
* _resultobj
;
3653 char *_kwnames
[] = { NULL
};
3656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxFontMapper_GetDefaultConfigPath",_kwnames
))
3659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3660 _result
= (wxChar
*)wxFontMapper::GetDefaultConfigPath();
3662 wxPyEndAllowThreads(__tstate
);
3663 if (PyErr_Occurred()) return NULL
;
3664 } _resultobj
= Py_BuildValue("s", _result
);
3668 static void *SwigwxFontTowxGDIObject(void *ptr
) {
3671 src
= (wxFont
*) ptr
;
3672 dest
= (wxGDIObject
*) src
;
3673 return (void *) dest
;
3676 static void *SwigwxFontTowxObject(void *ptr
) {
3679 src
= (wxFont
*) ptr
;
3680 dest
= (wxObject
*) src
;
3681 return (void *) dest
;
3684 #define new_wxFont(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxFont(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3685 static PyObject
*_wrap_new_wxFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3686 PyObject
* _resultobj
;
3692 int _arg4
= (int ) FALSE
;
3693 char * _arg5
= (char *) "";
3694 wxFontEncoding _arg6
= (wxFontEncoding
) (wxFONTENCODING_DEFAULT
);
3695 char *_kwnames
[] = { "pointSize","family","style","weight","underline","faceName","encoding", NULL
};
3699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiii|isi:new_wxFont",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
3702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3703 _result
= (wxFont
*)new_wxFont(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
3705 wxPyEndAllowThreads(__tstate
);
3706 if (PyErr_Occurred()) return NULL
;
3708 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
3709 _resultobj
= Py_BuildValue("s",_ptemp
);
3712 _resultobj
= Py_None
;
3717 #define new_wxFontFromNativeInfo(_swigarg0) (new wxFont(_swigarg0))
3718 static PyObject
*_wrap_new_wxFontFromNativeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3719 PyObject
* _resultobj
;
3721 wxNativeFontInfo
* _arg0
;
3722 PyObject
* _argo0
= 0;
3723 char *_kwnames
[] = { "info", NULL
};
3727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFontFromNativeInfo",_kwnames
,&_argo0
))
3730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFontFromNativeInfo. Expected _wxNativeFontInfo_p.");
3737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3738 _result
= (wxFont
*)new_wxFontFromNativeInfo(*_arg0
);
3740 wxPyEndAllowThreads(__tstate
);
3741 if (PyErr_Occurred()) return NULL
;
3743 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
3744 _resultobj
= Py_BuildValue("s",_ptemp
);
3747 _resultobj
= Py_None
;
3752 #define delete_wxFont(_swigobj) (delete _swigobj)
3753 static PyObject
*_wrap_delete_wxFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3754 PyObject
* _resultobj
;
3756 PyObject
* _argo0
= 0;
3757 char *_kwnames
[] = { "self", NULL
};
3760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFont",_kwnames
,&_argo0
))
3763 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3764 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFont. Expected _wxFont_p.");
3770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3771 delete_wxFont(_arg0
);
3773 wxPyEndAllowThreads(__tstate
);
3774 if (PyErr_Occurred()) return NULL
;
3775 } Py_INCREF(Py_None
);
3776 _resultobj
= Py_None
;
3780 #define wxFont_Ok(_swigobj) (_swigobj->Ok())
3781 static PyObject
*_wrap_wxFont_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3782 PyObject
* _resultobj
;
3785 PyObject
* _argo0
= 0;
3786 char *_kwnames
[] = { "self", NULL
};
3789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_Ok",_kwnames
,&_argo0
))
3792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_Ok. Expected _wxFont_p.");
3799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3800 _result
= (bool )wxFont_Ok(_arg0
);
3802 wxPyEndAllowThreads(__tstate
);
3803 if (PyErr_Occurred()) return NULL
;
3804 } _resultobj
= Py_BuildValue("i",_result
);
3808 #define wxFont_GetPointSize(_swigobj) (_swigobj->GetPointSize())
3809 static PyObject
*_wrap_wxFont_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3810 PyObject
* _resultobj
;
3813 PyObject
* _argo0
= 0;
3814 char *_kwnames
[] = { "self", NULL
};
3817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetPointSize",_kwnames
,&_argo0
))
3820 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3821 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetPointSize. Expected _wxFont_p.");
3827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3828 _result
= (int )wxFont_GetPointSize(_arg0
);
3830 wxPyEndAllowThreads(__tstate
);
3831 if (PyErr_Occurred()) return NULL
;
3832 } _resultobj
= Py_BuildValue("i",_result
);
3836 #define wxFont_GetFamily(_swigobj) (_swigobj->GetFamily())
3837 static PyObject
*_wrap_wxFont_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3838 PyObject
* _resultobj
;
3841 PyObject
* _argo0
= 0;
3842 char *_kwnames
[] = { "self", NULL
};
3845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFamily",_kwnames
,&_argo0
))
3848 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3849 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFamily. Expected _wxFont_p.");
3855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3856 _result
= (int )wxFont_GetFamily(_arg0
);
3858 wxPyEndAllowThreads(__tstate
);
3859 if (PyErr_Occurred()) return NULL
;
3860 } _resultobj
= Py_BuildValue("i",_result
);
3864 #define wxFont_GetStyle(_swigobj) (_swigobj->GetStyle())
3865 static PyObject
*_wrap_wxFont_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3866 PyObject
* _resultobj
;
3869 PyObject
* _argo0
= 0;
3870 char *_kwnames
[] = { "self", NULL
};
3873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetStyle",_kwnames
,&_argo0
))
3876 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3877 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetStyle. Expected _wxFont_p.");
3883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3884 _result
= (int )wxFont_GetStyle(_arg0
);
3886 wxPyEndAllowThreads(__tstate
);
3887 if (PyErr_Occurred()) return NULL
;
3888 } _resultobj
= Py_BuildValue("i",_result
);
3892 #define wxFont_GetWeight(_swigobj) (_swigobj->GetWeight())
3893 static PyObject
*_wrap_wxFont_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3894 PyObject
* _resultobj
;
3897 PyObject
* _argo0
= 0;
3898 char *_kwnames
[] = { "self", NULL
};
3901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetWeight",_kwnames
,&_argo0
))
3904 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3905 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetWeight. Expected _wxFont_p.");
3911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3912 _result
= (int )wxFont_GetWeight(_arg0
);
3914 wxPyEndAllowThreads(__tstate
);
3915 if (PyErr_Occurred()) return NULL
;
3916 } _resultobj
= Py_BuildValue("i",_result
);
3920 #define wxFont_GetUnderlined(_swigobj) (_swigobj->GetUnderlined())
3921 static PyObject
*_wrap_wxFont_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3922 PyObject
* _resultobj
;
3925 PyObject
* _argo0
= 0;
3926 char *_kwnames
[] = { "self", NULL
};
3929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetUnderlined",_kwnames
,&_argo0
))
3932 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3933 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetUnderlined. Expected _wxFont_p.");
3939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3940 _result
= (bool )wxFont_GetUnderlined(_arg0
);
3942 wxPyEndAllowThreads(__tstate
);
3943 if (PyErr_Occurred()) return NULL
;
3944 } _resultobj
= Py_BuildValue("i",_result
);
3948 #define wxFont_GetFaceName(_swigobj) (_swigobj->GetFaceName())
3949 static PyObject
*_wrap_wxFont_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3950 PyObject
* _resultobj
;
3953 PyObject
* _argo0
= 0;
3954 char *_kwnames
[] = { "self", NULL
};
3957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFaceName",_kwnames
,&_argo0
))
3960 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3961 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFaceName. Expected _wxFont_p.");
3967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3968 _result
= new wxString (wxFont_GetFaceName(_arg0
));
3970 wxPyEndAllowThreads(__tstate
);
3971 if (PyErr_Occurred()) return NULL
;
3973 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3981 #define wxFont_GetEncoding(_swigobj) (_swigobj->GetEncoding())
3982 static PyObject
*_wrap_wxFont_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3983 PyObject
* _resultobj
;
3984 wxFontEncoding _result
;
3986 PyObject
* _argo0
= 0;
3987 char *_kwnames
[] = { "self", NULL
};
3990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetEncoding",_kwnames
,&_argo0
))
3993 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3994 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetEncoding. Expected _wxFont_p.");
4000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4001 _result
= (wxFontEncoding
)wxFont_GetEncoding(_arg0
);
4003 wxPyEndAllowThreads(__tstate
);
4004 if (PyErr_Occurred()) return NULL
;
4005 } _resultobj
= Py_BuildValue("i",_result
);
4009 #define wxFont_IsFixedWidth(_swigobj) (_swigobj->IsFixedWidth())
4010 static PyObject
*_wrap_wxFont_IsFixedWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4011 PyObject
* _resultobj
;
4014 PyObject
* _argo0
= 0;
4015 char *_kwnames
[] = { "self", NULL
};
4018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_IsFixedWidth",_kwnames
,&_argo0
))
4021 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4022 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4023 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_IsFixedWidth. Expected _wxFont_p.");
4028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4029 _result
= (bool )wxFont_IsFixedWidth(_arg0
);
4031 wxPyEndAllowThreads(__tstate
);
4032 if (PyErr_Occurred()) return NULL
;
4033 } _resultobj
= Py_BuildValue("i",_result
);
4037 #define wxFont_GetNativeFontInfo(_swigobj) (_swigobj->GetNativeFontInfo())
4038 static PyObject
*_wrap_wxFont_GetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4039 PyObject
* _resultobj
;
4040 wxNativeFontInfo
* _result
;
4042 PyObject
* _argo0
= 0;
4043 char *_kwnames
[] = { "self", NULL
};
4047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetNativeFontInfo",_kwnames
,&_argo0
))
4050 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4051 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetNativeFontInfo. Expected _wxFont_p.");
4057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4058 _result
= (wxNativeFontInfo
*)wxFont_GetNativeFontInfo(_arg0
);
4060 wxPyEndAllowThreads(__tstate
);
4061 if (PyErr_Occurred()) return NULL
;
4063 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNativeFontInfo_p");
4064 _resultobj
= Py_BuildValue("s",_ptemp
);
4067 _resultobj
= Py_None
;
4072 #define wxFont_GetNativeFontInfoDesc(_swigobj) (_swigobj->GetNativeFontInfoDesc())
4073 static PyObject
*_wrap_wxFont_GetNativeFontInfoDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4074 PyObject
* _resultobj
;
4077 PyObject
* _argo0
= 0;
4078 char *_kwnames
[] = { "self", NULL
};
4081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetNativeFontInfoDesc",_kwnames
,&_argo0
))
4084 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4085 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetNativeFontInfoDesc. Expected _wxFont_p.");
4091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4092 _result
= new wxString (wxFont_GetNativeFontInfoDesc(_arg0
));
4094 wxPyEndAllowThreads(__tstate
);
4095 if (PyErr_Occurred()) return NULL
;
4097 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4105 #define wxFont_GetNativeFontInfoUserDesc(_swigobj) (_swigobj->GetNativeFontInfoUserDesc())
4106 static PyObject
*_wrap_wxFont_GetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4107 PyObject
* _resultobj
;
4110 PyObject
* _argo0
= 0;
4111 char *_kwnames
[] = { "self", NULL
};
4114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetNativeFontInfoUserDesc",_kwnames
,&_argo0
))
4117 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4118 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetNativeFontInfoUserDesc. Expected _wxFont_p.");
4124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4125 _result
= new wxString (wxFont_GetNativeFontInfoUserDesc(_arg0
));
4127 wxPyEndAllowThreads(__tstate
);
4128 if (PyErr_Occurred()) return NULL
;
4130 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4138 #define wxFont_SetPointSize(_swigobj,_swigarg0) (_swigobj->SetPointSize(_swigarg0))
4139 static PyObject
*_wrap_wxFont_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4140 PyObject
* _resultobj
;
4143 PyObject
* _argo0
= 0;
4144 char *_kwnames
[] = { "self","pointSize", NULL
};
4147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetPointSize",_kwnames
,&_argo0
,&_arg1
))
4150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetPointSize. Expected _wxFont_p.");
4157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4158 wxFont_SetPointSize(_arg0
,_arg1
);
4160 wxPyEndAllowThreads(__tstate
);
4161 if (PyErr_Occurred()) return NULL
;
4162 } Py_INCREF(Py_None
);
4163 _resultobj
= Py_None
;
4167 #define wxFont_SetFamily(_swigobj,_swigarg0) (_swigobj->SetFamily(_swigarg0))
4168 static PyObject
*_wrap_wxFont_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4169 PyObject
* _resultobj
;
4172 PyObject
* _argo0
= 0;
4173 char *_kwnames
[] = { "self","family", NULL
};
4176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetFamily",_kwnames
,&_argo0
,&_arg1
))
4179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetFamily. Expected _wxFont_p.");
4186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4187 wxFont_SetFamily(_arg0
,_arg1
);
4189 wxPyEndAllowThreads(__tstate
);
4190 if (PyErr_Occurred()) return NULL
;
4191 } Py_INCREF(Py_None
);
4192 _resultobj
= Py_None
;
4196 #define wxFont_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
4197 static PyObject
*_wrap_wxFont_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4198 PyObject
* _resultobj
;
4201 PyObject
* _argo0
= 0;
4202 char *_kwnames
[] = { "self","style", NULL
};
4205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetStyle",_kwnames
,&_argo0
,&_arg1
))
4208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetStyle. Expected _wxFont_p.");
4215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4216 wxFont_SetStyle(_arg0
,_arg1
);
4218 wxPyEndAllowThreads(__tstate
);
4219 if (PyErr_Occurred()) return NULL
;
4220 } Py_INCREF(Py_None
);
4221 _resultobj
= Py_None
;
4225 #define wxFont_SetWeight(_swigobj,_swigarg0) (_swigobj->SetWeight(_swigarg0))
4226 static PyObject
*_wrap_wxFont_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4227 PyObject
* _resultobj
;
4230 PyObject
* _argo0
= 0;
4231 char *_kwnames
[] = { "self","weight", NULL
};
4234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetWeight",_kwnames
,&_argo0
,&_arg1
))
4237 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4238 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetWeight. Expected _wxFont_p.");
4244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4245 wxFont_SetWeight(_arg0
,_arg1
);
4247 wxPyEndAllowThreads(__tstate
);
4248 if (PyErr_Occurred()) return NULL
;
4249 } Py_INCREF(Py_None
);
4250 _resultobj
= Py_None
;
4254 #define wxFont_SetFaceName(_swigobj,_swigarg0) (_swigobj->SetFaceName(_swigarg0))
4255 static PyObject
*_wrap_wxFont_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4256 PyObject
* _resultobj
;
4259 PyObject
* _argo0
= 0;
4260 PyObject
* _obj1
= 0;
4261 char *_kwnames
[] = { "self","faceName", NULL
};
4264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFont_SetFaceName",_kwnames
,&_argo0
,&_obj1
))
4267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetFaceName. Expected _wxFont_p.");
4274 #if PYTHON_API_VERSION >= 1009
4275 char* tmpPtr
; int tmpSize
;
4276 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4277 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4280 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4282 _arg1
= new wxString(tmpPtr
, tmpSize
);
4284 if (!PyString_Check(_obj1
)) {
4285 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4288 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4293 wxFont_SetFaceName(_arg0
,*_arg1
);
4295 wxPyEndAllowThreads(__tstate
);
4296 if (PyErr_Occurred()) return NULL
;
4297 } Py_INCREF(Py_None
);
4298 _resultobj
= Py_None
;
4306 #define wxFont_SetUnderlined(_swigobj,_swigarg0) (_swigobj->SetUnderlined(_swigarg0))
4307 static PyObject
*_wrap_wxFont_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4308 PyObject
* _resultobj
;
4311 PyObject
* _argo0
= 0;
4313 char *_kwnames
[] = { "self","underlined", NULL
};
4316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetUnderlined",_kwnames
,&_argo0
,&tempbool1
))
4319 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4320 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetUnderlined. Expected _wxFont_p.");
4325 _arg1
= (bool ) tempbool1
;
4327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4328 wxFont_SetUnderlined(_arg0
,_arg1
);
4330 wxPyEndAllowThreads(__tstate
);
4331 if (PyErr_Occurred()) return NULL
;
4332 } Py_INCREF(Py_None
);
4333 _resultobj
= Py_None
;
4337 #define wxFont_SetEncoding(_swigobj,_swigarg0) (_swigobj->SetEncoding(_swigarg0))
4338 static PyObject
*_wrap_wxFont_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4339 PyObject
* _resultobj
;
4341 wxFontEncoding _arg1
;
4342 PyObject
* _argo0
= 0;
4343 char *_kwnames
[] = { "self","encoding", NULL
};
4346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetEncoding",_kwnames
,&_argo0
,&_arg1
))
4349 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4350 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetEncoding. Expected _wxFont_p.");
4356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4357 wxFont_SetEncoding(_arg0
,_arg1
);
4359 wxPyEndAllowThreads(__tstate
);
4360 if (PyErr_Occurred()) return NULL
;
4361 } Py_INCREF(Py_None
);
4362 _resultobj
= Py_None
;
4366 #define wxFont_SetNativeFontInfo(_swigobj,_swigarg0) (_swigobj->SetNativeFontInfo(_swigarg0))
4367 static PyObject
*_wrap_wxFont_SetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4368 PyObject
* _resultobj
;
4370 wxNativeFontInfo
* _arg1
;
4371 PyObject
* _argo0
= 0;
4372 PyObject
* _argo1
= 0;
4373 char *_kwnames
[] = { "self","info", NULL
};
4376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFont_SetNativeFontInfo",_kwnames
,&_argo0
,&_argo1
))
4379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetNativeFontInfo. Expected _wxFont_p.");
4386 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4387 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxNativeFontInfo_p")) {
4388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFont_SetNativeFontInfo. Expected _wxNativeFontInfo_p.");
4393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4394 wxFont_SetNativeFontInfo(_arg0
,*_arg1
);
4396 wxPyEndAllowThreads(__tstate
);
4397 if (PyErr_Occurred()) return NULL
;
4398 } Py_INCREF(Py_None
);
4399 _resultobj
= Py_None
;
4403 #define wxFont_SetNativeFontInfoUserDesc(_swigobj,_swigarg0) (_swigobj->SetNativeFontInfoUserDesc(_swigarg0))
4404 static PyObject
*_wrap_wxFont_SetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4405 PyObject
* _resultobj
;
4408 PyObject
* _argo0
= 0;
4409 PyObject
* _obj1
= 0;
4410 char *_kwnames
[] = { "self","info", NULL
};
4413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFont_SetNativeFontInfoUserDesc",_kwnames
,&_argo0
,&_obj1
))
4416 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4417 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetNativeFontInfoUserDesc. Expected _wxFont_p.");
4423 #if PYTHON_API_VERSION >= 1009
4424 char* tmpPtr
; int tmpSize
;
4425 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4426 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4429 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4431 _arg1
= new wxString(tmpPtr
, tmpSize
);
4433 if (!PyString_Check(_obj1
)) {
4434 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4437 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4442 wxFont_SetNativeFontInfoUserDesc(_arg0
,*_arg1
);
4444 wxPyEndAllowThreads(__tstate
);
4445 if (PyErr_Occurred()) return NULL
;
4446 } Py_INCREF(Py_None
);
4447 _resultobj
= Py_None
;
4455 #define wxFont_GetFamilyString(_swigobj) (_swigobj->GetFamilyString())
4456 static PyObject
*_wrap_wxFont_GetFamilyString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4457 PyObject
* _resultobj
;
4460 PyObject
* _argo0
= 0;
4461 char *_kwnames
[] = { "self", NULL
};
4464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFamilyString",_kwnames
,&_argo0
))
4467 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4468 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFamilyString. Expected _wxFont_p.");
4474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4475 _result
= new wxString (wxFont_GetFamilyString(_arg0
));
4477 wxPyEndAllowThreads(__tstate
);
4478 if (PyErr_Occurred()) return NULL
;
4480 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4488 #define wxFont_GetStyleString(_swigobj) (_swigobj->GetStyleString())
4489 static PyObject
*_wrap_wxFont_GetStyleString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4490 PyObject
* _resultobj
;
4493 PyObject
* _argo0
= 0;
4494 char *_kwnames
[] = { "self", NULL
};
4497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetStyleString",_kwnames
,&_argo0
))
4500 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4501 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetStyleString. Expected _wxFont_p.");
4507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4508 _result
= new wxString (wxFont_GetStyleString(_arg0
));
4510 wxPyEndAllowThreads(__tstate
);
4511 if (PyErr_Occurred()) return NULL
;
4513 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4521 #define wxFont_GetWeightString(_swigobj) (_swigobj->GetWeightString())
4522 static PyObject
*_wrap_wxFont_GetWeightString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4523 PyObject
* _resultobj
;
4526 PyObject
* _argo0
= 0;
4527 char *_kwnames
[] = { "self", NULL
};
4530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetWeightString",_kwnames
,&_argo0
))
4533 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4534 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetWeightString. Expected _wxFont_p.");
4540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4541 _result
= new wxString (wxFont_GetWeightString(_arg0
));
4543 wxPyEndAllowThreads(__tstate
);
4544 if (PyErr_Occurred()) return NULL
;
4546 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4554 static PyObject
*_wrap_wxFont_GetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4555 PyObject
* _resultobj
;
4556 wxFontEncoding _result
;
4557 char *_kwnames
[] = { NULL
};
4560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxFont_GetDefaultEncoding",_kwnames
))
4563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4564 _result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
4566 wxPyEndAllowThreads(__tstate
);
4567 if (PyErr_Occurred()) return NULL
;
4568 } _resultobj
= Py_BuildValue("i",_result
);
4572 static PyObject
*_wrap_wxFont_SetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4573 PyObject
* _resultobj
;
4574 wxFontEncoding _arg0
;
4575 char *_kwnames
[] = { "encoding", NULL
};
4578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxFont_SetDefaultEncoding",_kwnames
,&_arg0
))
4581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4582 wxFont::SetDefaultEncoding(_arg0
);
4584 wxPyEndAllowThreads(__tstate
);
4585 if (PyErr_Occurred()) return NULL
;
4586 } Py_INCREF(Py_None
);
4587 _resultobj
= Py_None
;
4591 static void *SwigwxFontListTowxObject(void *ptr
) {
4594 src
= (wxFontList
*) ptr
;
4595 dest
= (wxObject
*) src
;
4596 return (void *) dest
;
4599 #define wxFontList_AddFont(_swigobj,_swigarg0) (_swigobj->AddFont(_swigarg0))
4600 static PyObject
*_wrap_wxFontList_AddFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4601 PyObject
* _resultobj
;
4604 PyObject
* _argo0
= 0;
4605 PyObject
* _argo1
= 0;
4606 char *_kwnames
[] = { "self","font", NULL
};
4609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontList_AddFont",_kwnames
,&_argo0
,&_argo1
))
4612 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4613 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontList_p")) {
4614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontList_AddFont. Expected _wxFontList_p.");
4619 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4620 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
4621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontList_AddFont. Expected _wxFont_p.");
4626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4627 wxFontList_AddFont(_arg0
,_arg1
);
4629 wxPyEndAllowThreads(__tstate
);
4630 if (PyErr_Occurred()) return NULL
;
4631 } Py_INCREF(Py_None
);
4632 _resultobj
= Py_None
;
4636 #define wxFontList_FindOrCreateFont(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->FindOrCreateFont(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4637 static PyObject
*_wrap_wxFontList_FindOrCreateFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4638 PyObject
* _resultobj
;
4645 bool _arg5
= (bool ) FALSE
;
4646 char * _arg6
= (char *) NULL
;
4647 wxFontEncoding _arg7
= (wxFontEncoding
) (wxFONTENCODING_DEFAULT
);
4648 PyObject
* _argo0
= 0;
4649 int tempbool5
= (int) FALSE
;
4650 char *_kwnames
[] = { "self","point_size","family","style","weight","underline","facename","encoding", NULL
};
4654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|isi:wxFontList_FindOrCreateFont",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
,&_arg6
,&_arg7
))
4657 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4658 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontList_p")) {
4659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontList_FindOrCreateFont. Expected _wxFontList_p.");
4663 _arg5
= (bool ) tempbool5
;
4665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4666 _result
= (wxFont
*)wxFontList_FindOrCreateFont(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
);
4668 wxPyEndAllowThreads(__tstate
);
4669 if (PyErr_Occurred()) return NULL
;
4671 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
4672 _resultobj
= Py_BuildValue("s",_ptemp
);
4675 _resultobj
= Py_None
;
4680 #define wxFontList_RemoveFont(_swigobj,_swigarg0) (_swigobj->RemoveFont(_swigarg0))
4681 static PyObject
*_wrap_wxFontList_RemoveFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4682 PyObject
* _resultobj
;
4685 PyObject
* _argo0
= 0;
4686 PyObject
* _argo1
= 0;
4687 char *_kwnames
[] = { "self","font", NULL
};
4690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontList_RemoveFont",_kwnames
,&_argo0
,&_argo1
))
4693 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4694 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontList_p")) {
4695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontList_RemoveFont. Expected _wxFontList_p.");
4700 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4701 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
4702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontList_RemoveFont. Expected _wxFont_p.");
4707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4708 wxFontList_RemoveFont(_arg0
,_arg1
);
4710 wxPyEndAllowThreads(__tstate
);
4711 if (PyErr_Occurred()) return NULL
;
4712 } Py_INCREF(Py_None
);
4713 _resultobj
= Py_None
;
4717 #define wxFontList_GetCount(_swigobj) (_swigobj->GetCount())
4718 static PyObject
*_wrap_wxFontList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4719 PyObject
* _resultobj
;
4722 PyObject
* _argo0
= 0;
4723 char *_kwnames
[] = { "self", NULL
};
4726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontList_GetCount",_kwnames
,&_argo0
))
4729 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4730 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontList_p")) {
4731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontList_GetCount. Expected _wxFontList_p.");
4736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4737 _result
= (int )wxFontList_GetCount(_arg0
);
4739 wxPyEndAllowThreads(__tstate
);
4740 if (PyErr_Occurred()) return NULL
;
4741 } _resultobj
= Py_BuildValue("i",_result
);
4745 static void *SwigwxColourTowxObject(void *ptr
) {
4748 src
= (wxColour
*) ptr
;
4749 dest
= (wxObject
*) src
;
4750 return (void *) dest
;
4753 #define new_wxColour(_swigarg0,_swigarg1,_swigarg2) (new wxColour(_swigarg0,_swigarg1,_swigarg2))
4754 static PyObject
*_wrap_new_wxColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4755 PyObject
* _resultobj
;
4757 unsigned char _arg0
= (unsigned char ) 0;
4758 unsigned char _arg1
= (unsigned char ) 0;
4759 unsigned char _arg2
= (unsigned char ) 0;
4760 char *_kwnames
[] = { "red","green","blue", NULL
};
4764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|bbb:new_wxColour",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
4767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4768 _result
= (wxColour
*)new_wxColour(_arg0
,_arg1
,_arg2
);
4770 wxPyEndAllowThreads(__tstate
);
4771 if (PyErr_Occurred()) return NULL
;
4773 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
4774 _resultobj
= Py_BuildValue("s",_ptemp
);
4777 _resultobj
= Py_None
;
4782 #define delete_wxColour(_swigobj) (delete _swigobj)
4783 static PyObject
*_wrap_delete_wxColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4784 PyObject
* _resultobj
;
4787 PyObject
* _obj0
= 0;
4788 char *_kwnames
[] = { "self", NULL
};
4791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxColour",_kwnames
,&_obj0
))
4795 if (! wxColour_helper(_obj0
, &_arg0
))
4799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4800 delete_wxColour(_arg0
);
4802 wxPyEndAllowThreads(__tstate
);
4803 if (PyErr_Occurred()) return NULL
;
4804 } Py_INCREF(Py_None
);
4805 _resultobj
= Py_None
;
4809 #define wxColour_Red(_swigobj) (_swigobj->Red())
4810 static PyObject
*_wrap_wxColour_Red(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4811 PyObject
* _resultobj
;
4812 unsigned char _result
;
4815 PyObject
* _obj0
= 0;
4816 char *_kwnames
[] = { "self", NULL
};
4819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Red",_kwnames
,&_obj0
))
4823 if (! wxColour_helper(_obj0
, &_arg0
))
4827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4828 _result
= (unsigned char )wxColour_Red(_arg0
);
4830 wxPyEndAllowThreads(__tstate
);
4831 if (PyErr_Occurred()) return NULL
;
4832 } _resultobj
= Py_BuildValue("b",_result
);
4836 #define wxColour_Green(_swigobj) (_swigobj->Green())
4837 static PyObject
*_wrap_wxColour_Green(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4838 PyObject
* _resultobj
;
4839 unsigned char _result
;
4842 PyObject
* _obj0
= 0;
4843 char *_kwnames
[] = { "self", NULL
};
4846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Green",_kwnames
,&_obj0
))
4850 if (! wxColour_helper(_obj0
, &_arg0
))
4854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4855 _result
= (unsigned char )wxColour_Green(_arg0
);
4857 wxPyEndAllowThreads(__tstate
);
4858 if (PyErr_Occurred()) return NULL
;
4859 } _resultobj
= Py_BuildValue("b",_result
);
4863 #define wxColour_Blue(_swigobj) (_swigobj->Blue())
4864 static PyObject
*_wrap_wxColour_Blue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4865 PyObject
* _resultobj
;
4866 unsigned char _result
;
4869 PyObject
* _obj0
= 0;
4870 char *_kwnames
[] = { "self", NULL
};
4873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Blue",_kwnames
,&_obj0
))
4877 if (! wxColour_helper(_obj0
, &_arg0
))
4881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4882 _result
= (unsigned char )wxColour_Blue(_arg0
);
4884 wxPyEndAllowThreads(__tstate
);
4885 if (PyErr_Occurred()) return NULL
;
4886 } _resultobj
= Py_BuildValue("b",_result
);
4890 #define wxColour_Ok(_swigobj) (_swigobj->Ok())
4891 static PyObject
*_wrap_wxColour_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4892 PyObject
* _resultobj
;
4896 PyObject
* _obj0
= 0;
4897 char *_kwnames
[] = { "self", NULL
};
4900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Ok",_kwnames
,&_obj0
))
4904 if (! wxColour_helper(_obj0
, &_arg0
))
4908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4909 _result
= (bool )wxColour_Ok(_arg0
);
4911 wxPyEndAllowThreads(__tstate
);
4912 if (PyErr_Occurred()) return NULL
;
4913 } _resultobj
= Py_BuildValue("i",_result
);
4917 #define wxColour_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
4918 static PyObject
*_wrap_wxColour_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4919 PyObject
* _resultobj
;
4921 unsigned char _arg1
;
4922 unsigned char _arg2
;
4923 unsigned char _arg3
;
4925 PyObject
* _obj0
= 0;
4926 char *_kwnames
[] = { "self","red","green","blue", NULL
};
4929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Obbb:wxColour_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_arg3
))
4933 if (! wxColour_helper(_obj0
, &_arg0
))
4937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4938 wxColour_Set(_arg0
,_arg1
,_arg2
,_arg3
);
4940 wxPyEndAllowThreads(__tstate
);
4941 if (PyErr_Occurred()) return NULL
;
4942 } Py_INCREF(Py_None
);
4943 _resultobj
= Py_None
;
4947 static PyObject
* wxColour_Get(wxColour
*self
) {
4948 PyObject
* rv
= PyTuple_New(3);
4949 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
4950 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
4951 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
4954 static PyObject
*_wrap_wxColour_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4955 PyObject
* _resultobj
;
4959 PyObject
* _obj0
= 0;
4960 char *_kwnames
[] = { "self", NULL
};
4963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Get",_kwnames
,&_obj0
))
4967 if (! wxColour_helper(_obj0
, &_arg0
))
4971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4972 _result
= (PyObject
*)wxColour_Get(_arg0
);
4974 wxPyEndAllowThreads(__tstate
);
4975 if (PyErr_Occurred()) return NULL
;
4977 _resultobj
= _result
;
4982 static void *SwigwxColourDatabaseTowxObject(void *ptr
) {
4983 wxColourDatabase
*src
;
4985 src
= (wxColourDatabase
*) ptr
;
4986 dest
= (wxObject
*) src
;
4987 return (void *) dest
;
4990 #define wxColourDatabase_FindColour(_swigobj,_swigarg0) (_swigobj->FindColour(_swigarg0))
4991 static PyObject
*_wrap_wxColourDatabase_FindColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4992 PyObject
* _resultobj
;
4994 wxColourDatabase
* _arg0
;
4996 PyObject
* _argo0
= 0;
4997 PyObject
* _obj1
= 0;
4998 char *_kwnames
[] = { "self","colour", NULL
};
5002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxColourDatabase_FindColour",_kwnames
,&_argo0
,&_obj1
))
5005 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5006 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDatabase_p")) {
5007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDatabase_FindColour. Expected _wxColourDatabase_p.");
5012 #if PYTHON_API_VERSION >= 1009
5013 char* tmpPtr
; int tmpSize
;
5014 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5015 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5018 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5020 _arg1
= new wxString(tmpPtr
, tmpSize
);
5022 if (!PyString_Check(_obj1
)) {
5023 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5026 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5031 _result
= (wxColour
*)wxColourDatabase_FindColour(_arg0
,*_arg1
);
5033 wxPyEndAllowThreads(__tstate
);
5034 if (PyErr_Occurred()) return NULL
;
5036 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
5037 _resultobj
= Py_BuildValue("s",_ptemp
);
5040 _resultobj
= Py_None
;
5049 #define wxColourDatabase_FindName(_swigobj,_swigarg0) (_swigobj->FindName(_swigarg0))
5050 static PyObject
*_wrap_wxColourDatabase_FindName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5051 PyObject
* _resultobj
;
5053 wxColourDatabase
* _arg0
;
5055 PyObject
* _argo0
= 0;
5057 PyObject
* _obj1
= 0;
5058 char *_kwnames
[] = { "self","colour", NULL
};
5061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxColourDatabase_FindName",_kwnames
,&_argo0
,&_obj1
))
5064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDatabase_p")) {
5066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDatabase_FindName. Expected _wxColourDatabase_p.");
5072 if (! wxColour_helper(_obj1
, &_arg1
))
5076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5077 _result
= new wxString (wxColourDatabase_FindName(_arg0
,*_arg1
));
5079 wxPyEndAllowThreads(__tstate
);
5080 if (PyErr_Occurred()) return NULL
;
5082 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5090 static void wxColourDatabase_Append(wxColourDatabase
*self
,const wxString
& name
,int red
,int green
,int blue
) {
5091 self
->Append(name
.c_str(), new wxColour(red
, green
, blue
));
5093 static PyObject
*_wrap_wxColourDatabase_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5094 PyObject
* _resultobj
;
5095 wxColourDatabase
* _arg0
;
5100 PyObject
* _argo0
= 0;
5101 PyObject
* _obj1
= 0;
5102 char *_kwnames
[] = { "self","name","red","green","blue", NULL
};
5105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiii:wxColourDatabase_Append",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_arg4
))
5108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDatabase_p")) {
5110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDatabase_Append. Expected _wxColourDatabase_p.");
5115 #if PYTHON_API_VERSION >= 1009
5116 char* tmpPtr
; int tmpSize
;
5117 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5118 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5121 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5123 _arg1
= new wxString(tmpPtr
, tmpSize
);
5125 if (!PyString_Check(_obj1
)) {
5126 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5129 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5134 wxColourDatabase_Append(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
5136 wxPyEndAllowThreads(__tstate
);
5137 if (PyErr_Occurred()) return NULL
;
5138 } Py_INCREF(Py_None
);
5139 _resultobj
= Py_None
;
5147 static void *SwigwxPenTowxGDIObject(void *ptr
) {
5150 src
= (wxPen
*) ptr
;
5151 dest
= (wxGDIObject
*) src
;
5152 return (void *) dest
;
5155 static void *SwigwxPenTowxObject(void *ptr
) {
5158 src
= (wxPen
*) ptr
;
5159 dest
= (wxObject
*) src
;
5160 return (void *) dest
;
5163 #define new_wxPen(_swigarg0,_swigarg1,_swigarg2) (new wxPen(_swigarg0,_swigarg1,_swigarg2))
5164 static PyObject
*_wrap_new_wxPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5165 PyObject
* _resultobj
;
5168 int _arg1
= (int ) 1;
5169 int _arg2
= (int ) wxSOLID
;
5171 PyObject
* _obj0
= 0;
5172 char *_kwnames
[] = { "colour","width","style", NULL
};
5176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:new_wxPen",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
5180 if (! wxColour_helper(_obj0
, &_arg0
))
5184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5185 _result
= (wxPen
*)new_wxPen(*_arg0
,_arg1
,_arg2
);
5187 wxPyEndAllowThreads(__tstate
);
5188 if (PyErr_Occurred()) return NULL
;
5190 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
5191 _resultobj
= Py_BuildValue("s",_ptemp
);
5194 _resultobj
= Py_None
;
5199 #define delete_wxPen(_swigobj) (delete _swigobj)
5200 static PyObject
*_wrap_delete_wxPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5201 PyObject
* _resultobj
;
5203 PyObject
* _argo0
= 0;
5204 char *_kwnames
[] = { "self", NULL
};
5207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPen",_kwnames
,&_argo0
))
5210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPen. Expected _wxPen_p.");
5217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5218 delete_wxPen(_arg0
);
5220 wxPyEndAllowThreads(__tstate
);
5221 if (PyErr_Occurred()) return NULL
;
5222 } Py_INCREF(Py_None
);
5223 _resultobj
= Py_None
;
5227 #define wxPen_GetCap(_swigobj) (_swigobj->GetCap())
5228 static PyObject
*_wrap_wxPen_GetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5229 PyObject
* _resultobj
;
5232 PyObject
* _argo0
= 0;
5233 char *_kwnames
[] = { "self", NULL
};
5236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetCap",_kwnames
,&_argo0
))
5239 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5240 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetCap. Expected _wxPen_p.");
5246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5247 _result
= (int )wxPen_GetCap(_arg0
);
5249 wxPyEndAllowThreads(__tstate
);
5250 if (PyErr_Occurred()) return NULL
;
5251 } _resultobj
= Py_BuildValue("i",_result
);
5255 #define wxPen_GetColour(_swigobj) (_swigobj->GetColour())
5256 static PyObject
*_wrap_wxPen_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5257 PyObject
* _resultobj
;
5260 PyObject
* _argo0
= 0;
5261 char *_kwnames
[] = { "self", NULL
};
5265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetColour",_kwnames
,&_argo0
))
5268 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5269 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetColour. Expected _wxPen_p.");
5275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5276 _result
= new wxColour (wxPen_GetColour(_arg0
));
5278 wxPyEndAllowThreads(__tstate
);
5279 if (PyErr_Occurred()) return NULL
;
5280 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
5281 _resultobj
= Py_BuildValue("s",_ptemp
);
5285 #define wxPen_GetJoin(_swigobj) (_swigobj->GetJoin())
5286 static PyObject
*_wrap_wxPen_GetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5287 PyObject
* _resultobj
;
5290 PyObject
* _argo0
= 0;
5291 char *_kwnames
[] = { "self", NULL
};
5294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetJoin",_kwnames
,&_argo0
))
5297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetJoin. Expected _wxPen_p.");
5304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5305 _result
= (int )wxPen_GetJoin(_arg0
);
5307 wxPyEndAllowThreads(__tstate
);
5308 if (PyErr_Occurred()) return NULL
;
5309 } _resultobj
= Py_BuildValue("i",_result
);
5313 #define wxPen_GetStyle(_swigobj) (_swigobj->GetStyle())
5314 static PyObject
*_wrap_wxPen_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5315 PyObject
* _resultobj
;
5318 PyObject
* _argo0
= 0;
5319 char *_kwnames
[] = { "self", NULL
};
5322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetStyle",_kwnames
,&_argo0
))
5325 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5326 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetStyle. Expected _wxPen_p.");
5332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5333 _result
= (int )wxPen_GetStyle(_arg0
);
5335 wxPyEndAllowThreads(__tstate
);
5336 if (PyErr_Occurred()) return NULL
;
5337 } _resultobj
= Py_BuildValue("i",_result
);
5341 #define wxPen_GetWidth(_swigobj) (_swigobj->GetWidth())
5342 static PyObject
*_wrap_wxPen_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5343 PyObject
* _resultobj
;
5346 PyObject
* _argo0
= 0;
5347 char *_kwnames
[] = { "self", NULL
};
5350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetWidth",_kwnames
,&_argo0
))
5353 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5354 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetWidth. Expected _wxPen_p.");
5360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5361 _result
= (int )wxPen_GetWidth(_arg0
);
5363 wxPyEndAllowThreads(__tstate
);
5364 if (PyErr_Occurred()) return NULL
;
5365 } _resultobj
= Py_BuildValue("i",_result
);
5369 #define wxPen_Ok(_swigobj) (_swigobj->Ok())
5370 static PyObject
*_wrap_wxPen_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5371 PyObject
* _resultobj
;
5374 PyObject
* _argo0
= 0;
5375 char *_kwnames
[] = { "self", NULL
};
5378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_Ok",_kwnames
,&_argo0
))
5381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_Ok. Expected _wxPen_p.");
5388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5389 _result
= (bool )wxPen_Ok(_arg0
);
5391 wxPyEndAllowThreads(__tstate
);
5392 if (PyErr_Occurred()) return NULL
;
5393 } _resultobj
= Py_BuildValue("i",_result
);
5397 #define wxPen_SetCap(_swigobj,_swigarg0) (_swigobj->SetCap(_swigarg0))
5398 static PyObject
*_wrap_wxPen_SetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5399 PyObject
* _resultobj
;
5402 PyObject
* _argo0
= 0;
5403 char *_kwnames
[] = { "self","cap_style", NULL
};
5406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetCap",_kwnames
,&_argo0
,&_arg1
))
5409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetCap. Expected _wxPen_p.");
5416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5417 wxPen_SetCap(_arg0
,_arg1
);
5419 wxPyEndAllowThreads(__tstate
);
5420 if (PyErr_Occurred()) return NULL
;
5421 } Py_INCREF(Py_None
);
5422 _resultobj
= Py_None
;
5426 #define wxPen_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
5427 static PyObject
*_wrap_wxPen_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5428 PyObject
* _resultobj
;
5431 PyObject
* _argo0
= 0;
5433 PyObject
* _obj1
= 0;
5434 char *_kwnames
[] = { "self","colour", NULL
};
5437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_SetColour",_kwnames
,&_argo0
,&_obj1
))
5440 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5441 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetColour. Expected _wxPen_p.");
5448 if (! wxColour_helper(_obj1
, &_arg1
))
5452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5453 wxPen_SetColour(_arg0
,*_arg1
);
5455 wxPyEndAllowThreads(__tstate
);
5456 if (PyErr_Occurred()) return NULL
;
5457 } Py_INCREF(Py_None
);
5458 _resultobj
= Py_None
;
5462 #define wxPen_SetJoin(_swigobj,_swigarg0) (_swigobj->SetJoin(_swigarg0))
5463 static PyObject
*_wrap_wxPen_SetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5464 PyObject
* _resultobj
;
5467 PyObject
* _argo0
= 0;
5468 char *_kwnames
[] = { "self","join_style", NULL
};
5471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetJoin",_kwnames
,&_argo0
,&_arg1
))
5474 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5475 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetJoin. Expected _wxPen_p.");
5481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5482 wxPen_SetJoin(_arg0
,_arg1
);
5484 wxPyEndAllowThreads(__tstate
);
5485 if (PyErr_Occurred()) return NULL
;
5486 } Py_INCREF(Py_None
);
5487 _resultobj
= Py_None
;
5491 #define wxPen_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
5492 static PyObject
*_wrap_wxPen_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5493 PyObject
* _resultobj
;
5496 PyObject
* _argo0
= 0;
5497 char *_kwnames
[] = { "self","style", NULL
};
5500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetStyle",_kwnames
,&_argo0
,&_arg1
))
5503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetStyle. Expected _wxPen_p.");
5510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5511 wxPen_SetStyle(_arg0
,_arg1
);
5513 wxPyEndAllowThreads(__tstate
);
5514 if (PyErr_Occurred()) return NULL
;
5515 } Py_INCREF(Py_None
);
5516 _resultobj
= Py_None
;
5520 #define wxPen_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
5521 static PyObject
*_wrap_wxPen_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5522 PyObject
* _resultobj
;
5525 PyObject
* _argo0
= 0;
5526 char *_kwnames
[] = { "self","width", NULL
};
5529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetWidth",_kwnames
,&_argo0
,&_arg1
))
5532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetWidth. Expected _wxPen_p.");
5539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5540 wxPen_SetWidth(_arg0
,_arg1
);
5542 wxPyEndAllowThreads(__tstate
);
5543 if (PyErr_Occurred()) return NULL
;
5544 } Py_INCREF(Py_None
);
5545 _resultobj
= Py_None
;
5549 #define wxPen_SetDashes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDashes(_swigarg0,_swigarg1))
5550 static PyObject
*_wrap_wxPen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5551 PyObject
* _resultobj
;
5555 PyObject
* _argo0
= 0;
5556 PyObject
* _obj2
= 0;
5557 char *_kwnames
[] = { "self","choices", NULL
};
5560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_SetDashes",_kwnames
,&_argo0
,&_obj2
))
5563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetDashes. Expected _wxPen_p.");
5571 _arg2
= (wxDash
*)byte_LIST_helper(_obj2
);
5572 if (_arg2
== NULL
) {
5578 _arg1
= PyList_Size(_obj2
);
5585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5586 wxPen_SetDashes(_arg0
,_arg1
,_arg2
);
5588 wxPyEndAllowThreads(__tstate
);
5589 if (PyErr_Occurred()) return NULL
;
5590 } Py_INCREF(Py_None
);
5591 _resultobj
= Py_None
;
5598 static void *SwigwxPyPenTowxPen(void *ptr
) {
5601 src
= (wxPyPen
*) ptr
;
5602 dest
= (wxPen
*) src
;
5603 return (void *) dest
;
5606 static void *SwigwxPyPenTowxGDIObject(void *ptr
) {
5609 src
= (wxPyPen
*) ptr
;
5610 dest
= (wxGDIObject
*) src
;
5611 return (void *) dest
;
5614 static void *SwigwxPyPenTowxObject(void *ptr
) {
5617 src
= (wxPyPen
*) ptr
;
5618 dest
= (wxObject
*) src
;
5619 return (void *) dest
;
5622 #define new_wxPyPen(_swigarg0,_swigarg1,_swigarg2) (new wxPyPen(_swigarg0,_swigarg1,_swigarg2))
5623 static PyObject
*_wrap_new_wxPyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5624 PyObject
* _resultobj
;
5627 int _arg1
= (int ) 1;
5628 int _arg2
= (int ) wxSOLID
;
5630 PyObject
* _obj0
= 0;
5631 char *_kwnames
[] = { "colour","width","style", NULL
};
5635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:new_wxPyPen",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
5639 if (! wxColour_helper(_obj0
, &_arg0
))
5643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5644 _result
= (wxPyPen
*)new_wxPyPen(*_arg0
,_arg1
,_arg2
);
5646 wxPyEndAllowThreads(__tstate
);
5647 if (PyErr_Occurred()) return NULL
;
5649 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPen_p");
5650 _resultobj
= Py_BuildValue("s",_ptemp
);
5653 _resultobj
= Py_None
;
5658 #define delete_wxPyPen(_swigobj) (delete _swigobj)
5659 static PyObject
*_wrap_delete_wxPyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5660 PyObject
* _resultobj
;
5662 PyObject
* _argo0
= 0;
5663 char *_kwnames
[] = { "self", NULL
};
5666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyPen",_kwnames
,&_argo0
))
5669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPen_p")) {
5671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyPen. Expected _wxPyPen_p.");
5676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5677 delete_wxPyPen(_arg0
);
5679 wxPyEndAllowThreads(__tstate
);
5680 if (PyErr_Occurred()) return NULL
;
5681 } Py_INCREF(Py_None
);
5682 _resultobj
= Py_None
;
5686 #define wxPyPen_SetDashes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDashes(_swigarg0,_swigarg1))
5687 static PyObject
*_wrap_wxPyPen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5688 PyObject
* _resultobj
;
5692 PyObject
* _argo0
= 0;
5693 PyObject
* _obj2
= 0;
5694 char *_kwnames
[] = { "self","choices", NULL
};
5697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyPen_SetDashes",_kwnames
,&_argo0
,&_obj2
))
5700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPen_p")) {
5702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPen_SetDashes. Expected _wxPyPen_p.");
5708 _arg2
= (wxDash
*)byte_LIST_helper(_obj2
);
5709 if (_arg2
== NULL
) {
5715 _arg1
= PyList_Size(_obj2
);
5722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5723 wxPyPen_SetDashes(_arg0
,_arg1
,_arg2
);
5725 wxPyEndAllowThreads(__tstate
);
5726 if (PyErr_Occurred()) return NULL
;
5727 } Py_INCREF(Py_None
);
5728 _resultobj
= Py_None
;
5735 static void *SwigwxPenListTowxObject(void *ptr
) {
5738 src
= (wxPenList
*) ptr
;
5739 dest
= (wxObject
*) src
;
5740 return (void *) dest
;
5743 #define wxPenList_AddPen(_swigobj,_swigarg0) (_swigobj->AddPen(_swigarg0))
5744 static PyObject
*_wrap_wxPenList_AddPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5745 PyObject
* _resultobj
;
5748 PyObject
* _argo0
= 0;
5749 PyObject
* _argo1
= 0;
5750 char *_kwnames
[] = { "self","pen", NULL
};
5753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPenList_AddPen",_kwnames
,&_argo0
,&_argo1
))
5756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
5758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_AddPen. Expected _wxPenList_p.");
5763 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5764 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
5765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPenList_AddPen. Expected _wxPen_p.");
5770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5771 wxPenList_AddPen(_arg0
,_arg1
);
5773 wxPyEndAllowThreads(__tstate
);
5774 if (PyErr_Occurred()) return NULL
;
5775 } Py_INCREF(Py_None
);
5776 _resultobj
= Py_None
;
5780 #define wxPenList_FindOrCreatePen(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindOrCreatePen(_swigarg0,_swigarg1,_swigarg2))
5781 static PyObject
*_wrap_wxPenList_FindOrCreatePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5782 PyObject
* _resultobj
;
5788 PyObject
* _argo0
= 0;
5790 PyObject
* _obj1
= 0;
5791 char *_kwnames
[] = { "self","colour","width","style", NULL
};
5795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxPenList_FindOrCreatePen",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
))
5798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
5800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_FindOrCreatePen. Expected _wxPenList_p.");
5806 if (! wxColour_helper(_obj1
, &_arg1
))
5810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5811 _result
= (wxPen
*)wxPenList_FindOrCreatePen(_arg0
,*_arg1
,_arg2
,_arg3
);
5813 wxPyEndAllowThreads(__tstate
);
5814 if (PyErr_Occurred()) return NULL
;
5816 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
5817 _resultobj
= Py_BuildValue("s",_ptemp
);
5820 _resultobj
= Py_None
;
5825 #define wxPenList_RemovePen(_swigobj,_swigarg0) (_swigobj->RemovePen(_swigarg0))
5826 static PyObject
*_wrap_wxPenList_RemovePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5827 PyObject
* _resultobj
;
5830 PyObject
* _argo0
= 0;
5831 PyObject
* _argo1
= 0;
5832 char *_kwnames
[] = { "self","pen", NULL
};
5835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPenList_RemovePen",_kwnames
,&_argo0
,&_argo1
))
5838 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5839 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
5840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_RemovePen. Expected _wxPenList_p.");
5845 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5846 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
5847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPenList_RemovePen. Expected _wxPen_p.");
5852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5853 wxPenList_RemovePen(_arg0
,_arg1
);
5855 wxPyEndAllowThreads(__tstate
);
5856 if (PyErr_Occurred()) return NULL
;
5857 } Py_INCREF(Py_None
);
5858 _resultobj
= Py_None
;
5862 #define wxPenList_GetCount(_swigobj) (_swigobj->GetCount())
5863 static PyObject
*_wrap_wxPenList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5864 PyObject
* _resultobj
;
5867 PyObject
* _argo0
= 0;
5868 char *_kwnames
[] = { "self", NULL
};
5871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPenList_GetCount",_kwnames
,&_argo0
))
5874 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5875 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
5876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_GetCount. Expected _wxPenList_p.");
5881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5882 _result
= (int )wxPenList_GetCount(_arg0
);
5884 wxPyEndAllowThreads(__tstate
);
5885 if (PyErr_Occurred()) return NULL
;
5886 } _resultobj
= Py_BuildValue("i",_result
);
5890 static void *SwigwxBrushTowxGDIObject(void *ptr
) {
5893 src
= (wxBrush
*) ptr
;
5894 dest
= (wxGDIObject
*) src
;
5895 return (void *) dest
;
5898 static void *SwigwxBrushTowxObject(void *ptr
) {
5901 src
= (wxBrush
*) ptr
;
5902 dest
= (wxObject
*) src
;
5903 return (void *) dest
;
5906 #define new_wxBrush(_swigarg0,_swigarg1) (new wxBrush(_swigarg0,_swigarg1))
5907 static PyObject
*_wrap_new_wxBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5908 PyObject
* _resultobj
;
5911 int _arg1
= (int ) wxSOLID
;
5913 PyObject
* _obj0
= 0;
5914 char *_kwnames
[] = { "colour","style", NULL
};
5918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxBrush",_kwnames
,&_obj0
,&_arg1
))
5922 if (! wxColour_helper(_obj0
, &_arg0
))
5926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5927 _result
= (wxBrush
*)new_wxBrush(*_arg0
,_arg1
);
5929 wxPyEndAllowThreads(__tstate
);
5930 if (PyErr_Occurred()) return NULL
;
5932 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
5933 _resultobj
= Py_BuildValue("s",_ptemp
);
5936 _resultobj
= Py_None
;
5941 #define delete_wxBrush(_swigobj) (delete _swigobj)
5942 static PyObject
*_wrap_delete_wxBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5943 PyObject
* _resultobj
;
5945 PyObject
* _argo0
= 0;
5946 char *_kwnames
[] = { "self", NULL
};
5949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBrush",_kwnames
,&_argo0
))
5952 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5953 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
5954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBrush. Expected _wxBrush_p.");
5959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5960 delete_wxBrush(_arg0
);
5962 wxPyEndAllowThreads(__tstate
);
5963 if (PyErr_Occurred()) return NULL
;
5964 } Py_INCREF(Py_None
);
5965 _resultobj
= Py_None
;
5969 #define wxBrush_GetColour(_swigobj) (_swigobj->GetColour())
5970 static PyObject
*_wrap_wxBrush_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5971 PyObject
* _resultobj
;
5974 PyObject
* _argo0
= 0;
5975 char *_kwnames
[] = { "self", NULL
};
5979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetColour",_kwnames
,&_argo0
))
5982 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5983 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
5984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetColour. Expected _wxBrush_p.");
5989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5990 _result
= new wxColour (wxBrush_GetColour(_arg0
));
5992 wxPyEndAllowThreads(__tstate
);
5993 if (PyErr_Occurred()) return NULL
;
5994 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
5995 _resultobj
= Py_BuildValue("s",_ptemp
);
5999 #define wxBrush_GetStipple(_swigobj) (_swigobj->GetStipple())
6000 static PyObject
*_wrap_wxBrush_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6001 PyObject
* _resultobj
;
6004 PyObject
* _argo0
= 0;
6005 char *_kwnames
[] = { "self", NULL
};
6009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetStipple",_kwnames
,&_argo0
))
6012 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6013 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
6014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStipple. Expected _wxBrush_p.");
6019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6020 _result
= (wxBitmap
*)wxBrush_GetStipple(_arg0
);
6022 wxPyEndAllowThreads(__tstate
);
6023 if (PyErr_Occurred()) return NULL
;
6025 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
6026 _resultobj
= Py_BuildValue("s",_ptemp
);
6029 _resultobj
= Py_None
;
6034 #define wxBrush_GetStyle(_swigobj) (_swigobj->GetStyle())
6035 static PyObject
*_wrap_wxBrush_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6036 PyObject
* _resultobj
;
6039 PyObject
* _argo0
= 0;
6040 char *_kwnames
[] = { "self", NULL
};
6043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetStyle",_kwnames
,&_argo0
))
6046 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6047 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
6048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStyle. Expected _wxBrush_p.");
6053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6054 _result
= (int )wxBrush_GetStyle(_arg0
);
6056 wxPyEndAllowThreads(__tstate
);
6057 if (PyErr_Occurred()) return NULL
;
6058 } _resultobj
= Py_BuildValue("i",_result
);
6062 #define wxBrush_Ok(_swigobj) (_swigobj->Ok())
6063 static PyObject
*_wrap_wxBrush_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6064 PyObject
* _resultobj
;
6067 PyObject
* _argo0
= 0;
6068 char *_kwnames
[] = { "self", NULL
};
6071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_Ok",_kwnames
,&_argo0
))
6074 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6075 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
6076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_Ok. Expected _wxBrush_p.");
6081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6082 _result
= (bool )wxBrush_Ok(_arg0
);
6084 wxPyEndAllowThreads(__tstate
);
6085 if (PyErr_Occurred()) return NULL
;
6086 } _resultobj
= Py_BuildValue("i",_result
);
6090 #define wxBrush_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
6091 static PyObject
*_wrap_wxBrush_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6092 PyObject
* _resultobj
;
6095 PyObject
* _argo0
= 0;
6097 PyObject
* _obj1
= 0;
6098 char *_kwnames
[] = { "self","colour", NULL
};
6101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrush_SetColour",_kwnames
,&_argo0
,&_obj1
))
6104 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6105 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
6106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetColour. Expected _wxBrush_p.");
6112 if (! wxColour_helper(_obj1
, &_arg1
))
6116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6117 wxBrush_SetColour(_arg0
,*_arg1
);
6119 wxPyEndAllowThreads(__tstate
);
6120 if (PyErr_Occurred()) return NULL
;
6121 } Py_INCREF(Py_None
);
6122 _resultobj
= Py_None
;
6126 #define wxBrush_SetStipple(_swigobj,_swigarg0) (_swigobj->SetStipple(_swigarg0))
6127 static PyObject
*_wrap_wxBrush_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6128 PyObject
* _resultobj
;
6131 PyObject
* _argo0
= 0;
6132 PyObject
* _argo1
= 0;
6133 char *_kwnames
[] = { "self","bitmap", NULL
};
6136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrush_SetStipple",_kwnames
,&_argo0
,&_argo1
))
6139 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6140 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
6141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStipple. Expected _wxBrush_p.");
6146 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6147 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
6148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrush_SetStipple. Expected _wxBitmap_p.");
6153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6154 wxBrush_SetStipple(_arg0
,*_arg1
);
6156 wxPyEndAllowThreads(__tstate
);
6157 if (PyErr_Occurred()) return NULL
;
6158 } Py_INCREF(Py_None
);
6159 _resultobj
= Py_None
;
6163 #define wxBrush_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
6164 static PyObject
*_wrap_wxBrush_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6165 PyObject
* _resultobj
;
6168 PyObject
* _argo0
= 0;
6169 char *_kwnames
[] = { "self","style", NULL
};
6172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBrush_SetStyle",_kwnames
,&_argo0
,&_arg1
))
6175 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6176 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
6177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStyle. Expected _wxBrush_p.");
6182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6183 wxBrush_SetStyle(_arg0
,_arg1
);
6185 wxPyEndAllowThreads(__tstate
);
6186 if (PyErr_Occurred()) return NULL
;
6187 } Py_INCREF(Py_None
);
6188 _resultobj
= Py_None
;
6192 static void *SwigwxBrushListTowxObject(void *ptr
) {
6195 src
= (wxBrushList
*) ptr
;
6196 dest
= (wxObject
*) src
;
6197 return (void *) dest
;
6200 #define wxBrushList_AddBrush(_swigobj,_swigarg0) (_swigobj->AddBrush(_swigarg0))
6201 static PyObject
*_wrap_wxBrushList_AddBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6202 PyObject
* _resultobj
;
6203 wxBrushList
* _arg0
;
6205 PyObject
* _argo0
= 0;
6206 PyObject
* _argo1
= 0;
6207 char *_kwnames
[] = { "self","brush", NULL
};
6210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrushList_AddBrush",_kwnames
,&_argo0
,&_argo1
))
6213 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6214 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
6215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_AddBrush. Expected _wxBrushList_p.");
6220 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6221 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
6222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrushList_AddBrush. Expected _wxBrush_p.");
6227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6228 wxBrushList_AddBrush(_arg0
,_arg1
);
6230 wxPyEndAllowThreads(__tstate
);
6231 if (PyErr_Occurred()) return NULL
;
6232 } Py_INCREF(Py_None
);
6233 _resultobj
= Py_None
;
6237 #define wxBrushList_FindOrCreateBrush(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindOrCreateBrush(_swigarg0,_swigarg1))
6238 static PyObject
*_wrap_wxBrushList_FindOrCreateBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6239 PyObject
* _resultobj
;
6241 wxBrushList
* _arg0
;
6244 PyObject
* _argo0
= 0;
6246 PyObject
* _obj1
= 0;
6247 char *_kwnames
[] = { "self","colour","style", NULL
};
6251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxBrushList_FindOrCreateBrush",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
6254 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6255 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
6256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_FindOrCreateBrush. Expected _wxBrushList_p.");
6262 if (! wxColour_helper(_obj1
, &_arg1
))
6266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6267 _result
= (wxBrush
*)wxBrushList_FindOrCreateBrush(_arg0
,*_arg1
,_arg2
);
6269 wxPyEndAllowThreads(__tstate
);
6270 if (PyErr_Occurred()) return NULL
;
6272 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
6273 _resultobj
= Py_BuildValue("s",_ptemp
);
6276 _resultobj
= Py_None
;
6281 #define wxBrushList_RemoveBrush(_swigobj,_swigarg0) (_swigobj->RemoveBrush(_swigarg0))
6282 static PyObject
*_wrap_wxBrushList_RemoveBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6283 PyObject
* _resultobj
;
6284 wxBrushList
* _arg0
;
6286 PyObject
* _argo0
= 0;
6287 PyObject
* _argo1
= 0;
6288 char *_kwnames
[] = { "self","brush", NULL
};
6291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrushList_RemoveBrush",_kwnames
,&_argo0
,&_argo1
))
6294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
6296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_RemoveBrush. Expected _wxBrushList_p.");
6301 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6302 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
6303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrushList_RemoveBrush. Expected _wxBrush_p.");
6308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6309 wxBrushList_RemoveBrush(_arg0
,_arg1
);
6311 wxPyEndAllowThreads(__tstate
);
6312 if (PyErr_Occurred()) return NULL
;
6313 } Py_INCREF(Py_None
);
6314 _resultobj
= Py_None
;
6318 #define wxBrushList_GetCount(_swigobj) (_swigobj->GetCount())
6319 static PyObject
*_wrap_wxBrushList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6320 PyObject
* _resultobj
;
6322 wxBrushList
* _arg0
;
6323 PyObject
* _argo0
= 0;
6324 char *_kwnames
[] = { "self", NULL
};
6327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrushList_GetCount",_kwnames
,&_argo0
))
6330 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6331 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
6332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_GetCount. Expected _wxBrushList_p.");
6337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6338 _result
= (int )wxBrushList_GetCount(_arg0
);
6340 wxPyEndAllowThreads(__tstate
);
6341 if (PyErr_Occurred()) return NULL
;
6342 } _resultobj
= Py_BuildValue("i",_result
);
6346 static void *SwigwxDCTowxObject(void *ptr
) {
6350 dest
= (wxObject
*) src
;
6351 return (void *) dest
;
6354 #define delete_wxDC(_swigobj) (delete _swigobj)
6355 static PyObject
*_wrap_delete_wxDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6356 PyObject
* _resultobj
;
6358 PyObject
* _argo0
= 0;
6359 char *_kwnames
[] = { "self", NULL
};
6362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDC",_kwnames
,&_argo0
))
6365 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6366 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDC. Expected _wxDC_p.");
6372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6375 wxPyEndAllowThreads(__tstate
);
6376 if (PyErr_Occurred()) return NULL
;
6377 } Py_INCREF(Py_None
);
6378 _resultobj
= Py_None
;
6382 #define wxDC_BeginDrawing(_swigobj) (_swigobj->BeginDrawing())
6383 static PyObject
*_wrap_wxDC_BeginDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6384 PyObject
* _resultobj
;
6386 PyObject
* _argo0
= 0;
6387 char *_kwnames
[] = { "self", NULL
};
6390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_BeginDrawing",_kwnames
,&_argo0
))
6393 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6394 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_BeginDrawing. Expected _wxDC_p.");
6400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6401 wxDC_BeginDrawing(_arg0
);
6403 wxPyEndAllowThreads(__tstate
);
6404 if (PyErr_Occurred()) return NULL
;
6405 } Py_INCREF(Py_None
);
6406 _resultobj
= Py_None
;
6410 #define wxDC_Blit(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Blit(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
6411 static PyObject
*_wrap_wxDC_Blit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6412 PyObject
* _resultobj
;
6422 int _arg8
= (int ) wxCOPY
;
6423 int _arg9
= (int ) FALSE
;
6424 PyObject
* _argo0
= 0;
6425 PyObject
* _argo5
= 0;
6426 char *_kwnames
[] = { "self","xdest","ydest","width","height","source","xsrc","ysrc","logicalFunc","useMask", NULL
};
6429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllllOll|ii:wxDC_Blit",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_argo5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
))
6432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Blit. Expected _wxDC_p.");
6439 if (_argo5
== Py_None
) { _arg5
= NULL
; }
6440 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxDC_p")) {
6441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxDC_Blit. Expected _wxDC_p.");
6446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6447 _result
= (bool )wxDC_Blit(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
6449 wxPyEndAllowThreads(__tstate
);
6450 if (PyErr_Occurred()) return NULL
;
6451 } _resultobj
= Py_BuildValue("i",_result
);
6455 #define wxDC_Clear(_swigobj) (_swigobj->Clear())
6456 static PyObject
*_wrap_wxDC_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6457 PyObject
* _resultobj
;
6459 PyObject
* _argo0
= 0;
6460 char *_kwnames
[] = { "self", NULL
};
6463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_Clear",_kwnames
,&_argo0
))
6466 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6467 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Clear. Expected _wxDC_p.");
6473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6476 wxPyEndAllowThreads(__tstate
);
6477 if (PyErr_Occurred()) return NULL
;
6478 } Py_INCREF(Py_None
);
6479 _resultobj
= Py_None
;
6483 #define wxDC_CrossHair(_swigobj,_swigarg0,_swigarg1) (_swigobj->CrossHair(_swigarg0,_swigarg1))
6484 static PyObject
*_wrap_wxDC_CrossHair(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6485 PyObject
* _resultobj
;
6489 PyObject
* _argo0
= 0;
6490 char *_kwnames
[] = { "self","x","y", NULL
};
6493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_CrossHair",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CrossHair. Expected _wxDC_p.");
6503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6504 wxDC_CrossHair(_arg0
,_arg1
,_arg2
);
6506 wxPyEndAllowThreads(__tstate
);
6507 if (PyErr_Occurred()) return NULL
;
6508 } Py_INCREF(Py_None
);
6509 _resultobj
= Py_None
;
6513 #define wxDC_DestroyClippingRegion(_swigobj) (_swigobj->DestroyClippingRegion())
6514 static PyObject
*_wrap_wxDC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6515 PyObject
* _resultobj
;
6517 PyObject
* _argo0
= 0;
6518 char *_kwnames
[] = { "self", NULL
};
6521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_DestroyClippingRegion",_kwnames
,&_argo0
))
6524 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6525 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DestroyClippingRegion. Expected _wxDC_p.");
6531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6532 wxDC_DestroyClippingRegion(_arg0
);
6534 wxPyEndAllowThreads(__tstate
);
6535 if (PyErr_Occurred()) return NULL
;
6536 } Py_INCREF(Py_None
);
6537 _resultobj
= Py_None
;
6541 #define wxDC_DeviceToLogicalX(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalX(_swigarg0))
6542 static PyObject
*_wrap_wxDC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6543 PyObject
* _resultobj
;
6547 PyObject
* _argo0
= 0;
6548 char *_kwnames
[] = { "self","x", NULL
};
6551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalX",_kwnames
,&_argo0
,&_arg1
))
6554 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6555 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalX. Expected _wxDC_p.");
6561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6562 _result
= (long )wxDC_DeviceToLogicalX(_arg0
,_arg1
);
6564 wxPyEndAllowThreads(__tstate
);
6565 if (PyErr_Occurred()) return NULL
;
6566 } _resultobj
= Py_BuildValue("l",_result
);
6570 #define wxDC_DeviceToLogicalXRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalXRel(_swigarg0))
6571 static PyObject
*_wrap_wxDC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6572 PyObject
* _resultobj
;
6576 PyObject
* _argo0
= 0;
6577 char *_kwnames
[] = { "self","x", NULL
};
6580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalXRel",_kwnames
,&_argo0
,&_arg1
))
6583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalXRel. Expected _wxDC_p.");
6590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6591 _result
= (long )wxDC_DeviceToLogicalXRel(_arg0
,_arg1
);
6593 wxPyEndAllowThreads(__tstate
);
6594 if (PyErr_Occurred()) return NULL
;
6595 } _resultobj
= Py_BuildValue("l",_result
);
6599 #define wxDC_DeviceToLogicalY(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalY(_swigarg0))
6600 static PyObject
*_wrap_wxDC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6601 PyObject
* _resultobj
;
6605 PyObject
* _argo0
= 0;
6606 char *_kwnames
[] = { "self","y", NULL
};
6609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalY",_kwnames
,&_argo0
,&_arg1
))
6612 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6613 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalY. Expected _wxDC_p.");
6619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6620 _result
= (long )wxDC_DeviceToLogicalY(_arg0
,_arg1
);
6622 wxPyEndAllowThreads(__tstate
);
6623 if (PyErr_Occurred()) return NULL
;
6624 } _resultobj
= Py_BuildValue("l",_result
);
6628 #define wxDC_DeviceToLogicalYRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalYRel(_swigarg0))
6629 static PyObject
*_wrap_wxDC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6630 PyObject
* _resultobj
;
6634 PyObject
* _argo0
= 0;
6635 char *_kwnames
[] = { "self","y", NULL
};
6638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalYRel",_kwnames
,&_argo0
,&_arg1
))
6641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalYRel. Expected _wxDC_p.");
6648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6649 _result
= (long )wxDC_DeviceToLogicalYRel(_arg0
,_arg1
);
6651 wxPyEndAllowThreads(__tstate
);
6652 if (PyErr_Occurred()) return NULL
;
6653 } _resultobj
= Py_BuildValue("l",_result
);
6657 #define wxDC_DrawArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6658 static PyObject
*_wrap_wxDC_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6659 PyObject
* _resultobj
;
6667 PyObject
* _argo0
= 0;
6668 char *_kwnames
[] = { "self","x1","y1","x2","y2","xc","yc", NULL
};
6671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollllll:wxDC_DrawArc",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
6674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawArc. Expected _wxDC_p.");
6681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6682 wxDC_DrawArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
6684 wxPyEndAllowThreads(__tstate
);
6685 if (PyErr_Occurred()) return NULL
;
6686 } Py_INCREF(Py_None
);
6687 _resultobj
= Py_None
;
6691 #define wxDC_DrawCircle(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawCircle(_swigarg0,_swigarg1,_swigarg2))
6692 static PyObject
*_wrap_wxDC_DrawCircle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6693 PyObject
* _resultobj
;
6698 PyObject
* _argo0
= 0;
6699 char *_kwnames
[] = { "self","x","y","radius", NULL
};
6702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olll:wxDC_DrawCircle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
6705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawCircle. Expected _wxDC_p.");
6712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6713 wxDC_DrawCircle(_arg0
,_arg1
,_arg2
,_arg3
);
6715 wxPyEndAllowThreads(__tstate
);
6716 if (PyErr_Occurred()) return NULL
;
6717 } Py_INCREF(Py_None
);
6718 _resultobj
= Py_None
;
6722 #define wxDC_DrawEllipse(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawEllipse(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6723 static PyObject
*_wrap_wxDC_DrawEllipse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6724 PyObject
* _resultobj
;
6730 PyObject
* _argo0
= 0;
6731 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
6734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_DrawEllipse",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
6737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipse. Expected _wxDC_p.");
6744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6745 wxDC_DrawEllipse(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6747 wxPyEndAllowThreads(__tstate
);
6748 if (PyErr_Occurred()) return NULL
;
6749 } Py_INCREF(Py_None
);
6750 _resultobj
= Py_None
;
6754 #define wxDC_DrawEllipticArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawEllipticArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6755 static PyObject
*_wrap_wxDC_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6756 PyObject
* _resultobj
;
6764 PyObject
* _argo0
= 0;
6765 char *_kwnames
[] = { "self","x","y","width","height","start","end", NULL
};
6768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollllll:wxDC_DrawEllipticArc",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
6771 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6772 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipticArc. Expected _wxDC_p.");
6778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6779 wxDC_DrawEllipticArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
6781 wxPyEndAllowThreads(__tstate
);
6782 if (PyErr_Occurred()) return NULL
;
6783 } Py_INCREF(Py_None
);
6784 _resultobj
= Py_None
;
6788 #define wxDC_DrawIcon(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawIcon(_swigarg0,_swigarg1,_swigarg2))
6789 static PyObject
*_wrap_wxDC_DrawIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6790 PyObject
* _resultobj
;
6795 PyObject
* _argo0
= 0;
6796 PyObject
* _argo1
= 0;
6797 char *_kwnames
[] = { "self","icon","x","y", NULL
};
6800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOll:wxDC_DrawIcon",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
6803 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6804 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawIcon. Expected _wxDC_p.");
6810 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6811 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
6812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawIcon. Expected _wxIcon_p.");
6817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6818 wxDC_DrawIcon(_arg0
,*_arg1
,_arg2
,_arg3
);
6820 wxPyEndAllowThreads(__tstate
);
6821 if (PyErr_Occurred()) return NULL
;
6822 } Py_INCREF(Py_None
);
6823 _resultobj
= Py_None
;
6827 #define wxDC_DrawLine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6828 static PyObject
*_wrap_wxDC_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6829 PyObject
* _resultobj
;
6835 PyObject
* _argo0
= 0;
6836 char *_kwnames
[] = { "self","x1","y1","x2","y2", NULL
};
6839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_DrawLine",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
6842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLine. Expected _wxDC_p.");
6849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6850 wxDC_DrawLine(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6852 wxPyEndAllowThreads(__tstate
);
6853 if (PyErr_Occurred()) return NULL
;
6854 } Py_INCREF(Py_None
);
6855 _resultobj
= Py_None
;
6859 #define wxDC_DrawLines(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLines(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6860 static PyObject
*_wrap_wxDC_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6861 PyObject
* _resultobj
;
6865 long _arg3
= (long ) 0;
6866 long _arg4
= (long ) 0;
6867 PyObject
* _argo0
= 0;
6869 PyObject
* _obj2
= 0;
6870 char *_kwnames
[] = { "self","points","xoffset","yoffset", NULL
};
6873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ll:wxDC_DrawLines",_kwnames
,&_argo0
,&_obj2
,&_arg3
,&_arg4
))
6876 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6877 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLines. Expected _wxDC_p.");
6884 _arg2
= wxPoint_LIST_helper(_obj2
, &NPOINTS
);
6885 if (_arg2
== NULL
) {
6893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6894 wxDC_DrawLines(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6896 wxPyEndAllowThreads(__tstate
);
6897 if (PyErr_Occurred()) return NULL
;
6898 } Py_INCREF(Py_None
);
6899 _resultobj
= Py_None
;
6906 #define wxDC_DrawPolygon(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawPolygon(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6907 static PyObject
*_wrap_wxDC_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6908 PyObject
* _resultobj
;
6912 long _arg3
= (long ) 0;
6913 long _arg4
= (long ) 0;
6914 int _arg5
= (int ) wxODDEVEN_RULE
;
6915 PyObject
* _argo0
= 0;
6917 PyObject
* _obj2
= 0;
6918 char *_kwnames
[] = { "self","points","xoffset","yoffset","fill_style", NULL
};
6921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|lli:wxDC_DrawPolygon",_kwnames
,&_argo0
,&_obj2
,&_arg3
,&_arg4
,&_arg5
))
6924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPolygon. Expected _wxDC_p.");
6932 _arg2
= wxPoint_LIST_helper(_obj2
, &NPOINTS
);
6933 if (_arg2
== NULL
) {
6941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6942 wxDC_DrawPolygon(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
6944 wxPyEndAllowThreads(__tstate
);
6945 if (PyErr_Occurred()) return NULL
;
6946 } Py_INCREF(Py_None
);
6947 _resultobj
= Py_None
;
6954 #define wxDC_DrawPoint(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawPoint(_swigarg0,_swigarg1))
6955 static PyObject
*_wrap_wxDC_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6956 PyObject
* _resultobj
;
6960 PyObject
* _argo0
= 0;
6961 char *_kwnames
[] = { "self","x","y", NULL
};
6964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_DrawPoint",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPoint. Expected _wxDC_p.");
6974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6975 wxDC_DrawPoint(_arg0
,_arg1
,_arg2
);
6977 wxPyEndAllowThreads(__tstate
);
6978 if (PyErr_Occurred()) return NULL
;
6979 } Py_INCREF(Py_None
);
6980 _resultobj
= Py_None
;
6984 #define wxDC_DrawRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6985 static PyObject
*_wrap_wxDC_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6986 PyObject
* _resultobj
;
6992 PyObject
* _argo0
= 0;
6993 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
6996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_DrawRectangle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
6999 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7000 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRectangle. Expected _wxDC_p.");
7006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7007 wxDC_DrawRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7009 wxPyEndAllowThreads(__tstate
);
7010 if (PyErr_Occurred()) return NULL
;
7011 } Py_INCREF(Py_None
);
7012 _resultobj
= Py_None
;
7016 #define wxDC_DrawRotatedText(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRotatedText(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7017 static PyObject
*_wrap_wxDC_DrawRotatedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7018 PyObject
* _resultobj
;
7024 PyObject
* _argo0
= 0;
7025 PyObject
* _obj1
= 0;
7026 char *_kwnames
[] = { "self","text","x","y","angle", NULL
};
7029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiid:wxDC_DrawRotatedText",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_arg4
))
7032 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7033 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRotatedText. Expected _wxDC_p.");
7039 #if PYTHON_API_VERSION >= 1009
7040 char* tmpPtr
; int tmpSize
;
7041 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7042 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7045 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7047 _arg1
= new wxString(tmpPtr
, tmpSize
);
7049 if (!PyString_Check(_obj1
)) {
7050 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7053 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
7057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7058 wxDC_DrawRotatedText(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
7060 wxPyEndAllowThreads(__tstate
);
7061 if (PyErr_Occurred()) return NULL
;
7062 } Py_INCREF(Py_None
);
7063 _resultobj
= Py_None
;
7071 #define wxDC_DrawRoundedRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawRoundedRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7072 static PyObject
*_wrap_wxDC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7073 PyObject
* _resultobj
;
7079 long _arg5
= (long ) 20;
7080 PyObject
* _argo0
= 0;
7081 char *_kwnames
[] = { "self","x","y","width","height","radius", NULL
};
7084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll|l:wxDC_DrawRoundedRectangle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
7087 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7088 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRoundedRectangle. Expected _wxDC_p.");
7094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7095 wxDC_DrawRoundedRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
7097 wxPyEndAllowThreads(__tstate
);
7098 if (PyErr_Occurred()) return NULL
;
7099 } Py_INCREF(Py_None
);
7100 _resultobj
= Py_None
;
7104 #define wxDC_DrawSpline(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawSpline(_swigarg0,_swigarg1))
7105 static PyObject
*_wrap_wxDC_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7106 PyObject
* _resultobj
;
7110 PyObject
* _argo0
= 0;
7112 PyObject
* _obj2
= 0;
7113 char *_kwnames
[] = { "self","points", NULL
};
7116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_DrawSpline",_kwnames
,&_argo0
,&_obj2
))
7119 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7120 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawSpline. Expected _wxDC_p.");
7127 _arg2
= wxPoint_LIST_helper(_obj2
, &NPOINTS
);
7128 if (_arg2
== NULL
) {
7136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7137 wxDC_DrawSpline(_arg0
,_arg1
,_arg2
);
7139 wxPyEndAllowThreads(__tstate
);
7140 if (PyErr_Occurred()) return NULL
;
7141 } Py_INCREF(Py_None
);
7142 _resultobj
= Py_None
;
7149 #define wxDC_DrawText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawText(_swigarg0,_swigarg1,_swigarg2))
7150 static PyObject
*_wrap_wxDC_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7151 PyObject
* _resultobj
;
7156 PyObject
* _argo0
= 0;
7157 PyObject
* _obj1
= 0;
7158 char *_kwnames
[] = { "self","text","x","y", NULL
};
7161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOll:wxDC_DrawText",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
))
7164 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7165 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawText. Expected _wxDC_p.");
7171 #if PYTHON_API_VERSION >= 1009
7172 char* tmpPtr
; int tmpSize
;
7173 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7174 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7177 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7179 _arg1
= new wxString(tmpPtr
, tmpSize
);
7181 if (!PyString_Check(_obj1
)) {
7182 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7185 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
7189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7190 wxDC_DrawText(_arg0
,*_arg1
,_arg2
,_arg3
);
7192 wxPyEndAllowThreads(__tstate
);
7193 if (PyErr_Occurred()) return NULL
;
7194 } Py_INCREF(Py_None
);
7195 _resultobj
= Py_None
;
7203 #define wxDC_EndDoc(_swigobj) (_swigobj->EndDoc())
7204 static PyObject
*_wrap_wxDC_EndDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7205 PyObject
* _resultobj
;
7207 PyObject
* _argo0
= 0;
7208 char *_kwnames
[] = { "self", NULL
};
7211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndDoc",_kwnames
,&_argo0
))
7214 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7215 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDoc. Expected _wxDC_p.");
7221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7224 wxPyEndAllowThreads(__tstate
);
7225 if (PyErr_Occurred()) return NULL
;
7226 } Py_INCREF(Py_None
);
7227 _resultobj
= Py_None
;
7231 #define wxDC_EndDrawing(_swigobj) (_swigobj->EndDrawing())
7232 static PyObject
*_wrap_wxDC_EndDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7233 PyObject
* _resultobj
;
7235 PyObject
* _argo0
= 0;
7236 char *_kwnames
[] = { "self", NULL
};
7239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndDrawing",_kwnames
,&_argo0
))
7242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDrawing. Expected _wxDC_p.");
7249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7250 wxDC_EndDrawing(_arg0
);
7252 wxPyEndAllowThreads(__tstate
);
7253 if (PyErr_Occurred()) return NULL
;
7254 } Py_INCREF(Py_None
);
7255 _resultobj
= Py_None
;
7259 #define wxDC_EndPage(_swigobj) (_swigobj->EndPage())
7260 static PyObject
*_wrap_wxDC_EndPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7261 PyObject
* _resultobj
;
7263 PyObject
* _argo0
= 0;
7264 char *_kwnames
[] = { "self", NULL
};
7267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndPage",_kwnames
,&_argo0
))
7270 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7271 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndPage. Expected _wxDC_p.");
7277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7278 wxDC_EndPage(_arg0
);
7280 wxPyEndAllowThreads(__tstate
);
7281 if (PyErr_Occurred()) return NULL
;
7282 } Py_INCREF(Py_None
);
7283 _resultobj
= Py_None
;
7287 #define wxDC_FloodFill(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->FloodFill(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7288 static PyObject
*_wrap_wxDC_FloodFill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7289 PyObject
* _resultobj
;
7294 int _arg4
= (int ) wxFLOOD_SURFACE
;
7295 PyObject
* _argo0
= 0;
7297 PyObject
* _obj3
= 0;
7298 char *_kwnames
[] = { "self","x","y","colour","style", NULL
};
7301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO|i:wxDC_FloodFill",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_arg4
))
7304 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7305 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_FloodFill. Expected _wxDC_p.");
7312 if (! wxColour_helper(_obj3
, &_arg3
))
7316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7317 wxDC_FloodFill(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
7319 wxPyEndAllowThreads(__tstate
);
7320 if (PyErr_Occurred()) return NULL
;
7321 } Py_INCREF(Py_None
);
7322 _resultobj
= Py_None
;
7326 #define wxDC_GetBackground(_swigobj) (_swigobj->GetBackground())
7327 static PyObject
*_wrap_wxDC_GetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7328 PyObject
* _resultobj
;
7331 PyObject
* _argo0
= 0;
7332 char *_kwnames
[] = { "self", NULL
};
7336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBackground",_kwnames
,&_argo0
))
7339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBackground. Expected _wxDC_p.");
7346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7347 _result
= new wxBrush (wxDC_GetBackground(_arg0
));
7349 wxPyEndAllowThreads(__tstate
);
7350 if (PyErr_Occurred()) return NULL
;
7351 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBrush_p");
7352 _resultobj
= Py_BuildValue("s",_ptemp
);
7356 #define wxDC_GetBrush(_swigobj) (_swigobj->GetBrush())
7357 static PyObject
*_wrap_wxDC_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7358 PyObject
* _resultobj
;
7361 PyObject
* _argo0
= 0;
7362 char *_kwnames
[] = { "self", NULL
};
7366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBrush",_kwnames
,&_argo0
))
7369 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7370 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBrush. Expected _wxDC_p.");
7376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7377 _result
= new wxBrush (wxDC_GetBrush(_arg0
));
7379 wxPyEndAllowThreads(__tstate
);
7380 if (PyErr_Occurred()) return NULL
;
7381 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBrush_p");
7382 _resultobj
= Py_BuildValue("s",_ptemp
);
7386 #define wxDC_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
7387 static PyObject
*_wrap_wxDC_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7388 PyObject
* _resultobj
;
7391 PyObject
* _argo0
= 0;
7392 char *_kwnames
[] = { "self", NULL
};
7395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetCharHeight",_kwnames
,&_argo0
))
7398 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7399 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharHeight. Expected _wxDC_p.");
7405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7406 _result
= (long )wxDC_GetCharHeight(_arg0
);
7408 wxPyEndAllowThreads(__tstate
);
7409 if (PyErr_Occurred()) return NULL
;
7410 } _resultobj
= Py_BuildValue("l",_result
);
7414 #define wxDC_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
7415 static PyObject
*_wrap_wxDC_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7416 PyObject
* _resultobj
;
7419 PyObject
* _argo0
= 0;
7420 char *_kwnames
[] = { "self", NULL
};
7423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetCharWidth",_kwnames
,&_argo0
))
7426 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7427 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharWidth. Expected _wxDC_p.");
7433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7434 _result
= (long )wxDC_GetCharWidth(_arg0
);
7436 wxPyEndAllowThreads(__tstate
);
7437 if (PyErr_Occurred()) return NULL
;
7438 } _resultobj
= Py_BuildValue("l",_result
);
7442 #define wxDC_GetClippingBox(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetClippingBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7443 static PyObject
*_wrap_wxDC_GetClippingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7444 PyObject
* _resultobj
;
7454 PyObject
* _argo0
= 0;
7455 char *_kwnames
[] = { "self", NULL
};
7470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetClippingBox",_kwnames
,&_argo0
))
7473 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7474 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetClippingBox. Expected _wxDC_p.");
7480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7481 wxDC_GetClippingBox(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7483 wxPyEndAllowThreads(__tstate
);
7484 if (PyErr_Occurred()) return NULL
;
7485 } Py_INCREF(Py_None
);
7486 _resultobj
= Py_None
;
7489 o
= PyInt_FromLong((long) (*_arg1
));
7490 _resultobj
= t_output_helper(_resultobj
, o
);
7494 o
= PyInt_FromLong((long) (*_arg2
));
7495 _resultobj
= t_output_helper(_resultobj
, o
);
7499 o
= PyInt_FromLong((long) (*_arg3
));
7500 _resultobj
= t_output_helper(_resultobj
, o
);
7504 o
= PyInt_FromLong((long) (*_arg4
));
7505 _resultobj
= t_output_helper(_resultobj
, o
);
7510 #define wxDC_GetFont(_swigobj) (_swigobj->GetFont())
7511 static PyObject
*_wrap_wxDC_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7512 PyObject
* _resultobj
;
7515 PyObject
* _argo0
= 0;
7516 char *_kwnames
[] = { "self", NULL
};
7520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetFont",_kwnames
,&_argo0
))
7523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFont. Expected _wxDC_p.");
7530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7531 _result
= new wxFont (wxDC_GetFont(_arg0
));
7533 wxPyEndAllowThreads(__tstate
);
7534 if (PyErr_Occurred()) return NULL
;
7535 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
7536 _resultobj
= Py_BuildValue("s",_ptemp
);
7540 #define wxDC_GetLogicalFunction(_swigobj) (_swigobj->GetLogicalFunction())
7541 static PyObject
*_wrap_wxDC_GetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7542 PyObject
* _resultobj
;
7545 PyObject
* _argo0
= 0;
7546 char *_kwnames
[] = { "self", NULL
};
7549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalFunction",_kwnames
,&_argo0
))
7552 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7553 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalFunction. Expected _wxDC_p.");
7559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7560 _result
= (int )wxDC_GetLogicalFunction(_arg0
);
7562 wxPyEndAllowThreads(__tstate
);
7563 if (PyErr_Occurred()) return NULL
;
7564 } _resultobj
= Py_BuildValue("i",_result
);
7568 #define wxDC_GetLogicalScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLogicalScale(_swigarg0,_swigarg1))
7569 static PyObject
*_wrap_wxDC_GetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7570 PyObject
* _resultobj
;
7576 PyObject
* _argo0
= 0;
7577 char *_kwnames
[] = { "self", NULL
};
7586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalScale",_kwnames
,&_argo0
))
7589 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7590 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalScale. Expected _wxDC_p.");
7596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7597 wxDC_GetLogicalScale(_arg0
,_arg1
,_arg2
);
7599 wxPyEndAllowThreads(__tstate
);
7600 if (PyErr_Occurred()) return NULL
;
7601 } Py_INCREF(Py_None
);
7602 _resultobj
= Py_None
;
7605 o
= PyFloat_FromDouble((double) (*_arg1
));
7606 _resultobj
= t_output_helper(_resultobj
, o
);
7610 o
= PyFloat_FromDouble((double) (*_arg2
));
7611 _resultobj
= t_output_helper(_resultobj
, o
);
7616 #define wxDC_GetMapMode(_swigobj) (_swigobj->GetMapMode())
7617 static PyObject
*_wrap_wxDC_GetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7618 PyObject
* _resultobj
;
7621 PyObject
* _argo0
= 0;
7622 char *_kwnames
[] = { "self", NULL
};
7625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetMapMode",_kwnames
,&_argo0
))
7628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetMapMode. Expected _wxDC_p.");
7635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7636 _result
= (int )wxDC_GetMapMode(_arg0
);
7638 wxPyEndAllowThreads(__tstate
);
7639 if (PyErr_Occurred()) return NULL
;
7640 } _resultobj
= Py_BuildValue("i",_result
);
7644 #define wxDC_GetOptimization(_swigobj) (_swigobj->GetOptimization())
7645 static PyObject
*_wrap_wxDC_GetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7646 PyObject
* _resultobj
;
7649 PyObject
* _argo0
= 0;
7650 char *_kwnames
[] = { "self", NULL
};
7653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetOptimization",_kwnames
,&_argo0
))
7656 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7657 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetOptimization. Expected _wxDC_p.");
7663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7664 _result
= (bool )wxDC_GetOptimization(_arg0
);
7666 wxPyEndAllowThreads(__tstate
);
7667 if (PyErr_Occurred()) return NULL
;
7668 } _resultobj
= Py_BuildValue("i",_result
);
7672 #define wxDC_GetPen(_swigobj) (_swigobj->GetPen())
7673 static PyObject
*_wrap_wxDC_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7674 PyObject
* _resultobj
;
7677 PyObject
* _argo0
= 0;
7678 char *_kwnames
[] = { "self", NULL
};
7682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetPen",_kwnames
,&_argo0
))
7685 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7686 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPen. Expected _wxDC_p.");
7692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7693 _result
= new wxPen (wxDC_GetPen(_arg0
));
7695 wxPyEndAllowThreads(__tstate
);
7696 if (PyErr_Occurred()) return NULL
;
7697 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPen_p");
7698 _resultobj
= Py_BuildValue("s",_ptemp
);
7702 static wxColour
* wxDC_GetPixel(wxDC
*self
,long x
,long y
) {
7703 wxColour
* wc
= new wxColour();
7704 self
->GetPixel(x
, y
, wc
);
7707 static PyObject
*_wrap_wxDC_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7708 PyObject
* _resultobj
;
7713 PyObject
* _argo0
= 0;
7714 char *_kwnames
[] = { "self","x","y", NULL
};
7718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_GetPixel",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7721 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7722 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPixel. Expected _wxDC_p.");
7728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7729 _result
= (wxColour
*)wxDC_GetPixel(_arg0
,_arg1
,_arg2
);
7731 wxPyEndAllowThreads(__tstate
);
7732 if (PyErr_Occurred()) return NULL
;
7734 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
7735 _resultobj
= Py_BuildValue("s",_ptemp
);
7738 _resultobj
= Py_None
;
7743 #define wxDC_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
7744 static PyObject
*_wrap_wxDC_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7745 PyObject
* _resultobj
;
7751 PyObject
* _argo0
= 0;
7752 char *_kwnames
[] = { "self", NULL
};
7761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSizeTuple",_kwnames
,&_argo0
))
7764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSizeTuple. Expected _wxDC_p.");
7771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7772 wxDC_GetSizeTuple(_arg0
,_arg1
,_arg2
);
7774 wxPyEndAllowThreads(__tstate
);
7775 if (PyErr_Occurred()) return NULL
;
7776 } Py_INCREF(Py_None
);
7777 _resultobj
= Py_None
;
7780 o
= PyInt_FromLong((long) (*_arg1
));
7781 _resultobj
= t_output_helper(_resultobj
, o
);
7785 o
= PyInt_FromLong((long) (*_arg2
));
7786 _resultobj
= t_output_helper(_resultobj
, o
);
7791 #define wxDC_GetSize(_swigobj) (_swigobj->GetSize())
7792 static PyObject
*_wrap_wxDC_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7793 PyObject
* _resultobj
;
7796 PyObject
* _argo0
= 0;
7797 char *_kwnames
[] = { "self", NULL
};
7801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSize",_kwnames
,&_argo0
))
7804 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7805 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSize. Expected _wxDC_p.");
7811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7812 _result
= new wxSize (wxDC_GetSize(_arg0
));
7814 wxPyEndAllowThreads(__tstate
);
7815 if (PyErr_Occurred()) return NULL
;
7816 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
7817 _resultobj
= Py_BuildValue("s",_ptemp
);
7821 #define wxDC_GetSizeMM(_swigobj) (_swigobj->GetSizeMM())
7822 static PyObject
*_wrap_wxDC_GetSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7823 PyObject
* _resultobj
;
7826 PyObject
* _argo0
= 0;
7827 char *_kwnames
[] = { "self", NULL
};
7831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSizeMM",_kwnames
,&_argo0
))
7834 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7835 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSizeMM. Expected _wxDC_p.");
7841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7842 _result
= new wxSize (wxDC_GetSizeMM(_arg0
));
7844 wxPyEndAllowThreads(__tstate
);
7845 if (PyErr_Occurred()) return NULL
;
7846 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
7847 _resultobj
= Py_BuildValue("s",_ptemp
);
7851 #define wxDC_GetTextBackground(_swigobj) (_swigobj->GetTextBackground())
7852 static PyObject
*_wrap_wxDC_GetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7853 PyObject
* _resultobj
;
7856 PyObject
* _argo0
= 0;
7857 char *_kwnames
[] = { "self", NULL
};
7861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetTextBackground",_kwnames
,&_argo0
))
7864 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7865 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7866 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextBackground. Expected _wxDC_p.");
7871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7872 _result
= new wxColour (wxDC_GetTextBackground(_arg0
));
7874 wxPyEndAllowThreads(__tstate
);
7875 if (PyErr_Occurred()) return NULL
;
7876 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
7877 _resultobj
= Py_BuildValue("s",_ptemp
);
7881 #define wxDC_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
7882 static PyObject
*_wrap_wxDC_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7883 PyObject
* _resultobj
;
7890 PyObject
* _argo0
= 0;
7891 PyObject
* _obj1
= 0;
7892 char *_kwnames
[] = { "self","string", NULL
};
7901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_GetTextExtent",_kwnames
,&_argo0
,&_obj1
))
7904 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7905 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextExtent. Expected _wxDC_p.");
7911 #if PYTHON_API_VERSION >= 1009
7912 char* tmpPtr
; int tmpSize
;
7913 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7914 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7917 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7919 _arg1
= new wxString(tmpPtr
, tmpSize
);
7921 if (!PyString_Check(_obj1
)) {
7922 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7925 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
7929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7930 wxDC_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
7932 wxPyEndAllowThreads(__tstate
);
7933 if (PyErr_Occurred()) return NULL
;
7934 } Py_INCREF(Py_None
);
7935 _resultobj
= Py_None
;
7938 o
= PyInt_FromLong((long) (*_arg2
));
7939 _resultobj
= t_output_helper(_resultobj
, o
);
7943 o
= PyInt_FromLong((long) (*_arg3
));
7944 _resultobj
= t_output_helper(_resultobj
, o
);
7953 #define wxDC_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7954 static PyObject
*_wrap_wxDC_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7955 PyObject
* _resultobj
;
7966 wxFont
* _arg6
= (wxFont
*) NULL
;
7967 PyObject
* _argo0
= 0;
7968 PyObject
* _obj1
= 0;
7969 PyObject
* _argo6
= 0;
7970 char *_kwnames
[] = { "self","string","font", NULL
};
7985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxDC_GetFullTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo6
))
7988 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7989 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFullTextExtent. Expected _wxDC_p.");
7995 #if PYTHON_API_VERSION >= 1009
7996 char* tmpPtr
; int tmpSize
;
7997 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7998 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8001 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8003 _arg1
= new wxString(tmpPtr
, tmpSize
);
8005 if (!PyString_Check(_obj1
)) {
8006 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8009 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8013 if (_argo6
== Py_None
) { _arg6
= NULL
; }
8014 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
8015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxDC_GetFullTextExtent. Expected _wxFont_p.");
8020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8021 wxDC_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
8023 wxPyEndAllowThreads(__tstate
);
8024 if (PyErr_Occurred()) return NULL
;
8025 } Py_INCREF(Py_None
);
8026 _resultobj
= Py_None
;
8029 o
= PyInt_FromLong((long) (*_arg2
));
8030 _resultobj
= t_output_helper(_resultobj
, o
);
8034 o
= PyInt_FromLong((long) (*_arg3
));
8035 _resultobj
= t_output_helper(_resultobj
, o
);
8039 o
= PyInt_FromLong((long) (*_arg4
));
8040 _resultobj
= t_output_helper(_resultobj
, o
);
8044 o
= PyInt_FromLong((long) (*_arg5
));
8045 _resultobj
= t_output_helper(_resultobj
, o
);
8054 #define wxDC_GetTextForeground(_swigobj) (_swigobj->GetTextForeground())
8055 static PyObject
*_wrap_wxDC_GetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8056 PyObject
* _resultobj
;
8059 PyObject
* _argo0
= 0;
8060 char *_kwnames
[] = { "self", NULL
};
8064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetTextForeground",_kwnames
,&_argo0
))
8067 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8068 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextForeground. Expected _wxDC_p.");
8074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8075 _result
= new wxColour (wxDC_GetTextForeground(_arg0
));
8077 wxPyEndAllowThreads(__tstate
);
8078 if (PyErr_Occurred()) return NULL
;
8079 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
8080 _resultobj
= Py_BuildValue("s",_ptemp
);
8084 #define wxDC_GetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetUserScale(_swigarg0,_swigarg1))
8085 static PyObject
*_wrap_wxDC_GetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8086 PyObject
* _resultobj
;
8092 PyObject
* _argo0
= 0;
8093 char *_kwnames
[] = { "self", NULL
};
8102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetUserScale",_kwnames
,&_argo0
))
8105 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8106 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetUserScale. Expected _wxDC_p.");
8112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8113 wxDC_GetUserScale(_arg0
,_arg1
,_arg2
);
8115 wxPyEndAllowThreads(__tstate
);
8116 if (PyErr_Occurred()) return NULL
;
8117 } Py_INCREF(Py_None
);
8118 _resultobj
= Py_None
;
8121 o
= PyFloat_FromDouble((double) (*_arg1
));
8122 _resultobj
= t_output_helper(_resultobj
, o
);
8126 o
= PyFloat_FromDouble((double) (*_arg2
));
8127 _resultobj
= t_output_helper(_resultobj
, o
);
8132 #define wxDC_LogicalToDeviceX(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceX(_swigarg0))
8133 static PyObject
*_wrap_wxDC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8134 PyObject
* _resultobj
;
8138 PyObject
* _argo0
= 0;
8139 char *_kwnames
[] = { "self","x", NULL
};
8142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceX",_kwnames
,&_argo0
,&_arg1
))
8145 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8146 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceX. Expected _wxDC_p.");
8152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8153 _result
= (long )wxDC_LogicalToDeviceX(_arg0
,_arg1
);
8155 wxPyEndAllowThreads(__tstate
);
8156 if (PyErr_Occurred()) return NULL
;
8157 } _resultobj
= Py_BuildValue("l",_result
);
8161 #define wxDC_LogicalToDeviceXRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceXRel(_swigarg0))
8162 static PyObject
*_wrap_wxDC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8163 PyObject
* _resultobj
;
8167 PyObject
* _argo0
= 0;
8168 char *_kwnames
[] = { "self","x", NULL
};
8171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceXRel",_kwnames
,&_argo0
,&_arg1
))
8174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceXRel. Expected _wxDC_p.");
8181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8182 _result
= (long )wxDC_LogicalToDeviceXRel(_arg0
,_arg1
);
8184 wxPyEndAllowThreads(__tstate
);
8185 if (PyErr_Occurred()) return NULL
;
8186 } _resultobj
= Py_BuildValue("l",_result
);
8190 #define wxDC_LogicalToDeviceY(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceY(_swigarg0))
8191 static PyObject
*_wrap_wxDC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8192 PyObject
* _resultobj
;
8196 PyObject
* _argo0
= 0;
8197 char *_kwnames
[] = { "self","y", NULL
};
8200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceY",_kwnames
,&_argo0
,&_arg1
))
8203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceY. Expected _wxDC_p.");
8210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8211 _result
= (long )wxDC_LogicalToDeviceY(_arg0
,_arg1
);
8213 wxPyEndAllowThreads(__tstate
);
8214 if (PyErr_Occurred()) return NULL
;
8215 } _resultobj
= Py_BuildValue("l",_result
);
8219 #define wxDC_LogicalToDeviceYRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceYRel(_swigarg0))
8220 static PyObject
*_wrap_wxDC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8221 PyObject
* _resultobj
;
8225 PyObject
* _argo0
= 0;
8226 char *_kwnames
[] = { "self","y", NULL
};
8229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceYRel",_kwnames
,&_argo0
,&_arg1
))
8232 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8233 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceYRel. Expected _wxDC_p.");
8239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8240 _result
= (long )wxDC_LogicalToDeviceYRel(_arg0
,_arg1
);
8242 wxPyEndAllowThreads(__tstate
);
8243 if (PyErr_Occurred()) return NULL
;
8244 } _resultobj
= Py_BuildValue("l",_result
);
8248 #define wxDC_MaxX(_swigobj) (_swigobj->MaxX())
8249 static PyObject
*_wrap_wxDC_MaxX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8250 PyObject
* _resultobj
;
8253 PyObject
* _argo0
= 0;
8254 char *_kwnames
[] = { "self", NULL
};
8257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MaxX",_kwnames
,&_argo0
))
8260 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8261 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxX. Expected _wxDC_p.");
8267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8268 _result
= (long )wxDC_MaxX(_arg0
);
8270 wxPyEndAllowThreads(__tstate
);
8271 if (PyErr_Occurred()) return NULL
;
8272 } _resultobj
= Py_BuildValue("l",_result
);
8276 #define wxDC_MaxY(_swigobj) (_swigobj->MaxY())
8277 static PyObject
*_wrap_wxDC_MaxY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8278 PyObject
* _resultobj
;
8281 PyObject
* _argo0
= 0;
8282 char *_kwnames
[] = { "self", NULL
};
8285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MaxY",_kwnames
,&_argo0
))
8288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxY. Expected _wxDC_p.");
8295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8296 _result
= (long )wxDC_MaxY(_arg0
);
8298 wxPyEndAllowThreads(__tstate
);
8299 if (PyErr_Occurred()) return NULL
;
8300 } _resultobj
= Py_BuildValue("l",_result
);
8304 #define wxDC_MinX(_swigobj) (_swigobj->MinX())
8305 static PyObject
*_wrap_wxDC_MinX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8306 PyObject
* _resultobj
;
8309 PyObject
* _argo0
= 0;
8310 char *_kwnames
[] = { "self", NULL
};
8313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MinX",_kwnames
,&_argo0
))
8316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinX. Expected _wxDC_p.");
8323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8324 _result
= (long )wxDC_MinX(_arg0
);
8326 wxPyEndAllowThreads(__tstate
);
8327 if (PyErr_Occurred()) return NULL
;
8328 } _resultobj
= Py_BuildValue("l",_result
);
8332 #define wxDC_MinY(_swigobj) (_swigobj->MinY())
8333 static PyObject
*_wrap_wxDC_MinY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8334 PyObject
* _resultobj
;
8337 PyObject
* _argo0
= 0;
8338 char *_kwnames
[] = { "self", NULL
};
8341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MinY",_kwnames
,&_argo0
))
8344 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8345 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinY. Expected _wxDC_p.");
8351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8352 _result
= (long )wxDC_MinY(_arg0
);
8354 wxPyEndAllowThreads(__tstate
);
8355 if (PyErr_Occurred()) return NULL
;
8356 } _resultobj
= Py_BuildValue("l",_result
);
8360 #define wxDC_Ok(_swigobj) (_swigobj->Ok())
8361 static PyObject
*_wrap_wxDC_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8362 PyObject
* _resultobj
;
8365 PyObject
* _argo0
= 0;
8366 char *_kwnames
[] = { "self", NULL
};
8369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_Ok",_kwnames
,&_argo0
))
8372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Ok. Expected _wxDC_p.");
8379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8380 _result
= (bool )wxDC_Ok(_arg0
);
8382 wxPyEndAllowThreads(__tstate
);
8383 if (PyErr_Occurred()) return NULL
;
8384 } _resultobj
= Py_BuildValue("i",_result
);
8388 #define wxDC_SetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDeviceOrigin(_swigarg0,_swigarg1))
8389 static PyObject
*_wrap_wxDC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8390 PyObject
* _resultobj
;
8394 PyObject
* _argo0
= 0;
8395 char *_kwnames
[] = { "self","x","y", NULL
};
8398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_SetDeviceOrigin",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetDeviceOrigin. Expected _wxDC_p.");
8408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8409 wxDC_SetDeviceOrigin(_arg0
,_arg1
,_arg2
);
8411 wxPyEndAllowThreads(__tstate
);
8412 if (PyErr_Occurred()) return NULL
;
8413 } Py_INCREF(Py_None
);
8414 _resultobj
= Py_None
;
8418 #define wxDC_SetBackground(_swigobj,_swigarg0) (_swigobj->SetBackground(_swigarg0))
8419 static PyObject
*_wrap_wxDC_SetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8420 PyObject
* _resultobj
;
8423 PyObject
* _argo0
= 0;
8424 PyObject
* _argo1
= 0;
8425 char *_kwnames
[] = { "self","brush", NULL
};
8428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetBackground",_kwnames
,&_argo0
,&_argo1
))
8431 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8432 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackground. Expected _wxDC_p.");
8438 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8439 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
8440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBackground. Expected _wxBrush_p.");
8445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8446 wxDC_SetBackground(_arg0
,*_arg1
);
8448 wxPyEndAllowThreads(__tstate
);
8449 if (PyErr_Occurred()) return NULL
;
8450 } Py_INCREF(Py_None
);
8451 _resultobj
= Py_None
;
8455 #define wxDC_SetBackgroundMode(_swigobj,_swigarg0) (_swigobj->SetBackgroundMode(_swigarg0))
8456 static PyObject
*_wrap_wxDC_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8457 PyObject
* _resultobj
;
8460 PyObject
* _argo0
= 0;
8461 char *_kwnames
[] = { "self","mode", NULL
};
8464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetBackgroundMode",_kwnames
,&_argo0
,&_arg1
))
8467 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8468 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackgroundMode. Expected _wxDC_p.");
8474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8475 wxDC_SetBackgroundMode(_arg0
,_arg1
);
8477 wxPyEndAllowThreads(__tstate
);
8478 if (PyErr_Occurred()) return NULL
;
8479 } Py_INCREF(Py_None
);
8480 _resultobj
= Py_None
;
8484 #define wxDC_SetClippingRegion(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetClippingRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8485 static PyObject
*_wrap_wxDC_SetClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8486 PyObject
* _resultobj
;
8492 PyObject
* _argo0
= 0;
8493 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
8496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_SetClippingRegion",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
8499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetClippingRegion. Expected _wxDC_p.");
8506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8507 wxDC_SetClippingRegion(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
8509 wxPyEndAllowThreads(__tstate
);
8510 if (PyErr_Occurred()) return NULL
;
8511 } Py_INCREF(Py_None
);
8512 _resultobj
= Py_None
;
8516 #define wxDC_SetClippingRegionAsRegion(_swigobj,_swigarg0) (_swigobj->SetClippingRegion(_swigarg0))
8517 static PyObject
*_wrap_wxDC_SetClippingRegionAsRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8518 PyObject
* _resultobj
;
8521 PyObject
* _argo0
= 0;
8522 PyObject
* _argo1
= 0;
8523 char *_kwnames
[] = { "self","region", NULL
};
8526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetClippingRegionAsRegion",_kwnames
,&_argo0
,&_argo1
))
8529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetClippingRegionAsRegion. Expected _wxDC_p.");
8536 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8537 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
8538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetClippingRegionAsRegion. Expected _wxRegion_p.");
8543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8544 wxDC_SetClippingRegionAsRegion(_arg0
,*_arg1
);
8546 wxPyEndAllowThreads(__tstate
);
8547 if (PyErr_Occurred()) return NULL
;
8548 } Py_INCREF(Py_None
);
8549 _resultobj
= Py_None
;
8553 #define wxDC_SetPalette(_swigobj,_swigarg0) (_swigobj->SetPalette(_swigarg0))
8554 static PyObject
*_wrap_wxDC_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8555 PyObject
* _resultobj
;
8558 PyObject
* _argo0
= 0;
8559 PyObject
* _argo1
= 0;
8560 char *_kwnames
[] = { "self","colourMap", NULL
};
8563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetPalette",_kwnames
,&_argo0
,&_argo1
))
8566 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8567 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPalette. Expected _wxDC_p.");
8573 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8574 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPalette_p")) {
8575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPalette. Expected _wxPalette_p.");
8580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8581 wxDC_SetPalette(_arg0
,*_arg1
);
8583 wxPyEndAllowThreads(__tstate
);
8584 if (PyErr_Occurred()) return NULL
;
8585 } Py_INCREF(Py_None
);
8586 _resultobj
= Py_None
;
8590 #define wxDC_SetBrush(_swigobj,_swigarg0) (_swigobj->SetBrush(_swigarg0))
8591 static PyObject
*_wrap_wxDC_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8592 PyObject
* _resultobj
;
8595 PyObject
* _argo0
= 0;
8596 PyObject
* _argo1
= 0;
8597 char *_kwnames
[] = { "self","brush", NULL
};
8600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetBrush",_kwnames
,&_argo0
,&_argo1
))
8603 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8604 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBrush. Expected _wxDC_p.");
8610 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8611 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
8612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBrush. Expected _wxBrush_p.");
8617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8618 wxDC_SetBrush(_arg0
,*_arg1
);
8620 wxPyEndAllowThreads(__tstate
);
8621 if (PyErr_Occurred()) return NULL
;
8622 } Py_INCREF(Py_None
);
8623 _resultobj
= Py_None
;
8627 #define wxDC_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
8628 static PyObject
*_wrap_wxDC_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8629 PyObject
* _resultobj
;
8632 PyObject
* _argo0
= 0;
8633 PyObject
* _argo1
= 0;
8634 char *_kwnames
[] = { "self","font", NULL
};
8637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetFont",_kwnames
,&_argo0
,&_argo1
))
8640 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8641 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetFont. Expected _wxDC_p.");
8647 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8648 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
8649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetFont. Expected _wxFont_p.");
8654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8655 wxDC_SetFont(_arg0
,*_arg1
);
8657 wxPyEndAllowThreads(__tstate
);
8658 if (PyErr_Occurred()) return NULL
;
8659 } Py_INCREF(Py_None
);
8660 _resultobj
= Py_None
;
8664 #define wxDC_SetLogicalFunction(_swigobj,_swigarg0) (_swigobj->SetLogicalFunction(_swigarg0))
8665 static PyObject
*_wrap_wxDC_SetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8666 PyObject
* _resultobj
;
8669 PyObject
* _argo0
= 0;
8670 char *_kwnames
[] = { "self","function", NULL
};
8673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetLogicalFunction",_kwnames
,&_argo0
,&_arg1
))
8676 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8677 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalFunction. Expected _wxDC_p.");
8683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8684 wxDC_SetLogicalFunction(_arg0
,_arg1
);
8686 wxPyEndAllowThreads(__tstate
);
8687 if (PyErr_Occurred()) return NULL
;
8688 } Py_INCREF(Py_None
);
8689 _resultobj
= Py_None
;
8693 #define wxDC_SetLogicalScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLogicalScale(_swigarg0,_swigarg1))
8694 static PyObject
*_wrap_wxDC_SetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8695 PyObject
* _resultobj
;
8699 PyObject
* _argo0
= 0;
8700 char *_kwnames
[] = { "self","x","y", NULL
};
8703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxDC_SetLogicalScale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8706 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8707 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalScale. Expected _wxDC_p.");
8713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8714 wxDC_SetLogicalScale(_arg0
,_arg1
,_arg2
);
8716 wxPyEndAllowThreads(__tstate
);
8717 if (PyErr_Occurred()) return NULL
;
8718 } Py_INCREF(Py_None
);
8719 _resultobj
= Py_None
;
8723 #define wxDC_SetMapMode(_swigobj,_swigarg0) (_swigobj->SetMapMode(_swigarg0))
8724 static PyObject
*_wrap_wxDC_SetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8725 PyObject
* _resultobj
;
8728 PyObject
* _argo0
= 0;
8729 char *_kwnames
[] = { "self","mode", NULL
};
8732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetMapMode",_kwnames
,&_argo0
,&_arg1
))
8735 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8736 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetMapMode. Expected _wxDC_p.");
8742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8743 wxDC_SetMapMode(_arg0
,_arg1
);
8745 wxPyEndAllowThreads(__tstate
);
8746 if (PyErr_Occurred()) return NULL
;
8747 } Py_INCREF(Py_None
);
8748 _resultobj
= Py_None
;
8752 #define wxDC_SetOptimization(_swigobj,_swigarg0) (_swigobj->SetOptimization(_swigarg0))
8753 static PyObject
*_wrap_wxDC_SetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8754 PyObject
* _resultobj
;
8757 PyObject
* _argo0
= 0;
8759 char *_kwnames
[] = { "self","optimize", NULL
};
8762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetOptimization",_kwnames
,&_argo0
,&tempbool1
))
8765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetOptimization. Expected _wxDC_p.");
8771 _arg1
= (bool ) tempbool1
;
8773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8774 wxDC_SetOptimization(_arg0
,_arg1
);
8776 wxPyEndAllowThreads(__tstate
);
8777 if (PyErr_Occurred()) return NULL
;
8778 } Py_INCREF(Py_None
);
8779 _resultobj
= Py_None
;
8783 #define wxDC_SetPen(_swigobj,_swigarg0) (_swigobj->SetPen(_swigarg0))
8784 static PyObject
*_wrap_wxDC_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8785 PyObject
* _resultobj
;
8788 PyObject
* _argo0
= 0;
8789 PyObject
* _argo1
= 0;
8790 char *_kwnames
[] = { "self","pen", NULL
};
8793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetPen",_kwnames
,&_argo0
,&_argo1
))
8796 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8797 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPen. Expected _wxDC_p.");
8803 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8804 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
8805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPen. Expected _wxPen_p.");
8810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8811 wxDC_SetPen(_arg0
,*_arg1
);
8813 wxPyEndAllowThreads(__tstate
);
8814 if (PyErr_Occurred()) return NULL
;
8815 } Py_INCREF(Py_None
);
8816 _resultobj
= Py_None
;
8820 #define wxDC_SetTextBackground(_swigobj,_swigarg0) (_swigobj->SetTextBackground(_swigarg0))
8821 static PyObject
*_wrap_wxDC_SetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8822 PyObject
* _resultobj
;
8825 PyObject
* _argo0
= 0;
8827 PyObject
* _obj1
= 0;
8828 char *_kwnames
[] = { "self","colour", NULL
};
8831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetTextBackground",_kwnames
,&_argo0
,&_obj1
))
8834 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8835 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextBackground. Expected _wxDC_p.");
8842 if (! wxColour_helper(_obj1
, &_arg1
))
8846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8847 wxDC_SetTextBackground(_arg0
,*_arg1
);
8849 wxPyEndAllowThreads(__tstate
);
8850 if (PyErr_Occurred()) return NULL
;
8851 } Py_INCREF(Py_None
);
8852 _resultobj
= Py_None
;
8856 #define wxDC_SetTextForeground(_swigobj,_swigarg0) (_swigobj->SetTextForeground(_swigarg0))
8857 static PyObject
*_wrap_wxDC_SetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8858 PyObject
* _resultobj
;
8861 PyObject
* _argo0
= 0;
8863 PyObject
* _obj1
= 0;
8864 char *_kwnames
[] = { "self","colour", NULL
};
8867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetTextForeground",_kwnames
,&_argo0
,&_obj1
))
8870 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8871 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextForeground. Expected _wxDC_p.");
8878 if (! wxColour_helper(_obj1
, &_arg1
))
8882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8883 wxDC_SetTextForeground(_arg0
,*_arg1
);
8885 wxPyEndAllowThreads(__tstate
);
8886 if (PyErr_Occurred()) return NULL
;
8887 } Py_INCREF(Py_None
);
8888 _resultobj
= Py_None
;
8892 #define wxDC_SetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetUserScale(_swigarg0,_swigarg1))
8893 static PyObject
*_wrap_wxDC_SetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8894 PyObject
* _resultobj
;
8898 PyObject
* _argo0
= 0;
8899 char *_kwnames
[] = { "self","x_scale","y_scale", NULL
};
8902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxDC_SetUserScale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8905 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8906 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetUserScale. Expected _wxDC_p.");
8912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8913 wxDC_SetUserScale(_arg0
,_arg1
,_arg2
);
8915 wxPyEndAllowThreads(__tstate
);
8916 if (PyErr_Occurred()) return NULL
;
8917 } Py_INCREF(Py_None
);
8918 _resultobj
= Py_None
;
8922 #define wxDC_StartDoc(_swigobj,_swigarg0) (_swigobj->StartDoc(_swigarg0))
8923 static PyObject
*_wrap_wxDC_StartDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8924 PyObject
* _resultobj
;
8928 PyObject
* _argo0
= 0;
8929 PyObject
* _obj1
= 0;
8930 char *_kwnames
[] = { "self","message", NULL
};
8933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_StartDoc",_kwnames
,&_argo0
,&_obj1
))
8936 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8937 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartDoc. Expected _wxDC_p.");
8943 #if PYTHON_API_VERSION >= 1009
8944 char* tmpPtr
; int tmpSize
;
8945 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8946 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8949 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8951 _arg1
= new wxString(tmpPtr
, tmpSize
);
8953 if (!PyString_Check(_obj1
)) {
8954 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8957 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8962 _result
= (bool )wxDC_StartDoc(_arg0
,*_arg1
);
8964 wxPyEndAllowThreads(__tstate
);
8965 if (PyErr_Occurred()) return NULL
;
8966 } _resultobj
= Py_BuildValue("i",_result
);
8974 #define wxDC_StartPage(_swigobj) (_swigobj->StartPage())
8975 static PyObject
*_wrap_wxDC_StartPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8976 PyObject
* _resultobj
;
8978 PyObject
* _argo0
= 0;
8979 char *_kwnames
[] = { "self", NULL
};
8982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_StartPage",_kwnames
,&_argo0
))
8985 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8986 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartPage. Expected _wxDC_p.");
8992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8993 wxDC_StartPage(_arg0
);
8995 wxPyEndAllowThreads(__tstate
);
8996 if (PyErr_Occurred()) return NULL
;
8997 } Py_INCREF(Py_None
);
8998 _resultobj
= Py_None
;
9002 #define wxDC_DrawBitmap(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9003 static PyObject
*_wrap_wxDC_DrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9004 PyObject
* _resultobj
;
9009 int _arg4
= (int ) FALSE
;
9010 PyObject
* _argo0
= 0;
9011 PyObject
* _argo1
= 0;
9012 char *_kwnames
[] = { "self","bitmap","x","y","useMask", NULL
};
9015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOll|i:wxDC_DrawBitmap",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
))
9018 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9019 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawBitmap. Expected _wxDC_p.");
9025 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9026 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
9027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawBitmap. Expected _wxBitmap_p.");
9032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9033 wxDC_DrawBitmap(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
9035 wxPyEndAllowThreads(__tstate
);
9036 if (PyErr_Occurred()) return NULL
;
9037 } Py_INCREF(Py_None
);
9038 _resultobj
= Py_None
;
9042 #define wxDC_CanDrawBitmap(_swigobj) (_swigobj->CanDrawBitmap())
9043 static PyObject
*_wrap_wxDC_CanDrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9044 PyObject
* _resultobj
;
9047 PyObject
* _argo0
= 0;
9048 char *_kwnames
[] = { "self", NULL
};
9051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_CanDrawBitmap",_kwnames
,&_argo0
))
9054 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9055 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CanDrawBitmap. Expected _wxDC_p.");
9061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9062 _result
= (bool )wxDC_CanDrawBitmap(_arg0
);
9064 wxPyEndAllowThreads(__tstate
);
9065 if (PyErr_Occurred()) return NULL
;
9066 } _resultobj
= Py_BuildValue("i",_result
);
9070 #define wxDC_CanGetTextExtent(_swigobj) (_swigobj->CanGetTextExtent())
9071 static PyObject
*_wrap_wxDC_CanGetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9072 PyObject
* _resultobj
;
9075 PyObject
* _argo0
= 0;
9076 char *_kwnames
[] = { "self", NULL
};
9079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_CanGetTextExtent",_kwnames
,&_argo0
))
9082 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9083 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CanGetTextExtent. Expected _wxDC_p.");
9089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9090 _result
= (bool )wxDC_CanGetTextExtent(_arg0
);
9092 wxPyEndAllowThreads(__tstate
);
9093 if (PyErr_Occurred()) return NULL
;
9094 } _resultobj
= Py_BuildValue("i",_result
);
9098 #define wxDC_GetDepth(_swigobj) (_swigobj->GetDepth())
9099 static PyObject
*_wrap_wxDC_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9100 PyObject
* _resultobj
;
9103 PyObject
* _argo0
= 0;
9104 char *_kwnames
[] = { "self", NULL
};
9107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetDepth",_kwnames
,&_argo0
))
9110 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9111 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetDepth. Expected _wxDC_p.");
9117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9118 _result
= (int )wxDC_GetDepth(_arg0
);
9120 wxPyEndAllowThreads(__tstate
);
9121 if (PyErr_Occurred()) return NULL
;
9122 } _resultobj
= Py_BuildValue("i",_result
);
9126 #define wxDC_GetPPI(_swigobj) (_swigobj->GetPPI())
9127 static PyObject
*_wrap_wxDC_GetPPI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9128 PyObject
* _resultobj
;
9131 PyObject
* _argo0
= 0;
9132 char *_kwnames
[] = { "self", NULL
};
9136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetPPI",_kwnames
,&_argo0
))
9139 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9140 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPPI. Expected _wxDC_p.");
9146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9147 _result
= new wxSize (wxDC_GetPPI(_arg0
));
9149 wxPyEndAllowThreads(__tstate
);
9150 if (PyErr_Occurred()) return NULL
;
9151 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
9152 _resultobj
= Py_BuildValue("s",_ptemp
);
9156 #define wxDC_GetLogicalOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLogicalOrigin(_swigarg0,_swigarg1))
9157 static PyObject
*_wrap_wxDC_GetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9158 PyObject
* _resultobj
;
9164 PyObject
* _argo0
= 0;
9165 char *_kwnames
[] = { "self", NULL
};
9174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalOrigin",_kwnames
,&_argo0
))
9177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalOrigin. Expected _wxDC_p.");
9184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9185 wxDC_GetLogicalOrigin(_arg0
,_arg1
,_arg2
);
9187 wxPyEndAllowThreads(__tstate
);
9188 if (PyErr_Occurred()) return NULL
;
9189 } Py_INCREF(Py_None
);
9190 _resultobj
= Py_None
;
9193 o
= PyInt_FromLong((long) (*_arg1
));
9194 _resultobj
= t_output_helper(_resultobj
, o
);
9198 o
= PyInt_FromLong((long) (*_arg2
));
9199 _resultobj
= t_output_helper(_resultobj
, o
);
9204 #define wxDC_SetLogicalOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLogicalOrigin(_swigarg0,_swigarg1))
9205 static PyObject
*_wrap_wxDC_SetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9206 PyObject
* _resultobj
;
9210 PyObject
* _argo0
= 0;
9211 char *_kwnames
[] = { "self","x","y", NULL
};
9214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_SetLogicalOrigin",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalOrigin. Expected _wxDC_p.");
9224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9225 wxDC_SetLogicalOrigin(_arg0
,_arg1
,_arg2
);
9227 wxPyEndAllowThreads(__tstate
);
9228 if (PyErr_Occurred()) return NULL
;
9229 } Py_INCREF(Py_None
);
9230 _resultobj
= Py_None
;
9234 #define wxDC_GetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDeviceOrigin(_swigarg0,_swigarg1))
9235 static PyObject
*_wrap_wxDC_GetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9236 PyObject
* _resultobj
;
9242 PyObject
* _argo0
= 0;
9243 char *_kwnames
[] = { "self", NULL
};
9252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetDeviceOrigin",_kwnames
,&_argo0
))
9255 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9256 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetDeviceOrigin. Expected _wxDC_p.");
9262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9263 wxDC_GetDeviceOrigin(_arg0
,_arg1
,_arg2
);
9265 wxPyEndAllowThreads(__tstate
);
9266 if (PyErr_Occurred()) return NULL
;
9267 } Py_INCREF(Py_None
);
9268 _resultobj
= Py_None
;
9271 o
= PyInt_FromLong((long) (*_arg1
));
9272 _resultobj
= t_output_helper(_resultobj
, o
);
9276 o
= PyInt_FromLong((long) (*_arg2
));
9277 _resultobj
= t_output_helper(_resultobj
, o
);
9282 #define wxDC_SetAxisOrientation(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAxisOrientation(_swigarg0,_swigarg1))
9283 static PyObject
*_wrap_wxDC_SetAxisOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9284 PyObject
* _resultobj
;
9288 PyObject
* _argo0
= 0;
9291 char *_kwnames
[] = { "self","xLeftRight","yBottomUp", NULL
};
9294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_SetAxisOrientation",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
9297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetAxisOrientation. Expected _wxDC_p.");
9303 _arg1
= (bool ) tempbool1
;
9304 _arg2
= (bool ) tempbool2
;
9306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9307 wxDC_SetAxisOrientation(_arg0
,_arg1
,_arg2
);
9309 wxPyEndAllowThreads(__tstate
);
9310 if (PyErr_Occurred()) return NULL
;
9311 } Py_INCREF(Py_None
);
9312 _resultobj
= Py_None
;
9316 #define wxDC_CalcBoundingBox(_swigobj,_swigarg0,_swigarg1) (_swigobj->CalcBoundingBox(_swigarg0,_swigarg1))
9317 static PyObject
*_wrap_wxDC_CalcBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9318 PyObject
* _resultobj
;
9322 PyObject
* _argo0
= 0;
9323 char *_kwnames
[] = { "self","x","y", NULL
};
9326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_CalcBoundingBox",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9329 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9330 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CalcBoundingBox. Expected _wxDC_p.");
9336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9337 wxDC_CalcBoundingBox(_arg0
,_arg1
,_arg2
);
9339 wxPyEndAllowThreads(__tstate
);
9340 if (PyErr_Occurred()) return NULL
;
9341 } Py_INCREF(Py_None
);
9342 _resultobj
= Py_None
;
9346 #define wxDC_ResetBoundingBox(_swigobj) (_swigobj->ResetBoundingBox())
9347 static PyObject
*_wrap_wxDC_ResetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9348 PyObject
* _resultobj
;
9350 PyObject
* _argo0
= 0;
9351 char *_kwnames
[] = { "self", NULL
};
9354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_ResetBoundingBox",_kwnames
,&_argo0
))
9357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_ResetBoundingBox. Expected _wxDC_p.");
9364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9365 wxDC_ResetBoundingBox(_arg0
);
9367 wxPyEndAllowThreads(__tstate
);
9368 if (PyErr_Occurred()) return NULL
;
9369 } Py_INCREF(Py_None
);
9370 _resultobj
= Py_None
;
9374 static PyObject
*_wrap_wxDC_GetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9375 PyObject
* _resultobj
;
9385 PyObject
* _argo0
= 0;
9386 char *_kwnames
[] = { "self", NULL
};
9401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBoundingBox",_kwnames
,&_argo0
))
9404 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9405 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBoundingBox. Expected _wxDC_p.");
9411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9412 wxDC_GetBoundingBox(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
9414 wxPyEndAllowThreads(__tstate
);
9415 if (PyErr_Occurred()) return NULL
;
9416 } Py_INCREF(Py_None
);
9417 _resultobj
= Py_None
;
9420 o
= PyInt_FromLong((long) (*_arg1
));
9421 _resultobj
= t_output_helper(_resultobj
, o
);
9425 o
= PyInt_FromLong((long) (*_arg2
));
9426 _resultobj
= t_output_helper(_resultobj
, o
);
9430 o
= PyInt_FromLong((long) (*_arg3
));
9431 _resultobj
= t_output_helper(_resultobj
, o
);
9435 o
= PyInt_FromLong((long) (*_arg4
));
9436 _resultobj
= t_output_helper(_resultobj
, o
);
9441 static PyObject
* wxDC__DrawPointList(wxDC
*self
,PyObject
* pyPoints
,PyObject
* pyPens
) {
9442 bool isFastSeq
= PyList_Check(pyPoints
) || PyTuple_Check(pyPoints
);
9443 bool isFastPens
= PyList_Check(pyPens
) || PyTuple_Check(pyPens
);
9451 if (!PySequence_Check(pyPoints
)) {
9454 if (!PySequence_Check(pyPens
)) {
9457 numObjs
= PySequence_Length(pyPoints
);
9458 numPens
= PySequence_Length(pyPens
);
9460 for (i
= 0; i
< numObjs
; i
++) {
9464 obj
= PySequence_Fast_GET_ITEM(pyPens
, i
);
9467 obj
= PySequence_GetItem(pyPens
, i
);
9469 if (SWIG_GetPtrObj(obj
, (void **) &pen
, "_wxPen_p")) {
9480 // Get the point coordinants
9482 obj
= PySequence_Fast_GET_ITEM(pyPoints
, i
);
9485 obj
= PySequence_GetItem(pyPoints
, i
);
9487 if (! _2int_seq_helper(obj
, &x1
, &y1
)) {
9493 // Now draw the point
9494 self
->DrawPoint(x1
, y1
);
9504 PyErr_SetString(PyExc_TypeError
, "Expected a sequence of wxPens");
9507 PyErr_SetString(PyExc_TypeError
, "Expected a sequence of (x,y) sequences.");
9510 static PyObject
*_wrap_wxDC__DrawPointList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9511 PyObject
* _resultobj
;
9516 PyObject
* _argo0
= 0;
9517 PyObject
* _obj1
= 0;
9518 PyObject
* _obj2
= 0;
9519 char *_kwnames
[] = { "self","pyPoints","pyPens", NULL
};
9522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDC__DrawPointList",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
9525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC__DrawPointList. Expected _wxDC_p.");
9538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9539 _result
= (PyObject
*)wxDC__DrawPointList(_arg0
,_arg1
,_arg2
);
9541 wxPyEndAllowThreads(__tstate
);
9542 if (PyErr_Occurred()) return NULL
;
9544 _resultobj
= _result
;
9549 static PyObject
* wxDC__DrawLineList(wxDC
*self
,PyObject
* pyLines
,PyObject
* pyPens
) {
9550 bool isFastSeq
= PyList_Check(pyLines
) || PyTuple_Check(pyLines
);
9551 bool isFastPens
= PyList_Check(pyPens
) || PyTuple_Check(pyPens
);
9559 if (!PySequence_Check(pyLines
)) {
9562 if (!PySequence_Check(pyPens
)) {
9565 numObjs
= PySequence_Length(pyLines
);
9566 numPens
= PySequence_Length(pyPens
);
9568 for (i
= 0; i
< numObjs
; i
++) {
9572 obj
= PySequence_Fast_GET_ITEM(pyPens
, i
);
9575 obj
= PySequence_GetItem(pyPens
, i
);
9577 if (SWIG_GetPtrObj(obj
, (void **) &pen
, "_wxPen_p")) {
9588 // Get the line coordinants
9590 obj
= PySequence_Fast_GET_ITEM(pyLines
, i
);
9593 obj
= PySequence_GetItem(pyLines
, i
);
9595 if (! _4int_seq_helper(obj
, &x1
, &y1
, &x2
, &y2
)) {
9601 // Now draw the line
9602 self
->DrawLine(x1
, y1
, x2
, y2
);
9612 PyErr_SetString(PyExc_TypeError
, "Expected a sequence of wxPens");
9615 PyErr_SetString(PyExc_TypeError
, "Expected a sequence of (x1,y1, x2,y2) sequences.");
9618 static PyObject
*_wrap_wxDC__DrawLineList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9619 PyObject
* _resultobj
;
9624 PyObject
* _argo0
= 0;
9625 PyObject
* _obj1
= 0;
9626 PyObject
* _obj2
= 0;
9627 char *_kwnames
[] = { "self","pyLines","pyPens", NULL
};
9630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDC__DrawLineList",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
9633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC__DrawLineList. Expected _wxDC_p.");
9646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9647 _result
= (PyObject
*)wxDC__DrawLineList(_arg0
,_arg1
,_arg2
);
9649 wxPyEndAllowThreads(__tstate
);
9650 if (PyErr_Occurred()) return NULL
;
9652 _resultobj
= _result
;
9657 static void *SwigwxMemoryDCTowxDC(void *ptr
) {
9660 src
= (wxMemoryDC
*) ptr
;
9661 dest
= (wxDC
*) src
;
9662 return (void *) dest
;
9665 static void *SwigwxMemoryDCTowxObject(void *ptr
) {
9668 src
= (wxMemoryDC
*) ptr
;
9669 dest
= (wxObject
*) src
;
9670 return (void *) dest
;
9673 #define new_wxMemoryDC() (new wxMemoryDC())
9674 static PyObject
*_wrap_new_wxMemoryDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9675 PyObject
* _resultobj
;
9676 wxMemoryDC
* _result
;
9677 char *_kwnames
[] = { NULL
};
9681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMemoryDC",_kwnames
))
9684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9685 _result
= (wxMemoryDC
*)new_wxMemoryDC();
9687 wxPyEndAllowThreads(__tstate
);
9688 if (PyErr_Occurred()) return NULL
;
9690 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
9691 _resultobj
= Py_BuildValue("s",_ptemp
);
9694 _resultobj
= Py_None
;
9699 #define wxMemoryDC_SelectObject(_swigobj,_swigarg0) (_swigobj->SelectObject(_swigarg0))
9700 static PyObject
*_wrap_wxMemoryDC_SelectObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9701 PyObject
* _resultobj
;
9704 PyObject
* _argo0
= 0;
9705 PyObject
* _argo1
= 0;
9706 char *_kwnames
[] = { "self","bitmap", NULL
};
9709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMemoryDC_SelectObject",_kwnames
,&_argo0
,&_argo1
))
9712 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9713 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMemoryDC_p")) {
9714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDC_SelectObject. Expected _wxMemoryDC_p.");
9719 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9720 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
9721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMemoryDC_SelectObject. Expected _wxBitmap_p.");
9726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9727 wxMemoryDC_SelectObject(_arg0
,*_arg1
);
9729 wxPyEndAllowThreads(__tstate
);
9730 if (PyErr_Occurred()) return NULL
;
9731 } Py_INCREF(Py_None
);
9732 _resultobj
= Py_None
;
9736 static void *SwigwxScreenDCTowxDC(void *ptr
) {
9739 src
= (wxScreenDC
*) ptr
;
9740 dest
= (wxDC
*) src
;
9741 return (void *) dest
;
9744 static void *SwigwxScreenDCTowxObject(void *ptr
) {
9747 src
= (wxScreenDC
*) ptr
;
9748 dest
= (wxObject
*) src
;
9749 return (void *) dest
;
9752 #define new_wxScreenDC() (new wxScreenDC())
9753 static PyObject
*_wrap_new_wxScreenDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9754 PyObject
* _resultobj
;
9755 wxScreenDC
* _result
;
9756 char *_kwnames
[] = { NULL
};
9760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxScreenDC",_kwnames
))
9763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9764 _result
= (wxScreenDC
*)new_wxScreenDC();
9766 wxPyEndAllowThreads(__tstate
);
9767 if (PyErr_Occurred()) return NULL
;
9769 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScreenDC_p");
9770 _resultobj
= Py_BuildValue("s",_ptemp
);
9773 _resultobj
= Py_None
;
9778 #define wxScreenDC_StartDrawingOnTopWin(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
9779 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTopWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9780 PyObject
* _resultobj
;
9784 PyObject
* _argo0
= 0;
9785 PyObject
* _argo1
= 0;
9786 char *_kwnames
[] = { "self","window", NULL
};
9789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScreenDC_StartDrawingOnTopWin",_kwnames
,&_argo0
,&_argo1
))
9792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
9794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTopWin. Expected _wxScreenDC_p.");
9799 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9800 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
9801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScreenDC_StartDrawingOnTopWin. Expected _wxWindow_p.");
9806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9807 _result
= (bool )wxScreenDC_StartDrawingOnTopWin(_arg0
,_arg1
);
9809 wxPyEndAllowThreads(__tstate
);
9810 if (PyErr_Occurred()) return NULL
;
9811 } _resultobj
= Py_BuildValue("i",_result
);
9815 #define wxScreenDC_StartDrawingOnTop(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
9816 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9817 PyObject
* _resultobj
;
9820 wxRect
* _arg1
= (wxRect
*) NULL
;
9821 PyObject
* _argo0
= 0;
9823 PyObject
* _obj1
= 0;
9824 char *_kwnames
[] = { "self","rect", NULL
};
9827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxScreenDC_StartDrawingOnTop",_kwnames
,&_argo0
,&_obj1
))
9830 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9831 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
9832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTop. Expected _wxScreenDC_p.");
9839 if (! wxRect_helper(_obj1
, &_arg1
))
9843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9844 _result
= (bool )wxScreenDC_StartDrawingOnTop(_arg0
,_arg1
);
9846 wxPyEndAllowThreads(__tstate
);
9847 if (PyErr_Occurred()) return NULL
;
9848 } _resultobj
= Py_BuildValue("i",_result
);
9852 #define wxScreenDC_EndDrawingOnTop(_swigobj) (_swigobj->EndDrawingOnTop())
9853 static PyObject
*_wrap_wxScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9854 PyObject
* _resultobj
;
9857 PyObject
* _argo0
= 0;
9858 char *_kwnames
[] = { "self", NULL
};
9861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScreenDC_EndDrawingOnTop",_kwnames
,&_argo0
))
9864 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9865 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
9866 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_EndDrawingOnTop. Expected _wxScreenDC_p.");
9871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9872 _result
= (bool )wxScreenDC_EndDrawingOnTop(_arg0
);
9874 wxPyEndAllowThreads(__tstate
);
9875 if (PyErr_Occurred()) return NULL
;
9876 } _resultobj
= Py_BuildValue("i",_result
);
9880 static void *SwigwxClientDCTowxDC(void *ptr
) {
9883 src
= (wxClientDC
*) ptr
;
9884 dest
= (wxDC
*) src
;
9885 return (void *) dest
;
9888 static void *SwigwxClientDCTowxObject(void *ptr
) {
9891 src
= (wxClientDC
*) ptr
;
9892 dest
= (wxObject
*) src
;
9893 return (void *) dest
;
9896 #define new_wxClientDC(_swigarg0) (new wxClientDC(_swigarg0))
9897 static PyObject
*_wrap_new_wxClientDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9898 PyObject
* _resultobj
;
9899 wxClientDC
* _result
;
9901 PyObject
* _argo0
= 0;
9902 char *_kwnames
[] = { "win", NULL
};
9906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxClientDC",_kwnames
,&_argo0
))
9909 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9910 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxClientDC. Expected _wxWindow_p.");
9916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9917 _result
= (wxClientDC
*)new_wxClientDC(_arg0
);
9919 wxPyEndAllowThreads(__tstate
);
9920 if (PyErr_Occurred()) return NULL
;
9922 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxClientDC_p");
9923 _resultobj
= Py_BuildValue("s",_ptemp
);
9926 _resultobj
= Py_None
;
9931 static void *SwigwxPaintDCTowxDC(void *ptr
) {
9934 src
= (wxPaintDC
*) ptr
;
9935 dest
= (wxDC
*) src
;
9936 return (void *) dest
;
9939 static void *SwigwxPaintDCTowxObject(void *ptr
) {
9942 src
= (wxPaintDC
*) ptr
;
9943 dest
= (wxObject
*) src
;
9944 return (void *) dest
;
9947 #define new_wxPaintDC(_swigarg0) (new wxPaintDC(_swigarg0))
9948 static PyObject
*_wrap_new_wxPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9949 PyObject
* _resultobj
;
9950 wxPaintDC
* _result
;
9952 PyObject
* _argo0
= 0;
9953 char *_kwnames
[] = { "win", NULL
};
9957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPaintDC",_kwnames
,&_argo0
))
9960 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9961 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPaintDC. Expected _wxWindow_p.");
9967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9968 _result
= (wxPaintDC
*)new_wxPaintDC(_arg0
);
9970 wxPyEndAllowThreads(__tstate
);
9971 if (PyErr_Occurred()) return NULL
;
9973 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPaintDC_p");
9974 _resultobj
= Py_BuildValue("s",_ptemp
);
9977 _resultobj
= Py_None
;
9982 static void *SwigwxWindowDCTowxDC(void *ptr
) {
9985 src
= (wxWindowDC
*) ptr
;
9986 dest
= (wxDC
*) src
;
9987 return (void *) dest
;
9990 static void *SwigwxWindowDCTowxObject(void *ptr
) {
9993 src
= (wxWindowDC
*) ptr
;
9994 dest
= (wxObject
*) src
;
9995 return (void *) dest
;
9998 #define new_wxWindowDC(_swigarg0) (new wxWindowDC(_swigarg0))
9999 static PyObject
*_wrap_new_wxWindowDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10000 PyObject
* _resultobj
;
10001 wxWindowDC
* _result
;
10003 PyObject
* _argo0
= 0;
10004 char *_kwnames
[] = { "win", NULL
};
10008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxWindowDC",_kwnames
,&_argo0
))
10011 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10012 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
10013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDC. Expected _wxWindow_p.");
10018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10019 _result
= (wxWindowDC
*)new_wxWindowDC(_arg0
);
10021 wxPyEndAllowThreads(__tstate
);
10022 if (PyErr_Occurred()) return NULL
;
10024 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDC_p");
10025 _resultobj
= Py_BuildValue("s",_ptemp
);
10027 Py_INCREF(Py_None
);
10028 _resultobj
= Py_None
;
10033 static void *SwigwxPaletteTowxGDIObject(void *ptr
) {
10036 src
= (wxPalette
*) ptr
;
10037 dest
= (wxGDIObject
*) src
;
10038 return (void *) dest
;
10041 static void *SwigwxPaletteTowxObject(void *ptr
) {
10044 src
= (wxPalette
*) ptr
;
10045 dest
= (wxObject
*) src
;
10046 return (void *) dest
;
10049 #define new_wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10050 static PyObject
*_wrap_new_wxPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10051 PyObject
* _resultobj
;
10052 wxPalette
* _result
;
10057 PyObject
* _obj1
= 0;
10058 PyObject
* _obj2
= 0;
10059 PyObject
* _obj3
= 0;
10060 char *_kwnames
[] = { "choices","choices","choices", NULL
};
10064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:new_wxPalette",_kwnames
,&_obj1
,&_obj2
,&_obj3
))
10067 _arg1
= byte_LIST_helper(_obj1
);
10068 if (_arg1
== NULL
) {
10073 _arg2
= byte_LIST_helper(_obj2
);
10074 if (_arg2
== NULL
) {
10080 _arg3
= byte_LIST_helper(_obj3
);
10081 if (_arg3
== NULL
) {
10087 _arg0
= PyList_Size(_obj1
);
10094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10095 _result
= (wxPalette
*)new_wxPalette(_arg0
,_arg1
,_arg2
,_arg3
);
10097 wxPyEndAllowThreads(__tstate
);
10098 if (PyErr_Occurred()) return NULL
;
10100 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPalette_p");
10101 _resultobj
= Py_BuildValue("s",_ptemp
);
10103 Py_INCREF(Py_None
);
10104 _resultobj
= Py_None
;
10118 #define delete_wxPalette(_swigobj) (delete _swigobj)
10119 static PyObject
*_wrap_delete_wxPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10120 PyObject
* _resultobj
;
10122 PyObject
* _argo0
= 0;
10123 char *_kwnames
[] = { "self", NULL
};
10126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPalette",_kwnames
,&_argo0
))
10129 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10130 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
10131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPalette. Expected _wxPalette_p.");
10136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10137 delete_wxPalette(_arg0
);
10139 wxPyEndAllowThreads(__tstate
);
10140 if (PyErr_Occurred()) return NULL
;
10141 } Py_INCREF(Py_None
);
10142 _resultobj
= Py_None
;
10146 #define wxPalette_GetPixel(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetPixel(_swigarg0,_swigarg1,_swigarg2))
10147 static PyObject
*_wrap_wxPalette_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10148 PyObject
* _resultobj
;
10154 PyObject
* _argo0
= 0;
10155 char *_kwnames
[] = { "self","red","green","blue", NULL
};
10158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Obbb:wxPalette_GetPixel",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
10161 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10162 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
10163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetPixel. Expected _wxPalette_p.");
10168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10169 _result
= (int )wxPalette_GetPixel(_arg0
,_arg1
,_arg2
,_arg3
);
10171 wxPyEndAllowThreads(__tstate
);
10172 if (PyErr_Occurred()) return NULL
;
10173 } _resultobj
= Py_BuildValue("i",_result
);
10177 #define wxPalette_GetRGB(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetRGB(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10178 static PyObject
*_wrap_wxPalette_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10179 PyObject
* _resultobj
;
10186 PyObject
* _argo0
= 0;
10187 PyObject
* _argo2
= 0;
10188 PyObject
* _argo3
= 0;
10189 PyObject
* _argo4
= 0;
10190 char *_kwnames
[] = { "self","pixel","OUTPUT","OUTPUT","OUTPUT", NULL
};
10193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOOO:wxPalette_GetRGB",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_argo4
))
10196 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10197 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
10198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetRGB. Expected _wxPalette_p.");
10203 if (_argo2
== Py_None
) { _arg2
= NULL
; }
10204 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_byte_p")) {
10205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPalette_GetRGB. Expected _byte_p.");
10210 if (_argo3
== Py_None
) { _arg3
= NULL
; }
10211 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_byte_p")) {
10212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxPalette_GetRGB. Expected _byte_p.");
10217 if (_argo4
== Py_None
) { _arg4
= NULL
; }
10218 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_byte_p")) {
10219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxPalette_GetRGB. Expected _byte_p.");
10224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10225 _result
= (bool )wxPalette_GetRGB(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
10227 wxPyEndAllowThreads(__tstate
);
10228 if (PyErr_Occurred()) return NULL
;
10229 } _resultobj
= Py_BuildValue("i",_result
);
10233 #define wxPalette_Ok(_swigobj) (_swigobj->Ok())
10234 static PyObject
*_wrap_wxPalette_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10235 PyObject
* _resultobj
;
10238 PyObject
* _argo0
= 0;
10239 char *_kwnames
[] = { "self", NULL
};
10242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPalette_Ok",_kwnames
,&_argo0
))
10245 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10246 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
10247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_Ok. Expected _wxPalette_p.");
10252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10253 _result
= (bool )wxPalette_Ok(_arg0
);
10255 wxPyEndAllowThreads(__tstate
);
10256 if (PyErr_Occurred()) return NULL
;
10257 } _resultobj
= Py_BuildValue("i",_result
);
10261 static void *SwigwxImageListTowxObject(void *ptr
) {
10264 src
= (wxImageList
*) ptr
;
10265 dest
= (wxObject
*) src
;
10266 return (void *) dest
;
10269 #define new_wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10270 static PyObject
*_wrap_new_wxImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10271 PyObject
* _resultobj
;
10272 wxImageList
* _result
;
10275 int _arg2
= (int ) TRUE
;
10276 int _arg3
= (int ) 1;
10277 char *_kwnames
[] = { "width","height","mask","initialCount", NULL
};
10281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ii|ii:new_wxImageList",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
10284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10285 _result
= (wxImageList
*)new_wxImageList(_arg0
,_arg1
,_arg2
,_arg3
);
10287 wxPyEndAllowThreads(__tstate
);
10288 if (PyErr_Occurred()) return NULL
;
10290 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
10291 _resultobj
= Py_BuildValue("s",_ptemp
);
10293 Py_INCREF(Py_None
);
10294 _resultobj
= Py_None
;
10299 #define delete_wxImageList(_swigobj) (delete _swigobj)
10300 static PyObject
*_wrap_delete_wxImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10301 PyObject
* _resultobj
;
10302 wxImageList
* _arg0
;
10303 PyObject
* _argo0
= 0;
10304 char *_kwnames
[] = { "self", NULL
};
10307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxImageList",_kwnames
,&_argo0
))
10310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxImageList. Expected _wxImageList_p.");
10317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10318 delete_wxImageList(_arg0
);
10320 wxPyEndAllowThreads(__tstate
);
10321 if (PyErr_Occurred()) return NULL
;
10322 } Py_INCREF(Py_None
);
10323 _resultobj
= Py_None
;
10327 #define wxImageList_Add(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
10328 static PyObject
*_wrap_wxImageList_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10329 PyObject
* _resultobj
;
10331 wxImageList
* _arg0
;
10333 wxBitmap
* _arg2
= (wxBitmap
*) &wxNullBitmap
;
10334 PyObject
* _argo0
= 0;
10335 PyObject
* _argo1
= 0;
10336 PyObject
* _argo2
= 0;
10337 char *_kwnames
[] = { "self","bitmap","mask", NULL
};
10340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxImageList_Add",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
10343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Add. Expected _wxImageList_p.");
10350 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10351 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
10352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_Add. Expected _wxBitmap_p.");
10357 if (_argo2
== Py_None
) { _arg2
= NULL
; }
10358 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
10359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Add. Expected _wxBitmap_p.");
10364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10365 _result
= (int )wxImageList_Add(_arg0
,*_arg1
,*_arg2
);
10367 wxPyEndAllowThreads(__tstate
);
10368 if (PyErr_Occurred()) return NULL
;
10369 } _resultobj
= Py_BuildValue("i",_result
);
10373 #define wxImageList_AddWithColourMask(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
10374 static PyObject
*_wrap_wxImageList_AddWithColourMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10375 PyObject
* _resultobj
;
10377 wxImageList
* _arg0
;
10380 PyObject
* _argo0
= 0;
10381 PyObject
* _argo1
= 0;
10383 PyObject
* _obj2
= 0;
10384 char *_kwnames
[] = { "self","bitmap","maskColour", NULL
};
10387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxImageList_AddWithColourMask",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
10390 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10391 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_AddWithColourMask. Expected _wxImageList_p.");
10397 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10398 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
10399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_AddWithColourMask. Expected _wxBitmap_p.");
10405 if (! wxColour_helper(_obj2
, &_arg2
))
10409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10410 _result
= (int )wxImageList_AddWithColourMask(_arg0
,*_arg1
,*_arg2
);
10412 wxPyEndAllowThreads(__tstate
);
10413 if (PyErr_Occurred()) return NULL
;
10414 } _resultobj
= Py_BuildValue("i",_result
);
10418 #define wxImageList_AddIcon(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
10419 static PyObject
*_wrap_wxImageList_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10420 PyObject
* _resultobj
;
10422 wxImageList
* _arg0
;
10424 PyObject
* _argo0
= 0;
10425 PyObject
* _argo1
= 0;
10426 char *_kwnames
[] = { "self","icon", NULL
};
10429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxImageList_AddIcon",_kwnames
,&_argo0
,&_argo1
))
10432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_AddIcon. Expected _wxImageList_p.");
10439 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10440 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
10441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_AddIcon. Expected _wxIcon_p.");
10446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10447 _result
= (int )wxImageList_AddIcon(_arg0
,*_arg1
);
10449 wxPyEndAllowThreads(__tstate
);
10450 if (PyErr_Occurred()) return NULL
;
10451 } _resultobj
= Py_BuildValue("i",_result
);
10455 #define wxImageList_Replace(_swigobj,_swigarg0,_swigarg1) (_swigobj->Replace(_swigarg0,_swigarg1))
10456 static PyObject
*_wrap_wxImageList_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10457 PyObject
* _resultobj
;
10459 wxImageList
* _arg0
;
10462 PyObject
* _argo0
= 0;
10463 PyObject
* _argo2
= 0;
10464 char *_kwnames
[] = { "self","index","bitmap", NULL
};
10467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxImageList_Replace",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
10470 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10471 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Replace. Expected _wxImageList_p.");
10477 if (_argo2
== Py_None
) { _arg2
= NULL
; }
10478 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
10479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Replace. Expected _wxBitmap_p.");
10484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10485 _result
= (bool )wxImageList_Replace(_arg0
,_arg1
,*_arg2
);
10487 wxPyEndAllowThreads(__tstate
);
10488 if (PyErr_Occurred()) return NULL
;
10489 } _resultobj
= Py_BuildValue("i",_result
);
10493 #define wxImageList_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
10494 static PyObject
*_wrap_wxImageList_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10495 PyObject
* _resultobj
;
10497 wxImageList
* _arg0
;
10502 int _arg5
= (int ) (wxIMAGELIST_DRAW_NORMAL
);
10503 bool _arg6
= (bool ) FALSE
;
10504 PyObject
* _argo0
= 0;
10505 PyObject
* _argo2
= 0;
10506 int tempbool6
= (int) FALSE
;
10507 char *_kwnames
[] = { "self","index","dc","x","x","flags","solidBackground", NULL
};
10510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOii|ii:wxImageList_Draw",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
10513 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10514 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Draw. Expected _wxImageList_p.");
10520 if (_argo2
== Py_None
) { _arg2
= NULL
; }
10521 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDC_p")) {
10522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Draw. Expected _wxDC_p.");
10526 _arg6
= (bool ) tempbool6
;
10528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10529 _result
= (bool )wxImageList_Draw(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
10531 wxPyEndAllowThreads(__tstate
);
10532 if (PyErr_Occurred()) return NULL
;
10533 } _resultobj
= Py_BuildValue("i",_result
);
10537 #define wxImageList_GetImageCount(_swigobj) (_swigobj->GetImageCount())
10538 static PyObject
*_wrap_wxImageList_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10539 PyObject
* _resultobj
;
10541 wxImageList
* _arg0
;
10542 PyObject
* _argo0
= 0;
10543 char *_kwnames
[] = { "self", NULL
};
10546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxImageList_GetImageCount",_kwnames
,&_argo0
))
10549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_GetImageCount. Expected _wxImageList_p.");
10556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10557 _result
= (int )wxImageList_GetImageCount(_arg0
);
10559 wxPyEndAllowThreads(__tstate
);
10560 if (PyErr_Occurred()) return NULL
;
10561 } _resultobj
= Py_BuildValue("i",_result
);
10565 #define wxImageList_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
10566 static PyObject
*_wrap_wxImageList_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10567 PyObject
* _resultobj
;
10569 wxImageList
* _arg0
;
10571 PyObject
* _argo0
= 0;
10572 char *_kwnames
[] = { "self","index", NULL
};
10575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxImageList_Remove",_kwnames
,&_argo0
,&_arg1
))
10578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Remove. Expected _wxImageList_p.");
10585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10586 _result
= (bool )wxImageList_Remove(_arg0
,_arg1
);
10588 wxPyEndAllowThreads(__tstate
);
10589 if (PyErr_Occurred()) return NULL
;
10590 } _resultobj
= Py_BuildValue("i",_result
);
10594 #define wxImageList_RemoveAll(_swigobj) (_swigobj->RemoveAll())
10595 static PyObject
*_wrap_wxImageList_RemoveAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10596 PyObject
* _resultobj
;
10598 wxImageList
* _arg0
;
10599 PyObject
* _argo0
= 0;
10600 char *_kwnames
[] = { "self", NULL
};
10603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxImageList_RemoveAll",_kwnames
,&_argo0
))
10606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_RemoveAll. Expected _wxImageList_p.");
10613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10614 _result
= (bool )wxImageList_RemoveAll(_arg0
);
10616 wxPyEndAllowThreads(__tstate
);
10617 if (PyErr_Occurred()) return NULL
;
10618 } _resultobj
= Py_BuildValue("i",_result
);
10622 #define wxImageList_GetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetSize(_swigarg0,_swigarg1,_swigarg2))
10623 static PyObject
*_wrap_wxImageList_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10624 PyObject
* _resultobj
;
10625 wxImageList
* _arg0
;
10631 PyObject
* _argo0
= 0;
10632 char *_kwnames
[] = { "self","index", NULL
};
10641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxImageList_GetSize",_kwnames
,&_argo0
,&_arg1
))
10644 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10645 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_GetSize. Expected _wxImageList_p.");
10651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10652 wxImageList_GetSize(_arg0
,_arg1
,*_arg2
,*_arg3
);
10654 wxPyEndAllowThreads(__tstate
);
10655 if (PyErr_Occurred()) return NULL
;
10656 } Py_INCREF(Py_None
);
10657 _resultobj
= Py_None
;
10660 o
= PyInt_FromLong((long) (*_arg2
));
10661 _resultobj
= t_output_helper(_resultobj
, o
);
10665 o
= PyInt_FromLong((long) (*_arg3
));
10666 _resultobj
= t_output_helper(_resultobj
, o
);
10671 static void *SwigwxRegionTowxGDIObject(void *ptr
) {
10674 src
= (wxRegion
*) ptr
;
10675 dest
= (wxGDIObject
*) src
;
10676 return (void *) dest
;
10679 static void *SwigwxRegionTowxObject(void *ptr
) {
10682 src
= (wxRegion
*) ptr
;
10683 dest
= (wxObject
*) src
;
10684 return (void *) dest
;
10687 #define new_wxRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10688 static PyObject
*_wrap_new_wxRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10689 PyObject
* _resultobj
;
10690 wxRegion
* _result
;
10691 long _arg0
= (long ) 0;
10692 long _arg1
= (long ) 0;
10693 long _arg2
= (long ) 0;
10694 long _arg3
= (long ) 0;
10695 char *_kwnames
[] = { "x","y","width","height", NULL
};
10699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|llll:new_wxRegion",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
10702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10703 _result
= (wxRegion
*)new_wxRegion(_arg0
,_arg1
,_arg2
,_arg3
);
10705 wxPyEndAllowThreads(__tstate
);
10706 if (PyErr_Occurred()) return NULL
;
10708 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegion_p");
10709 _resultobj
= Py_BuildValue("s",_ptemp
);
10711 Py_INCREF(Py_None
);
10712 _resultobj
= Py_None
;
10717 #define delete_wxRegion(_swigobj) (delete _swigobj)
10718 static PyObject
*_wrap_delete_wxRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10719 PyObject
* _resultobj
;
10721 PyObject
* _argo0
= 0;
10722 char *_kwnames
[] = { "self", NULL
};
10725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRegion",_kwnames
,&_argo0
))
10728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegion. Expected _wxRegion_p.");
10735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10736 delete_wxRegion(_arg0
);
10738 wxPyEndAllowThreads(__tstate
);
10739 if (PyErr_Occurred()) return NULL
;
10740 } Py_INCREF(Py_None
);
10741 _resultobj
= Py_None
;
10745 #define wxRegion_Clear(_swigobj) (_swigobj->Clear())
10746 static PyObject
*_wrap_wxRegion_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10747 PyObject
* _resultobj
;
10749 PyObject
* _argo0
= 0;
10750 char *_kwnames
[] = { "self", NULL
};
10753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_Clear",_kwnames
,&_argo0
))
10756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Clear. Expected _wxRegion_p.");
10763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10764 wxRegion_Clear(_arg0
);
10766 wxPyEndAllowThreads(__tstate
);
10767 if (PyErr_Occurred()) return NULL
;
10768 } Py_INCREF(Py_None
);
10769 _resultobj
= Py_None
;
10773 #define wxRegion_Contains(_swigobj,_swigarg0,_swigarg1) (_swigobj->Contains(_swigarg0,_swigarg1))
10774 static PyObject
*_wrap_wxRegion_Contains(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10775 PyObject
* _resultobj
;
10776 wxRegionContain _result
;
10780 PyObject
* _argo0
= 0;
10781 char *_kwnames
[] = { "self","x","y", NULL
};
10784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxRegion_Contains",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10787 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10788 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Contains. Expected _wxRegion_p.");
10794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10795 _result
= (wxRegionContain
)wxRegion_Contains(_arg0
,_arg1
,_arg2
);
10797 wxPyEndAllowThreads(__tstate
);
10798 if (PyErr_Occurred()) return NULL
;
10799 } _resultobj
= Py_BuildValue("i",_result
);
10803 #define wxRegion_ContainsPoint(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
10804 static PyObject
*_wrap_wxRegion_ContainsPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10805 PyObject
* _resultobj
;
10806 wxRegionContain _result
;
10809 PyObject
* _argo0
= 0;
10811 PyObject
* _obj1
= 0;
10812 char *_kwnames
[] = { "self","pt", NULL
};
10815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_ContainsPoint",_kwnames
,&_argo0
,&_obj1
))
10818 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10819 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsPoint. Expected _wxRegion_p.");
10826 if (! wxPoint_helper(_obj1
, &_arg1
))
10830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10831 _result
= (wxRegionContain
)wxRegion_ContainsPoint(_arg0
,*_arg1
);
10833 wxPyEndAllowThreads(__tstate
);
10834 if (PyErr_Occurred()) return NULL
;
10835 } _resultobj
= Py_BuildValue("i",_result
);
10839 #define wxRegion_ContainsRect(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
10840 static PyObject
*_wrap_wxRegion_ContainsRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10841 PyObject
* _resultobj
;
10842 wxRegionContain _result
;
10845 PyObject
* _argo0
= 0;
10847 PyObject
* _obj1
= 0;
10848 char *_kwnames
[] = { "self","rect", NULL
};
10851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_ContainsRect",_kwnames
,&_argo0
,&_obj1
))
10854 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10855 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsRect. Expected _wxRegion_p.");
10862 if (! wxRect_helper(_obj1
, &_arg1
))
10866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10867 _result
= (wxRegionContain
)wxRegion_ContainsRect(_arg0
,*_arg1
);
10869 wxPyEndAllowThreads(__tstate
);
10870 if (PyErr_Occurred()) return NULL
;
10871 } _resultobj
= Py_BuildValue("i",_result
);
10875 #define wxRegion_ContainsRectDim(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Contains(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10876 static PyObject
*_wrap_wxRegion_ContainsRectDim(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10877 PyObject
* _resultobj
;
10878 wxRegionContain _result
;
10884 PyObject
* _argo0
= 0;
10885 char *_kwnames
[] = { "self","x","y","w","h", NULL
};
10888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_ContainsRectDim",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
10891 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10892 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsRectDim. Expected _wxRegion_p.");
10898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10899 _result
= (wxRegionContain
)wxRegion_ContainsRectDim(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
10901 wxPyEndAllowThreads(__tstate
);
10902 if (PyErr_Occurred()) return NULL
;
10903 } _resultobj
= Py_BuildValue("i",_result
);
10907 #define wxRegion_GetBox(_swigobj) (_swigobj->GetBox())
10908 static PyObject
*_wrap_wxRegion_GetBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10909 PyObject
* _resultobj
;
10912 PyObject
* _argo0
= 0;
10913 char *_kwnames
[] = { "self", NULL
};
10917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_GetBox",_kwnames
,&_argo0
))
10920 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10921 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_GetBox. Expected _wxRegion_p.");
10927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10928 _result
= new wxRect (wxRegion_GetBox(_arg0
));
10930 wxPyEndAllowThreads(__tstate
);
10931 if (PyErr_Occurred()) return NULL
;
10932 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
10933 _resultobj
= Py_BuildValue("s",_ptemp
);
10937 #define wxRegion_Intersect(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Intersect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10938 static PyObject
*_wrap_wxRegion_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10939 PyObject
* _resultobj
;
10946 PyObject
* _argo0
= 0;
10947 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
10950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Intersect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
10953 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10954 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Intersect. Expected _wxRegion_p.");
10960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10961 _result
= (bool )wxRegion_Intersect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
10963 wxPyEndAllowThreads(__tstate
);
10964 if (PyErr_Occurred()) return NULL
;
10965 } _resultobj
= Py_BuildValue("i",_result
);
10969 #define wxRegion_IntersectRect(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
10970 static PyObject
*_wrap_wxRegion_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10971 PyObject
* _resultobj
;
10975 PyObject
* _argo0
= 0;
10977 PyObject
* _obj1
= 0;
10978 char *_kwnames
[] = { "self","rect", NULL
};
10981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_IntersectRect",_kwnames
,&_argo0
,&_obj1
))
10984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IntersectRect. Expected _wxRegion_p.");
10992 if (! wxRect_helper(_obj1
, &_arg1
))
10996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10997 _result
= (bool )wxRegion_IntersectRect(_arg0
,*_arg1
);
10999 wxPyEndAllowThreads(__tstate
);
11000 if (PyErr_Occurred()) return NULL
;
11001 } _resultobj
= Py_BuildValue("i",_result
);
11005 #define wxRegion_IntersectRegion(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
11006 static PyObject
*_wrap_wxRegion_IntersectRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11007 PyObject
* _resultobj
;
11011 PyObject
* _argo0
= 0;
11012 PyObject
* _argo1
= 0;
11013 char *_kwnames
[] = { "self","region", NULL
};
11016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_IntersectRegion",_kwnames
,&_argo0
,&_argo1
))
11019 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11020 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IntersectRegion. Expected _wxRegion_p.");
11026 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11027 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
11028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_IntersectRegion. Expected _wxRegion_p.");
11033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11034 _result
= (bool )wxRegion_IntersectRegion(_arg0
,*_arg1
);
11036 wxPyEndAllowThreads(__tstate
);
11037 if (PyErr_Occurred()) return NULL
;
11038 } _resultobj
= Py_BuildValue("i",_result
);
11042 #define wxRegion_IsEmpty(_swigobj) (_swigobj->IsEmpty())
11043 static PyObject
*_wrap_wxRegion_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11044 PyObject
* _resultobj
;
11047 PyObject
* _argo0
= 0;
11048 char *_kwnames
[] = { "self", NULL
};
11051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_IsEmpty",_kwnames
,&_argo0
))
11054 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11055 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IsEmpty. Expected _wxRegion_p.");
11061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11062 _result
= (bool )wxRegion_IsEmpty(_arg0
);
11064 wxPyEndAllowThreads(__tstate
);
11065 if (PyErr_Occurred()) return NULL
;
11066 } _resultobj
= Py_BuildValue("i",_result
);
11070 #define wxRegion_Union(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Union(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11071 static PyObject
*_wrap_wxRegion_Union(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11072 PyObject
* _resultobj
;
11079 PyObject
* _argo0
= 0;
11080 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
11083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Union",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
11086 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11087 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Union. Expected _wxRegion_p.");
11093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11094 _result
= (bool )wxRegion_Union(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
11096 wxPyEndAllowThreads(__tstate
);
11097 if (PyErr_Occurred()) return NULL
;
11098 } _resultobj
= Py_BuildValue("i",_result
);
11102 #define wxRegion_UnionRect(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
11103 static PyObject
*_wrap_wxRegion_UnionRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11104 PyObject
* _resultobj
;
11108 PyObject
* _argo0
= 0;
11110 PyObject
* _obj1
= 0;
11111 char *_kwnames
[] = { "self","rect", NULL
};
11114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_UnionRect",_kwnames
,&_argo0
,&_obj1
))
11117 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11118 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_UnionRect. Expected _wxRegion_p.");
11125 if (! wxRect_helper(_obj1
, &_arg1
))
11129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11130 _result
= (bool )wxRegion_UnionRect(_arg0
,*_arg1
);
11132 wxPyEndAllowThreads(__tstate
);
11133 if (PyErr_Occurred()) return NULL
;
11134 } _resultobj
= Py_BuildValue("i",_result
);
11138 #define wxRegion_UnionRegion(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
11139 static PyObject
*_wrap_wxRegion_UnionRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11140 PyObject
* _resultobj
;
11144 PyObject
* _argo0
= 0;
11145 PyObject
* _argo1
= 0;
11146 char *_kwnames
[] = { "self","region", NULL
};
11149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_UnionRegion",_kwnames
,&_argo0
,&_argo1
))
11152 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11153 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_UnionRegion. Expected _wxRegion_p.");
11159 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11160 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
11161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_UnionRegion. Expected _wxRegion_p.");
11166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11167 _result
= (bool )wxRegion_UnionRegion(_arg0
,*_arg1
);
11169 wxPyEndAllowThreads(__tstate
);
11170 if (PyErr_Occurred()) return NULL
;
11171 } _resultobj
= Py_BuildValue("i",_result
);
11175 #define wxRegion_Subtract(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Subtract(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11176 static PyObject
*_wrap_wxRegion_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11177 PyObject
* _resultobj
;
11184 PyObject
* _argo0
= 0;
11185 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
11188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Subtract",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
11191 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11192 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Subtract. Expected _wxRegion_p.");
11198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11199 _result
= (bool )wxRegion_Subtract(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
11201 wxPyEndAllowThreads(__tstate
);
11202 if (PyErr_Occurred()) return NULL
;
11203 } _resultobj
= Py_BuildValue("i",_result
);
11207 #define wxRegion_SubtractRect(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
11208 static PyObject
*_wrap_wxRegion_SubtractRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11209 PyObject
* _resultobj
;
11213 PyObject
* _argo0
= 0;
11215 PyObject
* _obj1
= 0;
11216 char *_kwnames
[] = { "self","rect", NULL
};
11219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_SubtractRect",_kwnames
,&_argo0
,&_obj1
))
11222 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11223 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_SubtractRect. Expected _wxRegion_p.");
11230 if (! wxRect_helper(_obj1
, &_arg1
))
11234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11235 _result
= (bool )wxRegion_SubtractRect(_arg0
,*_arg1
);
11237 wxPyEndAllowThreads(__tstate
);
11238 if (PyErr_Occurred()) return NULL
;
11239 } _resultobj
= Py_BuildValue("i",_result
);
11243 #define wxRegion_SubtractRegion(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
11244 static PyObject
*_wrap_wxRegion_SubtractRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11245 PyObject
* _resultobj
;
11249 PyObject
* _argo0
= 0;
11250 PyObject
* _argo1
= 0;
11251 char *_kwnames
[] = { "self","region", NULL
};
11254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_SubtractRegion",_kwnames
,&_argo0
,&_argo1
))
11257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_SubtractRegion. Expected _wxRegion_p.");
11264 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11265 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
11266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_SubtractRegion. Expected _wxRegion_p.");
11271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11272 _result
= (bool )wxRegion_SubtractRegion(_arg0
,*_arg1
);
11274 wxPyEndAllowThreads(__tstate
);
11275 if (PyErr_Occurred()) return NULL
;
11276 } _resultobj
= Py_BuildValue("i",_result
);
11280 #define wxRegion_Xor(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Xor(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11281 static PyObject
*_wrap_wxRegion_Xor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11282 PyObject
* _resultobj
;
11289 PyObject
* _argo0
= 0;
11290 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
11293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Xor",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
11296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Xor. Expected _wxRegion_p.");
11303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11304 _result
= (bool )wxRegion_Xor(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
11306 wxPyEndAllowThreads(__tstate
);
11307 if (PyErr_Occurred()) return NULL
;
11308 } _resultobj
= Py_BuildValue("i",_result
);
11312 #define wxRegion_XorRect(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
11313 static PyObject
*_wrap_wxRegion_XorRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11314 PyObject
* _resultobj
;
11318 PyObject
* _argo0
= 0;
11320 PyObject
* _obj1
= 0;
11321 char *_kwnames
[] = { "self","rect", NULL
};
11324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_XorRect",_kwnames
,&_argo0
,&_obj1
))
11327 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11328 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_XorRect. Expected _wxRegion_p.");
11335 if (! wxRect_helper(_obj1
, &_arg1
))
11339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11340 _result
= (bool )wxRegion_XorRect(_arg0
,*_arg1
);
11342 wxPyEndAllowThreads(__tstate
);
11343 if (PyErr_Occurred()) return NULL
;
11344 } _resultobj
= Py_BuildValue("i",_result
);
11348 #define wxRegion_XorRegion(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
11349 static PyObject
*_wrap_wxRegion_XorRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11350 PyObject
* _resultobj
;
11354 PyObject
* _argo0
= 0;
11355 PyObject
* _argo1
= 0;
11356 char *_kwnames
[] = { "self","region", NULL
};
11359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_XorRegion",_kwnames
,&_argo0
,&_argo1
))
11362 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11363 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_XorRegion. Expected _wxRegion_p.");
11369 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11370 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
11371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_XorRegion. Expected _wxRegion_p.");
11376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11377 _result
= (bool )wxRegion_XorRegion(_arg0
,*_arg1
);
11379 wxPyEndAllowThreads(__tstate
);
11380 if (PyErr_Occurred()) return NULL
;
11381 } _resultobj
= Py_BuildValue("i",_result
);
11385 static void *SwigwxRegionIteratorTowxObject(void *ptr
) {
11386 wxRegionIterator
*src
;
11388 src
= (wxRegionIterator
*) ptr
;
11389 dest
= (wxObject
*) src
;
11390 return (void *) dest
;
11393 #define new_wxRegionIterator(_swigarg0) (new wxRegionIterator(_swigarg0))
11394 static PyObject
*_wrap_new_wxRegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11395 PyObject
* _resultobj
;
11396 wxRegionIterator
* _result
;
11398 PyObject
* _argo0
= 0;
11399 char *_kwnames
[] = { "region", NULL
};
11403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxRegionIterator",_kwnames
,&_argo0
))
11406 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11407 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRegionIterator. Expected _wxRegion_p.");
11413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11414 _result
= (wxRegionIterator
*)new_wxRegionIterator(*_arg0
);
11416 wxPyEndAllowThreads(__tstate
);
11417 if (PyErr_Occurred()) return NULL
;
11419 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegionIterator_p");
11420 _resultobj
= Py_BuildValue("s",_ptemp
);
11422 Py_INCREF(Py_None
);
11423 _resultobj
= Py_None
;
11428 #define delete_wxRegionIterator(_swigobj) (delete _swigobj)
11429 static PyObject
*_wrap_delete_wxRegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11430 PyObject
* _resultobj
;
11431 wxRegionIterator
* _arg0
;
11432 PyObject
* _argo0
= 0;
11433 char *_kwnames
[] = { "self", NULL
};
11436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRegionIterator",_kwnames
,&_argo0
))
11439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegionIterator. Expected _wxRegionIterator_p.");
11446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11447 delete_wxRegionIterator(_arg0
);
11449 wxPyEndAllowThreads(__tstate
);
11450 if (PyErr_Occurred()) return NULL
;
11451 } Py_INCREF(Py_None
);
11452 _resultobj
= Py_None
;
11456 #define wxRegionIterator_GetX(_swigobj) (_swigobj->GetX())
11457 static PyObject
*_wrap_wxRegionIterator_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11458 PyObject
* _resultobj
;
11460 wxRegionIterator
* _arg0
;
11461 PyObject
* _argo0
= 0;
11462 char *_kwnames
[] = { "self", NULL
};
11465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetX",_kwnames
,&_argo0
))
11468 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11469 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetX. Expected _wxRegionIterator_p.");
11475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11476 _result
= (long )wxRegionIterator_GetX(_arg0
);
11478 wxPyEndAllowThreads(__tstate
);
11479 if (PyErr_Occurred()) return NULL
;
11480 } _resultobj
= Py_BuildValue("l",_result
);
11484 #define wxRegionIterator_GetY(_swigobj) (_swigobj->GetY())
11485 static PyObject
*_wrap_wxRegionIterator_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11486 PyObject
* _resultobj
;
11488 wxRegionIterator
* _arg0
;
11489 PyObject
* _argo0
= 0;
11490 char *_kwnames
[] = { "self", NULL
};
11493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetY",_kwnames
,&_argo0
))
11496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetY. Expected _wxRegionIterator_p.");
11503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11504 _result
= (long )wxRegionIterator_GetY(_arg0
);
11506 wxPyEndAllowThreads(__tstate
);
11507 if (PyErr_Occurred()) return NULL
;
11508 } _resultobj
= Py_BuildValue("l",_result
);
11512 #define wxRegionIterator_GetW(_swigobj) (_swigobj->GetW())
11513 static PyObject
*_wrap_wxRegionIterator_GetW(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11514 PyObject
* _resultobj
;
11516 wxRegionIterator
* _arg0
;
11517 PyObject
* _argo0
= 0;
11518 char *_kwnames
[] = { "self", NULL
};
11521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetW",_kwnames
,&_argo0
))
11524 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11525 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetW. Expected _wxRegionIterator_p.");
11531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11532 _result
= (long )wxRegionIterator_GetW(_arg0
);
11534 wxPyEndAllowThreads(__tstate
);
11535 if (PyErr_Occurred()) return NULL
;
11536 } _resultobj
= Py_BuildValue("l",_result
);
11540 #define wxRegionIterator_GetWidth(_swigobj) (_swigobj->GetWidth())
11541 static PyObject
*_wrap_wxRegionIterator_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11542 PyObject
* _resultobj
;
11544 wxRegionIterator
* _arg0
;
11545 PyObject
* _argo0
= 0;
11546 char *_kwnames
[] = { "self", NULL
};
11549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetWidth",_kwnames
,&_argo0
))
11552 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11553 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetWidth. Expected _wxRegionIterator_p.");
11559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11560 _result
= (long )wxRegionIterator_GetWidth(_arg0
);
11562 wxPyEndAllowThreads(__tstate
);
11563 if (PyErr_Occurred()) return NULL
;
11564 } _resultobj
= Py_BuildValue("l",_result
);
11568 #define wxRegionIterator_GetH(_swigobj) (_swigobj->GetH())
11569 static PyObject
*_wrap_wxRegionIterator_GetH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11570 PyObject
* _resultobj
;
11572 wxRegionIterator
* _arg0
;
11573 PyObject
* _argo0
= 0;
11574 char *_kwnames
[] = { "self", NULL
};
11577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetH",_kwnames
,&_argo0
))
11580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetH. Expected _wxRegionIterator_p.");
11587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11588 _result
= (long )wxRegionIterator_GetH(_arg0
);
11590 wxPyEndAllowThreads(__tstate
);
11591 if (PyErr_Occurred()) return NULL
;
11592 } _resultobj
= Py_BuildValue("l",_result
);
11596 #define wxRegionIterator_GetHeight(_swigobj) (_swigobj->GetHeight())
11597 static PyObject
*_wrap_wxRegionIterator_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11598 PyObject
* _resultobj
;
11600 wxRegionIterator
* _arg0
;
11601 PyObject
* _argo0
= 0;
11602 char *_kwnames
[] = { "self", NULL
};
11605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetHeight",_kwnames
,&_argo0
))
11608 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11609 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetHeight. Expected _wxRegionIterator_p.");
11615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11616 _result
= (long )wxRegionIterator_GetHeight(_arg0
);
11618 wxPyEndAllowThreads(__tstate
);
11619 if (PyErr_Occurred()) return NULL
;
11620 } _resultobj
= Py_BuildValue("l",_result
);
11624 #define wxRegionIterator_GetRect(_swigobj) (_swigobj->GetRect())
11625 static PyObject
*_wrap_wxRegionIterator_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11626 PyObject
* _resultobj
;
11628 wxRegionIterator
* _arg0
;
11629 PyObject
* _argo0
= 0;
11630 char *_kwnames
[] = { "self", NULL
};
11634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetRect",_kwnames
,&_argo0
))
11637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetRect. Expected _wxRegionIterator_p.");
11644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11645 _result
= new wxRect (wxRegionIterator_GetRect(_arg0
));
11647 wxPyEndAllowThreads(__tstate
);
11648 if (PyErr_Occurred()) return NULL
;
11649 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
11650 _resultobj
= Py_BuildValue("s",_ptemp
);
11654 #define wxRegionIterator_HaveRects(_swigobj) (_swigobj->HaveRects())
11655 static PyObject
*_wrap_wxRegionIterator_HaveRects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11656 PyObject
* _resultobj
;
11658 wxRegionIterator
* _arg0
;
11659 PyObject
* _argo0
= 0;
11660 char *_kwnames
[] = { "self", NULL
};
11663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_HaveRects",_kwnames
,&_argo0
))
11666 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11667 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_HaveRects. Expected _wxRegionIterator_p.");
11673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11674 _result
= (bool )wxRegionIterator_HaveRects(_arg0
);
11676 wxPyEndAllowThreads(__tstate
);
11677 if (PyErr_Occurred()) return NULL
;
11678 } _resultobj
= Py_BuildValue("i",_result
);
11682 #define wxRegionIterator_Reset(_swigobj) (_swigobj->Reset())
11683 static PyObject
*_wrap_wxRegionIterator_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11684 PyObject
* _resultobj
;
11685 wxRegionIterator
* _arg0
;
11686 PyObject
* _argo0
= 0;
11687 char *_kwnames
[] = { "self", NULL
};
11690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_Reset",_kwnames
,&_argo0
))
11693 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11694 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Reset. Expected _wxRegionIterator_p.");
11700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11701 wxRegionIterator_Reset(_arg0
);
11703 wxPyEndAllowThreads(__tstate
);
11704 if (PyErr_Occurred()) return NULL
;
11705 } Py_INCREF(Py_None
);
11706 _resultobj
= Py_None
;
11710 static void wxRegionIterator_Next(wxRegionIterator
*self
) {
11713 static PyObject
*_wrap_wxRegionIterator_Next(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11714 PyObject
* _resultobj
;
11715 wxRegionIterator
* _arg0
;
11716 PyObject
* _argo0
= 0;
11717 char *_kwnames
[] = { "self", NULL
};
11720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_Next",_kwnames
,&_argo0
))
11723 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11724 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Next. Expected _wxRegionIterator_p.");
11730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11731 wxRegionIterator_Next(_arg0
);
11733 wxPyEndAllowThreads(__tstate
);
11734 if (PyErr_Occurred()) return NULL
;
11735 } Py_INCREF(Py_None
);
11736 _resultobj
= Py_None
;
11740 static PyMethodDef gdicMethods
[] = {
11741 { "wxRegionIterator_Next", (PyCFunction
) _wrap_wxRegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
},
11742 { "wxRegionIterator_Reset", (PyCFunction
) _wrap_wxRegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
},
11743 { "wxRegionIterator_HaveRects", (PyCFunction
) _wrap_wxRegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
},
11744 { "wxRegionIterator_GetRect", (PyCFunction
) _wrap_wxRegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
11745 { "wxRegionIterator_GetHeight", (PyCFunction
) _wrap_wxRegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
11746 { "wxRegionIterator_GetH", (PyCFunction
) _wrap_wxRegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
},
11747 { "wxRegionIterator_GetWidth", (PyCFunction
) _wrap_wxRegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11748 { "wxRegionIterator_GetW", (PyCFunction
) _wrap_wxRegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
},
11749 { "wxRegionIterator_GetY", (PyCFunction
) _wrap_wxRegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
},
11750 { "wxRegionIterator_GetX", (PyCFunction
) _wrap_wxRegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
},
11751 { "delete_wxRegionIterator", (PyCFunction
) _wrap_delete_wxRegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
11752 { "new_wxRegionIterator", (PyCFunction
) _wrap_new_wxRegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
11753 { "wxRegion_XorRegion", (PyCFunction
) _wrap_wxRegion_XorRegion
, METH_VARARGS
| METH_KEYWORDS
},
11754 { "wxRegion_XorRect", (PyCFunction
) _wrap_wxRegion_XorRect
, METH_VARARGS
| METH_KEYWORDS
},
11755 { "wxRegion_Xor", (PyCFunction
) _wrap_wxRegion_Xor
, METH_VARARGS
| METH_KEYWORDS
},
11756 { "wxRegion_SubtractRegion", (PyCFunction
) _wrap_wxRegion_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
},
11757 { "wxRegion_SubtractRect", (PyCFunction
) _wrap_wxRegion_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
},
11758 { "wxRegion_Subtract", (PyCFunction
) _wrap_wxRegion_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
11759 { "wxRegion_UnionRegion", (PyCFunction
) _wrap_wxRegion_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
},
11760 { "wxRegion_UnionRect", (PyCFunction
) _wrap_wxRegion_UnionRect
, METH_VARARGS
| METH_KEYWORDS
},
11761 { "wxRegion_Union", (PyCFunction
) _wrap_wxRegion_Union
, METH_VARARGS
| METH_KEYWORDS
},
11762 { "wxRegion_IsEmpty", (PyCFunction
) _wrap_wxRegion_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
11763 { "wxRegion_IntersectRegion", (PyCFunction
) _wrap_wxRegion_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
},
11764 { "wxRegion_IntersectRect", (PyCFunction
) _wrap_wxRegion_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
11765 { "wxRegion_Intersect", (PyCFunction
) _wrap_wxRegion_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
11766 { "wxRegion_GetBox", (PyCFunction
) _wrap_wxRegion_GetBox
, METH_VARARGS
| METH_KEYWORDS
},
11767 { "wxRegion_ContainsRectDim", (PyCFunction
) _wrap_wxRegion_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
},
11768 { "wxRegion_ContainsRect", (PyCFunction
) _wrap_wxRegion_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
},
11769 { "wxRegion_ContainsPoint", (PyCFunction
) _wrap_wxRegion_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
},
11770 { "wxRegion_Contains", (PyCFunction
) _wrap_wxRegion_Contains
, METH_VARARGS
| METH_KEYWORDS
},
11771 { "wxRegion_Clear", (PyCFunction
) _wrap_wxRegion_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11772 { "delete_wxRegion", (PyCFunction
) _wrap_delete_wxRegion
, METH_VARARGS
| METH_KEYWORDS
},
11773 { "new_wxRegion", (PyCFunction
) _wrap_new_wxRegion
, METH_VARARGS
| METH_KEYWORDS
},
11774 { "wxImageList_GetSize", (PyCFunction
) _wrap_wxImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
11775 { "wxImageList_RemoveAll", (PyCFunction
) _wrap_wxImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
},
11776 { "wxImageList_Remove", (PyCFunction
) _wrap_wxImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
},
11777 { "wxImageList_GetImageCount", (PyCFunction
) _wrap_wxImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
11778 { "wxImageList_Draw", (PyCFunction
) _wrap_wxImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
},
11779 { "wxImageList_Replace", (PyCFunction
) _wrap_wxImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
},
11780 { "wxImageList_AddIcon", (PyCFunction
) _wrap_wxImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
11781 { "wxImageList_AddWithColourMask", (PyCFunction
) _wrap_wxImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
},
11782 { "wxImageList_Add", (PyCFunction
) _wrap_wxImageList_Add
, METH_VARARGS
| METH_KEYWORDS
},
11783 { "delete_wxImageList", (PyCFunction
) _wrap_delete_wxImageList
, METH_VARARGS
| METH_KEYWORDS
},
11784 { "new_wxImageList", (PyCFunction
) _wrap_new_wxImageList
, METH_VARARGS
| METH_KEYWORDS
},
11785 { "wxPalette_Ok", (PyCFunction
) _wrap_wxPalette_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11786 { "wxPalette_GetRGB", (PyCFunction
) _wrap_wxPalette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
11787 { "wxPalette_GetPixel", (PyCFunction
) _wrap_wxPalette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
11788 { "delete_wxPalette", (PyCFunction
) _wrap_delete_wxPalette
, METH_VARARGS
| METH_KEYWORDS
},
11789 { "new_wxPalette", (PyCFunction
) _wrap_new_wxPalette
, METH_VARARGS
| METH_KEYWORDS
},
11790 { "new_wxWindowDC", (PyCFunction
) _wrap_new_wxWindowDC
, METH_VARARGS
| METH_KEYWORDS
},
11791 { "new_wxPaintDC", (PyCFunction
) _wrap_new_wxPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
11792 { "new_wxClientDC", (PyCFunction
) _wrap_new_wxClientDC
, METH_VARARGS
| METH_KEYWORDS
},
11793 { "wxScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_wxScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
11794 { "wxScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_wxScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
11795 { "wxScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_wxScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
},
11796 { "new_wxScreenDC", (PyCFunction
) _wrap_new_wxScreenDC
, METH_VARARGS
| METH_KEYWORDS
},
11797 { "wxMemoryDC_SelectObject", (PyCFunction
) _wrap_wxMemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
},
11798 { "new_wxMemoryDC", (PyCFunction
) _wrap_new_wxMemoryDC
, METH_VARARGS
| METH_KEYWORDS
},
11799 { "wxDC__DrawLineList", (PyCFunction
) _wrap_wxDC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
},
11800 { "wxDC__DrawPointList", (PyCFunction
) _wrap_wxDC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
},
11801 { "wxDC_GetBoundingBox", (PyCFunction
) _wrap_wxDC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
11802 { "wxDC_ResetBoundingBox", (PyCFunction
) _wrap_wxDC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
11803 { "wxDC_CalcBoundingBox", (PyCFunction
) _wrap_wxDC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
11804 { "wxDC_SetAxisOrientation", (PyCFunction
) _wrap_wxDC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
},
11805 { "wxDC_GetDeviceOrigin", (PyCFunction
) _wrap_wxDC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
11806 { "wxDC_SetLogicalOrigin", (PyCFunction
) _wrap_wxDC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
11807 { "wxDC_GetLogicalOrigin", (PyCFunction
) _wrap_wxDC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
11808 { "wxDC_GetPPI", (PyCFunction
) _wrap_wxDC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
},
11809 { "wxDC_GetDepth", (PyCFunction
) _wrap_wxDC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
11810 { "wxDC_CanGetTextExtent", (PyCFunction
) _wrap_wxDC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
11811 { "wxDC_CanDrawBitmap", (PyCFunction
) _wrap_wxDC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11812 { "wxDC_DrawBitmap", (PyCFunction
) _wrap_wxDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11813 { "wxDC_StartPage", (PyCFunction
) _wrap_wxDC_StartPage
, METH_VARARGS
| METH_KEYWORDS
},
11814 { "wxDC_StartDoc", (PyCFunction
) _wrap_wxDC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
},
11815 { "wxDC_SetUserScale", (PyCFunction
) _wrap_wxDC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
11816 { "wxDC_SetTextForeground", (PyCFunction
) _wrap_wxDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
11817 { "wxDC_SetTextBackground", (PyCFunction
) _wrap_wxDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
11818 { "wxDC_SetPen", (PyCFunction
) _wrap_wxDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
11819 { "wxDC_SetOptimization", (PyCFunction
) _wrap_wxDC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
11820 { "wxDC_SetMapMode", (PyCFunction
) _wrap_wxDC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
11821 { "wxDC_SetLogicalScale", (PyCFunction
) _wrap_wxDC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
11822 { "wxDC_SetLogicalFunction", (PyCFunction
) _wrap_wxDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
11823 { "wxDC_SetFont", (PyCFunction
) _wrap_wxDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
11824 { "wxDC_SetBrush", (PyCFunction
) _wrap_wxDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
11825 { "wxDC_SetPalette", (PyCFunction
) _wrap_wxDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
11826 { "wxDC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_wxDC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
},
11827 { "wxDC_SetClippingRegion", (PyCFunction
) _wrap_wxDC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
11828 { "wxDC_SetBackgroundMode", (PyCFunction
) _wrap_wxDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
11829 { "wxDC_SetBackground", (PyCFunction
) _wrap_wxDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
},
11830 { "wxDC_SetDeviceOrigin", (PyCFunction
) _wrap_wxDC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
11831 { "wxDC_Ok", (PyCFunction
) _wrap_wxDC_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11832 { "wxDC_MinY", (PyCFunction
) _wrap_wxDC_MinY
, METH_VARARGS
| METH_KEYWORDS
},
11833 { "wxDC_MinX", (PyCFunction
) _wrap_wxDC_MinX
, METH_VARARGS
| METH_KEYWORDS
},
11834 { "wxDC_MaxY", (PyCFunction
) _wrap_wxDC_MaxY
, METH_VARARGS
| METH_KEYWORDS
},
11835 { "wxDC_MaxX", (PyCFunction
) _wrap_wxDC_MaxX
, METH_VARARGS
| METH_KEYWORDS
},
11836 { "wxDC_LogicalToDeviceYRel", (PyCFunction
) _wrap_wxDC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
},
11837 { "wxDC_LogicalToDeviceY", (PyCFunction
) _wrap_wxDC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
},
11838 { "wxDC_LogicalToDeviceXRel", (PyCFunction
) _wrap_wxDC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
},
11839 { "wxDC_LogicalToDeviceX", (PyCFunction
) _wrap_wxDC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
},
11840 { "wxDC_GetUserScale", (PyCFunction
) _wrap_wxDC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
11841 { "wxDC_GetTextForeground", (PyCFunction
) _wrap_wxDC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
11842 { "wxDC_GetFullTextExtent", (PyCFunction
) _wrap_wxDC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
11843 { "wxDC_GetTextExtent", (PyCFunction
) _wrap_wxDC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
11844 { "wxDC_GetTextBackground", (PyCFunction
) _wrap_wxDC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
11845 { "wxDC_GetSizeMM", (PyCFunction
) _wrap_wxDC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
11846 { "wxDC_GetSize", (PyCFunction
) _wrap_wxDC_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
11847 { "wxDC_GetSizeTuple", (PyCFunction
) _wrap_wxDC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
11848 { "wxDC_GetPixel", (PyCFunction
) _wrap_wxDC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
11849 { "wxDC_GetPen", (PyCFunction
) _wrap_wxDC_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
11850 { "wxDC_GetOptimization", (PyCFunction
) _wrap_wxDC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
11851 { "wxDC_GetMapMode", (PyCFunction
) _wrap_wxDC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
11852 { "wxDC_GetLogicalScale", (PyCFunction
) _wrap_wxDC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
11853 { "wxDC_GetLogicalFunction", (PyCFunction
) _wrap_wxDC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
11854 { "wxDC_GetFont", (PyCFunction
) _wrap_wxDC_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
11855 { "wxDC_GetClippingBox", (PyCFunction
) _wrap_wxDC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
},
11856 { "wxDC_GetCharWidth", (PyCFunction
) _wrap_wxDC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
11857 { "wxDC_GetCharHeight", (PyCFunction
) _wrap_wxDC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
11858 { "wxDC_GetBrush", (PyCFunction
) _wrap_wxDC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
11859 { "wxDC_GetBackground", (PyCFunction
) _wrap_wxDC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
},
11860 { "wxDC_FloodFill", (PyCFunction
) _wrap_wxDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
},
11861 { "wxDC_EndPage", (PyCFunction
) _wrap_wxDC_EndPage
, METH_VARARGS
| METH_KEYWORDS
},
11862 { "wxDC_EndDrawing", (PyCFunction
) _wrap_wxDC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
},
11863 { "wxDC_EndDoc", (PyCFunction
) _wrap_wxDC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
},
11864 { "wxDC_DrawText", (PyCFunction
) _wrap_wxDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
11865 { "wxDC_DrawSpline", (PyCFunction
) _wrap_wxDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
11866 { "wxDC_DrawRoundedRectangle", (PyCFunction
) _wrap_wxDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
11867 { "wxDC_DrawRotatedText", (PyCFunction
) _wrap_wxDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
},
11868 { "wxDC_DrawRectangle", (PyCFunction
) _wrap_wxDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
11869 { "wxDC_DrawPoint", (PyCFunction
) _wrap_wxDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
11870 { "wxDC_DrawPolygon", (PyCFunction
) _wrap_wxDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
11871 { "wxDC_DrawLines", (PyCFunction
) _wrap_wxDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
11872 { "wxDC_DrawLine", (PyCFunction
) _wrap_wxDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
11873 { "wxDC_DrawIcon", (PyCFunction
) _wrap_wxDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
},
11874 { "wxDC_DrawEllipticArc", (PyCFunction
) _wrap_wxDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
11875 { "wxDC_DrawEllipse", (PyCFunction
) _wrap_wxDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
11876 { "wxDC_DrawCircle", (PyCFunction
) _wrap_wxDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
},
11877 { "wxDC_DrawArc", (PyCFunction
) _wrap_wxDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
11878 { "wxDC_DeviceToLogicalYRel", (PyCFunction
) _wrap_wxDC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
},
11879 { "wxDC_DeviceToLogicalY", (PyCFunction
) _wrap_wxDC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
},
11880 { "wxDC_DeviceToLogicalXRel", (PyCFunction
) _wrap_wxDC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
},
11881 { "wxDC_DeviceToLogicalX", (PyCFunction
) _wrap_wxDC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
},
11882 { "wxDC_DestroyClippingRegion", (PyCFunction
) _wrap_wxDC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
11883 { "wxDC_CrossHair", (PyCFunction
) _wrap_wxDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
},
11884 { "wxDC_Clear", (PyCFunction
) _wrap_wxDC_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11885 { "wxDC_Blit", (PyCFunction
) _wrap_wxDC_Blit
, METH_VARARGS
| METH_KEYWORDS
},
11886 { "wxDC_BeginDrawing", (PyCFunction
) _wrap_wxDC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
},
11887 { "delete_wxDC", (PyCFunction
) _wrap_delete_wxDC
, METH_VARARGS
| METH_KEYWORDS
},
11888 { "wxBrushList_GetCount", (PyCFunction
) _wrap_wxBrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11889 { "wxBrushList_RemoveBrush", (PyCFunction
) _wrap_wxBrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
},
11890 { "wxBrushList_FindOrCreateBrush", (PyCFunction
) _wrap_wxBrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
},
11891 { "wxBrushList_AddBrush", (PyCFunction
) _wrap_wxBrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
},
11892 { "wxBrush_SetStyle", (PyCFunction
) _wrap_wxBrush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11893 { "wxBrush_SetStipple", (PyCFunction
) _wrap_wxBrush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
11894 { "wxBrush_SetColour", (PyCFunction
) _wrap_wxBrush_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
11895 { "wxBrush_Ok", (PyCFunction
) _wrap_wxBrush_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11896 { "wxBrush_GetStyle", (PyCFunction
) _wrap_wxBrush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11897 { "wxBrush_GetStipple", (PyCFunction
) _wrap_wxBrush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
11898 { "wxBrush_GetColour", (PyCFunction
) _wrap_wxBrush_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
11899 { "delete_wxBrush", (PyCFunction
) _wrap_delete_wxBrush
, METH_VARARGS
| METH_KEYWORDS
},
11900 { "new_wxBrush", (PyCFunction
) _wrap_new_wxBrush
, METH_VARARGS
| METH_KEYWORDS
},
11901 { "wxPenList_GetCount", (PyCFunction
) _wrap_wxPenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11902 { "wxPenList_RemovePen", (PyCFunction
) _wrap_wxPenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
},
11903 { "wxPenList_FindOrCreatePen", (PyCFunction
) _wrap_wxPenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
},
11904 { "wxPenList_AddPen", (PyCFunction
) _wrap_wxPenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
},
11905 { "wxPyPen_SetDashes", (PyCFunction
) _wrap_wxPyPen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
11906 { "delete_wxPyPen", (PyCFunction
) _wrap_delete_wxPyPen
, METH_VARARGS
| METH_KEYWORDS
},
11907 { "new_wxPyPen", (PyCFunction
) _wrap_new_wxPyPen
, METH_VARARGS
| METH_KEYWORDS
},
11908 { "wxPen_SetDashes", (PyCFunction
) _wrap_wxPen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
11909 { "wxPen_SetWidth", (PyCFunction
) _wrap_wxPen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11910 { "wxPen_SetStyle", (PyCFunction
) _wrap_wxPen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11911 { "wxPen_SetJoin", (PyCFunction
) _wrap_wxPen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
},
11912 { "wxPen_SetColour", (PyCFunction
) _wrap_wxPen_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
11913 { "wxPen_SetCap", (PyCFunction
) _wrap_wxPen_SetCap
, METH_VARARGS
| METH_KEYWORDS
},
11914 { "wxPen_Ok", (PyCFunction
) _wrap_wxPen_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11915 { "wxPen_GetWidth", (PyCFunction
) _wrap_wxPen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11916 { "wxPen_GetStyle", (PyCFunction
) _wrap_wxPen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11917 { "wxPen_GetJoin", (PyCFunction
) _wrap_wxPen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
},
11918 { "wxPen_GetColour", (PyCFunction
) _wrap_wxPen_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
11919 { "wxPen_GetCap", (PyCFunction
) _wrap_wxPen_GetCap
, METH_VARARGS
| METH_KEYWORDS
},
11920 { "delete_wxPen", (PyCFunction
) _wrap_delete_wxPen
, METH_VARARGS
| METH_KEYWORDS
},
11921 { "new_wxPen", (PyCFunction
) _wrap_new_wxPen
, METH_VARARGS
| METH_KEYWORDS
},
11922 { "wxColourDatabase_Append", (PyCFunction
) _wrap_wxColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
},
11923 { "wxColourDatabase_FindName", (PyCFunction
) _wrap_wxColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
},
11924 { "wxColourDatabase_FindColour", (PyCFunction
) _wrap_wxColourDatabase_FindColour
, METH_VARARGS
| METH_KEYWORDS
},
11925 { "wxColour_Get", (PyCFunction
) _wrap_wxColour_Get
, METH_VARARGS
| METH_KEYWORDS
},
11926 { "wxColour_Set", (PyCFunction
) _wrap_wxColour_Set
, METH_VARARGS
| METH_KEYWORDS
},
11927 { "wxColour_Ok", (PyCFunction
) _wrap_wxColour_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11928 { "wxColour_Blue", (PyCFunction
) _wrap_wxColour_Blue
, METH_VARARGS
| METH_KEYWORDS
},
11929 { "wxColour_Green", (PyCFunction
) _wrap_wxColour_Green
, METH_VARARGS
| METH_KEYWORDS
},
11930 { "wxColour_Red", (PyCFunction
) _wrap_wxColour_Red
, METH_VARARGS
| METH_KEYWORDS
},
11931 { "delete_wxColour", (PyCFunction
) _wrap_delete_wxColour
, METH_VARARGS
| METH_KEYWORDS
},
11932 { "new_wxColour", (PyCFunction
) _wrap_new_wxColour
, METH_VARARGS
| METH_KEYWORDS
},
11933 { "wxFontList_GetCount", (PyCFunction
) _wrap_wxFontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11934 { "wxFontList_RemoveFont", (PyCFunction
) _wrap_wxFontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
},
11935 { "wxFontList_FindOrCreateFont", (PyCFunction
) _wrap_wxFontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
},
11936 { "wxFontList_AddFont", (PyCFunction
) _wrap_wxFontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
},
11937 { "wxFont_SetDefaultEncoding", (PyCFunction
) _wrap_wxFont_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
11938 { "wxFont_GetDefaultEncoding", (PyCFunction
) _wrap_wxFont_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
11939 { "wxFont_GetWeightString", (PyCFunction
) _wrap_wxFont_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
},
11940 { "wxFont_GetStyleString", (PyCFunction
) _wrap_wxFont_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
},
11941 { "wxFont_GetFamilyString", (PyCFunction
) _wrap_wxFont_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
},
11942 { "wxFont_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_wxFont_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
11943 { "wxFont_SetNativeFontInfo", (PyCFunction
) _wrap_wxFont_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
11944 { "wxFont_SetEncoding", (PyCFunction
) _wrap_wxFont_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
11945 { "wxFont_SetUnderlined", (PyCFunction
) _wrap_wxFont_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
11946 { "wxFont_SetFaceName", (PyCFunction
) _wrap_wxFont_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
11947 { "wxFont_SetWeight", (PyCFunction
) _wrap_wxFont_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
11948 { "wxFont_SetStyle", (PyCFunction
) _wrap_wxFont_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11949 { "wxFont_SetFamily", (PyCFunction
) _wrap_wxFont_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
11950 { "wxFont_SetPointSize", (PyCFunction
) _wrap_wxFont_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
11951 { "wxFont_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_wxFont_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
11952 { "wxFont_GetNativeFontInfoDesc", (PyCFunction
) _wrap_wxFont_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
},
11953 { "wxFont_GetNativeFontInfo", (PyCFunction
) _wrap_wxFont_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
11954 { "wxFont_IsFixedWidth", (PyCFunction
) _wrap_wxFont_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
},
11955 { "wxFont_GetEncoding", (PyCFunction
) _wrap_wxFont_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
11956 { "wxFont_GetFaceName", (PyCFunction
) _wrap_wxFont_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
11957 { "wxFont_GetUnderlined", (PyCFunction
) _wrap_wxFont_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
11958 { "wxFont_GetWeight", (PyCFunction
) _wrap_wxFont_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
11959 { "wxFont_GetStyle", (PyCFunction
) _wrap_wxFont_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11960 { "wxFont_GetFamily", (PyCFunction
) _wrap_wxFont_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
11961 { "wxFont_GetPointSize", (PyCFunction
) _wrap_wxFont_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
11962 { "wxFont_Ok", (PyCFunction
) _wrap_wxFont_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11963 { "delete_wxFont", (PyCFunction
) _wrap_delete_wxFont
, METH_VARARGS
| METH_KEYWORDS
},
11964 { "new_wxFontFromNativeInfo", (PyCFunction
) _wrap_new_wxFontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
},
11965 { "new_wxFont", (PyCFunction
) _wrap_new_wxFont
, METH_VARARGS
| METH_KEYWORDS
},
11966 { "wxFontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_wxFontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
11967 { "wxFontMapper_SetConfigPath", (PyCFunction
) _wrap_wxFontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
11968 { "wxFontMapper_SetConfig", (PyCFunction
) _wrap_wxFontMapper_SetConfig
, METH_VARARGS
| METH_KEYWORDS
},
11969 { "wxFontMapper_SetDialogTitle", (PyCFunction
) _wrap_wxFontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
},
11970 { "wxFontMapper_SetDialogParent", (PyCFunction
) _wrap_wxFontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
},
11971 { "wxFontMapper_GetEncodingDescription", (PyCFunction
) _wrap_wxFontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
},
11972 { "wxFontMapper_GetEncodingName", (PyCFunction
) _wrap_wxFontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
11973 { "wxFontMapper_CharsetToEncoding", (PyCFunction
) _wrap_wxFontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
},
11974 { "wxFontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_wxFontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
},
11975 { "wxFontMapper_GetAltForEncoding", (PyCFunction
) _wrap_wxFontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
},
11976 { "delete_wxFontMapper", (PyCFunction
) _wrap_delete_wxFontMapper
, METH_VARARGS
| METH_KEYWORDS
},
11977 { "new_wxFontMapper", (PyCFunction
) _wrap_new_wxFontMapper
, METH_VARARGS
| METH_KEYWORDS
},
11978 { "wxNativeFontInfo_ToUserString", (PyCFunction
) _wrap_wxNativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
},
11979 { "wxNativeFontInfo_FromUserString", (PyCFunction
) _wrap_wxNativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
},
11980 { "wxNativeFontInfo___str__", (PyCFunction
) _wrap_wxNativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
},
11981 { "wxNativeFontInfo_ToString", (PyCFunction
) _wrap_wxNativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
11982 { "wxNativeFontInfo_FromString", (PyCFunction
) _wrap_wxNativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
11983 { "wxNativeFontInfo_SetEncoding", (PyCFunction
) _wrap_wxNativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
11984 { "wxNativeFontInfo_SetFamily", (PyCFunction
) _wrap_wxNativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
11985 { "wxNativeFontInfo_SetFaceName", (PyCFunction
) _wrap_wxNativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
11986 { "wxNativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_wxNativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
11987 { "wxNativeFontInfo_SetWeight", (PyCFunction
) _wrap_wxNativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
11988 { "wxNativeFontInfo_SetStyle", (PyCFunction
) _wrap_wxNativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11989 { "wxNativeFontInfo_SetPointSize", (PyCFunction
) _wrap_wxNativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
11990 { "wxNativeFontInfo_GetEncoding", (PyCFunction
) _wrap_wxNativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
11991 { "wxNativeFontInfo_GetFamily", (PyCFunction
) _wrap_wxNativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
11992 { "wxNativeFontInfo_GetFaceName", (PyCFunction
) _wrap_wxNativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
11993 { "wxNativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_wxNativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
11994 { "wxNativeFontInfo_GetWeight", (PyCFunction
) _wrap_wxNativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
11995 { "wxNativeFontInfo_GetStyle", (PyCFunction
) _wrap_wxNativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11996 { "wxNativeFontInfo_GetPointSize", (PyCFunction
) _wrap_wxNativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
11997 { "wxNativeFontInfo_Init", (PyCFunction
) _wrap_wxNativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
},
11998 { "new_wxNativeFontInfo", (PyCFunction
) _wrap_new_wxNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
11999 { "wxCursor_Ok", (PyCFunction
) _wrap_wxCursor_Ok
, METH_VARARGS
| METH_KEYWORDS
},
12000 { "delete_wxCursor", (PyCFunction
) _wrap_delete_wxCursor
, METH_VARARGS
| METH_KEYWORDS
},
12001 { "wxIcon_CopyFromBitmap", (PyCFunction
) _wrap_wxIcon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
12002 { "wxIcon_SetDepth", (PyCFunction
) _wrap_wxIcon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
12003 { "wxIcon_SetHeight", (PyCFunction
) _wrap_wxIcon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
12004 { "wxIcon_SetWidth", (PyCFunction
) _wrap_wxIcon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
12005 { "wxIcon_GetDepth", (PyCFunction
) _wrap_wxIcon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
12006 { "wxIcon_GetHeight", (PyCFunction
) _wrap_wxIcon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
12007 { "wxIcon_GetWidth", (PyCFunction
) _wrap_wxIcon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
12008 { "wxIcon_Ok", (PyCFunction
) _wrap_wxIcon_Ok
, METH_VARARGS
| METH_KEYWORDS
},
12009 { "delete_wxIcon", (PyCFunction
) _wrap_delete_wxIcon
, METH_VARARGS
| METH_KEYWORDS
},
12010 { "new_wxIcon", (PyCFunction
) _wrap_new_wxIcon
, METH_VARARGS
| METH_KEYWORDS
},
12011 { "wxMask_Destroy", (PyCFunction
) _wrap_wxMask_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
12012 { "new_wxMask", (PyCFunction
) _wrap_new_wxMask
, METH_VARARGS
| METH_KEYWORDS
},
12013 { "wxBitmap_CopyFromIcon", (PyCFunction
) _wrap_wxBitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
12014 { "wxBitmap_GetSubBitmap", (PyCFunction
) _wrap_wxBitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
},
12015 { "wxBitmap_SetDepth", (PyCFunction
) _wrap_wxBitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
12016 { "wxBitmap_SetHeight", (PyCFunction
) _wrap_wxBitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
12017 { "wxBitmap_SetWidth", (PyCFunction
) _wrap_wxBitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
12018 { "wxBitmap_GetDepth", (PyCFunction
) _wrap_wxBitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
12019 { "wxBitmap_GetHeight", (PyCFunction
) _wrap_wxBitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
12020 { "wxBitmap_GetWidth", (PyCFunction
) _wrap_wxBitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
12021 { "wxBitmap_Ok", (PyCFunction
) _wrap_wxBitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
},
12022 { "wxBitmap_SetMask", (PyCFunction
) _wrap_wxBitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
12023 { "wxBitmap_SaveFile", (PyCFunction
) _wrap_wxBitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
12024 { "wxBitmap_LoadFile", (PyCFunction
) _wrap_wxBitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
12025 { "wxBitmap_GetMask", (PyCFunction
) _wrap_wxBitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
12026 { "wxBitmap_GetPalette", (PyCFunction
) _wrap_wxBitmap_GetPalette
, METH_VARARGS
| METH_KEYWORDS
},
12027 { "delete_wxBitmap", (PyCFunction
) _wrap_delete_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
12028 { "new_wxBitmap", (PyCFunction
) _wrap_new_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
12029 { "wxGDIObject_IsNull", (PyCFunction
) _wrap_wxGDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
12030 { "wxGDIObject_SetVisible", (PyCFunction
) _wrap_wxGDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
},
12031 { "wxGDIObject_GetVisible", (PyCFunction
) _wrap_wxGDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
},
12032 { "delete_wxGDIObject", (PyCFunction
) _wrap_delete_wxGDIObject
, METH_VARARGS
| METH_KEYWORDS
},
12033 { "new_wxGDIObject", (PyCFunction
) _wrap_new_wxGDIObject
, METH_VARARGS
| METH_KEYWORDS
},
12034 { "wxMemoryDCFromDC", (PyCFunction
) _wrap_wxMemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
},
12035 { "wxNamedColour", (PyCFunction
) _wrap_wxNamedColour
, METH_VARARGS
| METH_KEYWORDS
},
12036 { "wxStockCursor", (PyCFunction
) _wrap_wxStockCursor
, METH_VARARGS
| METH_KEYWORDS
},
12037 { "wxIconFromXPMData", (PyCFunction
) _wrap_wxIconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
12038 { "wxEmptyIcon", (PyCFunction
) _wrap_wxEmptyIcon
, METH_VARARGS
| METH_KEYWORDS
},
12039 { "wxMaskColour", (PyCFunction
) _wrap_wxMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
12040 { "wxBitmapFromBits", (PyCFunction
) _wrap_wxBitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
},
12041 { "wxBitmapFromIcon", (PyCFunction
) _wrap_wxBitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
12042 { "wxBitmapFromXPMData", (PyCFunction
) _wrap_wxBitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
12043 { "wxEmptyBitmap", (PyCFunction
) _wrap_wxEmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
},
12050 * This table is used by the pointer type-checker
12052 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
12053 { "_signed_long","_long",0},
12054 { "_wxPrintQuality","_wxCoord",0},
12055 { "_wxPrintQuality","_int",0},
12056 { "_wxPrintQuality","_signed_int",0},
12057 { "_wxPrintQuality","_unsigned_int",0},
12058 { "_wxPrintQuality","_wxWindowID",0},
12059 { "_wxPrintQuality","_uint",0},
12060 { "_wxPrintQuality","_EBool",0},
12061 { "_wxPrintQuality","_size_t",0},
12062 { "_wxPrintQuality","_time_t",0},
12063 { "_wxPen","_wxPyPen",SwigwxPyPenTowxPen
},
12064 { "_byte","_unsigned_char",0},
12065 { "_long","_unsigned_long",0},
12066 { "_long","_signed_long",0},
12067 { "_wxGDIObject","_wxRegion",SwigwxRegionTowxGDIObject
},
12068 { "_wxGDIObject","_wxPalette",SwigwxPaletteTowxGDIObject
},
12069 { "_wxGDIObject","_wxBrush",SwigwxBrushTowxGDIObject
},
12070 { "_wxGDIObject","_wxPyPen",SwigwxPyPenTowxGDIObject
},
12071 { "_wxGDIObject","_wxPen",SwigwxPenTowxGDIObject
},
12072 { "_wxGDIObject","_wxFont",SwigwxFontTowxGDIObject
},
12073 { "_wxGDIObject","_wxCursor",SwigwxCursorTowxGDIObject
},
12074 { "_wxGDIObject","_wxIcon",SwigwxIconTowxGDIObject
},
12075 { "_wxGDIObject","_wxBitmap",SwigwxBitmapTowxGDIObject
},
12076 { "_wxDC","_wxWindowDC",SwigwxWindowDCTowxDC
},
12077 { "_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC
},
12078 { "_wxDC","_wxClientDC",SwigwxClientDCTowxDC
},
12079 { "_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC
},
12080 { "_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC
},
12081 { "_size_t","_wxCoord",0},
12082 { "_size_t","_wxPrintQuality",0},
12083 { "_size_t","_time_t",0},
12084 { "_size_t","_unsigned_int",0},
12085 { "_size_t","_int",0},
12086 { "_size_t","_wxWindowID",0},
12087 { "_size_t","_uint",0},
12088 { "_uint","_wxCoord",0},
12089 { "_uint","_wxPrintQuality",0},
12090 { "_uint","_time_t",0},
12091 { "_uint","_size_t",0},
12092 { "_uint","_unsigned_int",0},
12093 { "_uint","_int",0},
12094 { "_uint","_wxWindowID",0},
12095 { "_wxChar","_char",0},
12096 { "_char","_wxChar",0},
12097 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
12098 { "_EBool","_wxCoord",0},
12099 { "_EBool","_wxPrintQuality",0},
12100 { "_EBool","_signed_int",0},
12101 { "_EBool","_int",0},
12102 { "_EBool","_wxWindowID",0},
12103 { "_unsigned_long","_long",0},
12104 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
12105 { "_signed_int","_wxCoord",0},
12106 { "_signed_int","_wxPrintQuality",0},
12107 { "_signed_int","_EBool",0},
12108 { "_signed_int","_wxWindowID",0},
12109 { "_signed_int","_int",0},
12110 { "_WXTYPE","_short",0},
12111 { "_WXTYPE","_signed_short",0},
12112 { "_WXTYPE","_unsigned_short",0},
12113 { "_unsigned_short","_WXTYPE",0},
12114 { "_unsigned_short","_short",0},
12115 { "_wxObject","_wxRegionIterator",SwigwxRegionIteratorTowxObject
},
12116 { "_wxObject","_wxRegion",SwigwxRegionTowxObject
},
12117 { "_wxObject","_wxImageList",SwigwxImageListTowxObject
},
12118 { "_wxObject","_wxPalette",SwigwxPaletteTowxObject
},
12119 { "_wxObject","_wxWindowDC",SwigwxWindowDCTowxObject
},
12120 { "_wxObject","_wxPaintDC",SwigwxPaintDCTowxObject
},
12121 { "_wxObject","_wxClientDC",SwigwxClientDCTowxObject
},
12122 { "_wxObject","_wxScreenDC",SwigwxScreenDCTowxObject
},
12123 { "_wxObject","_wxMemoryDC",SwigwxMemoryDCTowxObject
},
12124 { "_wxObject","_wxDC",SwigwxDCTowxObject
},
12125 { "_wxObject","_wxBrushList",SwigwxBrushListTowxObject
},
12126 { "_wxObject","_wxBrush",SwigwxBrushTowxObject
},
12127 { "_wxObject","_wxPenList",SwigwxPenListTowxObject
},
12128 { "_wxObject","_wxPyPen",SwigwxPyPenTowxObject
},
12129 { "_wxObject","_wxPen",SwigwxPenTowxObject
},
12130 { "_wxObject","_wxColourDatabase",SwigwxColourDatabaseTowxObject
},
12131 { "_wxObject","_wxColour",SwigwxColourTowxObject
},
12132 { "_wxObject","_wxFontList",SwigwxFontListTowxObject
},
12133 { "_wxObject","_wxFont",SwigwxFontTowxObject
},
12134 { "_wxObject","_wxCursor",SwigwxCursorTowxObject
},
12135 { "_wxObject","_wxIcon",SwigwxIconTowxObject
},
12136 { "_wxObject","_wxMask",SwigwxMaskTowxObject
},
12137 { "_wxObject","_wxBitmap",SwigwxBitmapTowxObject
},
12138 { "_wxObject","_wxGDIObject",SwigwxGDIObjectTowxObject
},
12139 { "_signed_short","_WXTYPE",0},
12140 { "_signed_short","_short",0},
12141 { "_unsigned_char","_byte",0},
12142 { "_unsigned_int","_wxCoord",0},
12143 { "_unsigned_int","_wxPrintQuality",0},
12144 { "_unsigned_int","_time_t",0},
12145 { "_unsigned_int","_size_t",0},
12146 { "_unsigned_int","_uint",0},
12147 { "_unsigned_int","_wxWindowID",0},
12148 { "_unsigned_int","_int",0},
12149 { "_short","_WXTYPE",0},
12150 { "_short","_unsigned_short",0},
12151 { "_short","_signed_short",0},
12152 { "_wxWindowID","_wxCoord",0},
12153 { "_wxWindowID","_wxPrintQuality",0},
12154 { "_wxWindowID","_time_t",0},
12155 { "_wxWindowID","_size_t",0},
12156 { "_wxWindowID","_EBool",0},
12157 { "_wxWindowID","_uint",0},
12158 { "_wxWindowID","_int",0},
12159 { "_wxWindowID","_signed_int",0},
12160 { "_wxWindowID","_unsigned_int",0},
12161 { "_int","_wxCoord",0},
12162 { "_int","_wxPrintQuality",0},
12163 { "_int","_time_t",0},
12164 { "_int","_size_t",0},
12165 { "_int","_EBool",0},
12166 { "_int","_uint",0},
12167 { "_int","_wxWindowID",0},
12168 { "_int","_unsigned_int",0},
12169 { "_int","_signed_int",0},
12170 { "_time_t","_wxCoord",0},
12171 { "_time_t","_wxPrintQuality",0},
12172 { "_time_t","_unsigned_int",0},
12173 { "_time_t","_int",0},
12174 { "_time_t","_wxWindowID",0},
12175 { "_time_t","_uint",0},
12176 { "_time_t","_size_t",0},
12177 { "_wxCoord","_int",0},
12178 { "_wxCoord","_signed_int",0},
12179 { "_wxCoord","_unsigned_int",0},
12180 { "_wxCoord","_wxWindowID",0},
12181 { "_wxCoord","_uint",0},
12182 { "_wxCoord","_EBool",0},
12183 { "_wxCoord","_size_t",0},
12184 { "_wxCoord","_time_t",0},
12185 { "_wxCoord","_wxPrintQuality",0},
12188 static PyObject
*SWIG_globals
;
12192 SWIGEXPORT(void) initgdic() {
12194 SWIG_globals
= SWIG_newvarlink();
12195 m
= Py_InitModule("gdic", gdicMethods
);
12196 d
= PyModule_GetDict(m
);
12197 PyDict_SetItemString(d
,"wxFONTFAMILY_DEFAULT", PyInt_FromLong((long) wxFONTFAMILY_DEFAULT
));
12198 PyDict_SetItemString(d
,"wxFONTFAMILY_DECORATIVE", PyInt_FromLong((long) wxFONTFAMILY_DECORATIVE
));
12199 PyDict_SetItemString(d
,"wxFONTFAMILY_ROMAN", PyInt_FromLong((long) wxFONTFAMILY_ROMAN
));
12200 PyDict_SetItemString(d
,"wxFONTFAMILY_SCRIPT", PyInt_FromLong((long) wxFONTFAMILY_SCRIPT
));
12201 PyDict_SetItemString(d
,"wxFONTFAMILY_SWISS", PyInt_FromLong((long) wxFONTFAMILY_SWISS
));
12202 PyDict_SetItemString(d
,"wxFONTFAMILY_MODERN", PyInt_FromLong((long) wxFONTFAMILY_MODERN
));
12203 PyDict_SetItemString(d
,"wxFONTFAMILY_TELETYPE", PyInt_FromLong((long) wxFONTFAMILY_TELETYPE
));
12204 PyDict_SetItemString(d
,"wxFONTFAMILY_MAX", PyInt_FromLong((long) wxFONTFAMILY_MAX
));
12205 PyDict_SetItemString(d
,"wxFONTFAMILY_UNKNOWN", PyInt_FromLong((long) wxFONTFAMILY_UNKNOWN
));
12206 PyDict_SetItemString(d
,"wxFONTSTYLE_NORMAL", PyInt_FromLong((long) wxFONTSTYLE_NORMAL
));
12207 PyDict_SetItemString(d
,"wxFONTSTYLE_ITALIC", PyInt_FromLong((long) wxFONTSTYLE_ITALIC
));
12208 PyDict_SetItemString(d
,"wxFONTSTYLE_SLANT", PyInt_FromLong((long) wxFONTSTYLE_SLANT
));
12209 PyDict_SetItemString(d
,"wxFONTSTYLE_MAX", PyInt_FromLong((long) wxFONTSTYLE_MAX
));
12210 PyDict_SetItemString(d
,"wxFONTWEIGHT_NORMAL", PyInt_FromLong((long) wxFONTWEIGHT_NORMAL
));
12211 PyDict_SetItemString(d
,"wxFONTWEIGHT_LIGHT", PyInt_FromLong((long) wxFONTWEIGHT_LIGHT
));
12212 PyDict_SetItemString(d
,"wxFONTWEIGHT_BOLD", PyInt_FromLong((long) wxFONTWEIGHT_BOLD
));
12213 PyDict_SetItemString(d
,"wxFONTWEIGHT_MAX", PyInt_FromLong((long) wxFONTWEIGHT_MAX
));
12214 PyDict_SetItemString(d
,"wxFONTENCODING_SYSTEM", PyInt_FromLong((long) wxFONTENCODING_SYSTEM
));
12215 PyDict_SetItemString(d
,"wxFONTENCODING_DEFAULT", PyInt_FromLong((long) wxFONTENCODING_DEFAULT
));
12216 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_1", PyInt_FromLong((long) wxFONTENCODING_ISO8859_1
));
12217 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_2", PyInt_FromLong((long) wxFONTENCODING_ISO8859_2
));
12218 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_3", PyInt_FromLong((long) wxFONTENCODING_ISO8859_3
));
12219 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_4", PyInt_FromLong((long) wxFONTENCODING_ISO8859_4
));
12220 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_5", PyInt_FromLong((long) wxFONTENCODING_ISO8859_5
));
12221 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_6", PyInt_FromLong((long) wxFONTENCODING_ISO8859_6
));
12222 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_7", PyInt_FromLong((long) wxFONTENCODING_ISO8859_7
));
12223 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_8", PyInt_FromLong((long) wxFONTENCODING_ISO8859_8
));
12224 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_9", PyInt_FromLong((long) wxFONTENCODING_ISO8859_9
));
12225 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_10", PyInt_FromLong((long) wxFONTENCODING_ISO8859_10
));
12226 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_11", PyInt_FromLong((long) wxFONTENCODING_ISO8859_11
));
12227 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_12", PyInt_FromLong((long) wxFONTENCODING_ISO8859_12
));
12228 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_13", PyInt_FromLong((long) wxFONTENCODING_ISO8859_13
));
12229 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_14", PyInt_FromLong((long) wxFONTENCODING_ISO8859_14
));
12230 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_15", PyInt_FromLong((long) wxFONTENCODING_ISO8859_15
));
12231 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_MAX", PyInt_FromLong((long) wxFONTENCODING_ISO8859_MAX
));
12232 PyDict_SetItemString(d
,"wxFONTENCODING_KOI8", PyInt_FromLong((long) wxFONTENCODING_KOI8
));
12233 PyDict_SetItemString(d
,"wxFONTENCODING_ALTERNATIVE", PyInt_FromLong((long) wxFONTENCODING_ALTERNATIVE
));
12234 PyDict_SetItemString(d
,"wxFONTENCODING_BULGARIAN", PyInt_FromLong((long) wxFONTENCODING_BULGARIAN
));
12235 PyDict_SetItemString(d
,"wxFONTENCODING_CP437", PyInt_FromLong((long) wxFONTENCODING_CP437
));
12236 PyDict_SetItemString(d
,"wxFONTENCODING_CP850", PyInt_FromLong((long) wxFONTENCODING_CP850
));
12237 PyDict_SetItemString(d
,"wxFONTENCODING_CP852", PyInt_FromLong((long) wxFONTENCODING_CP852
));
12238 PyDict_SetItemString(d
,"wxFONTENCODING_CP855", PyInt_FromLong((long) wxFONTENCODING_CP855
));
12239 PyDict_SetItemString(d
,"wxFONTENCODING_CP866", PyInt_FromLong((long) wxFONTENCODING_CP866
));
12240 PyDict_SetItemString(d
,"wxFONTENCODING_CP874", PyInt_FromLong((long) wxFONTENCODING_CP874
));
12241 PyDict_SetItemString(d
,"wxFONTENCODING_CP932", PyInt_FromLong((long) wxFONTENCODING_CP932
));
12242 PyDict_SetItemString(d
,"wxFONTENCODING_CP936", PyInt_FromLong((long) wxFONTENCODING_CP936
));
12243 PyDict_SetItemString(d
,"wxFONTENCODING_CP949", PyInt_FromLong((long) wxFONTENCODING_CP949
));
12244 PyDict_SetItemString(d
,"wxFONTENCODING_CP950", PyInt_FromLong((long) wxFONTENCODING_CP950
));
12245 PyDict_SetItemString(d
,"wxFONTENCODING_CP1250", PyInt_FromLong((long) wxFONTENCODING_CP1250
));
12246 PyDict_SetItemString(d
,"wxFONTENCODING_CP1251", PyInt_FromLong((long) wxFONTENCODING_CP1251
));
12247 PyDict_SetItemString(d
,"wxFONTENCODING_CP1252", PyInt_FromLong((long) wxFONTENCODING_CP1252
));
12248 PyDict_SetItemString(d
,"wxFONTENCODING_CP1253", PyInt_FromLong((long) wxFONTENCODING_CP1253
));
12249 PyDict_SetItemString(d
,"wxFONTENCODING_CP1254", PyInt_FromLong((long) wxFONTENCODING_CP1254
));
12250 PyDict_SetItemString(d
,"wxFONTENCODING_CP1255", PyInt_FromLong((long) wxFONTENCODING_CP1255
));
12251 PyDict_SetItemString(d
,"wxFONTENCODING_CP1256", PyInt_FromLong((long) wxFONTENCODING_CP1256
));
12252 PyDict_SetItemString(d
,"wxFONTENCODING_CP1257", PyInt_FromLong((long) wxFONTENCODING_CP1257
));
12253 PyDict_SetItemString(d
,"wxFONTENCODING_CP12_MAX", PyInt_FromLong((long) wxFONTENCODING_CP12_MAX
));
12254 PyDict_SetItemString(d
,"wxFONTENCODING_UTF7", PyInt_FromLong((long) wxFONTENCODING_UTF7
));
12255 PyDict_SetItemString(d
,"wxFONTENCODING_UTF8", PyInt_FromLong((long) wxFONTENCODING_UTF8
));
12256 PyDict_SetItemString(d
,"wxFONTENCODING_UNICODE", PyInt_FromLong((long) wxFONTENCODING_UNICODE
));
12257 PyDict_SetItemString(d
,"wxFONTENCODING_MAX", PyInt_FromLong((long) wxFONTENCODING_MAX
));
12258 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_NORMAL", PyInt_FromLong((long) wxIMAGELIST_DRAW_NORMAL
));
12259 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_TRANSPARENT", PyInt_FromLong((long) wxIMAGELIST_DRAW_TRANSPARENT
));
12260 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_SELECTED", PyInt_FromLong((long) wxIMAGELIST_DRAW_SELECTED
));
12261 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_FOCUSED", PyInt_FromLong((long) wxIMAGELIST_DRAW_FOCUSED
));
12262 PyDict_SetItemString(d
,"wxIMAGE_LIST_NORMAL", PyInt_FromLong((long) wxIMAGE_LIST_NORMAL
));
12263 PyDict_SetItemString(d
,"wxIMAGE_LIST_SMALL", PyInt_FromLong((long) wxIMAGE_LIST_SMALL
));
12264 PyDict_SetItemString(d
,"wxIMAGE_LIST_STATE", PyInt_FromLong((long) wxIMAGE_LIST_STATE
));
12265 PyDict_SetItemString(d
,"wxOutRegion", PyInt_FromLong((long) wxOutRegion
));
12266 PyDict_SetItemString(d
,"wxPartRegion", PyInt_FromLong((long) wxPartRegion
));
12267 PyDict_SetItemString(d
,"wxInRegion", PyInt_FromLong((long) wxInRegion
));
12268 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
12269 SWIG_addvarlink(SWIG_globals
,"wxNORMAL_FONT",_wrap_wxNORMAL_FONT_get
, _wrap_wxNORMAL_FONT_set
);
12270 SWIG_addvarlink(SWIG_globals
,"wxSMALL_FONT",_wrap_wxSMALL_FONT_get
, _wrap_wxSMALL_FONT_set
);
12271 SWIG_addvarlink(SWIG_globals
,"wxITALIC_FONT",_wrap_wxITALIC_FONT_get
, _wrap_wxITALIC_FONT_set
);
12272 SWIG_addvarlink(SWIG_globals
,"wxSWISS_FONT",_wrap_wxSWISS_FONT_get
, _wrap_wxSWISS_FONT_set
);
12273 SWIG_addvarlink(SWIG_globals
,"wxRED_PEN",_wrap_wxRED_PEN_get
, _wrap_wxRED_PEN_set
);
12274 SWIG_addvarlink(SWIG_globals
,"wxCYAN_PEN",_wrap_wxCYAN_PEN_get
, _wrap_wxCYAN_PEN_set
);
12275 SWIG_addvarlink(SWIG_globals
,"wxGREEN_PEN",_wrap_wxGREEN_PEN_get
, _wrap_wxGREEN_PEN_set
);
12276 SWIG_addvarlink(SWIG_globals
,"wxBLACK_PEN",_wrap_wxBLACK_PEN_get
, _wrap_wxBLACK_PEN_set
);
12277 SWIG_addvarlink(SWIG_globals
,"wxWHITE_PEN",_wrap_wxWHITE_PEN_get
, _wrap_wxWHITE_PEN_set
);
12278 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_PEN",_wrap_wxTRANSPARENT_PEN_get
, _wrap_wxTRANSPARENT_PEN_set
);
12279 SWIG_addvarlink(SWIG_globals
,"wxBLACK_DASHED_PEN",_wrap_wxBLACK_DASHED_PEN_get
, _wrap_wxBLACK_DASHED_PEN_set
);
12280 SWIG_addvarlink(SWIG_globals
,"wxGREY_PEN",_wrap_wxGREY_PEN_get
, _wrap_wxGREY_PEN_set
);
12281 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_PEN",_wrap_wxMEDIUM_GREY_PEN_get
, _wrap_wxMEDIUM_GREY_PEN_set
);
12282 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_PEN",_wrap_wxLIGHT_GREY_PEN_get
, _wrap_wxLIGHT_GREY_PEN_set
);
12283 SWIG_addvarlink(SWIG_globals
,"wxBLUE_BRUSH",_wrap_wxBLUE_BRUSH_get
, _wrap_wxBLUE_BRUSH_set
);
12284 SWIG_addvarlink(SWIG_globals
,"wxGREEN_BRUSH",_wrap_wxGREEN_BRUSH_get
, _wrap_wxGREEN_BRUSH_set
);
12285 SWIG_addvarlink(SWIG_globals
,"wxWHITE_BRUSH",_wrap_wxWHITE_BRUSH_get
, _wrap_wxWHITE_BRUSH_set
);
12286 SWIG_addvarlink(SWIG_globals
,"wxBLACK_BRUSH",_wrap_wxBLACK_BRUSH_get
, _wrap_wxBLACK_BRUSH_set
);
12287 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_BRUSH",_wrap_wxTRANSPARENT_BRUSH_get
, _wrap_wxTRANSPARENT_BRUSH_set
);
12288 SWIG_addvarlink(SWIG_globals
,"wxCYAN_BRUSH",_wrap_wxCYAN_BRUSH_get
, _wrap_wxCYAN_BRUSH_set
);
12289 SWIG_addvarlink(SWIG_globals
,"wxRED_BRUSH",_wrap_wxRED_BRUSH_get
, _wrap_wxRED_BRUSH_set
);
12290 SWIG_addvarlink(SWIG_globals
,"wxGREY_BRUSH",_wrap_wxGREY_BRUSH_get
, _wrap_wxGREY_BRUSH_set
);
12291 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_BRUSH",_wrap_wxMEDIUM_GREY_BRUSH_get
, _wrap_wxMEDIUM_GREY_BRUSH_set
);
12292 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_BRUSH",_wrap_wxLIGHT_GREY_BRUSH_get
, _wrap_wxLIGHT_GREY_BRUSH_set
);
12293 SWIG_addvarlink(SWIG_globals
,"wxBLACK",_wrap_wxBLACK_get
, _wrap_wxBLACK_set
);
12294 SWIG_addvarlink(SWIG_globals
,"wxWHITE",_wrap_wxWHITE_get
, _wrap_wxWHITE_set
);
12295 SWIG_addvarlink(SWIG_globals
,"wxRED",_wrap_wxRED_get
, _wrap_wxRED_set
);
12296 SWIG_addvarlink(SWIG_globals
,"wxBLUE",_wrap_wxBLUE_get
, _wrap_wxBLUE_set
);
12297 SWIG_addvarlink(SWIG_globals
,"wxGREEN",_wrap_wxGREEN_get
, _wrap_wxGREEN_set
);
12298 SWIG_addvarlink(SWIG_globals
,"wxCYAN",_wrap_wxCYAN_get
, _wrap_wxCYAN_set
);
12299 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY",_wrap_wxLIGHT_GREY_get
, _wrap_wxLIGHT_GREY_set
);
12300 SWIG_addvarlink(SWIG_globals
,"wxSTANDARD_CURSOR",_wrap_wxSTANDARD_CURSOR_get
, _wrap_wxSTANDARD_CURSOR_set
);
12301 SWIG_addvarlink(SWIG_globals
,"wxHOURGLASS_CURSOR",_wrap_wxHOURGLASS_CURSOR_get
, _wrap_wxHOURGLASS_CURSOR_set
);
12302 SWIG_addvarlink(SWIG_globals
,"wxCROSS_CURSOR",_wrap_wxCROSS_CURSOR_get
, _wrap_wxCROSS_CURSOR_set
);
12303 SWIG_addvarlink(SWIG_globals
,"wxNullBitmap",_wrap_wxNullBitmap_get
, _wrap_wxNullBitmap_set
);
12304 SWIG_addvarlink(SWIG_globals
,"wxNullIcon",_wrap_wxNullIcon_get
, _wrap_wxNullIcon_set
);
12305 SWIG_addvarlink(SWIG_globals
,"wxNullCursor",_wrap_wxNullCursor_get
, _wrap_wxNullCursor_set
);
12306 SWIG_addvarlink(SWIG_globals
,"wxNullPen",_wrap_wxNullPen_get
, _wrap_wxNullPen_set
);
12307 SWIG_addvarlink(SWIG_globals
,"wxNullBrush",_wrap_wxNullBrush_get
, _wrap_wxNullBrush_set
);
12308 SWIG_addvarlink(SWIG_globals
,"wxNullPalette",_wrap_wxNullPalette_get
, _wrap_wxNullPalette_set
);
12309 SWIG_addvarlink(SWIG_globals
,"wxNullFont",_wrap_wxNullFont_get
, _wrap_wxNullFont_set
);
12310 SWIG_addvarlink(SWIG_globals
,"wxNullColour",_wrap_wxNullColour_get
, _wrap_wxNullColour_set
);
12311 SWIG_addvarlink(SWIG_globals
,"wxTheFontList",_wrap_wxTheFontList_get
, _wrap_wxTheFontList_set
);
12312 SWIG_addvarlink(SWIG_globals
,"wxThePenList",_wrap_wxThePenList_get
, _wrap_wxThePenList_set
);
12313 SWIG_addvarlink(SWIG_globals
,"wxTheBrushList",_wrap_wxTheBrushList_get
, _wrap_wxTheBrushList_set
);
12314 SWIG_addvarlink(SWIG_globals
,"wxTheColourDatabase",_wrap_wxTheColourDatabase_get
, _wrap_wxTheColourDatabase_set
);
12317 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
12318 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);