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>
64 #include <wx/dcbuffer.h>
67 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
73 } else if (target
== Py_None
) {
77 if (!PyTuple_Check(target
)) {
79 target
= PyTuple_New(1);
80 PyTuple_SetItem(target
, 0, o2
);
83 PyTuple_SetItem(o3
, 0, o
);
86 target
= PySequence_Concat(o2
, o3
);
93 // Put some wx default wxChar* values into wxStrings.
94 static const wxString
wxPyEmptyString(wxT(""));
95 // Implementations of some alternate "constructors"
97 wxBitmap
* wxEmptyBitmap(int width
, int height
, int depth
=-1) {
98 return new wxBitmap(width
, height
, depth
);
101 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
102 char** cArray
= NULL
;
105 if (!PyList_Check(listOfStrings
)) {
106 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
109 count
= PyList_Size(listOfStrings
);
110 cArray
= new char*[count
];
112 for(int x
=0; x
<count
; x
++) {
113 // TODO: Need some validation and error checking here
114 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
120 wxBitmap
* wxBitmapFromXPMData(PyObject
* listOfStrings
) {
121 char** cArray
= NULL
;
124 cArray
= ConvertListOfStrings(listOfStrings
);
127 bmp
= new wxBitmap(cArray
);
133 wxBitmap
* wxBitmapFromIcon(const wxIcon
& icon
) {
134 return new wxBitmap(icon
);
138 wxBitmap
* wxBitmapFromBits(char* bits
, int width
, int height
, int depth
= 1 ) {
139 return new wxBitmap(bits
, width
, height
, depth
);
144 // wxBitmap* wxBitmapFromData(PyObject* data, long type,
145 // int width, int height, int depth = 1) {
146 // if (! PyString_Check(data)) {
147 // PyErr_SetString(PyExc_TypeError, "Expected string object");
150 // return new wxBitmap((void*)PyString_AsString(data), type, width, height, depth);
154 wxMask
* wxMaskColour(const wxBitmap
& bitmap
, const wxColour
& colour
) {
155 return new wxMask(bitmap
, colour
);
157 // Implementations of some alternate "constructors"
158 wxIcon
* wxEmptyIcon() {
162 wxIcon
* wxIconFromXPMData(PyObject
* listOfStrings
) {
163 char** cArray
= NULL
;
166 cArray
= ConvertListOfStrings(listOfStrings
);
169 icon
= new wxIcon(cArray
);
174 wxIcon
* wxIconFromBitmap(const wxBitmap
& bmp
) {
175 wxIcon
* icon
= new wxIcon();
176 icon
->CopyFromBitmap(bmp
);
179 // Alternate 'constructor'
180 wxCursor
* wxPyStockCursor(int id
) {
181 return new wxCursor(id
);
183 // Alternate 'constructor'
184 wxColour
* wxNamedColour(const wxString
& colorName
) {
185 return new wxColour(colorName
);
188 class wxPyPen
: public wxPen
{
190 wxPyPen(wxColour
& colour
, int width
=1, int style
=wxSOLID
)
191 : wxPen(colour
, width
, style
)
198 void SetDashes(int nb_dashes
, const wxDash
*dash
) {
201 m_dash
= new wxDash
[nb_dashes
];
202 for (int i
=0; i
<nb_dashes
; i
++) {
205 wxPen::SetDashes(nb_dashes
, m_dash
);
212 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
218 // Alternate 'constructor'
219 wxMemoryDC
* wxMemoryDCFromDC(wxDC
* oldDC
) {
220 return new wxMemoryDC(oldDC
);
224 extern wxFont
* wxNORMAL_FONT
;
225 extern wxFont
* wxSMALL_FONT
;
226 extern wxFont
* wxITALIC_FONT
;
227 extern wxFont
* wxSWISS_FONT
;
228 extern wxPen
* wxRED_PEN
;
229 extern wxPen
* wxCYAN_PEN
;
230 extern wxPen
* wxGREEN_PEN
;
231 extern wxPen
* wxBLACK_PEN
;
232 extern wxPen
* wxWHITE_PEN
;
233 extern wxPen
* wxTRANSPARENT_PEN
;
234 extern wxPen
* wxBLACK_DASHED_PEN
;
235 extern wxPen
* wxGREY_PEN
;
236 extern wxPen
* wxMEDIUM_GREY_PEN
;
237 extern wxPen
* wxLIGHT_GREY_PEN
;
238 extern wxBrush
* wxBLUE_BRUSH
;
239 extern wxBrush
* wxGREEN_BRUSH
;
240 extern wxBrush
* wxWHITE_BRUSH
;
241 extern wxBrush
* wxBLACK_BRUSH
;
242 extern wxBrush
* wxTRANSPARENT_BRUSH
;
243 extern wxBrush
* wxCYAN_BRUSH
;
244 extern wxBrush
* wxRED_BRUSH
;
245 extern wxBrush
* wxGREY_BRUSH
;
246 extern wxBrush
* wxMEDIUM_GREY_BRUSH
;
247 extern wxBrush
* wxLIGHT_GREY_BRUSH
;
248 extern wxColour
* wxBLACK
;
249 extern wxColour
* wxWHITE
;
250 extern wxColour
* wxRED
;
251 extern wxColour
* wxBLUE
;
252 extern wxColour
* wxGREEN
;
253 extern wxColour
* wxCYAN
;
254 extern wxColour
* wxLIGHT_GREY
;
255 extern wxCursor
* wxSTANDARD_CURSOR
;
256 extern wxCursor
* wxHOURGLASS_CURSOR
;
257 extern wxCursor
* wxCROSS_CURSOR
;
258 extern wxBitmap wxNullBitmap
;
259 extern wxIcon wxNullIcon
;
260 extern wxCursor wxNullCursor
;
261 extern wxPen wxNullPen
;
262 extern wxBrush wxNullBrush
;
263 extern wxPalette wxNullPalette
;
264 extern wxFont wxNullFont
;
265 extern wxColour wxNullColour
;
266 extern wxFontList
* wxTheFontList
;
267 extern wxPenList
* wxThePenList
;
268 extern wxBrushList
* wxTheBrushList
;
269 extern wxColourDatabase
* wxTheColourDatabase
;
275 static PyObject
*_wrap_wxEmptyBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
276 PyObject
* _resultobj
;
280 int _arg2
= (int ) -1;
281 char *_kwnames
[] = { "width","height","depth", NULL
};
285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ii|i:wxEmptyBitmap",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
289 _result
= (wxBitmap
*)wxEmptyBitmap(_arg0
,_arg1
,_arg2
);
291 wxPyEndAllowThreads(__tstate
);
292 if (PyErr_Occurred()) return NULL
;
294 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
295 _resultobj
= Py_BuildValue("s",_ptemp
);
298 _resultobj
= Py_None
;
303 static PyObject
*_wrap_wxBitmapFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
304 PyObject
* _resultobj
;
307 PyObject
* _obj0
= 0;
308 char *_kwnames
[] = { "listOfStrings", NULL
};
312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapFromXPMData",_kwnames
,&_obj0
))
318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
319 _result
= (wxBitmap
*)wxBitmapFromXPMData(_arg0
);
321 wxPyEndAllowThreads(__tstate
);
322 if (PyErr_Occurred()) return NULL
;
324 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
325 _resultobj
= Py_BuildValue("s",_ptemp
);
328 _resultobj
= Py_None
;
333 static PyObject
*_wrap_wxBitmapFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
334 PyObject
* _resultobj
;
337 PyObject
* _argo0
= 0;
338 char *_kwnames
[] = { "icon", NULL
};
342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapFromIcon",_kwnames
,&_argo0
))
345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapFromIcon. Expected _wxIcon_p.");
352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
353 _result
= (wxBitmap
*)wxBitmapFromIcon(*_arg0
);
355 wxPyEndAllowThreads(__tstate
);
356 if (PyErr_Occurred()) return NULL
;
358 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
359 _resultobj
= Py_BuildValue("s",_ptemp
);
362 _resultobj
= Py_None
;
367 static PyObject
*_wrap_wxBitmapFromBits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
368 PyObject
* _resultobj
;
373 int _arg3
= (int ) 1;
374 char *_kwnames
[] = { "bits","width","height","depth", NULL
};
378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"sii|i:wxBitmapFromBits",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
382 _result
= (wxBitmap
*)wxBitmapFromBits(_arg0
,_arg1
,_arg2
,_arg3
);
384 wxPyEndAllowThreads(__tstate
);
385 if (PyErr_Occurred()) return NULL
;
387 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
388 _resultobj
= Py_BuildValue("s",_ptemp
);
391 _resultobj
= Py_None
;
396 static PyObject
*_wrap_wxMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
397 PyObject
* _resultobj
;
401 PyObject
* _argo0
= 0;
403 PyObject
* _obj1
= 0;
404 char *_kwnames
[] = { "bitmap","colour", NULL
};
408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMaskColour",_kwnames
,&_argo0
,&_obj1
))
411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMaskColour. Expected _wxBitmap_p.");
419 if (! wxColour_helper(_obj1
, &_arg1
))
423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
424 _result
= (wxMask
*)wxMaskColour(*_arg0
,*_arg1
);
426 wxPyEndAllowThreads(__tstate
);
427 if (PyErr_Occurred()) return NULL
;
429 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
430 _resultobj
= Py_BuildValue("s",_ptemp
);
433 _resultobj
= Py_None
;
438 static PyObject
*_wrap_wxEmptyIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
439 PyObject
* _resultobj
;
441 char *_kwnames
[] = { NULL
};
445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxEmptyIcon",_kwnames
))
448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
449 _result
= (wxIcon
*)wxEmptyIcon();
451 wxPyEndAllowThreads(__tstate
);
452 if (PyErr_Occurred()) return NULL
;
454 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
455 _resultobj
= Py_BuildValue("s",_ptemp
);
458 _resultobj
= Py_None
;
463 static PyObject
*_wrap_wxIconFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
464 PyObject
* _resultobj
;
467 PyObject
* _obj0
= 0;
468 char *_kwnames
[] = { "listOfStrings", NULL
};
472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIconFromXPMData",_kwnames
,&_obj0
))
478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
479 _result
= (wxIcon
*)wxIconFromXPMData(_arg0
);
481 wxPyEndAllowThreads(__tstate
);
482 if (PyErr_Occurred()) return NULL
;
484 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
485 _resultobj
= Py_BuildValue("s",_ptemp
);
488 _resultobj
= Py_None
;
493 static PyObject
*_wrap_wxIconFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
494 PyObject
* _resultobj
;
497 PyObject
* _argo0
= 0;
498 char *_kwnames
[] = { "bmp", NULL
};
502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIconFromBitmap",_kwnames
,&_argo0
))
505 if (_argo0
== Py_None
) { _arg0
= NULL
; }
506 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIconFromBitmap. Expected _wxBitmap_p.");
512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
513 _result
= (wxIcon
*)wxIconFromBitmap(*_arg0
);
515 wxPyEndAllowThreads(__tstate
);
516 if (PyErr_Occurred()) return NULL
;
518 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
519 _resultobj
= Py_BuildValue("s",_ptemp
);
522 _resultobj
= Py_None
;
527 static PyObject
*_wrap_wxStockCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
528 PyObject
* _resultobj
;
531 char *_kwnames
[] = { "id", NULL
};
535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxStockCursor",_kwnames
,&_arg0
))
538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
539 _result
= (wxCursor
*)wxPyStockCursor(_arg0
);
541 wxPyEndAllowThreads(__tstate
);
542 if (PyErr_Occurred()) return NULL
;
544 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCursor_p");
545 _resultobj
= Py_BuildValue("s",_ptemp
);
548 _resultobj
= Py_None
;
553 static PyObject
*_wrap_wxNamedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
554 PyObject
* _resultobj
;
557 PyObject
* _obj0
= 0;
558 char *_kwnames
[] = { "colorName", NULL
};
562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNamedColour",_kwnames
,&_obj0
))
565 _arg0
= wxString_in_helper(_obj0
);
570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
571 _result
= (wxColour
*)wxNamedColour(*_arg0
);
573 wxPyEndAllowThreads(__tstate
);
574 if (PyErr_Occurred()) return NULL
;
576 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
577 _resultobj
= Py_BuildValue("s",_ptemp
);
580 _resultobj
= Py_None
;
589 static PyObject
*_wrap_wxMemoryDCFromDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
590 PyObject
* _resultobj
;
591 wxMemoryDC
* _result
;
593 PyObject
* _argo0
= 0;
594 char *_kwnames
[] = { "oldDC", NULL
};
598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMemoryDCFromDC",_kwnames
,&_argo0
))
601 if (_argo0
== Py_None
) { _arg0
= NULL
; }
602 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDCFromDC. Expected _wxDC_p.");
608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
609 _result
= (wxMemoryDC
*)wxMemoryDCFromDC(_arg0
);
611 wxPyEndAllowThreads(__tstate
);
612 if (PyErr_Occurred()) return NULL
;
614 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
615 _resultobj
= Py_BuildValue("s",_ptemp
);
618 _resultobj
= Py_None
;
623 static int _wrap_wxNORMAL_FONT_set(PyObject
*val
) {
625 PyErr_SetString(PyExc_TypeError
,"Variable wxNORMAL_FONT is read-only.");
629 static PyObject
*_wrap_wxNORMAL_FONT_get() {
633 SWIG_MakePtr(ptemp
, (char *) wxNORMAL_FONT
,"_wxFont_p");
634 pyobj
= PyString_FromString(ptemp
);
638 static int _wrap_wxSMALL_FONT_set(PyObject
*val
) {
640 PyErr_SetString(PyExc_TypeError
,"Variable wxSMALL_FONT is read-only.");
644 static PyObject
*_wrap_wxSMALL_FONT_get() {
648 SWIG_MakePtr(ptemp
, (char *) wxSMALL_FONT
,"_wxFont_p");
649 pyobj
= PyString_FromString(ptemp
);
653 static int _wrap_wxITALIC_FONT_set(PyObject
*val
) {
655 PyErr_SetString(PyExc_TypeError
,"Variable wxITALIC_FONT is read-only.");
659 static PyObject
*_wrap_wxITALIC_FONT_get() {
663 SWIG_MakePtr(ptemp
, (char *) wxITALIC_FONT
,"_wxFont_p");
664 pyobj
= PyString_FromString(ptemp
);
668 static int _wrap_wxSWISS_FONT_set(PyObject
*val
) {
670 PyErr_SetString(PyExc_TypeError
,"Variable wxSWISS_FONT is read-only.");
674 static PyObject
*_wrap_wxSWISS_FONT_get() {
678 SWIG_MakePtr(ptemp
, (char *) wxSWISS_FONT
,"_wxFont_p");
679 pyobj
= PyString_FromString(ptemp
);
683 static int _wrap_wxRED_PEN_set(PyObject
*val
) {
685 PyErr_SetString(PyExc_TypeError
,"Variable wxRED_PEN is read-only.");
689 static PyObject
*_wrap_wxRED_PEN_get() {
693 SWIG_MakePtr(ptemp
, (char *) wxRED_PEN
,"_wxPen_p");
694 pyobj
= PyString_FromString(ptemp
);
698 static int _wrap_wxCYAN_PEN_set(PyObject
*val
) {
700 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN_PEN is read-only.");
704 static PyObject
*_wrap_wxCYAN_PEN_get() {
708 SWIG_MakePtr(ptemp
, (char *) wxCYAN_PEN
,"_wxPen_p");
709 pyobj
= PyString_FromString(ptemp
);
713 static int _wrap_wxGREEN_PEN_set(PyObject
*val
) {
715 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN_PEN is read-only.");
719 static PyObject
*_wrap_wxGREEN_PEN_get() {
723 SWIG_MakePtr(ptemp
, (char *) wxGREEN_PEN
,"_wxPen_p");
724 pyobj
= PyString_FromString(ptemp
);
728 static int _wrap_wxBLACK_PEN_set(PyObject
*val
) {
730 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_PEN is read-only.");
734 static PyObject
*_wrap_wxBLACK_PEN_get() {
738 SWIG_MakePtr(ptemp
, (char *) wxBLACK_PEN
,"_wxPen_p");
739 pyobj
= PyString_FromString(ptemp
);
743 static int _wrap_wxWHITE_PEN_set(PyObject
*val
) {
745 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE_PEN is read-only.");
749 static PyObject
*_wrap_wxWHITE_PEN_get() {
753 SWIG_MakePtr(ptemp
, (char *) wxWHITE_PEN
,"_wxPen_p");
754 pyobj
= PyString_FromString(ptemp
);
758 static int _wrap_wxTRANSPARENT_PEN_set(PyObject
*val
) {
760 PyErr_SetString(PyExc_TypeError
,"Variable wxTRANSPARENT_PEN is read-only.");
764 static PyObject
*_wrap_wxTRANSPARENT_PEN_get() {
768 SWIG_MakePtr(ptemp
, (char *) wxTRANSPARENT_PEN
,"_wxPen_p");
769 pyobj
= PyString_FromString(ptemp
);
773 static int _wrap_wxBLACK_DASHED_PEN_set(PyObject
*val
) {
775 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_DASHED_PEN is read-only.");
779 static PyObject
*_wrap_wxBLACK_DASHED_PEN_get() {
783 SWIG_MakePtr(ptemp
, (char *) wxBLACK_DASHED_PEN
,"_wxPen_p");
784 pyobj
= PyString_FromString(ptemp
);
788 static int _wrap_wxGREY_PEN_set(PyObject
*val
) {
790 PyErr_SetString(PyExc_TypeError
,"Variable wxGREY_PEN is read-only.");
794 static PyObject
*_wrap_wxGREY_PEN_get() {
798 SWIG_MakePtr(ptemp
, (char *) wxGREY_PEN
,"_wxPen_p");
799 pyobj
= PyString_FromString(ptemp
);
803 static int _wrap_wxMEDIUM_GREY_PEN_set(PyObject
*val
) {
805 PyErr_SetString(PyExc_TypeError
,"Variable wxMEDIUM_GREY_PEN is read-only.");
809 static PyObject
*_wrap_wxMEDIUM_GREY_PEN_get() {
813 SWIG_MakePtr(ptemp
, (char *) wxMEDIUM_GREY_PEN
,"_wxPen_p");
814 pyobj
= PyString_FromString(ptemp
);
818 static int _wrap_wxLIGHT_GREY_PEN_set(PyObject
*val
) {
820 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY_PEN is read-only.");
824 static PyObject
*_wrap_wxLIGHT_GREY_PEN_get() {
828 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY_PEN
,"_wxPen_p");
829 pyobj
= PyString_FromString(ptemp
);
833 static int _wrap_wxBLUE_BRUSH_set(PyObject
*val
) {
835 PyErr_SetString(PyExc_TypeError
,"Variable wxBLUE_BRUSH is read-only.");
839 static PyObject
*_wrap_wxBLUE_BRUSH_get() {
843 SWIG_MakePtr(ptemp
, (char *) wxBLUE_BRUSH
,"_wxBrush_p");
844 pyobj
= PyString_FromString(ptemp
);
848 static int _wrap_wxGREEN_BRUSH_set(PyObject
*val
) {
850 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN_BRUSH is read-only.");
854 static PyObject
*_wrap_wxGREEN_BRUSH_get() {
858 SWIG_MakePtr(ptemp
, (char *) wxGREEN_BRUSH
,"_wxBrush_p");
859 pyobj
= PyString_FromString(ptemp
);
863 static int _wrap_wxWHITE_BRUSH_set(PyObject
*val
) {
865 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE_BRUSH is read-only.");
869 static PyObject
*_wrap_wxWHITE_BRUSH_get() {
873 SWIG_MakePtr(ptemp
, (char *) wxWHITE_BRUSH
,"_wxBrush_p");
874 pyobj
= PyString_FromString(ptemp
);
878 static int _wrap_wxBLACK_BRUSH_set(PyObject
*val
) {
880 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_BRUSH is read-only.");
884 static PyObject
*_wrap_wxBLACK_BRUSH_get() {
888 SWIG_MakePtr(ptemp
, (char *) wxBLACK_BRUSH
,"_wxBrush_p");
889 pyobj
= PyString_FromString(ptemp
);
893 static int _wrap_wxTRANSPARENT_BRUSH_set(PyObject
*val
) {
895 PyErr_SetString(PyExc_TypeError
,"Variable wxTRANSPARENT_BRUSH is read-only.");
899 static PyObject
*_wrap_wxTRANSPARENT_BRUSH_get() {
903 SWIG_MakePtr(ptemp
, (char *) wxTRANSPARENT_BRUSH
,"_wxBrush_p");
904 pyobj
= PyString_FromString(ptemp
);
908 static int _wrap_wxCYAN_BRUSH_set(PyObject
*val
) {
910 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN_BRUSH is read-only.");
914 static PyObject
*_wrap_wxCYAN_BRUSH_get() {
918 SWIG_MakePtr(ptemp
, (char *) wxCYAN_BRUSH
,"_wxBrush_p");
919 pyobj
= PyString_FromString(ptemp
);
923 static int _wrap_wxRED_BRUSH_set(PyObject
*val
) {
925 PyErr_SetString(PyExc_TypeError
,"Variable wxRED_BRUSH is read-only.");
929 static PyObject
*_wrap_wxRED_BRUSH_get() {
933 SWIG_MakePtr(ptemp
, (char *) wxRED_BRUSH
,"_wxBrush_p");
934 pyobj
= PyString_FromString(ptemp
);
938 static int _wrap_wxGREY_BRUSH_set(PyObject
*val
) {
940 PyErr_SetString(PyExc_TypeError
,"Variable wxGREY_BRUSH is read-only.");
944 static PyObject
*_wrap_wxGREY_BRUSH_get() {
948 SWIG_MakePtr(ptemp
, (char *) wxGREY_BRUSH
,"_wxBrush_p");
949 pyobj
= PyString_FromString(ptemp
);
953 static int _wrap_wxMEDIUM_GREY_BRUSH_set(PyObject
*val
) {
955 PyErr_SetString(PyExc_TypeError
,"Variable wxMEDIUM_GREY_BRUSH is read-only.");
959 static PyObject
*_wrap_wxMEDIUM_GREY_BRUSH_get() {
963 SWIG_MakePtr(ptemp
, (char *) wxMEDIUM_GREY_BRUSH
,"_wxBrush_p");
964 pyobj
= PyString_FromString(ptemp
);
968 static int _wrap_wxLIGHT_GREY_BRUSH_set(PyObject
*val
) {
970 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY_BRUSH is read-only.");
974 static PyObject
*_wrap_wxLIGHT_GREY_BRUSH_get() {
978 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY_BRUSH
,"_wxBrush_p");
979 pyobj
= PyString_FromString(ptemp
);
983 static int _wrap_wxBLACK_set(PyObject
*val
) {
985 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK is read-only.");
989 static PyObject
*_wrap_wxBLACK_get() {
993 SWIG_MakePtr(ptemp
, (char *) wxBLACK
,"_wxColour_p");
994 pyobj
= PyString_FromString(ptemp
);
998 static int _wrap_wxWHITE_set(PyObject
*val
) {
1000 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE is read-only.");
1004 static PyObject
*_wrap_wxWHITE_get() {
1008 SWIG_MakePtr(ptemp
, (char *) wxWHITE
,"_wxColour_p");
1009 pyobj
= PyString_FromString(ptemp
);
1013 static int _wrap_wxRED_set(PyObject
*val
) {
1015 PyErr_SetString(PyExc_TypeError
,"Variable wxRED is read-only.");
1019 static PyObject
*_wrap_wxRED_get() {
1023 SWIG_MakePtr(ptemp
, (char *) wxRED
,"_wxColour_p");
1024 pyobj
= PyString_FromString(ptemp
);
1028 static int _wrap_wxBLUE_set(PyObject
*val
) {
1030 PyErr_SetString(PyExc_TypeError
,"Variable wxBLUE is read-only.");
1034 static PyObject
*_wrap_wxBLUE_get() {
1038 SWIG_MakePtr(ptemp
, (char *) wxBLUE
,"_wxColour_p");
1039 pyobj
= PyString_FromString(ptemp
);
1043 static int _wrap_wxGREEN_set(PyObject
*val
) {
1045 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN is read-only.");
1049 static PyObject
*_wrap_wxGREEN_get() {
1053 SWIG_MakePtr(ptemp
, (char *) wxGREEN
,"_wxColour_p");
1054 pyobj
= PyString_FromString(ptemp
);
1058 static int _wrap_wxCYAN_set(PyObject
*val
) {
1060 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN is read-only.");
1064 static PyObject
*_wrap_wxCYAN_get() {
1068 SWIG_MakePtr(ptemp
, (char *) wxCYAN
,"_wxColour_p");
1069 pyobj
= PyString_FromString(ptemp
);
1073 static int _wrap_wxLIGHT_GREY_set(PyObject
*val
) {
1075 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY is read-only.");
1079 static PyObject
*_wrap_wxLIGHT_GREY_get() {
1083 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY
,"_wxColour_p");
1084 pyobj
= PyString_FromString(ptemp
);
1088 static int _wrap_wxSTANDARD_CURSOR_set(PyObject
*val
) {
1090 PyErr_SetString(PyExc_TypeError
,"Variable wxSTANDARD_CURSOR is read-only.");
1094 static PyObject
*_wrap_wxSTANDARD_CURSOR_get() {
1098 SWIG_MakePtr(ptemp
, (char *) wxSTANDARD_CURSOR
,"_wxCursor_p");
1099 pyobj
= PyString_FromString(ptemp
);
1103 static int _wrap_wxHOURGLASS_CURSOR_set(PyObject
*val
) {
1105 PyErr_SetString(PyExc_TypeError
,"Variable wxHOURGLASS_CURSOR is read-only.");
1109 static PyObject
*_wrap_wxHOURGLASS_CURSOR_get() {
1113 SWIG_MakePtr(ptemp
, (char *) wxHOURGLASS_CURSOR
,"_wxCursor_p");
1114 pyobj
= PyString_FromString(ptemp
);
1118 static int _wrap_wxCROSS_CURSOR_set(PyObject
*val
) {
1120 PyErr_SetString(PyExc_TypeError
,"Variable wxCROSS_CURSOR is read-only.");
1124 static PyObject
*_wrap_wxCROSS_CURSOR_get() {
1128 SWIG_MakePtr(ptemp
, (char *) wxCROSS_CURSOR
,"_wxCursor_p");
1129 pyobj
= PyString_FromString(ptemp
);
1133 static int _wrap_wxNullBitmap_set(PyObject
*val
) {
1135 PyErr_SetString(PyExc_TypeError
,"Variable wxNullBitmap is read-only.");
1139 static PyObject
*_wrap_wxNullBitmap_get() {
1143 SWIG_MakePtr(ptemp
,(char *) &wxNullBitmap
,"_wxBitmap_p");
1144 pyobj
= PyString_FromString(ptemp
);
1148 static int _wrap_wxNullIcon_set(PyObject
*val
) {
1150 PyErr_SetString(PyExc_TypeError
,"Variable wxNullIcon is read-only.");
1154 static PyObject
*_wrap_wxNullIcon_get() {
1158 SWIG_MakePtr(ptemp
,(char *) &wxNullIcon
,"_wxIcon_p");
1159 pyobj
= PyString_FromString(ptemp
);
1163 static int _wrap_wxNullCursor_set(PyObject
*val
) {
1165 PyErr_SetString(PyExc_TypeError
,"Variable wxNullCursor is read-only.");
1169 static PyObject
*_wrap_wxNullCursor_get() {
1173 SWIG_MakePtr(ptemp
,(char *) &wxNullCursor
,"_wxCursor_p");
1174 pyobj
= PyString_FromString(ptemp
);
1178 static int _wrap_wxNullPen_set(PyObject
*val
) {
1180 PyErr_SetString(PyExc_TypeError
,"Variable wxNullPen is read-only.");
1184 static PyObject
*_wrap_wxNullPen_get() {
1188 SWIG_MakePtr(ptemp
,(char *) &wxNullPen
,"_wxPen_p");
1189 pyobj
= PyString_FromString(ptemp
);
1193 static int _wrap_wxNullBrush_set(PyObject
*val
) {
1195 PyErr_SetString(PyExc_TypeError
,"Variable wxNullBrush is read-only.");
1199 static PyObject
*_wrap_wxNullBrush_get() {
1203 SWIG_MakePtr(ptemp
,(char *) &wxNullBrush
,"_wxBrush_p");
1204 pyobj
= PyString_FromString(ptemp
);
1208 static int _wrap_wxNullPalette_set(PyObject
*val
) {
1210 PyErr_SetString(PyExc_TypeError
,"Variable wxNullPalette is read-only.");
1214 static PyObject
*_wrap_wxNullPalette_get() {
1218 SWIG_MakePtr(ptemp
,(char *) &wxNullPalette
,"_wxPalette_p");
1219 pyobj
= PyString_FromString(ptemp
);
1223 static int _wrap_wxNullFont_set(PyObject
*val
) {
1225 PyErr_SetString(PyExc_TypeError
,"Variable wxNullFont is read-only.");
1229 static PyObject
*_wrap_wxNullFont_get() {
1233 SWIG_MakePtr(ptemp
,(char *) &wxNullFont
,"_wxFont_p");
1234 pyobj
= PyString_FromString(ptemp
);
1238 static int _wrap_wxNullColour_set(PyObject
*val
) {
1240 PyErr_SetString(PyExc_TypeError
,"Variable wxNullColour is read-only.");
1244 static PyObject
*_wrap_wxNullColour_get() {
1248 SWIG_MakePtr(ptemp
,(char *) &wxNullColour
,"_wxColour_p");
1249 pyobj
= PyString_FromString(ptemp
);
1253 static int _wrap_wxTheFontList_set(PyObject
*val
) {
1255 PyErr_SetString(PyExc_TypeError
,"Variable wxTheFontList is read-only.");
1259 static PyObject
*_wrap_wxTheFontList_get() {
1263 SWIG_MakePtr(ptemp
, (char *) wxTheFontList
,"_wxFontList_p");
1264 pyobj
= PyString_FromString(ptemp
);
1268 static int _wrap_wxThePenList_set(PyObject
*val
) {
1270 PyErr_SetString(PyExc_TypeError
,"Variable wxThePenList is read-only.");
1274 static PyObject
*_wrap_wxThePenList_get() {
1278 SWIG_MakePtr(ptemp
, (char *) wxThePenList
,"_wxPenList_p");
1279 pyobj
= PyString_FromString(ptemp
);
1283 static int _wrap_wxTheBrushList_set(PyObject
*val
) {
1285 PyErr_SetString(PyExc_TypeError
,"Variable wxTheBrushList is read-only.");
1289 static PyObject
*_wrap_wxTheBrushList_get() {
1293 SWIG_MakePtr(ptemp
, (char *) wxTheBrushList
,"_wxBrushList_p");
1294 pyobj
= PyString_FromString(ptemp
);
1298 static int _wrap_wxTheColourDatabase_set(PyObject
*val
) {
1300 PyErr_SetString(PyExc_TypeError
,"Variable wxTheColourDatabase is read-only.");
1304 static PyObject
*_wrap_wxTheColourDatabase_get() {
1308 SWIG_MakePtr(ptemp
, (char *) wxTheColourDatabase
,"_wxColourDatabase_p");
1309 pyobj
= PyString_FromString(ptemp
);
1313 static void *SwigwxGDIObjectTowxObject(void *ptr
) {
1316 src
= (wxGDIObject
*) ptr
;
1317 dest
= (wxObject
*) src
;
1318 return (void *) dest
;
1321 #define new_wxGDIObject() (new wxGDIObject())
1322 static PyObject
*_wrap_new_wxGDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1323 PyObject
* _resultobj
;
1324 wxGDIObject
* _result
;
1325 char *_kwnames
[] = { NULL
};
1329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGDIObject",_kwnames
))
1332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1333 _result
= (wxGDIObject
*)new_wxGDIObject();
1335 wxPyEndAllowThreads(__tstate
);
1336 if (PyErr_Occurred()) return NULL
;
1338 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGDIObject_p");
1339 _resultobj
= Py_BuildValue("s",_ptemp
);
1342 _resultobj
= Py_None
;
1347 #define delete_wxGDIObject(_swigobj) (delete _swigobj)
1348 static PyObject
*_wrap_delete_wxGDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1349 PyObject
* _resultobj
;
1350 wxGDIObject
* _arg0
;
1351 PyObject
* _argo0
= 0;
1352 char *_kwnames
[] = { "self", NULL
};
1355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxGDIObject",_kwnames
,&_argo0
))
1358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGDIObject_p")) {
1360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxGDIObject. Expected _wxGDIObject_p.");
1365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1366 delete_wxGDIObject(_arg0
);
1368 wxPyEndAllowThreads(__tstate
);
1369 if (PyErr_Occurred()) return NULL
;
1370 } Py_INCREF(Py_None
);
1371 _resultobj
= Py_None
;
1375 #define wxGDIObject_GetVisible(_swigobj) (_swigobj->GetVisible())
1376 static PyObject
*_wrap_wxGDIObject_GetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1377 PyObject
* _resultobj
;
1379 wxGDIObject
* _arg0
;
1380 PyObject
* _argo0
= 0;
1381 char *_kwnames
[] = { "self", NULL
};
1384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGDIObject_GetVisible",_kwnames
,&_argo0
))
1387 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1388 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGDIObject_p")) {
1389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGDIObject_GetVisible. Expected _wxGDIObject_p.");
1394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1395 _result
= (bool )wxGDIObject_GetVisible(_arg0
);
1397 wxPyEndAllowThreads(__tstate
);
1398 if (PyErr_Occurred()) return NULL
;
1399 } _resultobj
= Py_BuildValue("i",_result
);
1403 #define wxGDIObject_SetVisible(_swigobj,_swigarg0) (_swigobj->SetVisible(_swigarg0))
1404 static PyObject
*_wrap_wxGDIObject_SetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1405 PyObject
* _resultobj
;
1406 wxGDIObject
* _arg0
;
1408 PyObject
* _argo0
= 0;
1410 char *_kwnames
[] = { "self","visible", NULL
};
1413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGDIObject_SetVisible",_kwnames
,&_argo0
,&tempbool1
))
1416 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1417 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGDIObject_p")) {
1418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGDIObject_SetVisible. Expected _wxGDIObject_p.");
1422 _arg1
= (bool ) tempbool1
;
1424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1425 wxGDIObject_SetVisible(_arg0
,_arg1
);
1427 wxPyEndAllowThreads(__tstate
);
1428 if (PyErr_Occurred()) return NULL
;
1429 } Py_INCREF(Py_None
);
1430 _resultobj
= Py_None
;
1434 #define wxGDIObject_IsNull(_swigobj) (_swigobj->IsNull())
1435 static PyObject
*_wrap_wxGDIObject_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1436 PyObject
* _resultobj
;
1438 wxGDIObject
* _arg0
;
1439 PyObject
* _argo0
= 0;
1440 char *_kwnames
[] = { "self", NULL
};
1443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGDIObject_IsNull",_kwnames
,&_argo0
))
1446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGDIObject_p")) {
1448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGDIObject_IsNull. Expected _wxGDIObject_p.");
1453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1454 _result
= (bool )wxGDIObject_IsNull(_arg0
);
1456 wxPyEndAllowThreads(__tstate
);
1457 if (PyErr_Occurred()) return NULL
;
1458 } _resultobj
= Py_BuildValue("i",_result
);
1462 static void *SwigwxBitmapTowxGDIObject(void *ptr
) {
1465 src
= (wxBitmap
*) ptr
;
1466 dest
= (wxGDIObject
*) src
;
1467 return (void *) dest
;
1470 static void *SwigwxBitmapTowxObject(void *ptr
) {
1473 src
= (wxBitmap
*) ptr
;
1474 dest
= (wxObject
*) src
;
1475 return (void *) dest
;
1478 #define new_wxBitmap(_swigarg0,_swigarg1) (new wxBitmap(_swigarg0,_swigarg1))
1479 static PyObject
*_wrap_new_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1480 PyObject
* _resultobj
;
1483 wxBitmapType _arg1
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
1484 PyObject
* _obj0
= 0;
1485 char *_kwnames
[] = { "name","type", NULL
};
1489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxBitmap",_kwnames
,&_obj0
,&_arg1
))
1492 _arg0
= wxString_in_helper(_obj0
);
1497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1498 _result
= (wxBitmap
*)new_wxBitmap(*_arg0
,_arg1
);
1500 wxPyEndAllowThreads(__tstate
);
1501 if (PyErr_Occurred()) return NULL
;
1503 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1504 _resultobj
= Py_BuildValue("s",_ptemp
);
1507 _resultobj
= Py_None
;
1516 #define delete_wxBitmap(_swigobj) (delete _swigobj)
1517 static PyObject
*_wrap_delete_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1518 PyObject
* _resultobj
;
1520 PyObject
* _argo0
= 0;
1521 char *_kwnames
[] = { "self", NULL
};
1524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBitmap",_kwnames
,&_argo0
))
1527 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1528 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBitmap. Expected _wxBitmap_p.");
1534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1535 delete_wxBitmap(_arg0
);
1537 wxPyEndAllowThreads(__tstate
);
1538 if (PyErr_Occurred()) return NULL
;
1539 } Py_INCREF(Py_None
);
1540 _resultobj
= Py_None
;
1544 #define wxBitmap_GetPalette(_swigobj) (_swigobj->GetPalette())
1545 static PyObject
*_wrap_wxBitmap_GetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1546 PyObject
* _resultobj
;
1547 wxPalette
* _result
;
1549 PyObject
* _argo0
= 0;
1550 char *_kwnames
[] = { "self", NULL
};
1554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetPalette",_kwnames
,&_argo0
))
1557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetPalette. Expected _wxBitmap_p.");
1564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1565 _result
= (wxPalette
*)wxBitmap_GetPalette(_arg0
);
1567 wxPyEndAllowThreads(__tstate
);
1568 if (PyErr_Occurred()) return NULL
;
1570 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPalette_p");
1571 _resultobj
= Py_BuildValue("s",_ptemp
);
1574 _resultobj
= Py_None
;
1579 #define wxBitmap_GetMask(_swigobj) (_swigobj->GetMask())
1580 static PyObject
*_wrap_wxBitmap_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1581 PyObject
* _resultobj
;
1584 PyObject
* _argo0
= 0;
1585 char *_kwnames
[] = { "self", NULL
};
1589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetMask",_kwnames
,&_argo0
))
1592 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1593 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetMask. Expected _wxBitmap_p.");
1599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1600 _result
= (wxMask
*)wxBitmap_GetMask(_arg0
);
1602 wxPyEndAllowThreads(__tstate
);
1603 if (PyErr_Occurred()) return NULL
;
1605 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
1606 _resultobj
= Py_BuildValue("s",_ptemp
);
1609 _resultobj
= Py_None
;
1614 #define wxBitmap_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
1615 static PyObject
*_wrap_wxBitmap_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1616 PyObject
* _resultobj
;
1620 wxBitmapType _arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
1621 PyObject
* _argo0
= 0;
1622 PyObject
* _obj1
= 0;
1623 char *_kwnames
[] = { "self","name","type", NULL
};
1626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxBitmap_LoadFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1629 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1630 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_LoadFile. Expected _wxBitmap_p.");
1636 _arg1
= wxString_in_helper(_obj1
);
1641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1642 _result
= (bool )wxBitmap_LoadFile(_arg0
,*_arg1
,_arg2
);
1644 wxPyEndAllowThreads(__tstate
);
1645 if (PyErr_Occurred()) return NULL
;
1646 } _resultobj
= Py_BuildValue("i",_result
);
1654 #define wxBitmap_SaveFile(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SaveFile(_swigarg0,_swigarg1,_swigarg2))
1655 static PyObject
*_wrap_wxBitmap_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1656 PyObject
* _resultobj
;
1661 wxPalette
* _arg3
= (wxPalette
*) NULL
;
1662 PyObject
* _argo0
= 0;
1663 PyObject
* _obj1
= 0;
1664 PyObject
* _argo3
= 0;
1665 char *_kwnames
[] = { "self","name","type","palette", NULL
};
1668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|O:wxBitmap_SaveFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_argo3
))
1671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SaveFile. Expected _wxBitmap_p.");
1678 _arg1
= wxString_in_helper(_obj1
);
1683 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1684 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxPalette_p")) {
1685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxBitmap_SaveFile. Expected _wxPalette_p.");
1690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1691 _result
= (bool )wxBitmap_SaveFile(_arg0
,*_arg1
,_arg2
,_arg3
);
1693 wxPyEndAllowThreads(__tstate
);
1694 if (PyErr_Occurred()) return NULL
;
1695 } _resultobj
= Py_BuildValue("i",_result
);
1703 #define wxBitmap_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
1704 static PyObject
*_wrap_wxBitmap_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1705 PyObject
* _resultobj
;
1708 PyObject
* _argo0
= 0;
1709 PyObject
* _argo1
= 0;
1710 char *_kwnames
[] = { "self","mask", NULL
};
1713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_SetMask",_kwnames
,&_argo0
,&_argo1
))
1716 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1717 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetMask. Expected _wxBitmap_p.");
1723 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1724 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMask_p")) {
1725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmap_SetMask. Expected _wxMask_p.");
1730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1731 wxBitmap_SetMask(_arg0
,_arg1
);
1733 wxPyEndAllowThreads(__tstate
);
1734 if (PyErr_Occurred()) return NULL
;
1735 } Py_INCREF(Py_None
);
1736 _resultobj
= Py_None
;
1740 #define wxBitmap_Ok(_swigobj) (_swigobj->Ok())
1741 static PyObject
*_wrap_wxBitmap_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1742 PyObject
* _resultobj
;
1745 PyObject
* _argo0
= 0;
1746 char *_kwnames
[] = { "self", NULL
};
1749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_Ok",_kwnames
,&_argo0
))
1752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_Ok. Expected _wxBitmap_p.");
1759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1760 _result
= (bool )wxBitmap_Ok(_arg0
);
1762 wxPyEndAllowThreads(__tstate
);
1763 if (PyErr_Occurred()) return NULL
;
1764 } _resultobj
= Py_BuildValue("i",_result
);
1768 #define wxBitmap_GetWidth(_swigobj) (_swigobj->GetWidth())
1769 static PyObject
*_wrap_wxBitmap_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1770 PyObject
* _resultobj
;
1773 PyObject
* _argo0
= 0;
1774 char *_kwnames
[] = { "self", NULL
};
1777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetWidth",_kwnames
,&_argo0
))
1780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetWidth. Expected _wxBitmap_p.");
1787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1788 _result
= (int )wxBitmap_GetWidth(_arg0
);
1790 wxPyEndAllowThreads(__tstate
);
1791 if (PyErr_Occurred()) return NULL
;
1792 } _resultobj
= Py_BuildValue("i",_result
);
1796 #define wxBitmap_GetHeight(_swigobj) (_swigobj->GetHeight())
1797 static PyObject
*_wrap_wxBitmap_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1798 PyObject
* _resultobj
;
1801 PyObject
* _argo0
= 0;
1802 char *_kwnames
[] = { "self", NULL
};
1805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetHeight",_kwnames
,&_argo0
))
1808 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1809 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetHeight. Expected _wxBitmap_p.");
1815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1816 _result
= (int )wxBitmap_GetHeight(_arg0
);
1818 wxPyEndAllowThreads(__tstate
);
1819 if (PyErr_Occurred()) return NULL
;
1820 } _resultobj
= Py_BuildValue("i",_result
);
1824 #define wxBitmap_GetDepth(_swigobj) (_swigobj->GetDepth())
1825 static PyObject
*_wrap_wxBitmap_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1826 PyObject
* _resultobj
;
1829 PyObject
* _argo0
= 0;
1830 char *_kwnames
[] = { "self", NULL
};
1833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetDepth",_kwnames
,&_argo0
))
1836 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1837 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetDepth. Expected _wxBitmap_p.");
1843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1844 _result
= (int )wxBitmap_GetDepth(_arg0
);
1846 wxPyEndAllowThreads(__tstate
);
1847 if (PyErr_Occurred()) return NULL
;
1848 } _resultobj
= Py_BuildValue("i",_result
);
1852 #define wxBitmap_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1853 static PyObject
*_wrap_wxBitmap_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1854 PyObject
* _resultobj
;
1857 PyObject
* _argo0
= 0;
1858 char *_kwnames
[] = { "self","w", NULL
};
1861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBitmap_SetWidth",_kwnames
,&_argo0
,&_arg1
))
1864 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1865 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1866 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetWidth. Expected _wxBitmap_p.");
1871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1872 wxBitmap_SetWidth(_arg0
,_arg1
);
1874 wxPyEndAllowThreads(__tstate
);
1875 if (PyErr_Occurred()) return NULL
;
1876 } Py_INCREF(Py_None
);
1877 _resultobj
= Py_None
;
1881 #define wxBitmap_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1882 static PyObject
*_wrap_wxBitmap_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1883 PyObject
* _resultobj
;
1886 PyObject
* _argo0
= 0;
1887 char *_kwnames
[] = { "self","h", NULL
};
1890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBitmap_SetHeight",_kwnames
,&_argo0
,&_arg1
))
1893 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1894 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetHeight. Expected _wxBitmap_p.");
1900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1901 wxBitmap_SetHeight(_arg0
,_arg1
);
1903 wxPyEndAllowThreads(__tstate
);
1904 if (PyErr_Occurred()) return NULL
;
1905 } Py_INCREF(Py_None
);
1906 _resultobj
= Py_None
;
1910 #define wxBitmap_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
1911 static PyObject
*_wrap_wxBitmap_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1912 PyObject
* _resultobj
;
1915 PyObject
* _argo0
= 0;
1916 char *_kwnames
[] = { "self","d", NULL
};
1919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBitmap_SetDepth",_kwnames
,&_argo0
,&_arg1
))
1922 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1923 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetDepth. Expected _wxBitmap_p.");
1929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1930 wxBitmap_SetDepth(_arg0
,_arg1
);
1932 wxPyEndAllowThreads(__tstate
);
1933 if (PyErr_Occurred()) return NULL
;
1934 } Py_INCREF(Py_None
);
1935 _resultobj
= Py_None
;
1939 #define wxBitmap_GetSubBitmap(_swigobj,_swigarg0) (_swigobj->GetSubBitmap(_swigarg0))
1940 static PyObject
*_wrap_wxBitmap_GetSubBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1941 PyObject
* _resultobj
;
1945 PyObject
* _argo0
= 0;
1947 PyObject
* _obj1
= 0;
1948 char *_kwnames
[] = { "self","rect", NULL
};
1952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_GetSubBitmap",_kwnames
,&_argo0
,&_obj1
))
1955 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1956 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetSubBitmap. Expected _wxBitmap_p.");
1963 if (! wxRect_helper(_obj1
, &_arg1
))
1967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1968 _result
= new wxBitmap (wxBitmap_GetSubBitmap(_arg0
,*_arg1
));
1970 wxPyEndAllowThreads(__tstate
);
1971 if (PyErr_Occurred()) return NULL
;
1972 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1973 _resultobj
= Py_BuildValue("s",_ptemp
);
1977 #define wxBitmap_CopyFromIcon(_swigobj,_swigarg0) (_swigobj->CopyFromIcon(_swigarg0))
1978 static PyObject
*_wrap_wxBitmap_CopyFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1979 PyObject
* _resultobj
;
1983 PyObject
* _argo0
= 0;
1984 PyObject
* _argo1
= 0;
1985 char *_kwnames
[] = { "self","icon", NULL
};
1988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_CopyFromIcon",_kwnames
,&_argo0
,&_argo1
))
1991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_CopyFromIcon. Expected _wxBitmap_p.");
1998 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1999 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
2000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmap_CopyFromIcon. Expected _wxIcon_p.");
2005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2006 _result
= (bool )wxBitmap_CopyFromIcon(_arg0
,*_arg1
);
2008 wxPyEndAllowThreads(__tstate
);
2009 if (PyErr_Occurred()) return NULL
;
2010 } _resultobj
= Py_BuildValue("i",_result
);
2014 static void *SwigwxMaskTowxObject(void *ptr
) {
2017 src
= (wxMask
*) ptr
;
2018 dest
= (wxObject
*) src
;
2019 return (void *) dest
;
2022 #define new_wxMask(_swigarg0) (new wxMask(_swigarg0))
2023 static PyObject
*_wrap_new_wxMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2024 PyObject
* _resultobj
;
2027 PyObject
* _argo0
= 0;
2028 char *_kwnames
[] = { "bitmap", NULL
};
2032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxMask",_kwnames
,&_argo0
))
2035 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2036 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
2037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMask. Expected _wxBitmap_p.");
2042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2043 _result
= (wxMask
*)new_wxMask(*_arg0
);
2045 wxPyEndAllowThreads(__tstate
);
2046 if (PyErr_Occurred()) return NULL
;
2048 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
2049 _resultobj
= Py_BuildValue("s",_ptemp
);
2052 _resultobj
= Py_None
;
2057 static void wxMask_Destroy(wxMask
*self
) { delete self
; }
2058 static PyObject
*_wrap_wxMask_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2059 PyObject
* _resultobj
;
2061 PyObject
* _argo0
= 0;
2062 char *_kwnames
[] = { "self", NULL
};
2065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMask_Destroy",_kwnames
,&_argo0
))
2068 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2069 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMask_p")) {
2070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMask_Destroy. Expected _wxMask_p.");
2075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2076 wxMask_Destroy(_arg0
);
2078 wxPyEndAllowThreads(__tstate
);
2079 if (PyErr_Occurred()) return NULL
;
2080 } Py_INCREF(Py_None
);
2081 _resultobj
= Py_None
;
2085 static void *SwigwxIconTowxGDIObject(void *ptr
) {
2088 src
= (wxIcon
*) ptr
;
2089 dest
= (wxGDIObject
*) src
;
2090 return (void *) dest
;
2093 static void *SwigwxIconTowxObject(void *ptr
) {
2096 src
= (wxIcon
*) ptr
;
2097 dest
= (wxObject
*) src
;
2098 return (void *) dest
;
2101 #define new_wxIcon(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxIcon(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2102 static PyObject
*_wrap_new_wxIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2103 PyObject
* _resultobj
;
2107 int _arg2
= (int ) -1;
2108 int _arg3
= (int ) -1;
2109 PyObject
* _obj0
= 0;
2110 char *_kwnames
[] = { "name","flags","desiredWidth","desiredHeight", NULL
};
2114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|ii:new_wxIcon",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_arg3
))
2117 _arg0
= wxString_in_helper(_obj0
);
2122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2123 _result
= (wxIcon
*)new_wxIcon(*_arg0
,_arg1
,_arg2
,_arg3
);
2125 wxPyEndAllowThreads(__tstate
);
2126 if (PyErr_Occurred()) return NULL
;
2128 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
2129 _resultobj
= Py_BuildValue("s",_ptemp
);
2132 _resultobj
= Py_None
;
2141 #define delete_wxIcon(_swigobj) (delete _swigobj)
2142 static PyObject
*_wrap_delete_wxIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2143 PyObject
* _resultobj
;
2145 PyObject
* _argo0
= 0;
2146 char *_kwnames
[] = { "self", NULL
};
2149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxIcon",_kwnames
,&_argo0
))
2152 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2153 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxIcon. Expected _wxIcon_p.");
2159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2160 delete_wxIcon(_arg0
);
2162 wxPyEndAllowThreads(__tstate
);
2163 if (PyErr_Occurred()) return NULL
;
2164 } Py_INCREF(Py_None
);
2165 _resultobj
= Py_None
;
2169 #define wxIcon_Ok(_swigobj) (_swigobj->Ok())
2170 static PyObject
*_wrap_wxIcon_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2171 PyObject
* _resultobj
;
2174 PyObject
* _argo0
= 0;
2175 char *_kwnames
[] = { "self", NULL
};
2178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_Ok",_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 wxIcon_Ok. Expected _wxIcon_p.");
2188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2189 _result
= (bool )wxIcon_Ok(_arg0
);
2191 wxPyEndAllowThreads(__tstate
);
2192 if (PyErr_Occurred()) return NULL
;
2193 } _resultobj
= Py_BuildValue("i",_result
);
2197 #define wxIcon_GetWidth(_swigobj) (_swigobj->GetWidth())
2198 static PyObject
*_wrap_wxIcon_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2199 PyObject
* _resultobj
;
2202 PyObject
* _argo0
= 0;
2203 char *_kwnames
[] = { "self", NULL
};
2206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetWidth",_kwnames
,&_argo0
))
2209 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2210 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetWidth. Expected _wxIcon_p.");
2216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2217 _result
= (int )wxIcon_GetWidth(_arg0
);
2219 wxPyEndAllowThreads(__tstate
);
2220 if (PyErr_Occurred()) return NULL
;
2221 } _resultobj
= Py_BuildValue("i",_result
);
2225 #define wxIcon_GetHeight(_swigobj) (_swigobj->GetHeight())
2226 static PyObject
*_wrap_wxIcon_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2227 PyObject
* _resultobj
;
2230 PyObject
* _argo0
= 0;
2231 char *_kwnames
[] = { "self", NULL
};
2234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetHeight",_kwnames
,&_argo0
))
2237 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2238 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetHeight. Expected _wxIcon_p.");
2244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2245 _result
= (int )wxIcon_GetHeight(_arg0
);
2247 wxPyEndAllowThreads(__tstate
);
2248 if (PyErr_Occurred()) return NULL
;
2249 } _resultobj
= Py_BuildValue("i",_result
);
2253 #define wxIcon_GetDepth(_swigobj) (_swigobj->GetDepth())
2254 static PyObject
*_wrap_wxIcon_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2255 PyObject
* _resultobj
;
2258 PyObject
* _argo0
= 0;
2259 char *_kwnames
[] = { "self", NULL
};
2262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetDepth",_kwnames
,&_argo0
))
2265 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2266 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetDepth. Expected _wxIcon_p.");
2272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2273 _result
= (int )wxIcon_GetDepth(_arg0
);
2275 wxPyEndAllowThreads(__tstate
);
2276 if (PyErr_Occurred()) return NULL
;
2277 } _resultobj
= Py_BuildValue("i",_result
);
2281 #define wxIcon_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2282 static PyObject
*_wrap_wxIcon_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2283 PyObject
* _resultobj
;
2286 PyObject
* _argo0
= 0;
2287 char *_kwnames
[] = { "self","w", NULL
};
2290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetWidth",_kwnames
,&_argo0
,&_arg1
))
2293 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2294 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetWidth. Expected _wxIcon_p.");
2300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2301 wxIcon_SetWidth(_arg0
,_arg1
);
2303 wxPyEndAllowThreads(__tstate
);
2304 if (PyErr_Occurred()) return NULL
;
2305 } Py_INCREF(Py_None
);
2306 _resultobj
= Py_None
;
2310 #define wxIcon_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
2311 static PyObject
*_wrap_wxIcon_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2312 PyObject
* _resultobj
;
2315 PyObject
* _argo0
= 0;
2316 char *_kwnames
[] = { "self","h", NULL
};
2319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetHeight",_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_SetHeight. Expected _wxIcon_p.");
2329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2330 wxIcon_SetHeight(_arg0
,_arg1
);
2332 wxPyEndAllowThreads(__tstate
);
2333 if (PyErr_Occurred()) return NULL
;
2334 } Py_INCREF(Py_None
);
2335 _resultobj
= Py_None
;
2339 #define wxIcon_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
2340 static PyObject
*_wrap_wxIcon_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2341 PyObject
* _resultobj
;
2344 PyObject
* _argo0
= 0;
2345 char *_kwnames
[] = { "self","d", NULL
};
2348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetDepth",_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_SetDepth. Expected _wxIcon_p.");
2358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2359 wxIcon_SetDepth(_arg0
,_arg1
);
2361 wxPyEndAllowThreads(__tstate
);
2362 if (PyErr_Occurred()) return NULL
;
2363 } Py_INCREF(Py_None
);
2364 _resultobj
= Py_None
;
2368 #define wxIcon_CopyFromBitmap(_swigobj,_swigarg0) (_swigobj->CopyFromBitmap(_swigarg0))
2369 static PyObject
*_wrap_wxIcon_CopyFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2370 PyObject
* _resultobj
;
2373 PyObject
* _argo0
= 0;
2374 PyObject
* _argo1
= 0;
2375 char *_kwnames
[] = { "self","bmp", NULL
};
2378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxIcon_CopyFromBitmap",_kwnames
,&_argo0
,&_argo1
))
2381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_CopyFromBitmap. Expected _wxIcon_p.");
2388 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2389 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
2390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIcon_CopyFromBitmap. Expected _wxBitmap_p.");
2395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2396 wxIcon_CopyFromBitmap(_arg0
,*_arg1
);
2398 wxPyEndAllowThreads(__tstate
);
2399 if (PyErr_Occurred()) return NULL
;
2400 } Py_INCREF(Py_None
);
2401 _resultobj
= Py_None
;
2405 static void *SwigwxCursorTowxGDIObject(void *ptr
) {
2408 src
= (wxCursor
*) ptr
;
2409 dest
= (wxGDIObject
*) src
;
2410 return (void *) dest
;
2413 static void *SwigwxCursorTowxObject(void *ptr
) {
2416 src
= (wxCursor
*) ptr
;
2417 dest
= (wxObject
*) src
;
2418 return (void *) dest
;
2421 #define delete_wxCursor(_swigobj) (delete _swigobj)
2422 static PyObject
*_wrap_delete_wxCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2423 PyObject
* _resultobj
;
2425 PyObject
* _argo0
= 0;
2426 char *_kwnames
[] = { "self", NULL
};
2429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCursor",_kwnames
,&_argo0
))
2432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
2434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCursor. Expected _wxCursor_p.");
2439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2440 delete_wxCursor(_arg0
);
2442 wxPyEndAllowThreads(__tstate
);
2443 if (PyErr_Occurred()) return NULL
;
2444 } Py_INCREF(Py_None
);
2445 _resultobj
= Py_None
;
2449 #define wxCursor_Ok(_swigobj) (_swigobj->Ok())
2450 static PyObject
*_wrap_wxCursor_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2451 PyObject
* _resultobj
;
2454 PyObject
* _argo0
= 0;
2455 char *_kwnames
[] = { "self", NULL
};
2458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCursor_Ok",_kwnames
,&_argo0
))
2461 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2462 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
2463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_Ok. Expected _wxCursor_p.");
2468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2469 _result
= (bool )wxCursor_Ok(_arg0
);
2471 wxPyEndAllowThreads(__tstate
);
2472 if (PyErr_Occurred()) return NULL
;
2473 } _resultobj
= Py_BuildValue("i",_result
);
2477 #define new_wxNativeFontInfo() (new wxNativeFontInfo())
2478 static PyObject
*_wrap_new_wxNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2479 PyObject
* _resultobj
;
2480 wxNativeFontInfo
* _result
;
2481 char *_kwnames
[] = { NULL
};
2485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxNativeFontInfo",_kwnames
))
2488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2489 _result
= (wxNativeFontInfo
*)new_wxNativeFontInfo();
2491 wxPyEndAllowThreads(__tstate
);
2492 if (PyErr_Occurred()) return NULL
;
2494 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNativeFontInfo_p");
2495 _resultobj
= Py_BuildValue("s",_ptemp
);
2498 _resultobj
= Py_None
;
2503 #define wxNativeFontInfo_Init(_swigobj) (_swigobj->Init())
2504 static PyObject
*_wrap_wxNativeFontInfo_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2505 PyObject
* _resultobj
;
2506 wxNativeFontInfo
* _arg0
;
2507 PyObject
* _argo0
= 0;
2508 char *_kwnames
[] = { "self", NULL
};
2511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_Init",_kwnames
,&_argo0
))
2514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_Init. Expected _wxNativeFontInfo_p.");
2521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2522 wxNativeFontInfo_Init(_arg0
);
2524 wxPyEndAllowThreads(__tstate
);
2525 if (PyErr_Occurred()) return NULL
;
2526 } Py_INCREF(Py_None
);
2527 _resultobj
= Py_None
;
2531 #define wxNativeFontInfo_GetPointSize(_swigobj) (_swigobj->GetPointSize())
2532 static PyObject
*_wrap_wxNativeFontInfo_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2533 PyObject
* _resultobj
;
2535 wxNativeFontInfo
* _arg0
;
2536 PyObject
* _argo0
= 0;
2537 char *_kwnames
[] = { "self", NULL
};
2540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_GetPointSize",_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_GetPointSize. Expected _wxNativeFontInfo_p.");
2550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2551 _result
= (int )wxNativeFontInfo_GetPointSize(_arg0
);
2553 wxPyEndAllowThreads(__tstate
);
2554 if (PyErr_Occurred()) return NULL
;
2555 } _resultobj
= Py_BuildValue("i",_result
);
2559 #define wxNativeFontInfo_GetStyle(_swigobj) (_swigobj->GetStyle())
2560 static PyObject
*_wrap_wxNativeFontInfo_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2561 PyObject
* _resultobj
;
2562 wxFontStyle _result
;
2563 wxNativeFontInfo
* _arg0
;
2564 PyObject
* _argo0
= 0;
2565 char *_kwnames
[] = { "self", NULL
};
2568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_GetStyle",_kwnames
,&_argo0
))
2571 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2572 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_GetStyle. Expected _wxNativeFontInfo_p.");
2578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2579 _result
= (wxFontStyle
)wxNativeFontInfo_GetStyle(_arg0
);
2581 wxPyEndAllowThreads(__tstate
);
2582 if (PyErr_Occurred()) return NULL
;
2583 } _resultobj
= Py_BuildValue("i",_result
);
2587 #define wxNativeFontInfo_GetWeight(_swigobj) (_swigobj->GetWeight())
2588 static PyObject
*_wrap_wxNativeFontInfo_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2589 PyObject
* _resultobj
;
2590 wxFontWeight _result
;
2591 wxNativeFontInfo
* _arg0
;
2592 PyObject
* _argo0
= 0;
2593 char *_kwnames
[] = { "self", NULL
};
2596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_GetWeight",_kwnames
,&_argo0
))
2599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_GetWeight. Expected _wxNativeFontInfo_p.");
2606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2607 _result
= (wxFontWeight
)wxNativeFontInfo_GetWeight(_arg0
);
2609 wxPyEndAllowThreads(__tstate
);
2610 if (PyErr_Occurred()) return NULL
;
2611 } _resultobj
= Py_BuildValue("i",_result
);
2615 #define wxNativeFontInfo_GetUnderlined(_swigobj) (_swigobj->GetUnderlined())
2616 static PyObject
*_wrap_wxNativeFontInfo_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2617 PyObject
* _resultobj
;
2619 wxNativeFontInfo
* _arg0
;
2620 PyObject
* _argo0
= 0;
2621 char *_kwnames
[] = { "self", NULL
};
2624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_GetUnderlined",_kwnames
,&_argo0
))
2627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_GetUnderlined. Expected _wxNativeFontInfo_p.");
2634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2635 _result
= (bool )wxNativeFontInfo_GetUnderlined(_arg0
);
2637 wxPyEndAllowThreads(__tstate
);
2638 if (PyErr_Occurred()) return NULL
;
2639 } _resultobj
= Py_BuildValue("i",_result
);
2643 #define wxNativeFontInfo_GetFaceName(_swigobj) (_swigobj->GetFaceName())
2644 static PyObject
*_wrap_wxNativeFontInfo_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2645 PyObject
* _resultobj
;
2647 wxNativeFontInfo
* _arg0
;
2648 PyObject
* _argo0
= 0;
2649 char *_kwnames
[] = { "self", NULL
};
2652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_GetFaceName",_kwnames
,&_argo0
))
2655 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2656 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_GetFaceName. Expected _wxNativeFontInfo_p.");
2662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2663 _result
= new wxString (wxNativeFontInfo_GetFaceName(_arg0
));
2665 wxPyEndAllowThreads(__tstate
);
2666 if (PyErr_Occurred()) return NULL
;
2669 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2671 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2680 #define wxNativeFontInfo_GetFamily(_swigobj) (_swigobj->GetFamily())
2681 static PyObject
*_wrap_wxNativeFontInfo_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2682 PyObject
* _resultobj
;
2683 wxFontFamily _result
;
2684 wxNativeFontInfo
* _arg0
;
2685 PyObject
* _argo0
= 0;
2686 char *_kwnames
[] = { "self", NULL
};
2689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_GetFamily",_kwnames
,&_argo0
))
2692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_GetFamily. Expected _wxNativeFontInfo_p.");
2699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2700 _result
= (wxFontFamily
)wxNativeFontInfo_GetFamily(_arg0
);
2702 wxPyEndAllowThreads(__tstate
);
2703 if (PyErr_Occurred()) return NULL
;
2704 } _resultobj
= Py_BuildValue("i",_result
);
2708 #define wxNativeFontInfo_GetEncoding(_swigobj) (_swigobj->GetEncoding())
2709 static PyObject
*_wrap_wxNativeFontInfo_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2710 PyObject
* _resultobj
;
2711 wxFontEncoding _result
;
2712 wxNativeFontInfo
* _arg0
;
2713 PyObject
* _argo0
= 0;
2714 char *_kwnames
[] = { "self", NULL
};
2717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_GetEncoding",_kwnames
,&_argo0
))
2720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_GetEncoding. Expected _wxNativeFontInfo_p.");
2727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2728 _result
= (wxFontEncoding
)wxNativeFontInfo_GetEncoding(_arg0
);
2730 wxPyEndAllowThreads(__tstate
);
2731 if (PyErr_Occurred()) return NULL
;
2732 } _resultobj
= Py_BuildValue("i",_result
);
2736 #define wxNativeFontInfo_SetPointSize(_swigobj,_swigarg0) (_swigobj->SetPointSize(_swigarg0))
2737 static PyObject
*_wrap_wxNativeFontInfo_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2738 PyObject
* _resultobj
;
2739 wxNativeFontInfo
* _arg0
;
2741 PyObject
* _argo0
= 0;
2742 char *_kwnames
[] = { "self","pointsize", NULL
};
2745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNativeFontInfo_SetPointSize",_kwnames
,&_argo0
,&_arg1
))
2748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_SetPointSize. Expected _wxNativeFontInfo_p.");
2755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2756 wxNativeFontInfo_SetPointSize(_arg0
,_arg1
);
2758 wxPyEndAllowThreads(__tstate
);
2759 if (PyErr_Occurred()) return NULL
;
2760 } Py_INCREF(Py_None
);
2761 _resultobj
= Py_None
;
2765 #define wxNativeFontInfo_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
2766 static PyObject
*_wrap_wxNativeFontInfo_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2767 PyObject
* _resultobj
;
2768 wxNativeFontInfo
* _arg0
;
2770 PyObject
* _argo0
= 0;
2771 char *_kwnames
[] = { "self","style", NULL
};
2774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNativeFontInfo_SetStyle",_kwnames
,&_argo0
,&_arg1
))
2777 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2778 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_SetStyle. Expected _wxNativeFontInfo_p.");
2784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2785 wxNativeFontInfo_SetStyle(_arg0
,_arg1
);
2787 wxPyEndAllowThreads(__tstate
);
2788 if (PyErr_Occurred()) return NULL
;
2789 } Py_INCREF(Py_None
);
2790 _resultobj
= Py_None
;
2794 #define wxNativeFontInfo_SetWeight(_swigobj,_swigarg0) (_swigobj->SetWeight(_swigarg0))
2795 static PyObject
*_wrap_wxNativeFontInfo_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2796 PyObject
* _resultobj
;
2797 wxNativeFontInfo
* _arg0
;
2799 PyObject
* _argo0
= 0;
2800 char *_kwnames
[] = { "self","weight", NULL
};
2803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNativeFontInfo_SetWeight",_kwnames
,&_argo0
,&_arg1
))
2806 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2807 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_SetWeight. Expected _wxNativeFontInfo_p.");
2813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2814 wxNativeFontInfo_SetWeight(_arg0
,_arg1
);
2816 wxPyEndAllowThreads(__tstate
);
2817 if (PyErr_Occurred()) return NULL
;
2818 } Py_INCREF(Py_None
);
2819 _resultobj
= Py_None
;
2823 #define wxNativeFontInfo_SetUnderlined(_swigobj,_swigarg0) (_swigobj->SetUnderlined(_swigarg0))
2824 static PyObject
*_wrap_wxNativeFontInfo_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2825 PyObject
* _resultobj
;
2826 wxNativeFontInfo
* _arg0
;
2828 PyObject
* _argo0
= 0;
2830 char *_kwnames
[] = { "self","underlined", NULL
};
2833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNativeFontInfo_SetUnderlined",_kwnames
,&_argo0
,&tempbool1
))
2836 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2837 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_SetUnderlined. Expected _wxNativeFontInfo_p.");
2842 _arg1
= (bool ) tempbool1
;
2844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2845 wxNativeFontInfo_SetUnderlined(_arg0
,_arg1
);
2847 wxPyEndAllowThreads(__tstate
);
2848 if (PyErr_Occurred()) return NULL
;
2849 } Py_INCREF(Py_None
);
2850 _resultobj
= Py_None
;
2854 #define wxNativeFontInfo_SetFaceName(_swigobj,_swigarg0) (_swigobj->SetFaceName(_swigarg0))
2855 static PyObject
*_wrap_wxNativeFontInfo_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2856 PyObject
* _resultobj
;
2857 wxNativeFontInfo
* _arg0
;
2859 PyObject
* _argo0
= 0;
2860 PyObject
* _obj1
= 0;
2861 char *_kwnames
[] = { "self","facename", NULL
};
2864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNativeFontInfo_SetFaceName",_kwnames
,&_argo0
,&_obj1
))
2867 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2868 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_SetFaceName. Expected _wxNativeFontInfo_p.");
2874 _arg1
= wxString_in_helper(_obj1
);
2879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2880 wxNativeFontInfo_SetFaceName(_arg0
,*_arg1
);
2882 wxPyEndAllowThreads(__tstate
);
2883 if (PyErr_Occurred()) return NULL
;
2884 } Py_INCREF(Py_None
);
2885 _resultobj
= Py_None
;
2893 #define wxNativeFontInfo_SetFamily(_swigobj,_swigarg0) (_swigobj->SetFamily(_swigarg0))
2894 static PyObject
*_wrap_wxNativeFontInfo_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2895 PyObject
* _resultobj
;
2896 wxNativeFontInfo
* _arg0
;
2898 PyObject
* _argo0
= 0;
2899 char *_kwnames
[] = { "self","family", NULL
};
2902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNativeFontInfo_SetFamily",_kwnames
,&_argo0
,&_arg1
))
2905 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2906 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_SetFamily. Expected _wxNativeFontInfo_p.");
2912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2913 wxNativeFontInfo_SetFamily(_arg0
,_arg1
);
2915 wxPyEndAllowThreads(__tstate
);
2916 if (PyErr_Occurred()) return NULL
;
2917 } Py_INCREF(Py_None
);
2918 _resultobj
= Py_None
;
2922 #define wxNativeFontInfo_SetEncoding(_swigobj,_swigarg0) (_swigobj->SetEncoding(_swigarg0))
2923 static PyObject
*_wrap_wxNativeFontInfo_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2924 PyObject
* _resultobj
;
2925 wxNativeFontInfo
* _arg0
;
2926 wxFontEncoding _arg1
;
2927 PyObject
* _argo0
= 0;
2928 char *_kwnames
[] = { "self","encoding", NULL
};
2931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNativeFontInfo_SetEncoding",_kwnames
,&_argo0
,&_arg1
))
2934 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2935 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_SetEncoding. Expected _wxNativeFontInfo_p.");
2941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2942 wxNativeFontInfo_SetEncoding(_arg0
,_arg1
);
2944 wxPyEndAllowThreads(__tstate
);
2945 if (PyErr_Occurred()) return NULL
;
2946 } Py_INCREF(Py_None
);
2947 _resultobj
= Py_None
;
2951 #define wxNativeFontInfo_FromString(_swigobj,_swigarg0) (_swigobj->FromString(_swigarg0))
2952 static PyObject
*_wrap_wxNativeFontInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2953 PyObject
* _resultobj
;
2955 wxNativeFontInfo
* _arg0
;
2957 PyObject
* _argo0
= 0;
2958 PyObject
* _obj1
= 0;
2959 char *_kwnames
[] = { "self","s", NULL
};
2962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNativeFontInfo_FromString",_kwnames
,&_argo0
,&_obj1
))
2965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_FromString. Expected _wxNativeFontInfo_p.");
2972 _arg1
= wxString_in_helper(_obj1
);
2977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2978 _result
= (bool )wxNativeFontInfo_FromString(_arg0
,*_arg1
);
2980 wxPyEndAllowThreads(__tstate
);
2981 if (PyErr_Occurred()) return NULL
;
2982 } _resultobj
= Py_BuildValue("i",_result
);
2990 #define wxNativeFontInfo_ToString(_swigobj) (_swigobj->ToString())
2991 static PyObject
*_wrap_wxNativeFontInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2992 PyObject
* _resultobj
;
2994 wxNativeFontInfo
* _arg0
;
2995 PyObject
* _argo0
= 0;
2996 char *_kwnames
[] = { "self", NULL
};
2999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_ToString",_kwnames
,&_argo0
))
3002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_ToString. Expected _wxNativeFontInfo_p.");
3009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3010 _result
= new wxString (wxNativeFontInfo_ToString(_arg0
));
3012 wxPyEndAllowThreads(__tstate
);
3013 if (PyErr_Occurred()) return NULL
;
3016 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3018 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3027 static wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
) {
3028 return self
->ToString();
3030 static PyObject
*_wrap_wxNativeFontInfo___str__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3031 PyObject
* _resultobj
;
3033 wxNativeFontInfo
* _arg0
;
3034 PyObject
* _argo0
= 0;
3035 char *_kwnames
[] = { "self", NULL
};
3038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo___str__",_kwnames
,&_argo0
))
3041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo___str__. Expected _wxNativeFontInfo_p.");
3048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3049 _result
= new wxString (wxNativeFontInfo___str__(_arg0
));
3051 wxPyEndAllowThreads(__tstate
);
3052 if (PyErr_Occurred()) return NULL
;
3055 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3057 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3066 #define wxNativeFontInfo_FromUserString(_swigobj,_swigarg0) (_swigobj->FromUserString(_swigarg0))
3067 static PyObject
*_wrap_wxNativeFontInfo_FromUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3068 PyObject
* _resultobj
;
3070 wxNativeFontInfo
* _arg0
;
3072 PyObject
* _argo0
= 0;
3073 PyObject
* _obj1
= 0;
3074 char *_kwnames
[] = { "self","s", NULL
};
3077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNativeFontInfo_FromUserString",_kwnames
,&_argo0
,&_obj1
))
3080 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3081 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_FromUserString. Expected _wxNativeFontInfo_p.");
3087 _arg1
= wxString_in_helper(_obj1
);
3092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3093 _result
= (bool )wxNativeFontInfo_FromUserString(_arg0
,*_arg1
);
3095 wxPyEndAllowThreads(__tstate
);
3096 if (PyErr_Occurred()) return NULL
;
3097 } _resultobj
= Py_BuildValue("i",_result
);
3105 #define wxNativeFontInfo_ToUserString(_swigobj) (_swigobj->ToUserString())
3106 static PyObject
*_wrap_wxNativeFontInfo_ToUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3107 PyObject
* _resultobj
;
3109 wxNativeFontInfo
* _arg0
;
3110 PyObject
* _argo0
= 0;
3111 char *_kwnames
[] = { "self", NULL
};
3114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_ToUserString",_kwnames
,&_argo0
))
3117 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3118 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_ToUserString. Expected _wxNativeFontInfo_p.");
3124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3125 _result
= new wxString (wxNativeFontInfo_ToUserString(_arg0
));
3127 wxPyEndAllowThreads(__tstate
);
3128 if (PyErr_Occurred()) return NULL
;
3131 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3133 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3142 #define new_wxFontMapper() (new wxFontMapper())
3143 static PyObject
*_wrap_new_wxFontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3144 PyObject
* _resultobj
;
3145 wxFontMapper
* _result
;
3146 char *_kwnames
[] = { NULL
};
3150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFontMapper",_kwnames
))
3153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3154 _result
= (wxFontMapper
*)new_wxFontMapper();
3156 wxPyEndAllowThreads(__tstate
);
3157 if (PyErr_Occurred()) return NULL
;
3159 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFontMapper_p");
3160 _resultobj
= Py_BuildValue("s",_ptemp
);
3163 _resultobj
= Py_None
;
3168 #define delete_wxFontMapper(_swigobj) (delete _swigobj)
3169 static PyObject
*_wrap_delete_wxFontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3170 PyObject
* _resultobj
;
3171 wxFontMapper
* _arg0
;
3172 PyObject
* _argo0
= 0;
3173 char *_kwnames
[] = { "self", NULL
};
3176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFontMapper",_kwnames
,&_argo0
))
3179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
3181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFontMapper. Expected _wxFontMapper_p.");
3186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3187 delete_wxFontMapper(_arg0
);
3189 wxPyEndAllowThreads(__tstate
);
3190 if (PyErr_Occurred()) return NULL
;
3191 } Py_INCREF(Py_None
);
3192 _resultobj
= Py_None
;
3196 static PyObject
* wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,const wxString
& facename
,bool interactive
) {
3197 wxFontEncoding alt_enc
;
3198 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3199 return PyInt_FromLong(alt_enc
);
3205 static PyObject
*_wrap_wxFontMapper_GetAltForEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3206 PyObject
* _resultobj
;
3208 wxFontMapper
* _arg0
;
3209 wxFontEncoding _arg1
;
3210 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
3211 bool _arg3
= (bool ) TRUE
;
3212 PyObject
* _argo0
= 0;
3213 PyObject
* _obj2
= 0;
3214 int tempbool3
= (int) TRUE
;
3215 char *_kwnames
[] = { "self","encoding","facename","interactive", NULL
};
3218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|Oi:wxFontMapper_GetAltForEncoding",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&tempbool3
))
3221 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3222 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
3223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_GetAltForEncoding. Expected _wxFontMapper_p.");
3229 _arg2
= wxString_in_helper(_obj2
);
3233 _arg3
= (bool ) tempbool3
;
3235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3236 _result
= (PyObject
*)wxFontMapper_GetAltForEncoding(_arg0
,_arg1
,*_arg2
,_arg3
);
3238 wxPyEndAllowThreads(__tstate
);
3239 if (PyErr_Occurred()) return NULL
;
3241 _resultobj
= _result
;
3250 #define wxFontMapper_IsEncodingAvailable(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsEncodingAvailable(_swigarg0,_swigarg1))
3251 static PyObject
*_wrap_wxFontMapper_IsEncodingAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3252 PyObject
* _resultobj
;
3254 wxFontMapper
* _arg0
;
3255 wxFontEncoding _arg1
;
3256 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
3257 PyObject
* _argo0
= 0;
3258 PyObject
* _obj2
= 0;
3259 char *_kwnames
[] = { "self","encoding","facename", NULL
};
3262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|O:wxFontMapper_IsEncodingAvailable",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3265 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3266 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
3267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_IsEncodingAvailable. Expected _wxFontMapper_p.");
3273 _arg2
= wxString_in_helper(_obj2
);
3278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3279 _result
= (bool )wxFontMapper_IsEncodingAvailable(_arg0
,_arg1
,*_arg2
);
3281 wxPyEndAllowThreads(__tstate
);
3282 if (PyErr_Occurred()) return NULL
;
3283 } _resultobj
= Py_BuildValue("i",_result
);
3291 #define wxFontMapper_CharsetToEncoding(_swigobj,_swigarg0,_swigarg1) (_swigobj->CharsetToEncoding(_swigarg0,_swigarg1))
3292 static PyObject
*_wrap_wxFontMapper_CharsetToEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3293 PyObject
* _resultobj
;
3294 wxFontEncoding _result
;
3295 wxFontMapper
* _arg0
;
3297 bool _arg2
= (bool ) TRUE
;
3298 PyObject
* _argo0
= 0;
3299 PyObject
* _obj1
= 0;
3300 int tempbool2
= (int) TRUE
;
3301 char *_kwnames
[] = { "self","charset","interactive", NULL
};
3304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFontMapper_CharsetToEncoding",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
3307 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3308 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
3309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_CharsetToEncoding. Expected _wxFontMapper_p.");
3314 _arg1
= wxString_in_helper(_obj1
);
3318 _arg2
= (bool ) tempbool2
;
3320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3321 _result
= (wxFontEncoding
)wxFontMapper_CharsetToEncoding(_arg0
,*_arg1
,_arg2
);
3323 wxPyEndAllowThreads(__tstate
);
3324 if (PyErr_Occurred()) return NULL
;
3325 } _resultobj
= Py_BuildValue("i",_result
);
3333 static PyObject
*_wrap_wxFontMapper_GetEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3334 PyObject
* _resultobj
;
3336 wxFontEncoding _arg0
;
3337 char *_kwnames
[] = { "encoding", NULL
};
3340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxFontMapper_GetEncodingName",_kwnames
,&_arg0
))
3343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3344 _result
= new wxString (wxFontMapper::GetEncodingName(_arg0
));
3346 wxPyEndAllowThreads(__tstate
);
3347 if (PyErr_Occurred()) return NULL
;
3350 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3352 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3361 static PyObject
*_wrap_wxFontMapper_GetEncodingDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3362 PyObject
* _resultobj
;
3364 wxFontEncoding _arg0
;
3365 char *_kwnames
[] = { "encoding", NULL
};
3368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxFontMapper_GetEncodingDescription",_kwnames
,&_arg0
))
3371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3372 _result
= new wxString (wxFontMapper::GetEncodingDescription(_arg0
));
3374 wxPyEndAllowThreads(__tstate
);
3375 if (PyErr_Occurred()) return NULL
;
3378 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3380 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3389 #define wxFontMapper_SetDialogParent(_swigobj,_swigarg0) (_swigobj->SetDialogParent(_swigarg0))
3390 static PyObject
*_wrap_wxFontMapper_SetDialogParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3391 PyObject
* _resultobj
;
3392 wxFontMapper
* _arg0
;
3394 PyObject
* _argo0
= 0;
3395 PyObject
* _argo1
= 0;
3396 char *_kwnames
[] = { "self","parent", NULL
};
3399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontMapper_SetDialogParent",_kwnames
,&_argo0
,&_argo1
))
3402 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3403 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
3404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_SetDialogParent. Expected _wxFontMapper_p.");
3409 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3410 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontMapper_SetDialogParent. Expected _wxWindow_p.");
3416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3417 wxFontMapper_SetDialogParent(_arg0
,_arg1
);
3419 wxPyEndAllowThreads(__tstate
);
3420 if (PyErr_Occurred()) return NULL
;
3421 } Py_INCREF(Py_None
);
3422 _resultobj
= Py_None
;
3426 #define wxFontMapper_SetDialogTitle(_swigobj,_swigarg0) (_swigobj->SetDialogTitle(_swigarg0))
3427 static PyObject
*_wrap_wxFontMapper_SetDialogTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3428 PyObject
* _resultobj
;
3429 wxFontMapper
* _arg0
;
3431 PyObject
* _argo0
= 0;
3432 PyObject
* _obj1
= 0;
3433 char *_kwnames
[] = { "self","title", NULL
};
3436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontMapper_SetDialogTitle",_kwnames
,&_argo0
,&_obj1
))
3439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
3441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_SetDialogTitle. Expected _wxFontMapper_p.");
3446 _arg1
= wxString_in_helper(_obj1
);
3451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3452 wxFontMapper_SetDialogTitle(_arg0
,*_arg1
);
3454 wxPyEndAllowThreads(__tstate
);
3455 if (PyErr_Occurred()) return NULL
;
3456 } Py_INCREF(Py_None
);
3457 _resultobj
= Py_None
;
3465 #define wxFontMapper_SetConfig(_swigobj,_swigarg0) (_swigobj->SetConfig(_swigarg0))
3466 static PyObject
*_wrap_wxFontMapper_SetConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3467 PyObject
* _resultobj
;
3468 wxFontMapper
* _arg0
;
3469 wxConfigBase
* _arg1
;
3470 PyObject
* _argo0
= 0;
3471 PyObject
* _argo1
= 0;
3472 char *_kwnames
[] = { "self","config", NULL
};
3475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontMapper_SetConfig",_kwnames
,&_argo0
,&_argo1
))
3478 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3479 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
3480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_SetConfig. Expected _wxFontMapper_p.");
3485 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3486 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
3487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontMapper_SetConfig. Expected _wxConfigBase_p.");
3492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3493 wxFontMapper_SetConfig(_arg0
,_arg1
);
3495 wxPyEndAllowThreads(__tstate
);
3496 if (PyErr_Occurred()) return NULL
;
3497 } Py_INCREF(Py_None
);
3498 _resultobj
= Py_None
;
3502 #define wxFontMapper_SetConfigPath(_swigobj,_swigarg0) (_swigobj->SetConfigPath(_swigarg0))
3503 static PyObject
*_wrap_wxFontMapper_SetConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3504 PyObject
* _resultobj
;
3505 wxFontMapper
* _arg0
;
3507 PyObject
* _argo0
= 0;
3508 PyObject
* _obj1
= 0;
3509 char *_kwnames
[] = { "self","prefix", NULL
};
3512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontMapper_SetConfigPath",_kwnames
,&_argo0
,&_obj1
))
3515 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3516 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
3517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_SetConfigPath. Expected _wxFontMapper_p.");
3522 _arg1
= wxString_in_helper(_obj1
);
3527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3528 wxFontMapper_SetConfigPath(_arg0
,*_arg1
);
3530 wxPyEndAllowThreads(__tstate
);
3531 if (PyErr_Occurred()) return NULL
;
3532 } Py_INCREF(Py_None
);
3533 _resultobj
= Py_None
;
3541 static PyObject
*_wrap_wxFontMapper_GetDefaultConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3542 PyObject
* _resultobj
;
3544 char *_kwnames
[] = { NULL
};
3547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxFontMapper_GetDefaultConfigPath",_kwnames
))
3550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3551 _result
= new wxString (wxFontMapper::GetDefaultConfigPath());
3553 wxPyEndAllowThreads(__tstate
);
3554 if (PyErr_Occurred()) return NULL
;
3557 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3559 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3568 static void *SwigwxFontTowxGDIObject(void *ptr
) {
3571 src
= (wxFont
*) ptr
;
3572 dest
= (wxGDIObject
*) src
;
3573 return (void *) dest
;
3576 static void *SwigwxFontTowxObject(void *ptr
) {
3579 src
= (wxFont
*) ptr
;
3580 dest
= (wxObject
*) src
;
3581 return (void *) dest
;
3584 #define new_wxFont(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxFont(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3585 static PyObject
*_wrap_new_wxFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3586 PyObject
* _resultobj
;
3592 int _arg4
= (int ) FALSE
;
3593 wxString
* _arg5
= (wxString
*) &wxPyEmptyString
;
3594 wxFontEncoding _arg6
= (wxFontEncoding
) (wxFONTENCODING_DEFAULT
);
3595 PyObject
* _obj5
= 0;
3596 char *_kwnames
[] = { "pointSize","family","style","weight","underline","faceName","encoding", NULL
};
3600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiii|iOi:new_wxFont",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
,&_arg6
))
3604 _arg5
= wxString_in_helper(_obj5
);
3609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3610 _result
= (wxFont
*)new_wxFont(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,*_arg5
,_arg6
);
3612 wxPyEndAllowThreads(__tstate
);
3613 if (PyErr_Occurred()) return NULL
;
3615 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
3616 _resultobj
= Py_BuildValue("s",_ptemp
);
3619 _resultobj
= Py_None
;
3628 #define new_wxFontFromNativeInfo(_swigarg0) (new wxFont(_swigarg0))
3629 static PyObject
*_wrap_new_wxFontFromNativeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3630 PyObject
* _resultobj
;
3632 wxNativeFontInfo
* _arg0
;
3633 PyObject
* _argo0
= 0;
3634 char *_kwnames
[] = { "info", NULL
};
3638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFontFromNativeInfo",_kwnames
,&_argo0
))
3641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFontFromNativeInfo. Expected _wxNativeFontInfo_p.");
3648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3649 _result
= (wxFont
*)new_wxFontFromNativeInfo(*_arg0
);
3651 wxPyEndAllowThreads(__tstate
);
3652 if (PyErr_Occurred()) return NULL
;
3654 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
3655 _resultobj
= Py_BuildValue("s",_ptemp
);
3658 _resultobj
= Py_None
;
3663 #define delete_wxFont(_swigobj) (delete _swigobj)
3664 static PyObject
*_wrap_delete_wxFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3665 PyObject
* _resultobj
;
3667 PyObject
* _argo0
= 0;
3668 char *_kwnames
[] = { "self", NULL
};
3671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFont",_kwnames
,&_argo0
))
3674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFont. Expected _wxFont_p.");
3681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3682 delete_wxFont(_arg0
);
3684 wxPyEndAllowThreads(__tstate
);
3685 if (PyErr_Occurred()) return NULL
;
3686 } Py_INCREF(Py_None
);
3687 _resultobj
= Py_None
;
3691 #define wxFont_Ok(_swigobj) (_swigobj->Ok())
3692 static PyObject
*_wrap_wxFont_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3693 PyObject
* _resultobj
;
3696 PyObject
* _argo0
= 0;
3697 char *_kwnames
[] = { "self", NULL
};
3700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_Ok",_kwnames
,&_argo0
))
3703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_Ok. Expected _wxFont_p.");
3710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3711 _result
= (bool )wxFont_Ok(_arg0
);
3713 wxPyEndAllowThreads(__tstate
);
3714 if (PyErr_Occurred()) return NULL
;
3715 } _resultobj
= Py_BuildValue("i",_result
);
3719 #define wxFont_GetPointSize(_swigobj) (_swigobj->GetPointSize())
3720 static PyObject
*_wrap_wxFont_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3721 PyObject
* _resultobj
;
3724 PyObject
* _argo0
= 0;
3725 char *_kwnames
[] = { "self", NULL
};
3728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetPointSize",_kwnames
,&_argo0
))
3731 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3732 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetPointSize. Expected _wxFont_p.");
3738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3739 _result
= (int )wxFont_GetPointSize(_arg0
);
3741 wxPyEndAllowThreads(__tstate
);
3742 if (PyErr_Occurred()) return NULL
;
3743 } _resultobj
= Py_BuildValue("i",_result
);
3747 #define wxFont_GetFamily(_swigobj) (_swigobj->GetFamily())
3748 static PyObject
*_wrap_wxFont_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3749 PyObject
* _resultobj
;
3752 PyObject
* _argo0
= 0;
3753 char *_kwnames
[] = { "self", NULL
};
3756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFamily",_kwnames
,&_argo0
))
3759 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3760 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFamily. Expected _wxFont_p.");
3766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3767 _result
= (int )wxFont_GetFamily(_arg0
);
3769 wxPyEndAllowThreads(__tstate
);
3770 if (PyErr_Occurred()) return NULL
;
3771 } _resultobj
= Py_BuildValue("i",_result
);
3775 #define wxFont_GetStyle(_swigobj) (_swigobj->GetStyle())
3776 static PyObject
*_wrap_wxFont_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3777 PyObject
* _resultobj
;
3780 PyObject
* _argo0
= 0;
3781 char *_kwnames
[] = { "self", NULL
};
3784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetStyle",_kwnames
,&_argo0
))
3787 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3788 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetStyle. Expected _wxFont_p.");
3794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3795 _result
= (int )wxFont_GetStyle(_arg0
);
3797 wxPyEndAllowThreads(__tstate
);
3798 if (PyErr_Occurred()) return NULL
;
3799 } _resultobj
= Py_BuildValue("i",_result
);
3803 #define wxFont_GetWeight(_swigobj) (_swigobj->GetWeight())
3804 static PyObject
*_wrap_wxFont_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3805 PyObject
* _resultobj
;
3808 PyObject
* _argo0
= 0;
3809 char *_kwnames
[] = { "self", NULL
};
3812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetWeight",_kwnames
,&_argo0
))
3815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetWeight. Expected _wxFont_p.");
3822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3823 _result
= (int )wxFont_GetWeight(_arg0
);
3825 wxPyEndAllowThreads(__tstate
);
3826 if (PyErr_Occurred()) return NULL
;
3827 } _resultobj
= Py_BuildValue("i",_result
);
3831 #define wxFont_GetUnderlined(_swigobj) (_swigobj->GetUnderlined())
3832 static PyObject
*_wrap_wxFont_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3833 PyObject
* _resultobj
;
3836 PyObject
* _argo0
= 0;
3837 char *_kwnames
[] = { "self", NULL
};
3840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetUnderlined",_kwnames
,&_argo0
))
3843 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3844 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetUnderlined. Expected _wxFont_p.");
3850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3851 _result
= (bool )wxFont_GetUnderlined(_arg0
);
3853 wxPyEndAllowThreads(__tstate
);
3854 if (PyErr_Occurred()) return NULL
;
3855 } _resultobj
= Py_BuildValue("i",_result
);
3859 #define wxFont_GetFaceName(_swigobj) (_swigobj->GetFaceName())
3860 static PyObject
*_wrap_wxFont_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3861 PyObject
* _resultobj
;
3864 PyObject
* _argo0
= 0;
3865 char *_kwnames
[] = { "self", NULL
};
3868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFaceName",_kwnames
,&_argo0
))
3871 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3872 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFaceName. Expected _wxFont_p.");
3878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3879 _result
= new wxString (wxFont_GetFaceName(_arg0
));
3881 wxPyEndAllowThreads(__tstate
);
3882 if (PyErr_Occurred()) return NULL
;
3885 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3887 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3896 #define wxFont_GetEncoding(_swigobj) (_swigobj->GetEncoding())
3897 static PyObject
*_wrap_wxFont_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3898 PyObject
* _resultobj
;
3899 wxFontEncoding _result
;
3901 PyObject
* _argo0
= 0;
3902 char *_kwnames
[] = { "self", NULL
};
3905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetEncoding",_kwnames
,&_argo0
))
3908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetEncoding. Expected _wxFont_p.");
3915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3916 _result
= (wxFontEncoding
)wxFont_GetEncoding(_arg0
);
3918 wxPyEndAllowThreads(__tstate
);
3919 if (PyErr_Occurred()) return NULL
;
3920 } _resultobj
= Py_BuildValue("i",_result
);
3924 #define wxFont_IsFixedWidth(_swigobj) (_swigobj->IsFixedWidth())
3925 static PyObject
*_wrap_wxFont_IsFixedWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3926 PyObject
* _resultobj
;
3929 PyObject
* _argo0
= 0;
3930 char *_kwnames
[] = { "self", NULL
};
3933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_IsFixedWidth",_kwnames
,&_argo0
))
3936 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3937 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_IsFixedWidth. Expected _wxFont_p.");
3943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3944 _result
= (bool )wxFont_IsFixedWidth(_arg0
);
3946 wxPyEndAllowThreads(__tstate
);
3947 if (PyErr_Occurred()) return NULL
;
3948 } _resultobj
= Py_BuildValue("i",_result
);
3952 #define wxFont_GetNativeFontInfo(_swigobj) (_swigobj->GetNativeFontInfo())
3953 static PyObject
*_wrap_wxFont_GetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3954 PyObject
* _resultobj
;
3955 wxNativeFontInfo
* _result
;
3957 PyObject
* _argo0
= 0;
3958 char *_kwnames
[] = { "self", NULL
};
3962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetNativeFontInfo",_kwnames
,&_argo0
))
3965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetNativeFontInfo. Expected _wxFont_p.");
3972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3973 _result
= (wxNativeFontInfo
*)wxFont_GetNativeFontInfo(_arg0
);
3975 wxPyEndAllowThreads(__tstate
);
3976 if (PyErr_Occurred()) return NULL
;
3978 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNativeFontInfo_p");
3979 _resultobj
= Py_BuildValue("s",_ptemp
);
3982 _resultobj
= Py_None
;
3987 #define wxFont_GetNativeFontInfoDesc(_swigobj) (_swigobj->GetNativeFontInfoDesc())
3988 static PyObject
*_wrap_wxFont_GetNativeFontInfoDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3989 PyObject
* _resultobj
;
3992 PyObject
* _argo0
= 0;
3993 char *_kwnames
[] = { "self", NULL
};
3996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetNativeFontInfoDesc",_kwnames
,&_argo0
))
3999 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4000 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetNativeFontInfoDesc. Expected _wxFont_p.");
4006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4007 _result
= new wxString (wxFont_GetNativeFontInfoDesc(_arg0
));
4009 wxPyEndAllowThreads(__tstate
);
4010 if (PyErr_Occurred()) return NULL
;
4013 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
4015 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4024 #define wxFont_GetNativeFontInfoUserDesc(_swigobj) (_swigobj->GetNativeFontInfoUserDesc())
4025 static PyObject
*_wrap_wxFont_GetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4026 PyObject
* _resultobj
;
4029 PyObject
* _argo0
= 0;
4030 char *_kwnames
[] = { "self", NULL
};
4033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetNativeFontInfoUserDesc",_kwnames
,&_argo0
))
4036 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4037 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetNativeFontInfoUserDesc. Expected _wxFont_p.");
4043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4044 _result
= new wxString (wxFont_GetNativeFontInfoUserDesc(_arg0
));
4046 wxPyEndAllowThreads(__tstate
);
4047 if (PyErr_Occurred()) return NULL
;
4050 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
4052 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4061 #define wxFont_SetPointSize(_swigobj,_swigarg0) (_swigobj->SetPointSize(_swigarg0))
4062 static PyObject
*_wrap_wxFont_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4063 PyObject
* _resultobj
;
4066 PyObject
* _argo0
= 0;
4067 char *_kwnames
[] = { "self","pointSize", NULL
};
4070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetPointSize",_kwnames
,&_argo0
,&_arg1
))
4073 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4074 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetPointSize. Expected _wxFont_p.");
4080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4081 wxFont_SetPointSize(_arg0
,_arg1
);
4083 wxPyEndAllowThreads(__tstate
);
4084 if (PyErr_Occurred()) return NULL
;
4085 } Py_INCREF(Py_None
);
4086 _resultobj
= Py_None
;
4090 #define wxFont_SetFamily(_swigobj,_swigarg0) (_swigobj->SetFamily(_swigarg0))
4091 static PyObject
*_wrap_wxFont_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4092 PyObject
* _resultobj
;
4095 PyObject
* _argo0
= 0;
4096 char *_kwnames
[] = { "self","family", NULL
};
4099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetFamily",_kwnames
,&_argo0
,&_arg1
))
4102 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4103 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetFamily. Expected _wxFont_p.");
4109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4110 wxFont_SetFamily(_arg0
,_arg1
);
4112 wxPyEndAllowThreads(__tstate
);
4113 if (PyErr_Occurred()) return NULL
;
4114 } Py_INCREF(Py_None
);
4115 _resultobj
= Py_None
;
4119 #define wxFont_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
4120 static PyObject
*_wrap_wxFont_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4121 PyObject
* _resultobj
;
4124 PyObject
* _argo0
= 0;
4125 char *_kwnames
[] = { "self","style", NULL
};
4128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetStyle",_kwnames
,&_argo0
,&_arg1
))
4131 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4132 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetStyle. Expected _wxFont_p.");
4138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4139 wxFont_SetStyle(_arg0
,_arg1
);
4141 wxPyEndAllowThreads(__tstate
);
4142 if (PyErr_Occurred()) return NULL
;
4143 } Py_INCREF(Py_None
);
4144 _resultobj
= Py_None
;
4148 #define wxFont_SetWeight(_swigobj,_swigarg0) (_swigobj->SetWeight(_swigarg0))
4149 static PyObject
*_wrap_wxFont_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4150 PyObject
* _resultobj
;
4153 PyObject
* _argo0
= 0;
4154 char *_kwnames
[] = { "self","weight", NULL
};
4157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetWeight",_kwnames
,&_argo0
,&_arg1
))
4160 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4161 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetWeight. Expected _wxFont_p.");
4167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4168 wxFont_SetWeight(_arg0
,_arg1
);
4170 wxPyEndAllowThreads(__tstate
);
4171 if (PyErr_Occurred()) return NULL
;
4172 } Py_INCREF(Py_None
);
4173 _resultobj
= Py_None
;
4177 #define wxFont_SetFaceName(_swigobj,_swigarg0) (_swigobj->SetFaceName(_swigarg0))
4178 static PyObject
*_wrap_wxFont_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4179 PyObject
* _resultobj
;
4182 PyObject
* _argo0
= 0;
4183 PyObject
* _obj1
= 0;
4184 char *_kwnames
[] = { "self","faceName", NULL
};
4187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFont_SetFaceName",_kwnames
,&_argo0
,&_obj1
))
4190 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4191 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetFaceName. Expected _wxFont_p.");
4197 _arg1
= wxString_in_helper(_obj1
);
4202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4203 wxFont_SetFaceName(_arg0
,*_arg1
);
4205 wxPyEndAllowThreads(__tstate
);
4206 if (PyErr_Occurred()) return NULL
;
4207 } Py_INCREF(Py_None
);
4208 _resultobj
= Py_None
;
4216 #define wxFont_SetUnderlined(_swigobj,_swigarg0) (_swigobj->SetUnderlined(_swigarg0))
4217 static PyObject
*_wrap_wxFont_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4218 PyObject
* _resultobj
;
4221 PyObject
* _argo0
= 0;
4223 char *_kwnames
[] = { "self","underlined", NULL
};
4226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetUnderlined",_kwnames
,&_argo0
,&tempbool1
))
4229 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4230 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetUnderlined. Expected _wxFont_p.");
4235 _arg1
= (bool ) tempbool1
;
4237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4238 wxFont_SetUnderlined(_arg0
,_arg1
);
4240 wxPyEndAllowThreads(__tstate
);
4241 if (PyErr_Occurred()) return NULL
;
4242 } Py_INCREF(Py_None
);
4243 _resultobj
= Py_None
;
4247 #define wxFont_SetEncoding(_swigobj,_swigarg0) (_swigobj->SetEncoding(_swigarg0))
4248 static PyObject
*_wrap_wxFont_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4249 PyObject
* _resultobj
;
4251 wxFontEncoding _arg1
;
4252 PyObject
* _argo0
= 0;
4253 char *_kwnames
[] = { "self","encoding", NULL
};
4256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetEncoding",_kwnames
,&_argo0
,&_arg1
))
4259 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4260 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetEncoding. Expected _wxFont_p.");
4266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4267 wxFont_SetEncoding(_arg0
,_arg1
);
4269 wxPyEndAllowThreads(__tstate
);
4270 if (PyErr_Occurred()) return NULL
;
4271 } Py_INCREF(Py_None
);
4272 _resultobj
= Py_None
;
4276 #define wxFont_SetNativeFontInfo(_swigobj,_swigarg0) (_swigobj->SetNativeFontInfo(_swigarg0))
4277 static PyObject
*_wrap_wxFont_SetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4278 PyObject
* _resultobj
;
4280 wxNativeFontInfo
* _arg1
;
4281 PyObject
* _argo0
= 0;
4282 PyObject
* _argo1
= 0;
4283 char *_kwnames
[] = { "self","info", NULL
};
4286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFont_SetNativeFontInfo",_kwnames
,&_argo0
,&_argo1
))
4289 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4290 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetNativeFontInfo. Expected _wxFont_p.");
4296 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4297 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxNativeFontInfo_p")) {
4298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFont_SetNativeFontInfo. Expected _wxNativeFontInfo_p.");
4303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4304 wxFont_SetNativeFontInfo(_arg0
,*_arg1
);
4306 wxPyEndAllowThreads(__tstate
);
4307 if (PyErr_Occurred()) return NULL
;
4308 } Py_INCREF(Py_None
);
4309 _resultobj
= Py_None
;
4313 #define wxFont_SetNativeFontInfoUserDesc(_swigobj,_swigarg0) (_swigobj->SetNativeFontInfoUserDesc(_swigarg0))
4314 static PyObject
*_wrap_wxFont_SetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4315 PyObject
* _resultobj
;
4318 PyObject
* _argo0
= 0;
4319 PyObject
* _obj1
= 0;
4320 char *_kwnames
[] = { "self","info", NULL
};
4323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFont_SetNativeFontInfoUserDesc",_kwnames
,&_argo0
,&_obj1
))
4326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetNativeFontInfoUserDesc. Expected _wxFont_p.");
4333 _arg1
= wxString_in_helper(_obj1
);
4338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4339 wxFont_SetNativeFontInfoUserDesc(_arg0
,*_arg1
);
4341 wxPyEndAllowThreads(__tstate
);
4342 if (PyErr_Occurred()) return NULL
;
4343 } Py_INCREF(Py_None
);
4344 _resultobj
= Py_None
;
4352 #define wxFont_GetFamilyString(_swigobj) (_swigobj->GetFamilyString())
4353 static PyObject
*_wrap_wxFont_GetFamilyString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4354 PyObject
* _resultobj
;
4357 PyObject
* _argo0
= 0;
4358 char *_kwnames
[] = { "self", NULL
};
4361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFamilyString",_kwnames
,&_argo0
))
4364 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4365 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFamilyString. Expected _wxFont_p.");
4371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4372 _result
= new wxString (wxFont_GetFamilyString(_arg0
));
4374 wxPyEndAllowThreads(__tstate
);
4375 if (PyErr_Occurred()) return NULL
;
4378 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
4380 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4389 #define wxFont_GetStyleString(_swigobj) (_swigobj->GetStyleString())
4390 static PyObject
*_wrap_wxFont_GetStyleString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4391 PyObject
* _resultobj
;
4394 PyObject
* _argo0
= 0;
4395 char *_kwnames
[] = { "self", NULL
};
4398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetStyleString",_kwnames
,&_argo0
))
4401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetStyleString. Expected _wxFont_p.");
4408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4409 _result
= new wxString (wxFont_GetStyleString(_arg0
));
4411 wxPyEndAllowThreads(__tstate
);
4412 if (PyErr_Occurred()) return NULL
;
4415 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
4417 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4426 #define wxFont_GetWeightString(_swigobj) (_swigobj->GetWeightString())
4427 static PyObject
*_wrap_wxFont_GetWeightString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4428 PyObject
* _resultobj
;
4431 PyObject
* _argo0
= 0;
4432 char *_kwnames
[] = { "self", NULL
};
4435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetWeightString",_kwnames
,&_argo0
))
4438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetWeightString. Expected _wxFont_p.");
4445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4446 _result
= new wxString (wxFont_GetWeightString(_arg0
));
4448 wxPyEndAllowThreads(__tstate
);
4449 if (PyErr_Occurred()) return NULL
;
4452 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
4454 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4463 static PyObject
*_wrap_wxFont_GetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4464 PyObject
* _resultobj
;
4465 wxFontEncoding _result
;
4466 char *_kwnames
[] = { NULL
};
4469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxFont_GetDefaultEncoding",_kwnames
))
4472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4473 _result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
4475 wxPyEndAllowThreads(__tstate
);
4476 if (PyErr_Occurred()) return NULL
;
4477 } _resultobj
= Py_BuildValue("i",_result
);
4481 static PyObject
*_wrap_wxFont_SetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4482 PyObject
* _resultobj
;
4483 wxFontEncoding _arg0
;
4484 char *_kwnames
[] = { "encoding", NULL
};
4487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxFont_SetDefaultEncoding",_kwnames
,&_arg0
))
4490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4491 wxFont::SetDefaultEncoding(_arg0
);
4493 wxPyEndAllowThreads(__tstate
);
4494 if (PyErr_Occurred()) return NULL
;
4495 } Py_INCREF(Py_None
);
4496 _resultobj
= Py_None
;
4500 static void *SwigwxFontListTowxObject(void *ptr
) {
4503 src
= (wxFontList
*) ptr
;
4504 dest
= (wxObject
*) src
;
4505 return (void *) dest
;
4508 #define wxFontList_AddFont(_swigobj,_swigarg0) (_swigobj->AddFont(_swigarg0))
4509 static PyObject
*_wrap_wxFontList_AddFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4510 PyObject
* _resultobj
;
4513 PyObject
* _argo0
= 0;
4514 PyObject
* _argo1
= 0;
4515 char *_kwnames
[] = { "self","font", NULL
};
4518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontList_AddFont",_kwnames
,&_argo0
,&_argo1
))
4521 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4522 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontList_p")) {
4523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontList_AddFont. Expected _wxFontList_p.");
4528 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4529 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
4530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontList_AddFont. Expected _wxFont_p.");
4535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4536 wxFontList_AddFont(_arg0
,_arg1
);
4538 wxPyEndAllowThreads(__tstate
);
4539 if (PyErr_Occurred()) return NULL
;
4540 } Py_INCREF(Py_None
);
4541 _resultobj
= Py_None
;
4545 #define wxFontList_FindOrCreateFont(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->FindOrCreateFont(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4546 static PyObject
*_wrap_wxFontList_FindOrCreateFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4547 PyObject
* _resultobj
;
4554 bool _arg5
= (bool ) FALSE
;
4555 wxString
* _arg6
= (wxString
*) &wxPyEmptyString
;
4556 wxFontEncoding _arg7
= (wxFontEncoding
) (wxFONTENCODING_DEFAULT
);
4557 PyObject
* _argo0
= 0;
4558 int tempbool5
= (int) FALSE
;
4559 PyObject
* _obj6
= 0;
4560 char *_kwnames
[] = { "self","point_size","family","style","weight","underline","facename","encoding", NULL
};
4564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|iOi:wxFontList_FindOrCreateFont",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
,&_obj6
,&_arg7
))
4567 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4568 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontList_p")) {
4569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontList_FindOrCreateFont. Expected _wxFontList_p.");
4573 _arg5
= (bool ) tempbool5
;
4576 _arg6
= wxString_in_helper(_obj6
);
4581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4582 _result
= (wxFont
*)wxFontList_FindOrCreateFont(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,*_arg6
,_arg7
);
4584 wxPyEndAllowThreads(__tstate
);
4585 if (PyErr_Occurred()) return NULL
;
4587 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
4588 _resultobj
= Py_BuildValue("s",_ptemp
);
4591 _resultobj
= Py_None
;
4600 #define wxFontList_RemoveFont(_swigobj,_swigarg0) (_swigobj->RemoveFont(_swigarg0))
4601 static PyObject
*_wrap_wxFontList_RemoveFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4602 PyObject
* _resultobj
;
4605 PyObject
* _argo0
= 0;
4606 PyObject
* _argo1
= 0;
4607 char *_kwnames
[] = { "self","font", NULL
};
4610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontList_RemoveFont",_kwnames
,&_argo0
,&_argo1
))
4613 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4614 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontList_p")) {
4615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontList_RemoveFont. Expected _wxFontList_p.");
4620 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4621 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
4622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontList_RemoveFont. Expected _wxFont_p.");
4627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4628 wxFontList_RemoveFont(_arg0
,_arg1
);
4630 wxPyEndAllowThreads(__tstate
);
4631 if (PyErr_Occurred()) return NULL
;
4632 } Py_INCREF(Py_None
);
4633 _resultobj
= Py_None
;
4637 #define wxFontList_GetCount(_swigobj) (_swigobj->GetCount())
4638 static PyObject
*_wrap_wxFontList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4639 PyObject
* _resultobj
;
4642 PyObject
* _argo0
= 0;
4643 char *_kwnames
[] = { "self", NULL
};
4646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontList_GetCount",_kwnames
,&_argo0
))
4649 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4650 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontList_p")) {
4651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontList_GetCount. Expected _wxFontList_p.");
4656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4657 _result
= (int )wxFontList_GetCount(_arg0
);
4659 wxPyEndAllowThreads(__tstate
);
4660 if (PyErr_Occurred()) return NULL
;
4661 } _resultobj
= Py_BuildValue("i",_result
);
4665 static void *SwigwxColourTowxObject(void *ptr
) {
4668 src
= (wxColour
*) ptr
;
4669 dest
= (wxObject
*) src
;
4670 return (void *) dest
;
4673 #define new_wxColour(_swigarg0,_swigarg1,_swigarg2) (new wxColour(_swigarg0,_swigarg1,_swigarg2))
4674 static PyObject
*_wrap_new_wxColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4675 PyObject
* _resultobj
;
4677 unsigned char _arg0
= (unsigned char ) 0;
4678 unsigned char _arg1
= (unsigned char ) 0;
4679 unsigned char _arg2
= (unsigned char ) 0;
4680 char *_kwnames
[] = { "red","green","blue", NULL
};
4684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|bbb:new_wxColour",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
4687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4688 _result
= (wxColour
*)new_wxColour(_arg0
,_arg1
,_arg2
);
4690 wxPyEndAllowThreads(__tstate
);
4691 if (PyErr_Occurred()) return NULL
;
4693 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
4694 _resultobj
= Py_BuildValue("s",_ptemp
);
4697 _resultobj
= Py_None
;
4702 #define delete_wxColour(_swigobj) (delete _swigobj)
4703 static PyObject
*_wrap_delete_wxColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4704 PyObject
* _resultobj
;
4707 PyObject
* _obj0
= 0;
4708 char *_kwnames
[] = { "self", NULL
};
4711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxColour",_kwnames
,&_obj0
))
4715 if (! wxColour_helper(_obj0
, &_arg0
))
4719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4720 delete_wxColour(_arg0
);
4722 wxPyEndAllowThreads(__tstate
);
4723 if (PyErr_Occurred()) return NULL
;
4724 } Py_INCREF(Py_None
);
4725 _resultobj
= Py_None
;
4729 #define wxColour_Red(_swigobj) (_swigobj->Red())
4730 static PyObject
*_wrap_wxColour_Red(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4731 PyObject
* _resultobj
;
4732 unsigned char _result
;
4735 PyObject
* _obj0
= 0;
4736 char *_kwnames
[] = { "self", NULL
};
4739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Red",_kwnames
,&_obj0
))
4743 if (! wxColour_helper(_obj0
, &_arg0
))
4747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4748 _result
= (unsigned char )wxColour_Red(_arg0
);
4750 wxPyEndAllowThreads(__tstate
);
4751 if (PyErr_Occurred()) return NULL
;
4752 } _resultobj
= Py_BuildValue("b",_result
);
4756 #define wxColour_Green(_swigobj) (_swigobj->Green())
4757 static PyObject
*_wrap_wxColour_Green(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4758 PyObject
* _resultobj
;
4759 unsigned char _result
;
4762 PyObject
* _obj0
= 0;
4763 char *_kwnames
[] = { "self", NULL
};
4766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Green",_kwnames
,&_obj0
))
4770 if (! wxColour_helper(_obj0
, &_arg0
))
4774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4775 _result
= (unsigned char )wxColour_Green(_arg0
);
4777 wxPyEndAllowThreads(__tstate
);
4778 if (PyErr_Occurred()) return NULL
;
4779 } _resultobj
= Py_BuildValue("b",_result
);
4783 #define wxColour_Blue(_swigobj) (_swigobj->Blue())
4784 static PyObject
*_wrap_wxColour_Blue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4785 PyObject
* _resultobj
;
4786 unsigned char _result
;
4789 PyObject
* _obj0
= 0;
4790 char *_kwnames
[] = { "self", NULL
};
4793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Blue",_kwnames
,&_obj0
))
4797 if (! wxColour_helper(_obj0
, &_arg0
))
4801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4802 _result
= (unsigned char )wxColour_Blue(_arg0
);
4804 wxPyEndAllowThreads(__tstate
);
4805 if (PyErr_Occurred()) return NULL
;
4806 } _resultobj
= Py_BuildValue("b",_result
);
4810 #define wxColour_Ok(_swigobj) (_swigobj->Ok())
4811 static PyObject
*_wrap_wxColour_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4812 PyObject
* _resultobj
;
4816 PyObject
* _obj0
= 0;
4817 char *_kwnames
[] = { "self", NULL
};
4820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Ok",_kwnames
,&_obj0
))
4824 if (! wxColour_helper(_obj0
, &_arg0
))
4828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4829 _result
= (bool )wxColour_Ok(_arg0
);
4831 wxPyEndAllowThreads(__tstate
);
4832 if (PyErr_Occurred()) return NULL
;
4833 } _resultobj
= Py_BuildValue("i",_result
);
4837 #define wxColour_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
4838 static PyObject
*_wrap_wxColour_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4839 PyObject
* _resultobj
;
4841 unsigned char _arg1
;
4842 unsigned char _arg2
;
4843 unsigned char _arg3
;
4845 PyObject
* _obj0
= 0;
4846 char *_kwnames
[] = { "self","red","green","blue", NULL
};
4849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Obbb:wxColour_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_arg3
))
4853 if (! wxColour_helper(_obj0
, &_arg0
))
4857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4858 wxColour_Set(_arg0
,_arg1
,_arg2
,_arg3
);
4860 wxPyEndAllowThreads(__tstate
);
4861 if (PyErr_Occurred()) return NULL
;
4862 } Py_INCREF(Py_None
);
4863 _resultobj
= Py_None
;
4867 static PyObject
* wxColour_Get(wxColour
*self
) {
4868 PyObject
* rv
= PyTuple_New(3);
4869 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
4870 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
4871 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
4874 static PyObject
*_wrap_wxColour_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4875 PyObject
* _resultobj
;
4879 PyObject
* _obj0
= 0;
4880 char *_kwnames
[] = { "self", NULL
};
4883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Get",_kwnames
,&_obj0
))
4887 if (! wxColour_helper(_obj0
, &_arg0
))
4891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4892 _result
= (PyObject
*)wxColour_Get(_arg0
);
4894 wxPyEndAllowThreads(__tstate
);
4895 if (PyErr_Occurred()) return NULL
;
4897 _resultobj
= _result
;
4902 static void *SwigwxColourDatabaseTowxObject(void *ptr
) {
4903 wxColourDatabase
*src
;
4905 src
= (wxColourDatabase
*) ptr
;
4906 dest
= (wxObject
*) src
;
4907 return (void *) dest
;
4910 #define wxColourDatabase_FindColour(_swigobj,_swigarg0) (_swigobj->FindColour(_swigarg0))
4911 static PyObject
*_wrap_wxColourDatabase_FindColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4912 PyObject
* _resultobj
;
4914 wxColourDatabase
* _arg0
;
4916 PyObject
* _argo0
= 0;
4917 PyObject
* _obj1
= 0;
4918 char *_kwnames
[] = { "self","colour", NULL
};
4922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxColourDatabase_FindColour",_kwnames
,&_argo0
,&_obj1
))
4925 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4926 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDatabase_p")) {
4927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDatabase_FindColour. Expected _wxColourDatabase_p.");
4932 _arg1
= wxString_in_helper(_obj1
);
4937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4938 _result
= (wxColour
*)wxColourDatabase_FindColour(_arg0
,*_arg1
);
4940 wxPyEndAllowThreads(__tstate
);
4941 if (PyErr_Occurred()) return NULL
;
4943 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
4944 _resultobj
= Py_BuildValue("s",_ptemp
);
4947 _resultobj
= Py_None
;
4956 #define wxColourDatabase_FindName(_swigobj,_swigarg0) (_swigobj->FindName(_swigarg0))
4957 static PyObject
*_wrap_wxColourDatabase_FindName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4958 PyObject
* _resultobj
;
4960 wxColourDatabase
* _arg0
;
4962 PyObject
* _argo0
= 0;
4964 PyObject
* _obj1
= 0;
4965 char *_kwnames
[] = { "self","colour", NULL
};
4968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxColourDatabase_FindName",_kwnames
,&_argo0
,&_obj1
))
4971 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4972 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDatabase_p")) {
4973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDatabase_FindName. Expected _wxColourDatabase_p.");
4979 if (! wxColour_helper(_obj1
, &_arg1
))
4983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4984 _result
= new wxString (wxColourDatabase_FindName(_arg0
,*_arg1
));
4986 wxPyEndAllowThreads(__tstate
);
4987 if (PyErr_Occurred()) return NULL
;
4990 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
4992 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5001 static void wxColourDatabase_Append(wxColourDatabase
*self
,const wxString
& name
,int red
,int green
,int blue
) {
5002 // first see if the name is already there
5003 wxString cName
= name
;
5005 wxString cName2
= cName
;
5006 if ( !cName2
.Replace(wxT("GRAY"), wxT("GREY")) )
5009 wxNode
*node
= self
->First();
5011 const wxChar
*key
= node
->GetKeyString();
5012 if ( cName
== key
|| cName2
== key
) {
5013 wxColour
* c
= (wxColour
*)node
->Data();
5014 c
->Set(red
, green
, blue
);
5017 node
= node
->Next();
5020 // otherwise append the new colour
5021 self
->Append(name
.c_str(), new wxColour(red
, green
, blue
));
5023 static PyObject
*_wrap_wxColourDatabase_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5024 PyObject
* _resultobj
;
5025 wxColourDatabase
* _arg0
;
5030 PyObject
* _argo0
= 0;
5031 PyObject
* _obj1
= 0;
5032 char *_kwnames
[] = { "self","name","red","green","blue", NULL
};
5035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiii:wxColourDatabase_Append",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_arg4
))
5038 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5039 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDatabase_p")) {
5040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDatabase_Append. Expected _wxColourDatabase_p.");
5045 _arg1
= wxString_in_helper(_obj1
);
5050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5051 wxColourDatabase_Append(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
5053 wxPyEndAllowThreads(__tstate
);
5054 if (PyErr_Occurred()) return NULL
;
5055 } Py_INCREF(Py_None
);
5056 _resultobj
= Py_None
;
5064 static void *SwigwxPenTowxGDIObject(void *ptr
) {
5067 src
= (wxPen
*) ptr
;
5068 dest
= (wxGDIObject
*) src
;
5069 return (void *) dest
;
5072 static void *SwigwxPenTowxObject(void *ptr
) {
5075 src
= (wxPen
*) ptr
;
5076 dest
= (wxObject
*) src
;
5077 return (void *) dest
;
5080 #define new_wxPen(_swigarg0,_swigarg1,_swigarg2) (new wxPen(_swigarg0,_swigarg1,_swigarg2))
5081 static PyObject
*_wrap_new_wxPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5082 PyObject
* _resultobj
;
5085 int _arg1
= (int ) 1;
5086 int _arg2
= (int ) wxSOLID
;
5088 PyObject
* _obj0
= 0;
5089 char *_kwnames
[] = { "colour","width","style", NULL
};
5093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:new_wxPen",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
5097 if (! wxColour_helper(_obj0
, &_arg0
))
5101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5102 _result
= (wxPen
*)new_wxPen(*_arg0
,_arg1
,_arg2
);
5104 wxPyEndAllowThreads(__tstate
);
5105 if (PyErr_Occurred()) return NULL
;
5107 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
5108 _resultobj
= Py_BuildValue("s",_ptemp
);
5111 _resultobj
= Py_None
;
5116 #define delete_wxPen(_swigobj) (delete _swigobj)
5117 static PyObject
*_wrap_delete_wxPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5118 PyObject
* _resultobj
;
5120 PyObject
* _argo0
= 0;
5121 char *_kwnames
[] = { "self", NULL
};
5124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPen",_kwnames
,&_argo0
))
5127 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5128 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPen. Expected _wxPen_p.");
5134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5135 delete_wxPen(_arg0
);
5137 wxPyEndAllowThreads(__tstate
);
5138 if (PyErr_Occurred()) return NULL
;
5139 } Py_INCREF(Py_None
);
5140 _resultobj
= Py_None
;
5144 #define wxPen_GetCap(_swigobj) (_swigobj->GetCap())
5145 static PyObject
*_wrap_wxPen_GetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5146 PyObject
* _resultobj
;
5149 PyObject
* _argo0
= 0;
5150 char *_kwnames
[] = { "self", NULL
};
5153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetCap",_kwnames
,&_argo0
))
5156 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5157 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetCap. Expected _wxPen_p.");
5163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5164 _result
= (int )wxPen_GetCap(_arg0
);
5166 wxPyEndAllowThreads(__tstate
);
5167 if (PyErr_Occurred()) return NULL
;
5168 } _resultobj
= Py_BuildValue("i",_result
);
5172 #define wxPen_GetColour(_swigobj) (_swigobj->GetColour())
5173 static PyObject
*_wrap_wxPen_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5174 PyObject
* _resultobj
;
5177 PyObject
* _argo0
= 0;
5178 char *_kwnames
[] = { "self", NULL
};
5182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetColour",_kwnames
,&_argo0
))
5185 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5186 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetColour. Expected _wxPen_p.");
5192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5193 _result
= new wxColour (wxPen_GetColour(_arg0
));
5195 wxPyEndAllowThreads(__tstate
);
5196 if (PyErr_Occurred()) return NULL
;
5197 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
5198 _resultobj
= Py_BuildValue("s",_ptemp
);
5202 #define wxPen_GetJoin(_swigobj) (_swigobj->GetJoin())
5203 static PyObject
*_wrap_wxPen_GetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5204 PyObject
* _resultobj
;
5207 PyObject
* _argo0
= 0;
5208 char *_kwnames
[] = { "self", NULL
};
5211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetJoin",_kwnames
,&_argo0
))
5214 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5215 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetJoin. Expected _wxPen_p.");
5221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5222 _result
= (int )wxPen_GetJoin(_arg0
);
5224 wxPyEndAllowThreads(__tstate
);
5225 if (PyErr_Occurred()) return NULL
;
5226 } _resultobj
= Py_BuildValue("i",_result
);
5230 #define wxPen_GetStyle(_swigobj) (_swigobj->GetStyle())
5231 static PyObject
*_wrap_wxPen_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5232 PyObject
* _resultobj
;
5235 PyObject
* _argo0
= 0;
5236 char *_kwnames
[] = { "self", NULL
};
5239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetStyle",_kwnames
,&_argo0
))
5242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetStyle. Expected _wxPen_p.");
5249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5250 _result
= (int )wxPen_GetStyle(_arg0
);
5252 wxPyEndAllowThreads(__tstate
);
5253 if (PyErr_Occurred()) return NULL
;
5254 } _resultobj
= Py_BuildValue("i",_result
);
5258 #define wxPen_GetWidth(_swigobj) (_swigobj->GetWidth())
5259 static PyObject
*_wrap_wxPen_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5260 PyObject
* _resultobj
;
5263 PyObject
* _argo0
= 0;
5264 char *_kwnames
[] = { "self", NULL
};
5267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetWidth",_kwnames
,&_argo0
))
5270 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5271 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetWidth. Expected _wxPen_p.");
5277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5278 _result
= (int )wxPen_GetWidth(_arg0
);
5280 wxPyEndAllowThreads(__tstate
);
5281 if (PyErr_Occurred()) return NULL
;
5282 } _resultobj
= Py_BuildValue("i",_result
);
5286 #define wxPen_Ok(_swigobj) (_swigobj->Ok())
5287 static PyObject
*_wrap_wxPen_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5288 PyObject
* _resultobj
;
5291 PyObject
* _argo0
= 0;
5292 char *_kwnames
[] = { "self", NULL
};
5295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_Ok",_kwnames
,&_argo0
))
5298 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5299 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_Ok. Expected _wxPen_p.");
5305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5306 _result
= (bool )wxPen_Ok(_arg0
);
5308 wxPyEndAllowThreads(__tstate
);
5309 if (PyErr_Occurred()) return NULL
;
5310 } _resultobj
= Py_BuildValue("i",_result
);
5314 #define wxPen_SetCap(_swigobj,_swigarg0) (_swigobj->SetCap(_swigarg0))
5315 static PyObject
*_wrap_wxPen_SetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5316 PyObject
* _resultobj
;
5319 PyObject
* _argo0
= 0;
5320 char *_kwnames
[] = { "self","cap_style", NULL
};
5323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetCap",_kwnames
,&_argo0
,&_arg1
))
5326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetCap. Expected _wxPen_p.");
5333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5334 wxPen_SetCap(_arg0
,_arg1
);
5336 wxPyEndAllowThreads(__tstate
);
5337 if (PyErr_Occurred()) return NULL
;
5338 } Py_INCREF(Py_None
);
5339 _resultobj
= Py_None
;
5343 #define wxPen_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
5344 static PyObject
*_wrap_wxPen_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5345 PyObject
* _resultobj
;
5348 PyObject
* _argo0
= 0;
5350 PyObject
* _obj1
= 0;
5351 char *_kwnames
[] = { "self","colour", NULL
};
5354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_SetColour",_kwnames
,&_argo0
,&_obj1
))
5357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetColour. Expected _wxPen_p.");
5365 if (! wxColour_helper(_obj1
, &_arg1
))
5369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5370 wxPen_SetColour(_arg0
,*_arg1
);
5372 wxPyEndAllowThreads(__tstate
);
5373 if (PyErr_Occurred()) return NULL
;
5374 } Py_INCREF(Py_None
);
5375 _resultobj
= Py_None
;
5379 #define wxPen_SetJoin(_swigobj,_swigarg0) (_swigobj->SetJoin(_swigarg0))
5380 static PyObject
*_wrap_wxPen_SetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5381 PyObject
* _resultobj
;
5384 PyObject
* _argo0
= 0;
5385 char *_kwnames
[] = { "self","join_style", NULL
};
5388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetJoin",_kwnames
,&_argo0
,&_arg1
))
5391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetJoin. Expected _wxPen_p.");
5398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5399 wxPen_SetJoin(_arg0
,_arg1
);
5401 wxPyEndAllowThreads(__tstate
);
5402 if (PyErr_Occurred()) return NULL
;
5403 } Py_INCREF(Py_None
);
5404 _resultobj
= Py_None
;
5408 #define wxPen_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
5409 static PyObject
*_wrap_wxPen_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5410 PyObject
* _resultobj
;
5413 PyObject
* _argo0
= 0;
5414 char *_kwnames
[] = { "self","style", NULL
};
5417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetStyle",_kwnames
,&_argo0
,&_arg1
))
5420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetStyle. Expected _wxPen_p.");
5427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5428 wxPen_SetStyle(_arg0
,_arg1
);
5430 wxPyEndAllowThreads(__tstate
);
5431 if (PyErr_Occurred()) return NULL
;
5432 } Py_INCREF(Py_None
);
5433 _resultobj
= Py_None
;
5437 #define wxPen_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
5438 static PyObject
*_wrap_wxPen_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5439 PyObject
* _resultobj
;
5442 PyObject
* _argo0
= 0;
5443 char *_kwnames
[] = { "self","width", NULL
};
5446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetWidth",_kwnames
,&_argo0
,&_arg1
))
5449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetWidth. Expected _wxPen_p.");
5456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5457 wxPen_SetWidth(_arg0
,_arg1
);
5459 wxPyEndAllowThreads(__tstate
);
5460 if (PyErr_Occurred()) return NULL
;
5461 } Py_INCREF(Py_None
);
5462 _resultobj
= Py_None
;
5466 #define wxPen_SetDashes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDashes(_swigarg0,_swigarg1))
5467 static PyObject
*_wrap_wxPen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5468 PyObject
* _resultobj
;
5472 PyObject
* _argo0
= 0;
5473 PyObject
* _obj2
= 0;
5474 char *_kwnames
[] = { "self","choices", NULL
};
5477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_SetDashes",_kwnames
,&_argo0
,&_obj2
))
5480 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5481 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetDashes. Expected _wxPen_p.");
5488 _arg2
= (wxDash
*)byte_LIST_helper(_obj2
);
5489 if (_arg2
== NULL
) {
5495 _arg1
= PyList_Size(_obj2
);
5502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5503 wxPen_SetDashes(_arg0
,_arg1
,_arg2
);
5505 wxPyEndAllowThreads(__tstate
);
5506 if (PyErr_Occurred()) return NULL
;
5507 } Py_INCREF(Py_None
);
5508 _resultobj
= Py_None
;
5515 static void *SwigwxPyPenTowxPen(void *ptr
) {
5518 src
= (wxPyPen
*) ptr
;
5519 dest
= (wxPen
*) src
;
5520 return (void *) dest
;
5523 static void *SwigwxPyPenTowxGDIObject(void *ptr
) {
5526 src
= (wxPyPen
*) ptr
;
5527 dest
= (wxGDIObject
*) src
;
5528 return (void *) dest
;
5531 static void *SwigwxPyPenTowxObject(void *ptr
) {
5534 src
= (wxPyPen
*) ptr
;
5535 dest
= (wxObject
*) src
;
5536 return (void *) dest
;
5539 #define new_wxPyPen(_swigarg0,_swigarg1,_swigarg2) (new wxPyPen(_swigarg0,_swigarg1,_swigarg2))
5540 static PyObject
*_wrap_new_wxPyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5541 PyObject
* _resultobj
;
5544 int _arg1
= (int ) 1;
5545 int _arg2
= (int ) wxSOLID
;
5547 PyObject
* _obj0
= 0;
5548 char *_kwnames
[] = { "colour","width","style", NULL
};
5552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:new_wxPyPen",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
5556 if (! wxColour_helper(_obj0
, &_arg0
))
5560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5561 _result
= (wxPyPen
*)new_wxPyPen(*_arg0
,_arg1
,_arg2
);
5563 wxPyEndAllowThreads(__tstate
);
5564 if (PyErr_Occurred()) return NULL
;
5566 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPen_p");
5567 _resultobj
= Py_BuildValue("s",_ptemp
);
5570 _resultobj
= Py_None
;
5575 #define delete_wxPyPen(_swigobj) (delete _swigobj)
5576 static PyObject
*_wrap_delete_wxPyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5577 PyObject
* _resultobj
;
5579 PyObject
* _argo0
= 0;
5580 char *_kwnames
[] = { "self", NULL
};
5583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyPen",_kwnames
,&_argo0
))
5586 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5587 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPen_p")) {
5588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyPen. Expected _wxPyPen_p.");
5593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5594 delete_wxPyPen(_arg0
);
5596 wxPyEndAllowThreads(__tstate
);
5597 if (PyErr_Occurred()) return NULL
;
5598 } Py_INCREF(Py_None
);
5599 _resultobj
= Py_None
;
5603 #define wxPyPen_SetDashes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDashes(_swigarg0,_swigarg1))
5604 static PyObject
*_wrap_wxPyPen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5605 PyObject
* _resultobj
;
5609 PyObject
* _argo0
= 0;
5610 PyObject
* _obj2
= 0;
5611 char *_kwnames
[] = { "self","choices", NULL
};
5614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyPen_SetDashes",_kwnames
,&_argo0
,&_obj2
))
5617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPen_p")) {
5619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPen_SetDashes. Expected _wxPyPen_p.");
5625 _arg2
= (wxDash
*)byte_LIST_helper(_obj2
);
5626 if (_arg2
== NULL
) {
5632 _arg1
= PyList_Size(_obj2
);
5639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5640 wxPyPen_SetDashes(_arg0
,_arg1
,_arg2
);
5642 wxPyEndAllowThreads(__tstate
);
5643 if (PyErr_Occurred()) return NULL
;
5644 } Py_INCREF(Py_None
);
5645 _resultobj
= Py_None
;
5652 static void *SwigwxPenListTowxObject(void *ptr
) {
5655 src
= (wxPenList
*) ptr
;
5656 dest
= (wxObject
*) src
;
5657 return (void *) dest
;
5660 #define wxPenList_AddPen(_swigobj,_swigarg0) (_swigobj->AddPen(_swigarg0))
5661 static PyObject
*_wrap_wxPenList_AddPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5662 PyObject
* _resultobj
;
5665 PyObject
* _argo0
= 0;
5666 PyObject
* _argo1
= 0;
5667 char *_kwnames
[] = { "self","pen", NULL
};
5670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPenList_AddPen",_kwnames
,&_argo0
,&_argo1
))
5673 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5674 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
5675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_AddPen. Expected _wxPenList_p.");
5680 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5681 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
5682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPenList_AddPen. Expected _wxPen_p.");
5687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5688 wxPenList_AddPen(_arg0
,_arg1
);
5690 wxPyEndAllowThreads(__tstate
);
5691 if (PyErr_Occurred()) return NULL
;
5692 } Py_INCREF(Py_None
);
5693 _resultobj
= Py_None
;
5697 #define wxPenList_FindOrCreatePen(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindOrCreatePen(_swigarg0,_swigarg1,_swigarg2))
5698 static PyObject
*_wrap_wxPenList_FindOrCreatePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5699 PyObject
* _resultobj
;
5705 PyObject
* _argo0
= 0;
5707 PyObject
* _obj1
= 0;
5708 char *_kwnames
[] = { "self","colour","width","style", NULL
};
5712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxPenList_FindOrCreatePen",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
))
5715 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5716 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
5717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_FindOrCreatePen. Expected _wxPenList_p.");
5723 if (! wxColour_helper(_obj1
, &_arg1
))
5727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5728 _result
= (wxPen
*)wxPenList_FindOrCreatePen(_arg0
,*_arg1
,_arg2
,_arg3
);
5730 wxPyEndAllowThreads(__tstate
);
5731 if (PyErr_Occurred()) return NULL
;
5733 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
5734 _resultobj
= Py_BuildValue("s",_ptemp
);
5737 _resultobj
= Py_None
;
5742 #define wxPenList_RemovePen(_swigobj,_swigarg0) (_swigobj->RemovePen(_swigarg0))
5743 static PyObject
*_wrap_wxPenList_RemovePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5744 PyObject
* _resultobj
;
5747 PyObject
* _argo0
= 0;
5748 PyObject
* _argo1
= 0;
5749 char *_kwnames
[] = { "self","pen", NULL
};
5752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPenList_RemovePen",_kwnames
,&_argo0
,&_argo1
))
5755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
5757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_RemovePen. Expected _wxPenList_p.");
5762 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5763 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
5764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPenList_RemovePen. Expected _wxPen_p.");
5769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5770 wxPenList_RemovePen(_arg0
,_arg1
);
5772 wxPyEndAllowThreads(__tstate
);
5773 if (PyErr_Occurred()) return NULL
;
5774 } Py_INCREF(Py_None
);
5775 _resultobj
= Py_None
;
5779 #define wxPenList_GetCount(_swigobj) (_swigobj->GetCount())
5780 static PyObject
*_wrap_wxPenList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5781 PyObject
* _resultobj
;
5784 PyObject
* _argo0
= 0;
5785 char *_kwnames
[] = { "self", NULL
};
5788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPenList_GetCount",_kwnames
,&_argo0
))
5791 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5792 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
5793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_GetCount. Expected _wxPenList_p.");
5798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5799 _result
= (int )wxPenList_GetCount(_arg0
);
5801 wxPyEndAllowThreads(__tstate
);
5802 if (PyErr_Occurred()) return NULL
;
5803 } _resultobj
= Py_BuildValue("i",_result
);
5807 static void *SwigwxBrushTowxGDIObject(void *ptr
) {
5810 src
= (wxBrush
*) ptr
;
5811 dest
= (wxGDIObject
*) src
;
5812 return (void *) dest
;
5815 static void *SwigwxBrushTowxObject(void *ptr
) {
5818 src
= (wxBrush
*) ptr
;
5819 dest
= (wxObject
*) src
;
5820 return (void *) dest
;
5823 #define new_wxBrush(_swigarg0,_swigarg1) (new wxBrush(_swigarg0,_swigarg1))
5824 static PyObject
*_wrap_new_wxBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5825 PyObject
* _resultobj
;
5828 int _arg1
= (int ) wxSOLID
;
5830 PyObject
* _obj0
= 0;
5831 char *_kwnames
[] = { "colour","style", NULL
};
5835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxBrush",_kwnames
,&_obj0
,&_arg1
))
5839 if (! wxColour_helper(_obj0
, &_arg0
))
5843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5844 _result
= (wxBrush
*)new_wxBrush(*_arg0
,_arg1
);
5846 wxPyEndAllowThreads(__tstate
);
5847 if (PyErr_Occurred()) return NULL
;
5849 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
5850 _resultobj
= Py_BuildValue("s",_ptemp
);
5853 _resultobj
= Py_None
;
5858 #define delete_wxBrush(_swigobj) (delete _swigobj)
5859 static PyObject
*_wrap_delete_wxBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5860 PyObject
* _resultobj
;
5862 PyObject
* _argo0
= 0;
5863 char *_kwnames
[] = { "self", NULL
};
5866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBrush",_kwnames
,&_argo0
))
5869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
5871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBrush. Expected _wxBrush_p.");
5876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5877 delete_wxBrush(_arg0
);
5879 wxPyEndAllowThreads(__tstate
);
5880 if (PyErr_Occurred()) return NULL
;
5881 } Py_INCREF(Py_None
);
5882 _resultobj
= Py_None
;
5886 #define wxBrush_GetColour(_swigobj) (_swigobj->GetColour())
5887 static PyObject
*_wrap_wxBrush_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5888 PyObject
* _resultobj
;
5891 PyObject
* _argo0
= 0;
5892 char *_kwnames
[] = { "self", NULL
};
5896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetColour",_kwnames
,&_argo0
))
5899 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5900 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
5901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetColour. Expected _wxBrush_p.");
5906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5907 _result
= new wxColour (wxBrush_GetColour(_arg0
));
5909 wxPyEndAllowThreads(__tstate
);
5910 if (PyErr_Occurred()) return NULL
;
5911 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
5912 _resultobj
= Py_BuildValue("s",_ptemp
);
5916 #define wxBrush_GetStipple(_swigobj) (_swigobj->GetStipple())
5917 static PyObject
*_wrap_wxBrush_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5918 PyObject
* _resultobj
;
5921 PyObject
* _argo0
= 0;
5922 char *_kwnames
[] = { "self", NULL
};
5926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetStipple",_kwnames
,&_argo0
))
5929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
5931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStipple. Expected _wxBrush_p.");
5936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5937 _result
= (wxBitmap
*)wxBrush_GetStipple(_arg0
);
5939 wxPyEndAllowThreads(__tstate
);
5940 if (PyErr_Occurred()) return NULL
;
5942 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
5943 _resultobj
= Py_BuildValue("s",_ptemp
);
5946 _resultobj
= Py_None
;
5951 #define wxBrush_GetStyle(_swigobj) (_swigobj->GetStyle())
5952 static PyObject
*_wrap_wxBrush_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5953 PyObject
* _resultobj
;
5956 PyObject
* _argo0
= 0;
5957 char *_kwnames
[] = { "self", NULL
};
5960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetStyle",_kwnames
,&_argo0
))
5963 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5964 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
5965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStyle. Expected _wxBrush_p.");
5970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5971 _result
= (int )wxBrush_GetStyle(_arg0
);
5973 wxPyEndAllowThreads(__tstate
);
5974 if (PyErr_Occurred()) return NULL
;
5975 } _resultobj
= Py_BuildValue("i",_result
);
5979 #define wxBrush_Ok(_swigobj) (_swigobj->Ok())
5980 static PyObject
*_wrap_wxBrush_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5981 PyObject
* _resultobj
;
5984 PyObject
* _argo0
= 0;
5985 char *_kwnames
[] = { "self", NULL
};
5988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_Ok",_kwnames
,&_argo0
))
5991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
5993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_Ok. Expected _wxBrush_p.");
5998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5999 _result
= (bool )wxBrush_Ok(_arg0
);
6001 wxPyEndAllowThreads(__tstate
);
6002 if (PyErr_Occurred()) return NULL
;
6003 } _resultobj
= Py_BuildValue("i",_result
);
6007 #define wxBrush_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
6008 static PyObject
*_wrap_wxBrush_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6009 PyObject
* _resultobj
;
6012 PyObject
* _argo0
= 0;
6014 PyObject
* _obj1
= 0;
6015 char *_kwnames
[] = { "self","colour", NULL
};
6018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrush_SetColour",_kwnames
,&_argo0
,&_obj1
))
6021 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6022 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
6023 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetColour. Expected _wxBrush_p.");
6029 if (! wxColour_helper(_obj1
, &_arg1
))
6033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6034 wxBrush_SetColour(_arg0
,*_arg1
);
6036 wxPyEndAllowThreads(__tstate
);
6037 if (PyErr_Occurred()) return NULL
;
6038 } Py_INCREF(Py_None
);
6039 _resultobj
= Py_None
;
6043 #define wxBrush_SetStipple(_swigobj,_swigarg0) (_swigobj->SetStipple(_swigarg0))
6044 static PyObject
*_wrap_wxBrush_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6045 PyObject
* _resultobj
;
6048 PyObject
* _argo0
= 0;
6049 PyObject
* _argo1
= 0;
6050 char *_kwnames
[] = { "self","bitmap", NULL
};
6053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrush_SetStipple",_kwnames
,&_argo0
,&_argo1
))
6056 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6057 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
6058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStipple. Expected _wxBrush_p.");
6063 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6064 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
6065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrush_SetStipple. Expected _wxBitmap_p.");
6070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6071 wxBrush_SetStipple(_arg0
,*_arg1
);
6073 wxPyEndAllowThreads(__tstate
);
6074 if (PyErr_Occurred()) return NULL
;
6075 } Py_INCREF(Py_None
);
6076 _resultobj
= Py_None
;
6080 #define wxBrush_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
6081 static PyObject
*_wrap_wxBrush_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6082 PyObject
* _resultobj
;
6085 PyObject
* _argo0
= 0;
6086 char *_kwnames
[] = { "self","style", NULL
};
6089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBrush_SetStyle",_kwnames
,&_argo0
,&_arg1
))
6092 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6093 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
6094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStyle. Expected _wxBrush_p.");
6099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6100 wxBrush_SetStyle(_arg0
,_arg1
);
6102 wxPyEndAllowThreads(__tstate
);
6103 if (PyErr_Occurred()) return NULL
;
6104 } Py_INCREF(Py_None
);
6105 _resultobj
= Py_None
;
6109 static void *SwigwxBrushListTowxObject(void *ptr
) {
6112 src
= (wxBrushList
*) ptr
;
6113 dest
= (wxObject
*) src
;
6114 return (void *) dest
;
6117 #define wxBrushList_AddBrush(_swigobj,_swigarg0) (_swigobj->AddBrush(_swigarg0))
6118 static PyObject
*_wrap_wxBrushList_AddBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6119 PyObject
* _resultobj
;
6120 wxBrushList
* _arg0
;
6122 PyObject
* _argo0
= 0;
6123 PyObject
* _argo1
= 0;
6124 char *_kwnames
[] = { "self","brush", NULL
};
6127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrushList_AddBrush",_kwnames
,&_argo0
,&_argo1
))
6130 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6131 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
6132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_AddBrush. Expected _wxBrushList_p.");
6137 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6138 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
6139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrushList_AddBrush. Expected _wxBrush_p.");
6144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6145 wxBrushList_AddBrush(_arg0
,_arg1
);
6147 wxPyEndAllowThreads(__tstate
);
6148 if (PyErr_Occurred()) return NULL
;
6149 } Py_INCREF(Py_None
);
6150 _resultobj
= Py_None
;
6154 #define wxBrushList_FindOrCreateBrush(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindOrCreateBrush(_swigarg0,_swigarg1))
6155 static PyObject
*_wrap_wxBrushList_FindOrCreateBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6156 PyObject
* _resultobj
;
6158 wxBrushList
* _arg0
;
6161 PyObject
* _argo0
= 0;
6163 PyObject
* _obj1
= 0;
6164 char *_kwnames
[] = { "self","colour","style", NULL
};
6168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxBrushList_FindOrCreateBrush",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
6171 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6172 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
6173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_FindOrCreateBrush. Expected _wxBrushList_p.");
6179 if (! wxColour_helper(_obj1
, &_arg1
))
6183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6184 _result
= (wxBrush
*)wxBrushList_FindOrCreateBrush(_arg0
,*_arg1
,_arg2
);
6186 wxPyEndAllowThreads(__tstate
);
6187 if (PyErr_Occurred()) return NULL
;
6189 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
6190 _resultobj
= Py_BuildValue("s",_ptemp
);
6193 _resultobj
= Py_None
;
6198 #define wxBrushList_RemoveBrush(_swigobj,_swigarg0) (_swigobj->RemoveBrush(_swigarg0))
6199 static PyObject
*_wrap_wxBrushList_RemoveBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6200 PyObject
* _resultobj
;
6201 wxBrushList
* _arg0
;
6203 PyObject
* _argo0
= 0;
6204 PyObject
* _argo1
= 0;
6205 char *_kwnames
[] = { "self","brush", NULL
};
6208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrushList_RemoveBrush",_kwnames
,&_argo0
,&_argo1
))
6211 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6212 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
6213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_RemoveBrush. Expected _wxBrushList_p.");
6218 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6219 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
6220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrushList_RemoveBrush. Expected _wxBrush_p.");
6225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6226 wxBrushList_RemoveBrush(_arg0
,_arg1
);
6228 wxPyEndAllowThreads(__tstate
);
6229 if (PyErr_Occurred()) return NULL
;
6230 } Py_INCREF(Py_None
);
6231 _resultobj
= Py_None
;
6235 #define wxBrushList_GetCount(_swigobj) (_swigobj->GetCount())
6236 static PyObject
*_wrap_wxBrushList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6237 PyObject
* _resultobj
;
6239 wxBrushList
* _arg0
;
6240 PyObject
* _argo0
= 0;
6241 char *_kwnames
[] = { "self", NULL
};
6244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrushList_GetCount",_kwnames
,&_argo0
))
6247 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6248 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
6249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_GetCount. Expected _wxBrushList_p.");
6254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6255 _result
= (int )wxBrushList_GetCount(_arg0
);
6257 wxPyEndAllowThreads(__tstate
);
6258 if (PyErr_Occurred()) return NULL
;
6259 } _resultobj
= Py_BuildValue("i",_result
);
6263 static void *SwigwxDCTowxObject(void *ptr
) {
6267 dest
= (wxObject
*) src
;
6268 return (void *) dest
;
6271 #define delete_wxDC(_swigobj) (delete _swigobj)
6272 static PyObject
*_wrap_delete_wxDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6273 PyObject
* _resultobj
;
6275 PyObject
* _argo0
= 0;
6276 char *_kwnames
[] = { "self", NULL
};
6279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDC",_kwnames
,&_argo0
))
6282 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6283 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDC. Expected _wxDC_p.");
6289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6292 wxPyEndAllowThreads(__tstate
);
6293 if (PyErr_Occurred()) return NULL
;
6294 } Py_INCREF(Py_None
);
6295 _resultobj
= Py_None
;
6299 #define wxDC_BeginDrawing(_swigobj) (_swigobj->BeginDrawing())
6300 static PyObject
*_wrap_wxDC_BeginDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6301 PyObject
* _resultobj
;
6303 PyObject
* _argo0
= 0;
6304 char *_kwnames
[] = { "self", NULL
};
6307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_BeginDrawing",_kwnames
,&_argo0
))
6310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_BeginDrawing. Expected _wxDC_p.");
6317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6318 wxDC_BeginDrawing(_arg0
);
6320 wxPyEndAllowThreads(__tstate
);
6321 if (PyErr_Occurred()) return NULL
;
6322 } Py_INCREF(Py_None
);
6323 _resultobj
= Py_None
;
6327 #define wxDC_Blit(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Blit(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
6328 static PyObject
*_wrap_wxDC_Blit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6329 PyObject
* _resultobj
;
6339 int _arg8
= (int ) wxCOPY
;
6340 int _arg9
= (int ) FALSE
;
6341 PyObject
* _argo0
= 0;
6342 PyObject
* _argo5
= 0;
6343 char *_kwnames
[] = { "self","xdest","ydest","width","height","source","xsrc","ysrc","logicalFunc","useMask", NULL
};
6346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllllOll|ii:wxDC_Blit",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_argo5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
))
6349 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6350 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Blit. Expected _wxDC_p.");
6356 if (_argo5
== Py_None
) { _arg5
= NULL
; }
6357 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxDC_p")) {
6358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxDC_Blit. Expected _wxDC_p.");
6363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6364 _result
= (bool )wxDC_Blit(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
6366 wxPyEndAllowThreads(__tstate
);
6367 if (PyErr_Occurred()) return NULL
;
6368 } _resultobj
= Py_BuildValue("i",_result
);
6372 #define wxDC_Clear(_swigobj) (_swigobj->Clear())
6373 static PyObject
*_wrap_wxDC_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6374 PyObject
* _resultobj
;
6376 PyObject
* _argo0
= 0;
6377 char *_kwnames
[] = { "self", NULL
};
6380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_Clear",_kwnames
,&_argo0
))
6383 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6384 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Clear. Expected _wxDC_p.");
6390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6393 wxPyEndAllowThreads(__tstate
);
6394 if (PyErr_Occurred()) return NULL
;
6395 } Py_INCREF(Py_None
);
6396 _resultobj
= Py_None
;
6400 #define wxDC_CrossHair(_swigobj,_swigarg0,_swigarg1) (_swigobj->CrossHair(_swigarg0,_swigarg1))
6401 static PyObject
*_wrap_wxDC_CrossHair(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6402 PyObject
* _resultobj
;
6406 PyObject
* _argo0
= 0;
6407 char *_kwnames
[] = { "self","x","y", NULL
};
6410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_CrossHair",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CrossHair. Expected _wxDC_p.");
6420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6421 wxDC_CrossHair(_arg0
,_arg1
,_arg2
);
6423 wxPyEndAllowThreads(__tstate
);
6424 if (PyErr_Occurred()) return NULL
;
6425 } Py_INCREF(Py_None
);
6426 _resultobj
= Py_None
;
6430 #define wxDC_DestroyClippingRegion(_swigobj) (_swigobj->DestroyClippingRegion())
6431 static PyObject
*_wrap_wxDC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6432 PyObject
* _resultobj
;
6434 PyObject
* _argo0
= 0;
6435 char *_kwnames
[] = { "self", NULL
};
6438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_DestroyClippingRegion",_kwnames
,&_argo0
))
6441 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6442 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6443 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DestroyClippingRegion. Expected _wxDC_p.");
6448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6449 wxDC_DestroyClippingRegion(_arg0
);
6451 wxPyEndAllowThreads(__tstate
);
6452 if (PyErr_Occurred()) return NULL
;
6453 } Py_INCREF(Py_None
);
6454 _resultobj
= Py_None
;
6458 #define wxDC_DeviceToLogicalX(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalX(_swigarg0))
6459 static PyObject
*_wrap_wxDC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6460 PyObject
* _resultobj
;
6464 PyObject
* _argo0
= 0;
6465 char *_kwnames
[] = { "self","x", NULL
};
6468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalX",_kwnames
,&_argo0
,&_arg1
))
6471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalX. Expected _wxDC_p.");
6478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6479 _result
= (long )wxDC_DeviceToLogicalX(_arg0
,_arg1
);
6481 wxPyEndAllowThreads(__tstate
);
6482 if (PyErr_Occurred()) return NULL
;
6483 } _resultobj
= Py_BuildValue("l",_result
);
6487 #define wxDC_DeviceToLogicalXRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalXRel(_swigarg0))
6488 static PyObject
*_wrap_wxDC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6489 PyObject
* _resultobj
;
6493 PyObject
* _argo0
= 0;
6494 char *_kwnames
[] = { "self","x", NULL
};
6497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalXRel",_kwnames
,&_argo0
,&_arg1
))
6500 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6501 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalXRel. Expected _wxDC_p.");
6507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6508 _result
= (long )wxDC_DeviceToLogicalXRel(_arg0
,_arg1
);
6510 wxPyEndAllowThreads(__tstate
);
6511 if (PyErr_Occurred()) return NULL
;
6512 } _resultobj
= Py_BuildValue("l",_result
);
6516 #define wxDC_DeviceToLogicalY(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalY(_swigarg0))
6517 static PyObject
*_wrap_wxDC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6518 PyObject
* _resultobj
;
6522 PyObject
* _argo0
= 0;
6523 char *_kwnames
[] = { "self","y", NULL
};
6526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalY",_kwnames
,&_argo0
,&_arg1
))
6529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalY. Expected _wxDC_p.");
6536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6537 _result
= (long )wxDC_DeviceToLogicalY(_arg0
,_arg1
);
6539 wxPyEndAllowThreads(__tstate
);
6540 if (PyErr_Occurred()) return NULL
;
6541 } _resultobj
= Py_BuildValue("l",_result
);
6545 #define wxDC_DeviceToLogicalYRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalYRel(_swigarg0))
6546 static PyObject
*_wrap_wxDC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6547 PyObject
* _resultobj
;
6551 PyObject
* _argo0
= 0;
6552 char *_kwnames
[] = { "self","y", NULL
};
6555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalYRel",_kwnames
,&_argo0
,&_arg1
))
6558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalYRel. Expected _wxDC_p.");
6565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6566 _result
= (long )wxDC_DeviceToLogicalYRel(_arg0
,_arg1
);
6568 wxPyEndAllowThreads(__tstate
);
6569 if (PyErr_Occurred()) return NULL
;
6570 } _resultobj
= Py_BuildValue("l",_result
);
6574 #define wxDC_DrawArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6575 static PyObject
*_wrap_wxDC_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6576 PyObject
* _resultobj
;
6584 PyObject
* _argo0
= 0;
6585 char *_kwnames
[] = { "self","x1","y1","x2","y2","xc","yc", NULL
};
6588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollllll:wxDC_DrawArc",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
6591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawArc. Expected _wxDC_p.");
6598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6599 wxDC_DrawArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
6601 wxPyEndAllowThreads(__tstate
);
6602 if (PyErr_Occurred()) return NULL
;
6603 } Py_INCREF(Py_None
);
6604 _resultobj
= Py_None
;
6608 #define wxDC_DrawCircle(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawCircle(_swigarg0,_swigarg1,_swigarg2))
6609 static PyObject
*_wrap_wxDC_DrawCircle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6610 PyObject
* _resultobj
;
6615 PyObject
* _argo0
= 0;
6616 char *_kwnames
[] = { "self","x","y","radius", NULL
};
6619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olll:wxDC_DrawCircle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
6622 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6623 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawCircle. Expected _wxDC_p.");
6629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6630 wxDC_DrawCircle(_arg0
,_arg1
,_arg2
,_arg3
);
6632 wxPyEndAllowThreads(__tstate
);
6633 if (PyErr_Occurred()) return NULL
;
6634 } Py_INCREF(Py_None
);
6635 _resultobj
= Py_None
;
6639 #define wxDC_DrawEllipse(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawEllipse(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6640 static PyObject
*_wrap_wxDC_DrawEllipse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6641 PyObject
* _resultobj
;
6647 PyObject
* _argo0
= 0;
6648 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
6651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_DrawEllipse",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
6654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipse. Expected _wxDC_p.");
6661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6662 wxDC_DrawEllipse(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6664 wxPyEndAllowThreads(__tstate
);
6665 if (PyErr_Occurred()) return NULL
;
6666 } Py_INCREF(Py_None
);
6667 _resultobj
= Py_None
;
6671 #define wxDC_DrawEllipticArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawEllipticArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6672 static PyObject
*_wrap_wxDC_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6673 PyObject
* _resultobj
;
6681 PyObject
* _argo0
= 0;
6682 char *_kwnames
[] = { "self","x","y","width","height","start","end", NULL
};
6685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollllll:wxDC_DrawEllipticArc",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
6688 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6689 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipticArc. Expected _wxDC_p.");
6695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6696 wxDC_DrawEllipticArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
6698 wxPyEndAllowThreads(__tstate
);
6699 if (PyErr_Occurred()) return NULL
;
6700 } Py_INCREF(Py_None
);
6701 _resultobj
= Py_None
;
6705 #define wxDC_DrawIcon(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawIcon(_swigarg0,_swigarg1,_swigarg2))
6706 static PyObject
*_wrap_wxDC_DrawIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6707 PyObject
* _resultobj
;
6712 PyObject
* _argo0
= 0;
6713 PyObject
* _argo1
= 0;
6714 char *_kwnames
[] = { "self","icon","x","y", NULL
};
6717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOll:wxDC_DrawIcon",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
6720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawIcon. Expected _wxDC_p.");
6727 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6728 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
6729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawIcon. Expected _wxIcon_p.");
6734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6735 wxDC_DrawIcon(_arg0
,*_arg1
,_arg2
,_arg3
);
6737 wxPyEndAllowThreads(__tstate
);
6738 if (PyErr_Occurred()) return NULL
;
6739 } Py_INCREF(Py_None
);
6740 _resultobj
= Py_None
;
6744 #define wxDC_DrawLabel(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLabel(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6745 static PyObject
*_wrap_wxDC_DrawLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6746 PyObject
* _resultobj
;
6750 int _arg3
= (int ) wxALIGN_LEFT
|wxALIGN_TOP
;
6751 int _arg4
= (int ) -1;
6752 PyObject
* _argo0
= 0;
6753 PyObject
* _obj1
= 0;
6755 PyObject
* _obj2
= 0;
6756 char *_kwnames
[] = { "self","text","rect","alignment","indexAccel", NULL
};
6759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|ii:wxDC_DrawLabel",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_arg3
,&_arg4
))
6762 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6763 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLabel. Expected _wxDC_p.");
6769 _arg1
= wxString_in_helper(_obj1
);
6775 if (! wxRect_helper(_obj2
, &_arg2
))
6779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6780 wxDC_DrawLabel(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
6782 wxPyEndAllowThreads(__tstate
);
6783 if (PyErr_Occurred()) return NULL
;
6784 } Py_INCREF(Py_None
);
6785 _resultobj
= Py_None
;
6793 static wxRect
wxDC_DrawImageLabel(wxDC
*self
,const wxString
& text
,const wxBitmap
& image
,const wxRect
& rect
,int alignment
,int indexAccel
) {
6795 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
6798 static PyObject
*_wrap_wxDC_DrawImageLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6799 PyObject
* _resultobj
;
6805 int _arg4
= (int ) wxALIGN_LEFT
|wxALIGN_TOP
;
6806 int _arg5
= (int ) -1;
6807 PyObject
* _argo0
= 0;
6808 PyObject
* _obj1
= 0;
6809 PyObject
* _argo2
= 0;
6811 PyObject
* _obj3
= 0;
6812 char *_kwnames
[] = { "self","text","image","rect","alignment","indexAccel", NULL
};
6816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|ii:wxDC_DrawImageLabel",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_obj3
,&_arg4
,&_arg5
))
6819 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6820 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawImageLabel. Expected _wxDC_p.");
6826 _arg1
= wxString_in_helper(_obj1
);
6831 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6832 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
6833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDC_DrawImageLabel. Expected _wxBitmap_p.");
6839 if (! wxRect_helper(_obj3
, &_arg3
))
6843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6844 _result
= new wxRect (wxDC_DrawImageLabel(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
));
6846 wxPyEndAllowThreads(__tstate
);
6847 if (PyErr_Occurred()) return NULL
;
6848 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
6849 _resultobj
= Py_BuildValue("s",_ptemp
);
6857 #define wxDC_DrawLine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6858 static PyObject
*_wrap_wxDC_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6859 PyObject
* _resultobj
;
6865 PyObject
* _argo0
= 0;
6866 char *_kwnames
[] = { "self","x1","y1","x2","y2", NULL
};
6869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_DrawLine",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
6872 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6873 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLine. Expected _wxDC_p.");
6879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6880 wxDC_DrawLine(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6882 wxPyEndAllowThreads(__tstate
);
6883 if (PyErr_Occurred()) return NULL
;
6884 } Py_INCREF(Py_None
);
6885 _resultobj
= Py_None
;
6889 #define wxDC_DrawLines(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLines(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6890 static PyObject
*_wrap_wxDC_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6891 PyObject
* _resultobj
;
6895 long _arg3
= (long ) 0;
6896 long _arg4
= (long ) 0;
6897 PyObject
* _argo0
= 0;
6899 PyObject
* _obj2
= 0;
6900 char *_kwnames
[] = { "self","points","xoffset","yoffset", NULL
};
6903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ll:wxDC_DrawLines",_kwnames
,&_argo0
,&_obj2
,&_arg3
,&_arg4
))
6906 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6907 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6908 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLines. Expected _wxDC_p.");
6914 _arg2
= wxPoint_LIST_helper(_obj2
, &NPOINTS
);
6915 if (_arg2
== NULL
) {
6923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6924 wxDC_DrawLines(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6926 wxPyEndAllowThreads(__tstate
);
6927 if (PyErr_Occurred()) return NULL
;
6928 } Py_INCREF(Py_None
);
6929 _resultobj
= Py_None
;
6936 #define wxDC_DrawPolygon(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawPolygon(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6937 static PyObject
*_wrap_wxDC_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6938 PyObject
* _resultobj
;
6942 long _arg3
= (long ) 0;
6943 long _arg4
= (long ) 0;
6944 int _arg5
= (int ) wxODDEVEN_RULE
;
6945 PyObject
* _argo0
= 0;
6947 PyObject
* _obj2
= 0;
6948 char *_kwnames
[] = { "self","points","xoffset","yoffset","fill_style", NULL
};
6951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|lli:wxDC_DrawPolygon",_kwnames
,&_argo0
,&_obj2
,&_arg3
,&_arg4
,&_arg5
))
6954 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6955 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPolygon. Expected _wxDC_p.");
6962 _arg2
= wxPoint_LIST_helper(_obj2
, &NPOINTS
);
6963 if (_arg2
== NULL
) {
6971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6972 wxDC_DrawPolygon(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
6974 wxPyEndAllowThreads(__tstate
);
6975 if (PyErr_Occurred()) return NULL
;
6976 } Py_INCREF(Py_None
);
6977 _resultobj
= Py_None
;
6984 #define wxDC_DrawPoint(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawPoint(_swigarg0,_swigarg1))
6985 static PyObject
*_wrap_wxDC_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6986 PyObject
* _resultobj
;
6990 PyObject
* _argo0
= 0;
6991 char *_kwnames
[] = { "self","x","y", NULL
};
6994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_DrawPoint",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6997 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6998 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPoint. Expected _wxDC_p.");
7004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7005 wxDC_DrawPoint(_arg0
,_arg1
,_arg2
);
7007 wxPyEndAllowThreads(__tstate
);
7008 if (PyErr_Occurred()) return NULL
;
7009 } Py_INCREF(Py_None
);
7010 _resultobj
= Py_None
;
7014 #define wxDC_DrawRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7015 static PyObject
*_wrap_wxDC_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7016 PyObject
* _resultobj
;
7022 PyObject
* _argo0
= 0;
7023 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
7026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_DrawRectangle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRectangle. Expected _wxDC_p.");
7036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7037 wxDC_DrawRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7039 wxPyEndAllowThreads(__tstate
);
7040 if (PyErr_Occurred()) return NULL
;
7041 } Py_INCREF(Py_None
);
7042 _resultobj
= Py_None
;
7046 #define wxDC_DrawRotatedText(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRotatedText(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7047 static PyObject
*_wrap_wxDC_DrawRotatedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7048 PyObject
* _resultobj
;
7054 PyObject
* _argo0
= 0;
7055 PyObject
* _obj1
= 0;
7056 char *_kwnames
[] = { "self","text","x","y","angle", NULL
};
7059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiid:wxDC_DrawRotatedText",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_arg4
))
7062 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7063 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRotatedText. Expected _wxDC_p.");
7069 _arg1
= wxString_in_helper(_obj1
);
7074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7075 wxDC_DrawRotatedText(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
7077 wxPyEndAllowThreads(__tstate
);
7078 if (PyErr_Occurred()) return NULL
;
7079 } Py_INCREF(Py_None
);
7080 _resultobj
= Py_None
;
7088 #define wxDC_DrawRoundedRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawRoundedRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7089 static PyObject
*_wrap_wxDC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7090 PyObject
* _resultobj
;
7096 long _arg5
= (long ) 20;
7097 PyObject
* _argo0
= 0;
7098 char *_kwnames
[] = { "self","x","y","width","height","radius", NULL
};
7101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll|l:wxDC_DrawRoundedRectangle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
7104 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7105 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRoundedRectangle. Expected _wxDC_p.");
7111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7112 wxDC_DrawRoundedRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
7114 wxPyEndAllowThreads(__tstate
);
7115 if (PyErr_Occurred()) return NULL
;
7116 } Py_INCREF(Py_None
);
7117 _resultobj
= Py_None
;
7121 #define wxDC_DrawSpline(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawSpline(_swigarg0,_swigarg1))
7122 static PyObject
*_wrap_wxDC_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7123 PyObject
* _resultobj
;
7127 PyObject
* _argo0
= 0;
7129 PyObject
* _obj2
= 0;
7130 char *_kwnames
[] = { "self","points", NULL
};
7133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_DrawSpline",_kwnames
,&_argo0
,&_obj2
))
7136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawSpline. Expected _wxDC_p.");
7144 _arg2
= wxPoint_LIST_helper(_obj2
, &NPOINTS
);
7145 if (_arg2
== NULL
) {
7153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7154 wxDC_DrawSpline(_arg0
,_arg1
,_arg2
);
7156 wxPyEndAllowThreads(__tstate
);
7157 if (PyErr_Occurred()) return NULL
;
7158 } Py_INCREF(Py_None
);
7159 _resultobj
= Py_None
;
7166 #define wxDC_DrawText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawText(_swigarg0,_swigarg1,_swigarg2))
7167 static PyObject
*_wrap_wxDC_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7168 PyObject
* _resultobj
;
7173 PyObject
* _argo0
= 0;
7174 PyObject
* _obj1
= 0;
7175 char *_kwnames
[] = { "self","text","x","y", NULL
};
7178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOll:wxDC_DrawText",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
))
7181 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7182 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawText. Expected _wxDC_p.");
7188 _arg1
= wxString_in_helper(_obj1
);
7193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7194 wxDC_DrawText(_arg0
,*_arg1
,_arg2
,_arg3
);
7196 wxPyEndAllowThreads(__tstate
);
7197 if (PyErr_Occurred()) return NULL
;
7198 } Py_INCREF(Py_None
);
7199 _resultobj
= Py_None
;
7207 #define wxDC_EndDoc(_swigobj) (_swigobj->EndDoc())
7208 static PyObject
*_wrap_wxDC_EndDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7209 PyObject
* _resultobj
;
7211 PyObject
* _argo0
= 0;
7212 char *_kwnames
[] = { "self", NULL
};
7215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndDoc",_kwnames
,&_argo0
))
7218 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7219 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDoc. Expected _wxDC_p.");
7225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7228 wxPyEndAllowThreads(__tstate
);
7229 if (PyErr_Occurred()) return NULL
;
7230 } Py_INCREF(Py_None
);
7231 _resultobj
= Py_None
;
7235 #define wxDC_EndDrawing(_swigobj) (_swigobj->EndDrawing())
7236 static PyObject
*_wrap_wxDC_EndDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7237 PyObject
* _resultobj
;
7239 PyObject
* _argo0
= 0;
7240 char *_kwnames
[] = { "self", NULL
};
7243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndDrawing",_kwnames
,&_argo0
))
7246 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7247 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDrawing. Expected _wxDC_p.");
7253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7254 wxDC_EndDrawing(_arg0
);
7256 wxPyEndAllowThreads(__tstate
);
7257 if (PyErr_Occurred()) return NULL
;
7258 } Py_INCREF(Py_None
);
7259 _resultobj
= Py_None
;
7263 #define wxDC_EndPage(_swigobj) (_swigobj->EndPage())
7264 static PyObject
*_wrap_wxDC_EndPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7265 PyObject
* _resultobj
;
7267 PyObject
* _argo0
= 0;
7268 char *_kwnames
[] = { "self", NULL
};
7271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndPage",_kwnames
,&_argo0
))
7274 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7275 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndPage. Expected _wxDC_p.");
7281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7282 wxDC_EndPage(_arg0
);
7284 wxPyEndAllowThreads(__tstate
);
7285 if (PyErr_Occurred()) return NULL
;
7286 } Py_INCREF(Py_None
);
7287 _resultobj
= Py_None
;
7291 #define wxDC_FloodFill(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->FloodFill(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7292 static PyObject
*_wrap_wxDC_FloodFill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7293 PyObject
* _resultobj
;
7298 int _arg4
= (int ) wxFLOOD_SURFACE
;
7299 PyObject
* _argo0
= 0;
7301 PyObject
* _obj3
= 0;
7302 char *_kwnames
[] = { "self","x","y","colour","style", NULL
};
7305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO|i:wxDC_FloodFill",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_arg4
))
7308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_FloodFill. Expected _wxDC_p.");
7316 if (! wxColour_helper(_obj3
, &_arg3
))
7320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7321 wxDC_FloodFill(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
7323 wxPyEndAllowThreads(__tstate
);
7324 if (PyErr_Occurred()) return NULL
;
7325 } Py_INCREF(Py_None
);
7326 _resultobj
= Py_None
;
7330 #define wxDC_GetBackground(_swigobj) (_swigobj->GetBackground())
7331 static PyObject
*_wrap_wxDC_GetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7332 PyObject
* _resultobj
;
7335 PyObject
* _argo0
= 0;
7336 char *_kwnames
[] = { "self", NULL
};
7340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBackground",_kwnames
,&_argo0
))
7343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBackground. Expected _wxDC_p.");
7350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7351 _result
= new wxBrush (wxDC_GetBackground(_arg0
));
7353 wxPyEndAllowThreads(__tstate
);
7354 if (PyErr_Occurred()) return NULL
;
7355 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBrush_p");
7356 _resultobj
= Py_BuildValue("s",_ptemp
);
7360 #define wxDC_GetBrush(_swigobj) (_swigobj->GetBrush())
7361 static PyObject
*_wrap_wxDC_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7362 PyObject
* _resultobj
;
7365 PyObject
* _argo0
= 0;
7366 char *_kwnames
[] = { "self", NULL
};
7370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBrush",_kwnames
,&_argo0
))
7373 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7374 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBrush. Expected _wxDC_p.");
7380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7381 _result
= new wxBrush (wxDC_GetBrush(_arg0
));
7383 wxPyEndAllowThreads(__tstate
);
7384 if (PyErr_Occurred()) return NULL
;
7385 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBrush_p");
7386 _resultobj
= Py_BuildValue("s",_ptemp
);
7390 #define wxDC_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
7391 static PyObject
*_wrap_wxDC_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7392 PyObject
* _resultobj
;
7395 PyObject
* _argo0
= 0;
7396 char *_kwnames
[] = { "self", NULL
};
7399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetCharHeight",_kwnames
,&_argo0
))
7402 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7403 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharHeight. Expected _wxDC_p.");
7409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7410 _result
= (long )wxDC_GetCharHeight(_arg0
);
7412 wxPyEndAllowThreads(__tstate
);
7413 if (PyErr_Occurred()) return NULL
;
7414 } _resultobj
= Py_BuildValue("l",_result
);
7418 #define wxDC_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
7419 static PyObject
*_wrap_wxDC_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7420 PyObject
* _resultobj
;
7423 PyObject
* _argo0
= 0;
7424 char *_kwnames
[] = { "self", NULL
};
7427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetCharWidth",_kwnames
,&_argo0
))
7430 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7431 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharWidth. Expected _wxDC_p.");
7437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7438 _result
= (long )wxDC_GetCharWidth(_arg0
);
7440 wxPyEndAllowThreads(__tstate
);
7441 if (PyErr_Occurred()) return NULL
;
7442 } _resultobj
= Py_BuildValue("l",_result
);
7446 #define wxDC_GetClippingBox(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetClippingBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7447 static PyObject
*_wrap_wxDC_GetClippingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7448 PyObject
* _resultobj
;
7458 PyObject
* _argo0
= 0;
7459 char *_kwnames
[] = { "self", NULL
};
7474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetClippingBox",_kwnames
,&_argo0
))
7477 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7478 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetClippingBox. Expected _wxDC_p.");
7484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7485 wxDC_GetClippingBox(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7487 wxPyEndAllowThreads(__tstate
);
7488 if (PyErr_Occurred()) return NULL
;
7489 } Py_INCREF(Py_None
);
7490 _resultobj
= Py_None
;
7493 o
= PyInt_FromLong((long) (*_arg1
));
7494 _resultobj
= t_output_helper(_resultobj
, o
);
7498 o
= PyInt_FromLong((long) (*_arg2
));
7499 _resultobj
= t_output_helper(_resultobj
, o
);
7503 o
= PyInt_FromLong((long) (*_arg3
));
7504 _resultobj
= t_output_helper(_resultobj
, o
);
7508 o
= PyInt_FromLong((long) (*_arg4
));
7509 _resultobj
= t_output_helper(_resultobj
, o
);
7514 #define wxDC_GetFont(_swigobj) (_swigobj->GetFont())
7515 static PyObject
*_wrap_wxDC_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7516 PyObject
* _resultobj
;
7519 PyObject
* _argo0
= 0;
7520 char *_kwnames
[] = { "self", NULL
};
7524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetFont",_kwnames
,&_argo0
))
7527 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7528 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFont. Expected _wxDC_p.");
7534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7535 _result
= new wxFont (wxDC_GetFont(_arg0
));
7537 wxPyEndAllowThreads(__tstate
);
7538 if (PyErr_Occurred()) return NULL
;
7539 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
7540 _resultobj
= Py_BuildValue("s",_ptemp
);
7544 #define wxDC_GetLogicalFunction(_swigobj) (_swigobj->GetLogicalFunction())
7545 static PyObject
*_wrap_wxDC_GetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7546 PyObject
* _resultobj
;
7549 PyObject
* _argo0
= 0;
7550 char *_kwnames
[] = { "self", NULL
};
7553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalFunction",_kwnames
,&_argo0
))
7556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalFunction. Expected _wxDC_p.");
7563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7564 _result
= (int )wxDC_GetLogicalFunction(_arg0
);
7566 wxPyEndAllowThreads(__tstate
);
7567 if (PyErr_Occurred()) return NULL
;
7568 } _resultobj
= Py_BuildValue("i",_result
);
7572 #define wxDC_GetLogicalScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLogicalScale(_swigarg0,_swigarg1))
7573 static PyObject
*_wrap_wxDC_GetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7574 PyObject
* _resultobj
;
7580 PyObject
* _argo0
= 0;
7581 char *_kwnames
[] = { "self", NULL
};
7590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalScale",_kwnames
,&_argo0
))
7593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalScale. Expected _wxDC_p.");
7600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7601 wxDC_GetLogicalScale(_arg0
,_arg1
,_arg2
);
7603 wxPyEndAllowThreads(__tstate
);
7604 if (PyErr_Occurred()) return NULL
;
7605 } Py_INCREF(Py_None
);
7606 _resultobj
= Py_None
;
7609 o
= PyFloat_FromDouble((double) (*_arg1
));
7610 _resultobj
= t_output_helper(_resultobj
, o
);
7614 o
= PyFloat_FromDouble((double) (*_arg2
));
7615 _resultobj
= t_output_helper(_resultobj
, o
);
7620 #define wxDC_GetMapMode(_swigobj) (_swigobj->GetMapMode())
7621 static PyObject
*_wrap_wxDC_GetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7622 PyObject
* _resultobj
;
7625 PyObject
* _argo0
= 0;
7626 char *_kwnames
[] = { "self", NULL
};
7629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetMapMode",_kwnames
,&_argo0
))
7632 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7633 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetMapMode. Expected _wxDC_p.");
7639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7640 _result
= (int )wxDC_GetMapMode(_arg0
);
7642 wxPyEndAllowThreads(__tstate
);
7643 if (PyErr_Occurred()) return NULL
;
7644 } _resultobj
= Py_BuildValue("i",_result
);
7648 #define wxDC_GetOptimization(_swigobj) (_swigobj->GetOptimization())
7649 static PyObject
*_wrap_wxDC_GetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7650 PyObject
* _resultobj
;
7653 PyObject
* _argo0
= 0;
7654 char *_kwnames
[] = { "self", NULL
};
7657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetOptimization",_kwnames
,&_argo0
))
7660 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7661 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetOptimization. Expected _wxDC_p.");
7667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7668 _result
= (bool )wxDC_GetOptimization(_arg0
);
7670 wxPyEndAllowThreads(__tstate
);
7671 if (PyErr_Occurred()) return NULL
;
7672 } _resultobj
= Py_BuildValue("i",_result
);
7676 #define wxDC_GetPen(_swigobj) (_swigobj->GetPen())
7677 static PyObject
*_wrap_wxDC_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7678 PyObject
* _resultobj
;
7681 PyObject
* _argo0
= 0;
7682 char *_kwnames
[] = { "self", NULL
};
7686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetPen",_kwnames
,&_argo0
))
7689 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7690 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPen. Expected _wxDC_p.");
7696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7697 _result
= new wxPen (wxDC_GetPen(_arg0
));
7699 wxPyEndAllowThreads(__tstate
);
7700 if (PyErr_Occurred()) return NULL
;
7701 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPen_p");
7702 _resultobj
= Py_BuildValue("s",_ptemp
);
7706 static wxColour
* wxDC_GetPixel(wxDC
*self
,long x
,long y
) {
7707 wxColour
* wc
= new wxColour();
7708 self
->GetPixel(x
, y
, wc
);
7711 static PyObject
*_wrap_wxDC_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7712 PyObject
* _resultobj
;
7717 PyObject
* _argo0
= 0;
7718 char *_kwnames
[] = { "self","x","y", NULL
};
7722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_GetPixel",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7725 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7726 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPixel. Expected _wxDC_p.");
7732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7733 _result
= (wxColour
*)wxDC_GetPixel(_arg0
,_arg1
,_arg2
);
7735 wxPyEndAllowThreads(__tstate
);
7736 if (PyErr_Occurred()) return NULL
;
7738 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
7739 _resultobj
= Py_BuildValue("s",_ptemp
);
7742 _resultobj
= Py_None
;
7747 #define wxDC_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
7748 static PyObject
*_wrap_wxDC_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7749 PyObject
* _resultobj
;
7755 PyObject
* _argo0
= 0;
7756 char *_kwnames
[] = { "self", NULL
};
7765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSizeTuple",_kwnames
,&_argo0
))
7768 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7769 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSizeTuple. Expected _wxDC_p.");
7775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7776 wxDC_GetSizeTuple(_arg0
,_arg1
,_arg2
);
7778 wxPyEndAllowThreads(__tstate
);
7779 if (PyErr_Occurred()) return NULL
;
7780 } Py_INCREF(Py_None
);
7781 _resultobj
= Py_None
;
7784 o
= PyInt_FromLong((long) (*_arg1
));
7785 _resultobj
= t_output_helper(_resultobj
, o
);
7789 o
= PyInt_FromLong((long) (*_arg2
));
7790 _resultobj
= t_output_helper(_resultobj
, o
);
7795 #define wxDC_GetSize(_swigobj) (_swigobj->GetSize())
7796 static PyObject
*_wrap_wxDC_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7797 PyObject
* _resultobj
;
7800 PyObject
* _argo0
= 0;
7801 char *_kwnames
[] = { "self", NULL
};
7805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSize",_kwnames
,&_argo0
))
7808 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7809 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSize. Expected _wxDC_p.");
7815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7816 _result
= new wxSize (wxDC_GetSize(_arg0
));
7818 wxPyEndAllowThreads(__tstate
);
7819 if (PyErr_Occurred()) return NULL
;
7820 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
7821 _resultobj
= Py_BuildValue("s",_ptemp
);
7825 #define wxDC_GetSizeMM(_swigobj) (_swigobj->GetSizeMM())
7826 static PyObject
*_wrap_wxDC_GetSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7827 PyObject
* _resultobj
;
7830 PyObject
* _argo0
= 0;
7831 char *_kwnames
[] = { "self", NULL
};
7835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSizeMM",_kwnames
,&_argo0
))
7838 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7839 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSizeMM. Expected _wxDC_p.");
7845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7846 _result
= new wxSize (wxDC_GetSizeMM(_arg0
));
7848 wxPyEndAllowThreads(__tstate
);
7849 if (PyErr_Occurred()) return NULL
;
7850 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
7851 _resultobj
= Py_BuildValue("s",_ptemp
);
7855 #define wxDC_GetTextBackground(_swigobj) (_swigobj->GetTextBackground())
7856 static PyObject
*_wrap_wxDC_GetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7857 PyObject
* _resultobj
;
7860 PyObject
* _argo0
= 0;
7861 char *_kwnames
[] = { "self", NULL
};
7865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetTextBackground",_kwnames
,&_argo0
))
7868 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7869 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextBackground. Expected _wxDC_p.");
7875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7876 _result
= new wxColour (wxDC_GetTextBackground(_arg0
));
7878 wxPyEndAllowThreads(__tstate
);
7879 if (PyErr_Occurred()) return NULL
;
7880 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
7881 _resultobj
= Py_BuildValue("s",_ptemp
);
7885 #define wxDC_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
7886 static PyObject
*_wrap_wxDC_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7887 PyObject
* _resultobj
;
7894 PyObject
* _argo0
= 0;
7895 PyObject
* _obj1
= 0;
7896 char *_kwnames
[] = { "self","string", NULL
};
7905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_GetTextExtent",_kwnames
,&_argo0
,&_obj1
))
7908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextExtent. Expected _wxDC_p.");
7915 _arg1
= wxString_in_helper(_obj1
);
7920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7921 wxDC_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
7923 wxPyEndAllowThreads(__tstate
);
7924 if (PyErr_Occurred()) return NULL
;
7925 } Py_INCREF(Py_None
);
7926 _resultobj
= Py_None
;
7929 o
= PyInt_FromLong((long) (*_arg2
));
7930 _resultobj
= t_output_helper(_resultobj
, o
);
7934 o
= PyInt_FromLong((long) (*_arg3
));
7935 _resultobj
= t_output_helper(_resultobj
, o
);
7944 #define wxDC_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7945 static PyObject
*_wrap_wxDC_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7946 PyObject
* _resultobj
;
7957 wxFont
* _arg6
= (wxFont
*) NULL
;
7958 PyObject
* _argo0
= 0;
7959 PyObject
* _obj1
= 0;
7960 PyObject
* _argo6
= 0;
7961 char *_kwnames
[] = { "self","string","font", NULL
};
7976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxDC_GetFullTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo6
))
7979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFullTextExtent. Expected _wxDC_p.");
7986 _arg1
= wxString_in_helper(_obj1
);
7991 if (_argo6
== Py_None
) { _arg6
= NULL
; }
7992 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
7993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxDC_GetFullTextExtent. Expected _wxFont_p.");
7998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7999 wxDC_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
8001 wxPyEndAllowThreads(__tstate
);
8002 if (PyErr_Occurred()) return NULL
;
8003 } Py_INCREF(Py_None
);
8004 _resultobj
= Py_None
;
8007 o
= PyInt_FromLong((long) (*_arg2
));
8008 _resultobj
= t_output_helper(_resultobj
, o
);
8012 o
= PyInt_FromLong((long) (*_arg3
));
8013 _resultobj
= t_output_helper(_resultobj
, o
);
8017 o
= PyInt_FromLong((long) (*_arg4
));
8018 _resultobj
= t_output_helper(_resultobj
, o
);
8022 o
= PyInt_FromLong((long) (*_arg5
));
8023 _resultobj
= t_output_helper(_resultobj
, o
);
8032 #define wxDC_GetTextForeground(_swigobj) (_swigobj->GetTextForeground())
8033 static PyObject
*_wrap_wxDC_GetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8034 PyObject
* _resultobj
;
8037 PyObject
* _argo0
= 0;
8038 char *_kwnames
[] = { "self", NULL
};
8042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetTextForeground",_kwnames
,&_argo0
))
8045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextForeground. Expected _wxDC_p.");
8052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8053 _result
= new wxColour (wxDC_GetTextForeground(_arg0
));
8055 wxPyEndAllowThreads(__tstate
);
8056 if (PyErr_Occurred()) return NULL
;
8057 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
8058 _resultobj
= Py_BuildValue("s",_ptemp
);
8062 #define wxDC_GetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetUserScale(_swigarg0,_swigarg1))
8063 static PyObject
*_wrap_wxDC_GetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8064 PyObject
* _resultobj
;
8070 PyObject
* _argo0
= 0;
8071 char *_kwnames
[] = { "self", NULL
};
8080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetUserScale",_kwnames
,&_argo0
))
8083 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8084 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetUserScale. Expected _wxDC_p.");
8090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8091 wxDC_GetUserScale(_arg0
,_arg1
,_arg2
);
8093 wxPyEndAllowThreads(__tstate
);
8094 if (PyErr_Occurred()) return NULL
;
8095 } Py_INCREF(Py_None
);
8096 _resultobj
= Py_None
;
8099 o
= PyFloat_FromDouble((double) (*_arg1
));
8100 _resultobj
= t_output_helper(_resultobj
, o
);
8104 o
= PyFloat_FromDouble((double) (*_arg2
));
8105 _resultobj
= t_output_helper(_resultobj
, o
);
8110 #define wxDC_LogicalToDeviceX(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceX(_swigarg0))
8111 static PyObject
*_wrap_wxDC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8112 PyObject
* _resultobj
;
8116 PyObject
* _argo0
= 0;
8117 char *_kwnames
[] = { "self","x", NULL
};
8120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceX",_kwnames
,&_argo0
,&_arg1
))
8123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceX. Expected _wxDC_p.");
8130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8131 _result
= (long )wxDC_LogicalToDeviceX(_arg0
,_arg1
);
8133 wxPyEndAllowThreads(__tstate
);
8134 if (PyErr_Occurred()) return NULL
;
8135 } _resultobj
= Py_BuildValue("l",_result
);
8139 #define wxDC_LogicalToDeviceXRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceXRel(_swigarg0))
8140 static PyObject
*_wrap_wxDC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8141 PyObject
* _resultobj
;
8145 PyObject
* _argo0
= 0;
8146 char *_kwnames
[] = { "self","x", NULL
};
8149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceXRel",_kwnames
,&_argo0
,&_arg1
))
8152 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8153 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceXRel. Expected _wxDC_p.");
8159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8160 _result
= (long )wxDC_LogicalToDeviceXRel(_arg0
,_arg1
);
8162 wxPyEndAllowThreads(__tstate
);
8163 if (PyErr_Occurred()) return NULL
;
8164 } _resultobj
= Py_BuildValue("l",_result
);
8168 #define wxDC_LogicalToDeviceY(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceY(_swigarg0))
8169 static PyObject
*_wrap_wxDC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8170 PyObject
* _resultobj
;
8174 PyObject
* _argo0
= 0;
8175 char *_kwnames
[] = { "self","y", NULL
};
8178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceY",_kwnames
,&_argo0
,&_arg1
))
8181 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8182 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceY. Expected _wxDC_p.");
8188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8189 _result
= (long )wxDC_LogicalToDeviceY(_arg0
,_arg1
);
8191 wxPyEndAllowThreads(__tstate
);
8192 if (PyErr_Occurred()) return NULL
;
8193 } _resultobj
= Py_BuildValue("l",_result
);
8197 #define wxDC_LogicalToDeviceYRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceYRel(_swigarg0))
8198 static PyObject
*_wrap_wxDC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8199 PyObject
* _resultobj
;
8203 PyObject
* _argo0
= 0;
8204 char *_kwnames
[] = { "self","y", NULL
};
8207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceYRel",_kwnames
,&_argo0
,&_arg1
))
8210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceYRel. Expected _wxDC_p.");
8217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8218 _result
= (long )wxDC_LogicalToDeviceYRel(_arg0
,_arg1
);
8220 wxPyEndAllowThreads(__tstate
);
8221 if (PyErr_Occurred()) return NULL
;
8222 } _resultobj
= Py_BuildValue("l",_result
);
8226 #define wxDC_MaxX(_swigobj) (_swigobj->MaxX())
8227 static PyObject
*_wrap_wxDC_MaxX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8228 PyObject
* _resultobj
;
8231 PyObject
* _argo0
= 0;
8232 char *_kwnames
[] = { "self", NULL
};
8235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MaxX",_kwnames
,&_argo0
))
8238 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8239 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxX. Expected _wxDC_p.");
8245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8246 _result
= (long )wxDC_MaxX(_arg0
);
8248 wxPyEndAllowThreads(__tstate
);
8249 if (PyErr_Occurred()) return NULL
;
8250 } _resultobj
= Py_BuildValue("l",_result
);
8254 #define wxDC_MaxY(_swigobj) (_swigobj->MaxY())
8255 static PyObject
*_wrap_wxDC_MaxY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8256 PyObject
* _resultobj
;
8259 PyObject
* _argo0
= 0;
8260 char *_kwnames
[] = { "self", NULL
};
8263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MaxY",_kwnames
,&_argo0
))
8266 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8267 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxY. Expected _wxDC_p.");
8273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8274 _result
= (long )wxDC_MaxY(_arg0
);
8276 wxPyEndAllowThreads(__tstate
);
8277 if (PyErr_Occurred()) return NULL
;
8278 } _resultobj
= Py_BuildValue("l",_result
);
8282 #define wxDC_MinX(_swigobj) (_swigobj->MinX())
8283 static PyObject
*_wrap_wxDC_MinX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8284 PyObject
* _resultobj
;
8287 PyObject
* _argo0
= 0;
8288 char *_kwnames
[] = { "self", NULL
};
8291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MinX",_kwnames
,&_argo0
))
8294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinX. Expected _wxDC_p.");
8301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8302 _result
= (long )wxDC_MinX(_arg0
);
8304 wxPyEndAllowThreads(__tstate
);
8305 if (PyErr_Occurred()) return NULL
;
8306 } _resultobj
= Py_BuildValue("l",_result
);
8310 #define wxDC_MinY(_swigobj) (_swigobj->MinY())
8311 static PyObject
*_wrap_wxDC_MinY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8312 PyObject
* _resultobj
;
8315 PyObject
* _argo0
= 0;
8316 char *_kwnames
[] = { "self", NULL
};
8319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MinY",_kwnames
,&_argo0
))
8322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinY. Expected _wxDC_p.");
8329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8330 _result
= (long )wxDC_MinY(_arg0
);
8332 wxPyEndAllowThreads(__tstate
);
8333 if (PyErr_Occurred()) return NULL
;
8334 } _resultobj
= Py_BuildValue("l",_result
);
8338 #define wxDC_Ok(_swigobj) (_swigobj->Ok())
8339 static PyObject
*_wrap_wxDC_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8340 PyObject
* _resultobj
;
8343 PyObject
* _argo0
= 0;
8344 char *_kwnames
[] = { "self", NULL
};
8347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_Ok",_kwnames
,&_argo0
))
8350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Ok. Expected _wxDC_p.");
8357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8358 _result
= (bool )wxDC_Ok(_arg0
);
8360 wxPyEndAllowThreads(__tstate
);
8361 if (PyErr_Occurred()) return NULL
;
8362 } _resultobj
= Py_BuildValue("i",_result
);
8366 #define wxDC_SetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDeviceOrigin(_swigarg0,_swigarg1))
8367 static PyObject
*_wrap_wxDC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8368 PyObject
* _resultobj
;
8372 PyObject
* _argo0
= 0;
8373 char *_kwnames
[] = { "self","x","y", NULL
};
8376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_SetDeviceOrigin",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetDeviceOrigin. Expected _wxDC_p.");
8386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8387 wxDC_SetDeviceOrigin(_arg0
,_arg1
,_arg2
);
8389 wxPyEndAllowThreads(__tstate
);
8390 if (PyErr_Occurred()) return NULL
;
8391 } Py_INCREF(Py_None
);
8392 _resultobj
= Py_None
;
8396 #define wxDC_SetBackground(_swigobj,_swigarg0) (_swigobj->SetBackground(_swigarg0))
8397 static PyObject
*_wrap_wxDC_SetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8398 PyObject
* _resultobj
;
8401 PyObject
* _argo0
= 0;
8402 PyObject
* _argo1
= 0;
8403 char *_kwnames
[] = { "self","brush", NULL
};
8406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetBackground",_kwnames
,&_argo0
,&_argo1
))
8409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackground. Expected _wxDC_p.");
8416 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8417 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
8418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBackground. Expected _wxBrush_p.");
8423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8424 wxDC_SetBackground(_arg0
,*_arg1
);
8426 wxPyEndAllowThreads(__tstate
);
8427 if (PyErr_Occurred()) return NULL
;
8428 } Py_INCREF(Py_None
);
8429 _resultobj
= Py_None
;
8433 #define wxDC_SetBackgroundMode(_swigobj,_swigarg0) (_swigobj->SetBackgroundMode(_swigarg0))
8434 static PyObject
*_wrap_wxDC_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8435 PyObject
* _resultobj
;
8438 PyObject
* _argo0
= 0;
8439 char *_kwnames
[] = { "self","mode", NULL
};
8442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetBackgroundMode",_kwnames
,&_argo0
,&_arg1
))
8445 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8446 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackgroundMode. Expected _wxDC_p.");
8452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8453 wxDC_SetBackgroundMode(_arg0
,_arg1
);
8455 wxPyEndAllowThreads(__tstate
);
8456 if (PyErr_Occurred()) return NULL
;
8457 } Py_INCREF(Py_None
);
8458 _resultobj
= Py_None
;
8462 #define wxDC_SetClippingRegion(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetClippingRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8463 static PyObject
*_wrap_wxDC_SetClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8464 PyObject
* _resultobj
;
8470 PyObject
* _argo0
= 0;
8471 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
8474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_SetClippingRegion",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
8477 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8478 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetClippingRegion. Expected _wxDC_p.");
8484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8485 wxDC_SetClippingRegion(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
8487 wxPyEndAllowThreads(__tstate
);
8488 if (PyErr_Occurred()) return NULL
;
8489 } Py_INCREF(Py_None
);
8490 _resultobj
= Py_None
;
8494 #define wxDC_SetClippingRegionAsRegion(_swigobj,_swigarg0) (_swigobj->SetClippingRegion(_swigarg0))
8495 static PyObject
*_wrap_wxDC_SetClippingRegionAsRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8496 PyObject
* _resultobj
;
8499 PyObject
* _argo0
= 0;
8500 PyObject
* _argo1
= 0;
8501 char *_kwnames
[] = { "self","region", NULL
};
8504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetClippingRegionAsRegion",_kwnames
,&_argo0
,&_argo1
))
8507 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8508 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8509 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetClippingRegionAsRegion. Expected _wxDC_p.");
8514 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8515 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
8516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetClippingRegionAsRegion. Expected _wxRegion_p.");
8521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8522 wxDC_SetClippingRegionAsRegion(_arg0
,*_arg1
);
8524 wxPyEndAllowThreads(__tstate
);
8525 if (PyErr_Occurred()) return NULL
;
8526 } Py_INCREF(Py_None
);
8527 _resultobj
= Py_None
;
8531 #define wxDC_SetPalette(_swigobj,_swigarg0) (_swigobj->SetPalette(_swigarg0))
8532 static PyObject
*_wrap_wxDC_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8533 PyObject
* _resultobj
;
8536 PyObject
* _argo0
= 0;
8537 PyObject
* _argo1
= 0;
8538 char *_kwnames
[] = { "self","colourMap", NULL
};
8541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetPalette",_kwnames
,&_argo0
,&_argo1
))
8544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPalette. Expected _wxDC_p.");
8551 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8552 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPalette_p")) {
8553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPalette. Expected _wxPalette_p.");
8558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8559 wxDC_SetPalette(_arg0
,*_arg1
);
8561 wxPyEndAllowThreads(__tstate
);
8562 if (PyErr_Occurred()) return NULL
;
8563 } Py_INCREF(Py_None
);
8564 _resultobj
= Py_None
;
8568 #define wxDC_SetBrush(_swigobj,_swigarg0) (_swigobj->SetBrush(_swigarg0))
8569 static PyObject
*_wrap_wxDC_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8570 PyObject
* _resultobj
;
8573 PyObject
* _argo0
= 0;
8574 PyObject
* _argo1
= 0;
8575 char *_kwnames
[] = { "self","brush", NULL
};
8578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetBrush",_kwnames
,&_argo0
,&_argo1
))
8581 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8582 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBrush. Expected _wxDC_p.");
8588 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8589 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
8590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBrush. Expected _wxBrush_p.");
8595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8596 wxDC_SetBrush(_arg0
,*_arg1
);
8598 wxPyEndAllowThreads(__tstate
);
8599 if (PyErr_Occurred()) return NULL
;
8600 } Py_INCREF(Py_None
);
8601 _resultobj
= Py_None
;
8605 #define wxDC_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
8606 static PyObject
*_wrap_wxDC_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8607 PyObject
* _resultobj
;
8610 PyObject
* _argo0
= 0;
8611 PyObject
* _argo1
= 0;
8612 char *_kwnames
[] = { "self","font", NULL
};
8615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetFont",_kwnames
,&_argo0
,&_argo1
))
8618 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8619 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetFont. Expected _wxDC_p.");
8625 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8626 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
8627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetFont. Expected _wxFont_p.");
8632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8633 wxDC_SetFont(_arg0
,*_arg1
);
8635 wxPyEndAllowThreads(__tstate
);
8636 if (PyErr_Occurred()) return NULL
;
8637 } Py_INCREF(Py_None
);
8638 _resultobj
= Py_None
;
8642 #define wxDC_SetLogicalFunction(_swigobj,_swigarg0) (_swigobj->SetLogicalFunction(_swigarg0))
8643 static PyObject
*_wrap_wxDC_SetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8644 PyObject
* _resultobj
;
8647 PyObject
* _argo0
= 0;
8648 char *_kwnames
[] = { "self","function", NULL
};
8651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetLogicalFunction",_kwnames
,&_argo0
,&_arg1
))
8654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalFunction. Expected _wxDC_p.");
8661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8662 wxDC_SetLogicalFunction(_arg0
,_arg1
);
8664 wxPyEndAllowThreads(__tstate
);
8665 if (PyErr_Occurred()) return NULL
;
8666 } Py_INCREF(Py_None
);
8667 _resultobj
= Py_None
;
8671 #define wxDC_SetLogicalScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLogicalScale(_swigarg0,_swigarg1))
8672 static PyObject
*_wrap_wxDC_SetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8673 PyObject
* _resultobj
;
8677 PyObject
* _argo0
= 0;
8678 char *_kwnames
[] = { "self","x","y", NULL
};
8681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxDC_SetLogicalScale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalScale. Expected _wxDC_p.");
8691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8692 wxDC_SetLogicalScale(_arg0
,_arg1
,_arg2
);
8694 wxPyEndAllowThreads(__tstate
);
8695 if (PyErr_Occurred()) return NULL
;
8696 } Py_INCREF(Py_None
);
8697 _resultobj
= Py_None
;
8701 #define wxDC_SetMapMode(_swigobj,_swigarg0) (_swigobj->SetMapMode(_swigarg0))
8702 static PyObject
*_wrap_wxDC_SetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8703 PyObject
* _resultobj
;
8706 PyObject
* _argo0
= 0;
8707 char *_kwnames
[] = { "self","mode", NULL
};
8710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetMapMode",_kwnames
,&_argo0
,&_arg1
))
8713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetMapMode. Expected _wxDC_p.");
8720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8721 wxDC_SetMapMode(_arg0
,_arg1
);
8723 wxPyEndAllowThreads(__tstate
);
8724 if (PyErr_Occurred()) return NULL
;
8725 } Py_INCREF(Py_None
);
8726 _resultobj
= Py_None
;
8730 #define wxDC_SetOptimization(_swigobj,_swigarg0) (_swigobj->SetOptimization(_swigarg0))
8731 static PyObject
*_wrap_wxDC_SetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8732 PyObject
* _resultobj
;
8735 PyObject
* _argo0
= 0;
8737 char *_kwnames
[] = { "self","optimize", NULL
};
8740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetOptimization",_kwnames
,&_argo0
,&tempbool1
))
8743 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8744 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetOptimization. Expected _wxDC_p.");
8749 _arg1
= (bool ) tempbool1
;
8751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8752 wxDC_SetOptimization(_arg0
,_arg1
);
8754 wxPyEndAllowThreads(__tstate
);
8755 if (PyErr_Occurred()) return NULL
;
8756 } Py_INCREF(Py_None
);
8757 _resultobj
= Py_None
;
8761 #define wxDC_SetPen(_swigobj,_swigarg0) (_swigobj->SetPen(_swigarg0))
8762 static PyObject
*_wrap_wxDC_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8763 PyObject
* _resultobj
;
8766 PyObject
* _argo0
= 0;
8767 PyObject
* _argo1
= 0;
8768 char *_kwnames
[] = { "self","pen", NULL
};
8771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetPen",_kwnames
,&_argo0
,&_argo1
))
8774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPen. Expected _wxDC_p.");
8781 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8782 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
8783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPen. Expected _wxPen_p.");
8788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8789 wxDC_SetPen(_arg0
,*_arg1
);
8791 wxPyEndAllowThreads(__tstate
);
8792 if (PyErr_Occurred()) return NULL
;
8793 } Py_INCREF(Py_None
);
8794 _resultobj
= Py_None
;
8798 #define wxDC_SetTextBackground(_swigobj,_swigarg0) (_swigobj->SetTextBackground(_swigarg0))
8799 static PyObject
*_wrap_wxDC_SetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8800 PyObject
* _resultobj
;
8803 PyObject
* _argo0
= 0;
8805 PyObject
* _obj1
= 0;
8806 char *_kwnames
[] = { "self","colour", NULL
};
8809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetTextBackground",_kwnames
,&_argo0
,&_obj1
))
8812 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8813 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextBackground. Expected _wxDC_p.");
8820 if (! wxColour_helper(_obj1
, &_arg1
))
8824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8825 wxDC_SetTextBackground(_arg0
,*_arg1
);
8827 wxPyEndAllowThreads(__tstate
);
8828 if (PyErr_Occurred()) return NULL
;
8829 } Py_INCREF(Py_None
);
8830 _resultobj
= Py_None
;
8834 #define wxDC_SetTextForeground(_swigobj,_swigarg0) (_swigobj->SetTextForeground(_swigarg0))
8835 static PyObject
*_wrap_wxDC_SetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8836 PyObject
* _resultobj
;
8839 PyObject
* _argo0
= 0;
8841 PyObject
* _obj1
= 0;
8842 char *_kwnames
[] = { "self","colour", NULL
};
8845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetTextForeground",_kwnames
,&_argo0
,&_obj1
))
8848 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8849 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextForeground. Expected _wxDC_p.");
8856 if (! wxColour_helper(_obj1
, &_arg1
))
8860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8861 wxDC_SetTextForeground(_arg0
,*_arg1
);
8863 wxPyEndAllowThreads(__tstate
);
8864 if (PyErr_Occurred()) return NULL
;
8865 } Py_INCREF(Py_None
);
8866 _resultobj
= Py_None
;
8870 #define wxDC_SetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetUserScale(_swigarg0,_swigarg1))
8871 static PyObject
*_wrap_wxDC_SetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8872 PyObject
* _resultobj
;
8876 PyObject
* _argo0
= 0;
8877 char *_kwnames
[] = { "self","x_scale","y_scale", NULL
};
8880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxDC_SetUserScale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetUserScale. Expected _wxDC_p.");
8890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8891 wxDC_SetUserScale(_arg0
,_arg1
,_arg2
);
8893 wxPyEndAllowThreads(__tstate
);
8894 if (PyErr_Occurred()) return NULL
;
8895 } Py_INCREF(Py_None
);
8896 _resultobj
= Py_None
;
8900 #define wxDC_StartDoc(_swigobj,_swigarg0) (_swigobj->StartDoc(_swigarg0))
8901 static PyObject
*_wrap_wxDC_StartDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8902 PyObject
* _resultobj
;
8906 PyObject
* _argo0
= 0;
8907 PyObject
* _obj1
= 0;
8908 char *_kwnames
[] = { "self","message", NULL
};
8911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_StartDoc",_kwnames
,&_argo0
,&_obj1
))
8914 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8915 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartDoc. Expected _wxDC_p.");
8921 _arg1
= wxString_in_helper(_obj1
);
8926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8927 _result
= (bool )wxDC_StartDoc(_arg0
,*_arg1
);
8929 wxPyEndAllowThreads(__tstate
);
8930 if (PyErr_Occurred()) return NULL
;
8931 } _resultobj
= Py_BuildValue("i",_result
);
8939 #define wxDC_StartPage(_swigobj) (_swigobj->StartPage())
8940 static PyObject
*_wrap_wxDC_StartPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8941 PyObject
* _resultobj
;
8943 PyObject
* _argo0
= 0;
8944 char *_kwnames
[] = { "self", NULL
};
8947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_StartPage",_kwnames
,&_argo0
))
8950 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8951 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartPage. Expected _wxDC_p.");
8957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8958 wxDC_StartPage(_arg0
);
8960 wxPyEndAllowThreads(__tstate
);
8961 if (PyErr_Occurred()) return NULL
;
8962 } Py_INCREF(Py_None
);
8963 _resultobj
= Py_None
;
8967 #define wxDC_DrawBitmap(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8968 static PyObject
*_wrap_wxDC_DrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8969 PyObject
* _resultobj
;
8974 int _arg4
= (int ) FALSE
;
8975 PyObject
* _argo0
= 0;
8976 PyObject
* _argo1
= 0;
8977 char *_kwnames
[] = { "self","bitmap","x","y","useMask", NULL
};
8980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOll|i:wxDC_DrawBitmap",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
))
8983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawBitmap. Expected _wxDC_p.");
8990 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8991 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
8992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawBitmap. Expected _wxBitmap_p.");
8997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8998 wxDC_DrawBitmap(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
9000 wxPyEndAllowThreads(__tstate
);
9001 if (PyErr_Occurred()) return NULL
;
9002 } Py_INCREF(Py_None
);
9003 _resultobj
= Py_None
;
9007 #define wxDC_CanDrawBitmap(_swigobj) (_swigobj->CanDrawBitmap())
9008 static PyObject
*_wrap_wxDC_CanDrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9009 PyObject
* _resultobj
;
9012 PyObject
* _argo0
= 0;
9013 char *_kwnames
[] = { "self", NULL
};
9016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_CanDrawBitmap",_kwnames
,&_argo0
))
9019 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9020 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CanDrawBitmap. Expected _wxDC_p.");
9026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9027 _result
= (bool )wxDC_CanDrawBitmap(_arg0
);
9029 wxPyEndAllowThreads(__tstate
);
9030 if (PyErr_Occurred()) return NULL
;
9031 } _resultobj
= Py_BuildValue("i",_result
);
9035 #define wxDC_CanGetTextExtent(_swigobj) (_swigobj->CanGetTextExtent())
9036 static PyObject
*_wrap_wxDC_CanGetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9037 PyObject
* _resultobj
;
9040 PyObject
* _argo0
= 0;
9041 char *_kwnames
[] = { "self", NULL
};
9044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_CanGetTextExtent",_kwnames
,&_argo0
))
9047 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9048 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CanGetTextExtent. Expected _wxDC_p.");
9054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9055 _result
= (bool )wxDC_CanGetTextExtent(_arg0
);
9057 wxPyEndAllowThreads(__tstate
);
9058 if (PyErr_Occurred()) return NULL
;
9059 } _resultobj
= Py_BuildValue("i",_result
);
9063 #define wxDC_GetDepth(_swigobj) (_swigobj->GetDepth())
9064 static PyObject
*_wrap_wxDC_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9065 PyObject
* _resultobj
;
9068 PyObject
* _argo0
= 0;
9069 char *_kwnames
[] = { "self", NULL
};
9072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetDepth",_kwnames
,&_argo0
))
9075 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9076 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetDepth. Expected _wxDC_p.");
9082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9083 _result
= (int )wxDC_GetDepth(_arg0
);
9085 wxPyEndAllowThreads(__tstate
);
9086 if (PyErr_Occurred()) return NULL
;
9087 } _resultobj
= Py_BuildValue("i",_result
);
9091 #define wxDC_GetPPI(_swigobj) (_swigobj->GetPPI())
9092 static PyObject
*_wrap_wxDC_GetPPI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9093 PyObject
* _resultobj
;
9096 PyObject
* _argo0
= 0;
9097 char *_kwnames
[] = { "self", NULL
};
9101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetPPI",_kwnames
,&_argo0
))
9104 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9105 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPPI. Expected _wxDC_p.");
9111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9112 _result
= new wxSize (wxDC_GetPPI(_arg0
));
9114 wxPyEndAllowThreads(__tstate
);
9115 if (PyErr_Occurred()) return NULL
;
9116 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
9117 _resultobj
= Py_BuildValue("s",_ptemp
);
9121 #define wxDC_GetLogicalOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLogicalOrigin(_swigarg0,_swigarg1))
9122 static PyObject
*_wrap_wxDC_GetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9123 PyObject
* _resultobj
;
9129 PyObject
* _argo0
= 0;
9130 char *_kwnames
[] = { "self", NULL
};
9139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalOrigin",_kwnames
,&_argo0
))
9142 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9143 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalOrigin. Expected _wxDC_p.");
9149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9150 wxDC_GetLogicalOrigin(_arg0
,_arg1
,_arg2
);
9152 wxPyEndAllowThreads(__tstate
);
9153 if (PyErr_Occurred()) return NULL
;
9154 } Py_INCREF(Py_None
);
9155 _resultobj
= Py_None
;
9158 o
= PyInt_FromLong((long) (*_arg1
));
9159 _resultobj
= t_output_helper(_resultobj
, o
);
9163 o
= PyInt_FromLong((long) (*_arg2
));
9164 _resultobj
= t_output_helper(_resultobj
, o
);
9169 #define wxDC_SetLogicalOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLogicalOrigin(_swigarg0,_swigarg1))
9170 static PyObject
*_wrap_wxDC_SetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9171 PyObject
* _resultobj
;
9175 PyObject
* _argo0
= 0;
9176 char *_kwnames
[] = { "self","x","y", NULL
};
9179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_SetLogicalOrigin",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9182 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9183 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalOrigin. Expected _wxDC_p.");
9189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9190 wxDC_SetLogicalOrigin(_arg0
,_arg1
,_arg2
);
9192 wxPyEndAllowThreads(__tstate
);
9193 if (PyErr_Occurred()) return NULL
;
9194 } Py_INCREF(Py_None
);
9195 _resultobj
= Py_None
;
9199 #define wxDC_GetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDeviceOrigin(_swigarg0,_swigarg1))
9200 static PyObject
*_wrap_wxDC_GetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9201 PyObject
* _resultobj
;
9207 PyObject
* _argo0
= 0;
9208 char *_kwnames
[] = { "self", NULL
};
9217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetDeviceOrigin",_kwnames
,&_argo0
))
9220 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9221 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetDeviceOrigin. Expected _wxDC_p.");
9227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9228 wxDC_GetDeviceOrigin(_arg0
,_arg1
,_arg2
);
9230 wxPyEndAllowThreads(__tstate
);
9231 if (PyErr_Occurred()) return NULL
;
9232 } Py_INCREF(Py_None
);
9233 _resultobj
= Py_None
;
9236 o
= PyInt_FromLong((long) (*_arg1
));
9237 _resultobj
= t_output_helper(_resultobj
, o
);
9241 o
= PyInt_FromLong((long) (*_arg2
));
9242 _resultobj
= t_output_helper(_resultobj
, o
);
9247 #define wxDC_SetAxisOrientation(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAxisOrientation(_swigarg0,_swigarg1))
9248 static PyObject
*_wrap_wxDC_SetAxisOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9249 PyObject
* _resultobj
;
9253 PyObject
* _argo0
= 0;
9256 char *_kwnames
[] = { "self","xLeftRight","yBottomUp", NULL
};
9259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_SetAxisOrientation",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
9262 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9263 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetAxisOrientation. Expected _wxDC_p.");
9268 _arg1
= (bool ) tempbool1
;
9269 _arg2
= (bool ) tempbool2
;
9271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9272 wxDC_SetAxisOrientation(_arg0
,_arg1
,_arg2
);
9274 wxPyEndAllowThreads(__tstate
);
9275 if (PyErr_Occurred()) return NULL
;
9276 } Py_INCREF(Py_None
);
9277 _resultobj
= Py_None
;
9281 #define wxDC_CalcBoundingBox(_swigobj,_swigarg0,_swigarg1) (_swigobj->CalcBoundingBox(_swigarg0,_swigarg1))
9282 static PyObject
*_wrap_wxDC_CalcBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9283 PyObject
* _resultobj
;
9287 PyObject
* _argo0
= 0;
9288 char *_kwnames
[] = { "self","x","y", NULL
};
9291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_CalcBoundingBox",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CalcBoundingBox. Expected _wxDC_p.");
9301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9302 wxDC_CalcBoundingBox(_arg0
,_arg1
,_arg2
);
9304 wxPyEndAllowThreads(__tstate
);
9305 if (PyErr_Occurred()) return NULL
;
9306 } Py_INCREF(Py_None
);
9307 _resultobj
= Py_None
;
9311 #define wxDC_ResetBoundingBox(_swigobj) (_swigobj->ResetBoundingBox())
9312 static PyObject
*_wrap_wxDC_ResetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9313 PyObject
* _resultobj
;
9315 PyObject
* _argo0
= 0;
9316 char *_kwnames
[] = { "self", NULL
};
9319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_ResetBoundingBox",_kwnames
,&_argo0
))
9322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_ResetBoundingBox. Expected _wxDC_p.");
9329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9330 wxDC_ResetBoundingBox(_arg0
);
9332 wxPyEndAllowThreads(__tstate
);
9333 if (PyErr_Occurred()) return NULL
;
9334 } Py_INCREF(Py_None
);
9335 _resultobj
= Py_None
;
9339 static PyObject
*_wrap_wxDC_GetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9340 PyObject
* _resultobj
;
9350 PyObject
* _argo0
= 0;
9351 char *_kwnames
[] = { "self", NULL
};
9366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBoundingBox",_kwnames
,&_argo0
))
9369 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9370 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBoundingBox. Expected _wxDC_p.");
9376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9377 wxDC_GetBoundingBox(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
9379 wxPyEndAllowThreads(__tstate
);
9380 if (PyErr_Occurred()) return NULL
;
9381 } Py_INCREF(Py_None
);
9382 _resultobj
= Py_None
;
9385 o
= PyInt_FromLong((long) (*_arg1
));
9386 _resultobj
= t_output_helper(_resultobj
, o
);
9390 o
= PyInt_FromLong((long) (*_arg2
));
9391 _resultobj
= t_output_helper(_resultobj
, o
);
9395 o
= PyInt_FromLong((long) (*_arg3
));
9396 _resultobj
= t_output_helper(_resultobj
, o
);
9400 o
= PyInt_FromLong((long) (*_arg4
));
9401 _resultobj
= t_output_helper(_resultobj
, o
);
9406 static PyObject
* wxDC__DrawPointList(wxDC
*self
,PyObject
* pyPoints
,PyObject
* pyPens
) {
9407 bool isFastSeq
= PyList_Check(pyPoints
) || PyTuple_Check(pyPoints
);
9408 bool isFastPens
= PyList_Check(pyPens
) || PyTuple_Check(pyPens
);
9416 if (!PySequence_Check(pyPoints
)) {
9419 if (!PySequence_Check(pyPens
)) {
9422 numObjs
= PySequence_Length(pyPoints
);
9423 numPens
= PySequence_Length(pyPens
);
9425 for (i
= 0; i
< numObjs
; i
++) {
9429 obj
= PySequence_Fast_GET_ITEM(pyPens
, i
);
9432 obj
= PySequence_GetItem(pyPens
, i
);
9434 if (SWIG_GetPtrObj(obj
, (void **) &pen
, "_wxPen_p")) {
9445 // Get the point coordinants
9447 obj
= PySequence_Fast_GET_ITEM(pyPoints
, i
);
9450 obj
= PySequence_GetItem(pyPoints
, i
);
9452 if (! _2int_seq_helper(obj
, &x1
, &y1
)) {
9458 // Now draw the point
9459 self
->DrawPoint(x1
, y1
);
9469 PyErr_SetString(PyExc_TypeError
, "Expected a sequence of wxPens");
9472 PyErr_SetString(PyExc_TypeError
, "Expected a sequence of (x,y) sequences.");
9475 static PyObject
*_wrap_wxDC__DrawPointList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9476 PyObject
* _resultobj
;
9481 PyObject
* _argo0
= 0;
9482 PyObject
* _obj1
= 0;
9483 PyObject
* _obj2
= 0;
9484 char *_kwnames
[] = { "self","pyPoints","pyPens", NULL
};
9487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDC__DrawPointList",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
9490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC__DrawPointList. Expected _wxDC_p.");
9503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9504 _result
= (PyObject
*)wxDC__DrawPointList(_arg0
,_arg1
,_arg2
);
9506 wxPyEndAllowThreads(__tstate
);
9507 if (PyErr_Occurred()) return NULL
;
9509 _resultobj
= _result
;
9514 static PyObject
* wxDC__DrawLineList(wxDC
*self
,PyObject
* pyLines
,PyObject
* pyPens
) {
9515 bool isFastSeq
= PyList_Check(pyLines
) || PyTuple_Check(pyLines
);
9516 bool isFastPens
= PyList_Check(pyPens
) || PyTuple_Check(pyPens
);
9524 if (!PySequence_Check(pyLines
)) {
9527 if (!PySequence_Check(pyPens
)) {
9530 numObjs
= PySequence_Length(pyLines
);
9531 numPens
= PySequence_Length(pyPens
);
9533 for (i
= 0; i
< numObjs
; i
++) {
9537 obj
= PySequence_Fast_GET_ITEM(pyPens
, i
);
9540 obj
= PySequence_GetItem(pyPens
, i
);
9542 if (SWIG_GetPtrObj(obj
, (void **) &pen
, "_wxPen_p")) {
9553 // Get the line coordinants
9555 obj
= PySequence_Fast_GET_ITEM(pyLines
, i
);
9558 obj
= PySequence_GetItem(pyLines
, i
);
9560 if (! _4int_seq_helper(obj
, &x1
, &y1
, &x2
, &y2
)) {
9566 // Now draw the line
9567 self
->DrawLine(x1
, y1
, x2
, y2
);
9577 PyErr_SetString(PyExc_TypeError
, "Expected a sequence of wxPens");
9580 PyErr_SetString(PyExc_TypeError
, "Expected a sequence of (x1,y1, x2,y2) sequences.");
9583 static PyObject
*_wrap_wxDC__DrawLineList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9584 PyObject
* _resultobj
;
9589 PyObject
* _argo0
= 0;
9590 PyObject
* _obj1
= 0;
9591 PyObject
* _obj2
= 0;
9592 char *_kwnames
[] = { "self","pyLines","pyPens", NULL
};
9595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDC__DrawLineList",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
9598 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9599 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC__DrawLineList. Expected _wxDC_p.");
9611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9612 _result
= (PyObject
*)wxDC__DrawLineList(_arg0
,_arg1
,_arg2
);
9614 wxPyEndAllowThreads(__tstate
);
9615 if (PyErr_Occurred()) return NULL
;
9617 _resultobj
= _result
;
9622 static void *SwigwxMemoryDCTowxDC(void *ptr
) {
9625 src
= (wxMemoryDC
*) ptr
;
9626 dest
= (wxDC
*) src
;
9627 return (void *) dest
;
9630 static void *SwigwxMemoryDCTowxObject(void *ptr
) {
9633 src
= (wxMemoryDC
*) ptr
;
9634 dest
= (wxObject
*) src
;
9635 return (void *) dest
;
9638 #define new_wxMemoryDC() (new wxMemoryDC())
9639 static PyObject
*_wrap_new_wxMemoryDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9640 PyObject
* _resultobj
;
9641 wxMemoryDC
* _result
;
9642 char *_kwnames
[] = { NULL
};
9646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMemoryDC",_kwnames
))
9649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9650 _result
= (wxMemoryDC
*)new_wxMemoryDC();
9652 wxPyEndAllowThreads(__tstate
);
9653 if (PyErr_Occurred()) return NULL
;
9655 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
9656 _resultobj
= Py_BuildValue("s",_ptemp
);
9659 _resultobj
= Py_None
;
9664 #define wxMemoryDC_SelectObject(_swigobj,_swigarg0) (_swigobj->SelectObject(_swigarg0))
9665 static PyObject
*_wrap_wxMemoryDC_SelectObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9666 PyObject
* _resultobj
;
9669 PyObject
* _argo0
= 0;
9670 PyObject
* _argo1
= 0;
9671 char *_kwnames
[] = { "self","bitmap", NULL
};
9674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMemoryDC_SelectObject",_kwnames
,&_argo0
,&_argo1
))
9677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMemoryDC_p")) {
9679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDC_SelectObject. Expected _wxMemoryDC_p.");
9684 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9685 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
9686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMemoryDC_SelectObject. Expected _wxBitmap_p.");
9691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9692 wxMemoryDC_SelectObject(_arg0
,*_arg1
);
9694 wxPyEndAllowThreads(__tstate
);
9695 if (PyErr_Occurred()) return NULL
;
9696 } Py_INCREF(Py_None
);
9697 _resultobj
= Py_None
;
9701 static void *SwigwxBufferedDCTowxMemoryDC(void *ptr
) {
9704 src
= (wxBufferedDC
*) ptr
;
9705 dest
= (wxMemoryDC
*) src
;
9706 return (void *) dest
;
9709 static void *SwigwxBufferedDCTowxDC(void *ptr
) {
9712 src
= (wxBufferedDC
*) ptr
;
9713 dest
= (wxDC
*) src
;
9714 return (void *) dest
;
9717 static void *SwigwxBufferedDCTowxObject(void *ptr
) {
9720 src
= (wxBufferedDC
*) ptr
;
9721 dest
= (wxObject
*) src
;
9722 return (void *) dest
;
9725 #define new_wxBufferedDC(_swigarg0,_swigarg1) (new wxBufferedDC(_swigarg0,_swigarg1))
9726 static PyObject
*_wrap_new_wxBufferedDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9727 PyObject
* _resultobj
;
9728 wxBufferedDC
* _result
;
9731 PyObject
* _argo0
= 0;
9732 PyObject
* _argo1
= 0;
9733 char *_kwnames
[] = { "dc","buffer", NULL
};
9737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxBufferedDC",_kwnames
,&_argo0
,&_argo1
))
9740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBufferedDC. Expected _wxDC_p.");
9747 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9748 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
9749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxBufferedDC. Expected _wxBitmap_p.");
9754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9755 _result
= (wxBufferedDC
*)new_wxBufferedDC(_arg0
,*_arg1
);
9757 wxPyEndAllowThreads(__tstate
);
9758 if (PyErr_Occurred()) return NULL
;
9760 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBufferedDC_p");
9761 _resultobj
= Py_BuildValue("s",_ptemp
);
9764 _resultobj
= Py_None
;
9769 #define new_wxBufferedDCInternalBuffer(_swigarg0,_swigarg1) (new wxBufferedDC(_swigarg0,_swigarg1))
9770 static PyObject
*_wrap_new_wxBufferedDCInternalBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9771 PyObject
* _resultobj
;
9772 wxBufferedDC
* _result
;
9775 PyObject
* _argo0
= 0;
9777 PyObject
* _obj1
= 0;
9778 char *_kwnames
[] = { "dc","area", NULL
};
9782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxBufferedDCInternalBuffer",_kwnames
,&_argo0
,&_obj1
))
9785 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9786 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBufferedDCInternalBuffer. Expected _wxDC_p.");
9793 if (! wxSize_helper(_obj1
, &_arg1
))
9797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9798 _result
= (wxBufferedDC
*)new_wxBufferedDCInternalBuffer(_arg0
,*_arg1
);
9800 wxPyEndAllowThreads(__tstate
);
9801 if (PyErr_Occurred()) return NULL
;
9803 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBufferedDC_p");
9804 _resultobj
= Py_BuildValue("s",_ptemp
);
9807 _resultobj
= Py_None
;
9812 static void *SwigwxBufferedPaintDCTowxBufferedDC(void *ptr
) {
9813 wxBufferedPaintDC
*src
;
9815 src
= (wxBufferedPaintDC
*) ptr
;
9816 dest
= (wxBufferedDC
*) src
;
9817 return (void *) dest
;
9820 static void *SwigwxBufferedPaintDCTowxMemoryDC(void *ptr
) {
9821 wxBufferedPaintDC
*src
;
9823 src
= (wxBufferedPaintDC
*) ptr
;
9824 dest
= (wxMemoryDC
*) src
;
9825 return (void *) dest
;
9828 static void *SwigwxBufferedPaintDCTowxDC(void *ptr
) {
9829 wxBufferedPaintDC
*src
;
9831 src
= (wxBufferedPaintDC
*) ptr
;
9832 dest
= (wxDC
*) src
;
9833 return (void *) dest
;
9836 static void *SwigwxBufferedPaintDCTowxObject(void *ptr
) {
9837 wxBufferedPaintDC
*src
;
9839 src
= (wxBufferedPaintDC
*) ptr
;
9840 dest
= (wxObject
*) src
;
9841 return (void *) dest
;
9844 #define new_wxBufferedPaintDC(_swigarg0,_swigarg1) (new wxBufferedPaintDC(_swigarg0,_swigarg1))
9845 static PyObject
*_wrap_new_wxBufferedPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9846 PyObject
* _resultobj
;
9847 wxBufferedPaintDC
* _result
;
9849 wxBitmap
* _arg1
= (wxBitmap
*) &wxNullBitmap
;
9850 PyObject
* _argo0
= 0;
9851 PyObject
* _argo1
= 0;
9852 char *_kwnames
[] = { "window","buffer", NULL
};
9856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxBufferedPaintDC",_kwnames
,&_argo0
,&_argo1
))
9859 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9860 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBufferedPaintDC. Expected _wxWindow_p.");
9866 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9867 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
9868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxBufferedPaintDC. Expected _wxBitmap_p.");
9873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9874 _result
= (wxBufferedPaintDC
*)new_wxBufferedPaintDC(_arg0
,*_arg1
);
9876 wxPyEndAllowThreads(__tstate
);
9877 if (PyErr_Occurred()) return NULL
;
9879 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBufferedPaintDC_p");
9880 _resultobj
= Py_BuildValue("s",_ptemp
);
9883 _resultobj
= Py_None
;
9888 static void *SwigwxScreenDCTowxDC(void *ptr
) {
9891 src
= (wxScreenDC
*) ptr
;
9892 dest
= (wxDC
*) src
;
9893 return (void *) dest
;
9896 static void *SwigwxScreenDCTowxObject(void *ptr
) {
9899 src
= (wxScreenDC
*) ptr
;
9900 dest
= (wxObject
*) src
;
9901 return (void *) dest
;
9904 #define new_wxScreenDC() (new wxScreenDC())
9905 static PyObject
*_wrap_new_wxScreenDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9906 PyObject
* _resultobj
;
9907 wxScreenDC
* _result
;
9908 char *_kwnames
[] = { NULL
};
9912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxScreenDC",_kwnames
))
9915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9916 _result
= (wxScreenDC
*)new_wxScreenDC();
9918 wxPyEndAllowThreads(__tstate
);
9919 if (PyErr_Occurred()) return NULL
;
9921 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScreenDC_p");
9922 _resultobj
= Py_BuildValue("s",_ptemp
);
9925 _resultobj
= Py_None
;
9930 #define wxScreenDC_StartDrawingOnTopWin(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
9931 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTopWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9932 PyObject
* _resultobj
;
9936 PyObject
* _argo0
= 0;
9937 PyObject
* _argo1
= 0;
9938 char *_kwnames
[] = { "self","window", NULL
};
9941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScreenDC_StartDrawingOnTopWin",_kwnames
,&_argo0
,&_argo1
))
9944 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9945 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
9946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTopWin. Expected _wxScreenDC_p.");
9951 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9952 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
9953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScreenDC_StartDrawingOnTopWin. Expected _wxWindow_p.");
9958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9959 _result
= (bool )wxScreenDC_StartDrawingOnTopWin(_arg0
,_arg1
);
9961 wxPyEndAllowThreads(__tstate
);
9962 if (PyErr_Occurred()) return NULL
;
9963 } _resultobj
= Py_BuildValue("i",_result
);
9967 #define wxScreenDC_StartDrawingOnTop(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
9968 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9969 PyObject
* _resultobj
;
9972 wxRect
* _arg1
= (wxRect
*) NULL
;
9973 PyObject
* _argo0
= 0;
9975 PyObject
* _obj1
= 0;
9976 char *_kwnames
[] = { "self","rect", NULL
};
9979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxScreenDC_StartDrawingOnTop",_kwnames
,&_argo0
,&_obj1
))
9982 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9983 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
9984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTop. Expected _wxScreenDC_p.");
9991 if (! wxRect_helper(_obj1
, &_arg1
))
9995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9996 _result
= (bool )wxScreenDC_StartDrawingOnTop(_arg0
,_arg1
);
9998 wxPyEndAllowThreads(__tstate
);
9999 if (PyErr_Occurred()) return NULL
;
10000 } _resultobj
= Py_BuildValue("i",_result
);
10004 #define wxScreenDC_EndDrawingOnTop(_swigobj) (_swigobj->EndDrawingOnTop())
10005 static PyObject
*_wrap_wxScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10006 PyObject
* _resultobj
;
10008 wxScreenDC
* _arg0
;
10009 PyObject
* _argo0
= 0;
10010 char *_kwnames
[] = { "self", NULL
};
10013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScreenDC_EndDrawingOnTop",_kwnames
,&_argo0
))
10016 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10017 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
10018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_EndDrawingOnTop. Expected _wxScreenDC_p.");
10023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10024 _result
= (bool )wxScreenDC_EndDrawingOnTop(_arg0
);
10026 wxPyEndAllowThreads(__tstate
);
10027 if (PyErr_Occurred()) return NULL
;
10028 } _resultobj
= Py_BuildValue("i",_result
);
10032 static void *SwigwxClientDCTowxDC(void *ptr
) {
10035 src
= (wxClientDC
*) ptr
;
10036 dest
= (wxDC
*) src
;
10037 return (void *) dest
;
10040 static void *SwigwxClientDCTowxObject(void *ptr
) {
10043 src
= (wxClientDC
*) ptr
;
10044 dest
= (wxObject
*) src
;
10045 return (void *) dest
;
10048 #define new_wxClientDC(_swigarg0) (new wxClientDC(_swigarg0))
10049 static PyObject
*_wrap_new_wxClientDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10050 PyObject
* _resultobj
;
10051 wxClientDC
* _result
;
10053 PyObject
* _argo0
= 0;
10054 char *_kwnames
[] = { "win", NULL
};
10058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxClientDC",_kwnames
,&_argo0
))
10061 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10062 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
10063 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxClientDC. Expected _wxWindow_p.");
10068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10069 _result
= (wxClientDC
*)new_wxClientDC(_arg0
);
10071 wxPyEndAllowThreads(__tstate
);
10072 if (PyErr_Occurred()) return NULL
;
10074 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxClientDC_p");
10075 _resultobj
= Py_BuildValue("s",_ptemp
);
10077 Py_INCREF(Py_None
);
10078 _resultobj
= Py_None
;
10083 static void *SwigwxPaintDCTowxDC(void *ptr
) {
10086 src
= (wxPaintDC
*) ptr
;
10087 dest
= (wxDC
*) src
;
10088 return (void *) dest
;
10091 static void *SwigwxPaintDCTowxObject(void *ptr
) {
10094 src
= (wxPaintDC
*) ptr
;
10095 dest
= (wxObject
*) src
;
10096 return (void *) dest
;
10099 #define new_wxPaintDC(_swigarg0) (new wxPaintDC(_swigarg0))
10100 static PyObject
*_wrap_new_wxPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10101 PyObject
* _resultobj
;
10102 wxPaintDC
* _result
;
10104 PyObject
* _argo0
= 0;
10105 char *_kwnames
[] = { "win", NULL
};
10109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPaintDC",_kwnames
,&_argo0
))
10112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
10114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPaintDC. Expected _wxWindow_p.");
10119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10120 _result
= (wxPaintDC
*)new_wxPaintDC(_arg0
);
10122 wxPyEndAllowThreads(__tstate
);
10123 if (PyErr_Occurred()) return NULL
;
10125 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPaintDC_p");
10126 _resultobj
= Py_BuildValue("s",_ptemp
);
10128 Py_INCREF(Py_None
);
10129 _resultobj
= Py_None
;
10134 static void *SwigwxWindowDCTowxDC(void *ptr
) {
10137 src
= (wxWindowDC
*) ptr
;
10138 dest
= (wxDC
*) src
;
10139 return (void *) dest
;
10142 static void *SwigwxWindowDCTowxObject(void *ptr
) {
10145 src
= (wxWindowDC
*) ptr
;
10146 dest
= (wxObject
*) src
;
10147 return (void *) dest
;
10150 #define new_wxWindowDC(_swigarg0) (new wxWindowDC(_swigarg0))
10151 static PyObject
*_wrap_new_wxWindowDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10152 PyObject
* _resultobj
;
10153 wxWindowDC
* _result
;
10155 PyObject
* _argo0
= 0;
10156 char *_kwnames
[] = { "win", NULL
};
10160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxWindowDC",_kwnames
,&_argo0
))
10163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
10165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDC. Expected _wxWindow_p.");
10170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10171 _result
= (wxWindowDC
*)new_wxWindowDC(_arg0
);
10173 wxPyEndAllowThreads(__tstate
);
10174 if (PyErr_Occurred()) return NULL
;
10176 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDC_p");
10177 _resultobj
= Py_BuildValue("s",_ptemp
);
10179 Py_INCREF(Py_None
);
10180 _resultobj
= Py_None
;
10185 static void *SwigwxPaletteTowxGDIObject(void *ptr
) {
10188 src
= (wxPalette
*) ptr
;
10189 dest
= (wxGDIObject
*) src
;
10190 return (void *) dest
;
10193 static void *SwigwxPaletteTowxObject(void *ptr
) {
10196 src
= (wxPalette
*) ptr
;
10197 dest
= (wxObject
*) src
;
10198 return (void *) dest
;
10201 #define new_wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10202 static PyObject
*_wrap_new_wxPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10203 PyObject
* _resultobj
;
10204 wxPalette
* _result
;
10209 PyObject
* _obj1
= 0;
10210 PyObject
* _obj2
= 0;
10211 PyObject
* _obj3
= 0;
10212 char *_kwnames
[] = { "choices","choices","choices", NULL
};
10216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:new_wxPalette",_kwnames
,&_obj1
,&_obj2
,&_obj3
))
10219 _arg1
= byte_LIST_helper(_obj1
);
10220 if (_arg1
== NULL
) {
10225 _arg2
= byte_LIST_helper(_obj2
);
10226 if (_arg2
== NULL
) {
10232 _arg3
= byte_LIST_helper(_obj3
);
10233 if (_arg3
== NULL
) {
10239 _arg0
= PyList_Size(_obj1
);
10246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10247 _result
= (wxPalette
*)new_wxPalette(_arg0
,_arg1
,_arg2
,_arg3
);
10249 wxPyEndAllowThreads(__tstate
);
10250 if (PyErr_Occurred()) return NULL
;
10252 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPalette_p");
10253 _resultobj
= Py_BuildValue("s",_ptemp
);
10255 Py_INCREF(Py_None
);
10256 _resultobj
= Py_None
;
10270 #define delete_wxPalette(_swigobj) (delete _swigobj)
10271 static PyObject
*_wrap_delete_wxPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10272 PyObject
* _resultobj
;
10274 PyObject
* _argo0
= 0;
10275 char *_kwnames
[] = { "self", NULL
};
10278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPalette",_kwnames
,&_argo0
))
10281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
10283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPalette. Expected _wxPalette_p.");
10288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10289 delete_wxPalette(_arg0
);
10291 wxPyEndAllowThreads(__tstate
);
10292 if (PyErr_Occurred()) return NULL
;
10293 } Py_INCREF(Py_None
);
10294 _resultobj
= Py_None
;
10298 #define wxPalette_GetPixel(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetPixel(_swigarg0,_swigarg1,_swigarg2))
10299 static PyObject
*_wrap_wxPalette_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10300 PyObject
* _resultobj
;
10306 PyObject
* _argo0
= 0;
10307 char *_kwnames
[] = { "self","red","green","blue", NULL
};
10310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Obbb:wxPalette_GetPixel",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
10313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
10315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetPixel. Expected _wxPalette_p.");
10320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10321 _result
= (int )wxPalette_GetPixel(_arg0
,_arg1
,_arg2
,_arg3
);
10323 wxPyEndAllowThreads(__tstate
);
10324 if (PyErr_Occurred()) return NULL
;
10325 } _resultobj
= Py_BuildValue("i",_result
);
10329 #define wxPalette_GetRGB(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetRGB(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10330 static PyObject
*_wrap_wxPalette_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10331 PyObject
* _resultobj
;
10341 PyObject
* _argo0
= 0;
10342 char *_kwnames
[] = { "self","pixel", NULL
};
10346 _arg2
= (byte
*)&temp
;
10349 _arg3
= (byte
*)&temp0
;
10352 _arg4
= (byte
*)&temp1
;
10354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPalette_GetRGB",_kwnames
,&_argo0
,&_arg1
))
10357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
10359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetRGB. Expected _wxPalette_p.");
10364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10365 _result
= (bool )wxPalette_GetRGB(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
10367 wxPyEndAllowThreads(__tstate
);
10368 if (PyErr_Occurred()) return NULL
;
10369 } _resultobj
= Py_BuildValue("i",_result
);
10372 o
= PyInt_FromLong((long) (*_arg2
));
10373 _resultobj
= t_output_helper(_resultobj
, o
);
10377 o
= PyInt_FromLong((long) (*_arg3
));
10378 _resultobj
= t_output_helper(_resultobj
, o
);
10382 o
= PyInt_FromLong((long) (*_arg4
));
10383 _resultobj
= t_output_helper(_resultobj
, o
);
10388 #define wxPalette_Ok(_swigobj) (_swigobj->Ok())
10389 static PyObject
*_wrap_wxPalette_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10390 PyObject
* _resultobj
;
10393 PyObject
* _argo0
= 0;
10394 char *_kwnames
[] = { "self", NULL
};
10397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPalette_Ok",_kwnames
,&_argo0
))
10400 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10401 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
10402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_Ok. Expected _wxPalette_p.");
10407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10408 _result
= (bool )wxPalette_Ok(_arg0
);
10410 wxPyEndAllowThreads(__tstate
);
10411 if (PyErr_Occurred()) return NULL
;
10412 } _resultobj
= Py_BuildValue("i",_result
);
10416 static void *SwigwxImageListTowxObject(void *ptr
) {
10419 src
= (wxImageList
*) ptr
;
10420 dest
= (wxObject
*) src
;
10421 return (void *) dest
;
10424 #define new_wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10425 static PyObject
*_wrap_new_wxImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10426 PyObject
* _resultobj
;
10427 wxImageList
* _result
;
10430 int _arg2
= (int ) TRUE
;
10431 int _arg3
= (int ) 1;
10432 char *_kwnames
[] = { "width","height","mask","initialCount", NULL
};
10436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ii|ii:new_wxImageList",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
10439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10440 _result
= (wxImageList
*)new_wxImageList(_arg0
,_arg1
,_arg2
,_arg3
);
10442 wxPyEndAllowThreads(__tstate
);
10443 if (PyErr_Occurred()) return NULL
;
10445 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
10446 _resultobj
= Py_BuildValue("s",_ptemp
);
10448 Py_INCREF(Py_None
);
10449 _resultobj
= Py_None
;
10454 #define delete_wxImageList(_swigobj) (delete _swigobj)
10455 static PyObject
*_wrap_delete_wxImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10456 PyObject
* _resultobj
;
10457 wxImageList
* _arg0
;
10458 PyObject
* _argo0
= 0;
10459 char *_kwnames
[] = { "self", NULL
};
10462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxImageList",_kwnames
,&_argo0
))
10465 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10466 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxImageList. Expected _wxImageList_p.");
10472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10473 delete_wxImageList(_arg0
);
10475 wxPyEndAllowThreads(__tstate
);
10476 if (PyErr_Occurred()) return NULL
;
10477 } Py_INCREF(Py_None
);
10478 _resultobj
= Py_None
;
10482 #define wxImageList_Add(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
10483 static PyObject
*_wrap_wxImageList_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10484 PyObject
* _resultobj
;
10486 wxImageList
* _arg0
;
10488 wxBitmap
* _arg2
= (wxBitmap
*) &wxNullBitmap
;
10489 PyObject
* _argo0
= 0;
10490 PyObject
* _argo1
= 0;
10491 PyObject
* _argo2
= 0;
10492 char *_kwnames
[] = { "self","bitmap","mask", NULL
};
10495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxImageList_Add",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
10498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Add. Expected _wxImageList_p.");
10505 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10506 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
10507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_Add. Expected _wxBitmap_p.");
10512 if (_argo2
== Py_None
) { _arg2
= NULL
; }
10513 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
10514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Add. Expected _wxBitmap_p.");
10519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10520 _result
= (int )wxImageList_Add(_arg0
,*_arg1
,*_arg2
);
10522 wxPyEndAllowThreads(__tstate
);
10523 if (PyErr_Occurred()) return NULL
;
10524 } _resultobj
= Py_BuildValue("i",_result
);
10528 #define wxImageList_AddWithColourMask(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
10529 static PyObject
*_wrap_wxImageList_AddWithColourMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10530 PyObject
* _resultobj
;
10532 wxImageList
* _arg0
;
10535 PyObject
* _argo0
= 0;
10536 PyObject
* _argo1
= 0;
10538 PyObject
* _obj2
= 0;
10539 char *_kwnames
[] = { "self","bitmap","maskColour", NULL
};
10542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxImageList_AddWithColourMask",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
10545 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10546 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_AddWithColourMask. Expected _wxImageList_p.");
10552 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10553 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
10554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_AddWithColourMask. Expected _wxBitmap_p.");
10560 if (! wxColour_helper(_obj2
, &_arg2
))
10564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10565 _result
= (int )wxImageList_AddWithColourMask(_arg0
,*_arg1
,*_arg2
);
10567 wxPyEndAllowThreads(__tstate
);
10568 if (PyErr_Occurred()) return NULL
;
10569 } _resultobj
= Py_BuildValue("i",_result
);
10573 #define wxImageList_AddIcon(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
10574 static PyObject
*_wrap_wxImageList_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10575 PyObject
* _resultobj
;
10577 wxImageList
* _arg0
;
10579 PyObject
* _argo0
= 0;
10580 PyObject
* _argo1
= 0;
10581 char *_kwnames
[] = { "self","icon", NULL
};
10584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxImageList_AddIcon",_kwnames
,&_argo0
,&_argo1
))
10587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_AddIcon. Expected _wxImageList_p.");
10594 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10595 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
10596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_AddIcon. Expected _wxIcon_p.");
10601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10602 _result
= (int )wxImageList_AddIcon(_arg0
,*_arg1
);
10604 wxPyEndAllowThreads(__tstate
);
10605 if (PyErr_Occurred()) return NULL
;
10606 } _resultobj
= Py_BuildValue("i",_result
);
10610 #define wxImageList_Replace(_swigobj,_swigarg0,_swigarg1) (_swigobj->Replace(_swigarg0,_swigarg1))
10611 static PyObject
*_wrap_wxImageList_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10612 PyObject
* _resultobj
;
10614 wxImageList
* _arg0
;
10617 PyObject
* _argo0
= 0;
10618 PyObject
* _argo2
= 0;
10619 char *_kwnames
[] = { "self","index","bitmap", NULL
};
10622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxImageList_Replace",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
10625 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10626 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Replace. Expected _wxImageList_p.");
10632 if (_argo2
== Py_None
) { _arg2
= NULL
; }
10633 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
10634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Replace. Expected _wxBitmap_p.");
10639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10640 _result
= (bool )wxImageList_Replace(_arg0
,_arg1
,*_arg2
);
10642 wxPyEndAllowThreads(__tstate
);
10643 if (PyErr_Occurred()) return NULL
;
10644 } _resultobj
= Py_BuildValue("i",_result
);
10648 #define wxImageList_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
10649 static PyObject
*_wrap_wxImageList_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10650 PyObject
* _resultobj
;
10652 wxImageList
* _arg0
;
10657 int _arg5
= (int ) (wxIMAGELIST_DRAW_NORMAL
);
10658 bool _arg6
= (bool ) FALSE
;
10659 PyObject
* _argo0
= 0;
10660 PyObject
* _argo2
= 0;
10661 int tempbool6
= (int) FALSE
;
10662 char *_kwnames
[] = { "self","index","dc","x","x","flags","solidBackground", NULL
};
10665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOii|ii:wxImageList_Draw",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
10668 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10669 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Draw. Expected _wxImageList_p.");
10675 if (_argo2
== Py_None
) { _arg2
= NULL
; }
10676 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDC_p")) {
10677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Draw. Expected _wxDC_p.");
10681 _arg6
= (bool ) tempbool6
;
10683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10684 _result
= (bool )wxImageList_Draw(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
10686 wxPyEndAllowThreads(__tstate
);
10687 if (PyErr_Occurred()) return NULL
;
10688 } _resultobj
= Py_BuildValue("i",_result
);
10692 #define wxImageList_GetImageCount(_swigobj) (_swigobj->GetImageCount())
10693 static PyObject
*_wrap_wxImageList_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10694 PyObject
* _resultobj
;
10696 wxImageList
* _arg0
;
10697 PyObject
* _argo0
= 0;
10698 char *_kwnames
[] = { "self", NULL
};
10701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxImageList_GetImageCount",_kwnames
,&_argo0
))
10704 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10705 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_GetImageCount. Expected _wxImageList_p.");
10711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10712 _result
= (int )wxImageList_GetImageCount(_arg0
);
10714 wxPyEndAllowThreads(__tstate
);
10715 if (PyErr_Occurred()) return NULL
;
10716 } _resultobj
= Py_BuildValue("i",_result
);
10720 #define wxImageList_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
10721 static PyObject
*_wrap_wxImageList_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10722 PyObject
* _resultobj
;
10724 wxImageList
* _arg0
;
10726 PyObject
* _argo0
= 0;
10727 char *_kwnames
[] = { "self","index", NULL
};
10730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxImageList_Remove",_kwnames
,&_argo0
,&_arg1
))
10733 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10734 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Remove. Expected _wxImageList_p.");
10740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10741 _result
= (bool )wxImageList_Remove(_arg0
,_arg1
);
10743 wxPyEndAllowThreads(__tstate
);
10744 if (PyErr_Occurred()) return NULL
;
10745 } _resultobj
= Py_BuildValue("i",_result
);
10749 #define wxImageList_RemoveAll(_swigobj) (_swigobj->RemoveAll())
10750 static PyObject
*_wrap_wxImageList_RemoveAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10751 PyObject
* _resultobj
;
10753 wxImageList
* _arg0
;
10754 PyObject
* _argo0
= 0;
10755 char *_kwnames
[] = { "self", NULL
};
10758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxImageList_RemoveAll",_kwnames
,&_argo0
))
10761 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10762 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_RemoveAll. Expected _wxImageList_p.");
10768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10769 _result
= (bool )wxImageList_RemoveAll(_arg0
);
10771 wxPyEndAllowThreads(__tstate
);
10772 if (PyErr_Occurred()) return NULL
;
10773 } _resultobj
= Py_BuildValue("i",_result
);
10777 #define wxImageList_GetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetSize(_swigarg0,_swigarg1,_swigarg2))
10778 static PyObject
*_wrap_wxImageList_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10779 PyObject
* _resultobj
;
10780 wxImageList
* _arg0
;
10786 PyObject
* _argo0
= 0;
10787 char *_kwnames
[] = { "self","index", NULL
};
10796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxImageList_GetSize",_kwnames
,&_argo0
,&_arg1
))
10799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_GetSize. Expected _wxImageList_p.");
10806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10807 wxImageList_GetSize(_arg0
,_arg1
,*_arg2
,*_arg3
);
10809 wxPyEndAllowThreads(__tstate
);
10810 if (PyErr_Occurred()) return NULL
;
10811 } Py_INCREF(Py_None
);
10812 _resultobj
= Py_None
;
10815 o
= PyInt_FromLong((long) (*_arg2
));
10816 _resultobj
= t_output_helper(_resultobj
, o
);
10820 o
= PyInt_FromLong((long) (*_arg3
));
10821 _resultobj
= t_output_helper(_resultobj
, o
);
10826 static void *SwigwxRegionTowxGDIObject(void *ptr
) {
10829 src
= (wxRegion
*) ptr
;
10830 dest
= (wxGDIObject
*) src
;
10831 return (void *) dest
;
10834 static void *SwigwxRegionTowxObject(void *ptr
) {
10837 src
= (wxRegion
*) ptr
;
10838 dest
= (wxObject
*) src
;
10839 return (void *) dest
;
10842 #define new_wxRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10843 static PyObject
*_wrap_new_wxRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10844 PyObject
* _resultobj
;
10845 wxRegion
* _result
;
10846 long _arg0
= (long ) 0;
10847 long _arg1
= (long ) 0;
10848 long _arg2
= (long ) 0;
10849 long _arg3
= (long ) 0;
10850 char *_kwnames
[] = { "x","y","width","height", NULL
};
10854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|llll:new_wxRegion",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
10857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10858 _result
= (wxRegion
*)new_wxRegion(_arg0
,_arg1
,_arg2
,_arg3
);
10860 wxPyEndAllowThreads(__tstate
);
10861 if (PyErr_Occurred()) return NULL
;
10863 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegion_p");
10864 _resultobj
= Py_BuildValue("s",_ptemp
);
10866 Py_INCREF(Py_None
);
10867 _resultobj
= Py_None
;
10872 #define delete_wxRegion(_swigobj) (delete _swigobj)
10873 static PyObject
*_wrap_delete_wxRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10874 PyObject
* _resultobj
;
10876 PyObject
* _argo0
= 0;
10877 char *_kwnames
[] = { "self", NULL
};
10880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRegion",_kwnames
,&_argo0
))
10883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegion. Expected _wxRegion_p.");
10890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10891 delete_wxRegion(_arg0
);
10893 wxPyEndAllowThreads(__tstate
);
10894 if (PyErr_Occurred()) return NULL
;
10895 } Py_INCREF(Py_None
);
10896 _resultobj
= Py_None
;
10900 #define wxRegion_Clear(_swigobj) (_swigobj->Clear())
10901 static PyObject
*_wrap_wxRegion_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10902 PyObject
* _resultobj
;
10904 PyObject
* _argo0
= 0;
10905 char *_kwnames
[] = { "self", NULL
};
10908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_Clear",_kwnames
,&_argo0
))
10911 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10912 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Clear. Expected _wxRegion_p.");
10918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10919 wxRegion_Clear(_arg0
);
10921 wxPyEndAllowThreads(__tstate
);
10922 if (PyErr_Occurred()) return NULL
;
10923 } Py_INCREF(Py_None
);
10924 _resultobj
= Py_None
;
10928 #define wxRegion_Contains(_swigobj,_swigarg0,_swigarg1) (_swigobj->Contains(_swigarg0,_swigarg1))
10929 static PyObject
*_wrap_wxRegion_Contains(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10930 PyObject
* _resultobj
;
10931 wxRegionContain _result
;
10935 PyObject
* _argo0
= 0;
10936 char *_kwnames
[] = { "self","x","y", NULL
};
10939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxRegion_Contains",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10942 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10943 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Contains. Expected _wxRegion_p.");
10949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10950 _result
= (wxRegionContain
)wxRegion_Contains(_arg0
,_arg1
,_arg2
);
10952 wxPyEndAllowThreads(__tstate
);
10953 if (PyErr_Occurred()) return NULL
;
10954 } _resultobj
= Py_BuildValue("i",_result
);
10958 #define wxRegion_ContainsPoint(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
10959 static PyObject
*_wrap_wxRegion_ContainsPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10960 PyObject
* _resultobj
;
10961 wxRegionContain _result
;
10964 PyObject
* _argo0
= 0;
10966 PyObject
* _obj1
= 0;
10967 char *_kwnames
[] = { "self","pt", NULL
};
10970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_ContainsPoint",_kwnames
,&_argo0
,&_obj1
))
10973 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10974 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsPoint. Expected _wxRegion_p.");
10981 if (! wxPoint_helper(_obj1
, &_arg1
))
10985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10986 _result
= (wxRegionContain
)wxRegion_ContainsPoint(_arg0
,*_arg1
);
10988 wxPyEndAllowThreads(__tstate
);
10989 if (PyErr_Occurred()) return NULL
;
10990 } _resultobj
= Py_BuildValue("i",_result
);
10994 #define wxRegion_ContainsRect(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
10995 static PyObject
*_wrap_wxRegion_ContainsRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10996 PyObject
* _resultobj
;
10997 wxRegionContain _result
;
11000 PyObject
* _argo0
= 0;
11002 PyObject
* _obj1
= 0;
11003 char *_kwnames
[] = { "self","rect", NULL
};
11006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_ContainsRect",_kwnames
,&_argo0
,&_obj1
))
11009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsRect. Expected _wxRegion_p.");
11017 if (! wxRect_helper(_obj1
, &_arg1
))
11021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11022 _result
= (wxRegionContain
)wxRegion_ContainsRect(_arg0
,*_arg1
);
11024 wxPyEndAllowThreads(__tstate
);
11025 if (PyErr_Occurred()) return NULL
;
11026 } _resultobj
= Py_BuildValue("i",_result
);
11030 #define wxRegion_ContainsRectDim(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Contains(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11031 static PyObject
*_wrap_wxRegion_ContainsRectDim(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11032 PyObject
* _resultobj
;
11033 wxRegionContain _result
;
11039 PyObject
* _argo0
= 0;
11040 char *_kwnames
[] = { "self","x","y","w","h", NULL
};
11043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_ContainsRectDim",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
11046 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11047 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsRectDim. Expected _wxRegion_p.");
11053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11054 _result
= (wxRegionContain
)wxRegion_ContainsRectDim(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
11056 wxPyEndAllowThreads(__tstate
);
11057 if (PyErr_Occurred()) return NULL
;
11058 } _resultobj
= Py_BuildValue("i",_result
);
11062 #define wxRegion_GetBox(_swigobj) (_swigobj->GetBox())
11063 static PyObject
*_wrap_wxRegion_GetBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11064 PyObject
* _resultobj
;
11067 PyObject
* _argo0
= 0;
11068 char *_kwnames
[] = { "self", NULL
};
11072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_GetBox",_kwnames
,&_argo0
))
11075 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11076 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_GetBox. Expected _wxRegion_p.");
11082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11083 _result
= new wxRect (wxRegion_GetBox(_arg0
));
11085 wxPyEndAllowThreads(__tstate
);
11086 if (PyErr_Occurred()) return NULL
;
11087 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
11088 _resultobj
= Py_BuildValue("s",_ptemp
);
11092 #define wxRegion_Intersect(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Intersect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11093 static PyObject
*_wrap_wxRegion_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11094 PyObject
* _resultobj
;
11101 PyObject
* _argo0
= 0;
11102 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
11105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Intersect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
11108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Intersect. Expected _wxRegion_p.");
11115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11116 _result
= (bool )wxRegion_Intersect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
11118 wxPyEndAllowThreads(__tstate
);
11119 if (PyErr_Occurred()) return NULL
;
11120 } _resultobj
= Py_BuildValue("i",_result
);
11124 #define wxRegion_IntersectRect(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
11125 static PyObject
*_wrap_wxRegion_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11126 PyObject
* _resultobj
;
11130 PyObject
* _argo0
= 0;
11132 PyObject
* _obj1
= 0;
11133 char *_kwnames
[] = { "self","rect", NULL
};
11136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_IntersectRect",_kwnames
,&_argo0
,&_obj1
))
11139 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11140 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IntersectRect. Expected _wxRegion_p.");
11147 if (! wxRect_helper(_obj1
, &_arg1
))
11151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11152 _result
= (bool )wxRegion_IntersectRect(_arg0
,*_arg1
);
11154 wxPyEndAllowThreads(__tstate
);
11155 if (PyErr_Occurred()) return NULL
;
11156 } _resultobj
= Py_BuildValue("i",_result
);
11160 #define wxRegion_IntersectRegion(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
11161 static PyObject
*_wrap_wxRegion_IntersectRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11162 PyObject
* _resultobj
;
11166 PyObject
* _argo0
= 0;
11167 PyObject
* _argo1
= 0;
11168 char *_kwnames
[] = { "self","region", NULL
};
11171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_IntersectRegion",_kwnames
,&_argo0
,&_argo1
))
11174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IntersectRegion. Expected _wxRegion_p.");
11181 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11182 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
11183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_IntersectRegion. Expected _wxRegion_p.");
11188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11189 _result
= (bool )wxRegion_IntersectRegion(_arg0
,*_arg1
);
11191 wxPyEndAllowThreads(__tstate
);
11192 if (PyErr_Occurred()) return NULL
;
11193 } _resultobj
= Py_BuildValue("i",_result
);
11197 #define wxRegion_IsEmpty(_swigobj) (_swigobj->IsEmpty())
11198 static PyObject
*_wrap_wxRegion_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11199 PyObject
* _resultobj
;
11202 PyObject
* _argo0
= 0;
11203 char *_kwnames
[] = { "self", NULL
};
11206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_IsEmpty",_kwnames
,&_argo0
))
11209 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11210 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IsEmpty. Expected _wxRegion_p.");
11216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11217 _result
= (bool )wxRegion_IsEmpty(_arg0
);
11219 wxPyEndAllowThreads(__tstate
);
11220 if (PyErr_Occurred()) return NULL
;
11221 } _resultobj
= Py_BuildValue("i",_result
);
11225 #define wxRegion_Union(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Union(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11226 static PyObject
*_wrap_wxRegion_Union(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11227 PyObject
* _resultobj
;
11234 PyObject
* _argo0
= 0;
11235 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
11238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Union",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
11241 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11242 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Union. Expected _wxRegion_p.");
11248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11249 _result
= (bool )wxRegion_Union(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
11251 wxPyEndAllowThreads(__tstate
);
11252 if (PyErr_Occurred()) return NULL
;
11253 } _resultobj
= Py_BuildValue("i",_result
);
11257 #define wxRegion_UnionRect(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
11258 static PyObject
*_wrap_wxRegion_UnionRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11259 PyObject
* _resultobj
;
11263 PyObject
* _argo0
= 0;
11265 PyObject
* _obj1
= 0;
11266 char *_kwnames
[] = { "self","rect", NULL
};
11269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_UnionRect",_kwnames
,&_argo0
,&_obj1
))
11272 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11273 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_UnionRect. Expected _wxRegion_p.");
11280 if (! wxRect_helper(_obj1
, &_arg1
))
11284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11285 _result
= (bool )wxRegion_UnionRect(_arg0
,*_arg1
);
11287 wxPyEndAllowThreads(__tstate
);
11288 if (PyErr_Occurred()) return NULL
;
11289 } _resultobj
= Py_BuildValue("i",_result
);
11293 #define wxRegion_UnionRegion(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
11294 static PyObject
*_wrap_wxRegion_UnionRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11295 PyObject
* _resultobj
;
11299 PyObject
* _argo0
= 0;
11300 PyObject
* _argo1
= 0;
11301 char *_kwnames
[] = { "self","region", NULL
};
11304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_UnionRegion",_kwnames
,&_argo0
,&_argo1
))
11307 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11308 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_UnionRegion. Expected _wxRegion_p.");
11314 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11315 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
11316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_UnionRegion. Expected _wxRegion_p.");
11321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11322 _result
= (bool )wxRegion_UnionRegion(_arg0
,*_arg1
);
11324 wxPyEndAllowThreads(__tstate
);
11325 if (PyErr_Occurred()) return NULL
;
11326 } _resultobj
= Py_BuildValue("i",_result
);
11330 #define wxRegion_Subtract(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Subtract(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11331 static PyObject
*_wrap_wxRegion_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11332 PyObject
* _resultobj
;
11339 PyObject
* _argo0
= 0;
11340 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
11343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Subtract",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
11346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Subtract. Expected _wxRegion_p.");
11353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11354 _result
= (bool )wxRegion_Subtract(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
11356 wxPyEndAllowThreads(__tstate
);
11357 if (PyErr_Occurred()) return NULL
;
11358 } _resultobj
= Py_BuildValue("i",_result
);
11362 #define wxRegion_SubtractRect(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
11363 static PyObject
*_wrap_wxRegion_SubtractRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11364 PyObject
* _resultobj
;
11368 PyObject
* _argo0
= 0;
11370 PyObject
* _obj1
= 0;
11371 char *_kwnames
[] = { "self","rect", NULL
};
11374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_SubtractRect",_kwnames
,&_argo0
,&_obj1
))
11377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_SubtractRect. Expected _wxRegion_p.");
11385 if (! wxRect_helper(_obj1
, &_arg1
))
11389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11390 _result
= (bool )wxRegion_SubtractRect(_arg0
,*_arg1
);
11392 wxPyEndAllowThreads(__tstate
);
11393 if (PyErr_Occurred()) return NULL
;
11394 } _resultobj
= Py_BuildValue("i",_result
);
11398 #define wxRegion_SubtractRegion(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
11399 static PyObject
*_wrap_wxRegion_SubtractRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11400 PyObject
* _resultobj
;
11404 PyObject
* _argo0
= 0;
11405 PyObject
* _argo1
= 0;
11406 char *_kwnames
[] = { "self","region", NULL
};
11409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_SubtractRegion",_kwnames
,&_argo0
,&_argo1
))
11412 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11413 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_SubtractRegion. Expected _wxRegion_p.");
11419 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11420 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
11421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_SubtractRegion. Expected _wxRegion_p.");
11426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11427 _result
= (bool )wxRegion_SubtractRegion(_arg0
,*_arg1
);
11429 wxPyEndAllowThreads(__tstate
);
11430 if (PyErr_Occurred()) return NULL
;
11431 } _resultobj
= Py_BuildValue("i",_result
);
11435 #define wxRegion_Xor(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Xor(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11436 static PyObject
*_wrap_wxRegion_Xor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11437 PyObject
* _resultobj
;
11444 PyObject
* _argo0
= 0;
11445 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
11448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Xor",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
11451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Xor. Expected _wxRegion_p.");
11458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11459 _result
= (bool )wxRegion_Xor(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
11461 wxPyEndAllowThreads(__tstate
);
11462 if (PyErr_Occurred()) return NULL
;
11463 } _resultobj
= Py_BuildValue("i",_result
);
11467 #define wxRegion_XorRect(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
11468 static PyObject
*_wrap_wxRegion_XorRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11469 PyObject
* _resultobj
;
11473 PyObject
* _argo0
= 0;
11475 PyObject
* _obj1
= 0;
11476 char *_kwnames
[] = { "self","rect", NULL
};
11479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_XorRect",_kwnames
,&_argo0
,&_obj1
))
11482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_XorRect. Expected _wxRegion_p.");
11490 if (! wxRect_helper(_obj1
, &_arg1
))
11494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11495 _result
= (bool )wxRegion_XorRect(_arg0
,*_arg1
);
11497 wxPyEndAllowThreads(__tstate
);
11498 if (PyErr_Occurred()) return NULL
;
11499 } _resultobj
= Py_BuildValue("i",_result
);
11503 #define wxRegion_XorRegion(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
11504 static PyObject
*_wrap_wxRegion_XorRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11505 PyObject
* _resultobj
;
11509 PyObject
* _argo0
= 0;
11510 PyObject
* _argo1
= 0;
11511 char *_kwnames
[] = { "self","region", NULL
};
11514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_XorRegion",_kwnames
,&_argo0
,&_argo1
))
11517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_XorRegion. Expected _wxRegion_p.");
11524 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11525 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
11526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_XorRegion. Expected _wxRegion_p.");
11531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11532 _result
= (bool )wxRegion_XorRegion(_arg0
,*_arg1
);
11534 wxPyEndAllowThreads(__tstate
);
11535 if (PyErr_Occurred()) return NULL
;
11536 } _resultobj
= Py_BuildValue("i",_result
);
11540 static void *SwigwxRegionIteratorTowxObject(void *ptr
) {
11541 wxRegionIterator
*src
;
11543 src
= (wxRegionIterator
*) ptr
;
11544 dest
= (wxObject
*) src
;
11545 return (void *) dest
;
11548 #define new_wxRegionIterator(_swigarg0) (new wxRegionIterator(_swigarg0))
11549 static PyObject
*_wrap_new_wxRegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11550 PyObject
* _resultobj
;
11551 wxRegionIterator
* _result
;
11553 PyObject
* _argo0
= 0;
11554 char *_kwnames
[] = { "region", NULL
};
11558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxRegionIterator",_kwnames
,&_argo0
))
11561 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11562 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRegionIterator. Expected _wxRegion_p.");
11568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11569 _result
= (wxRegionIterator
*)new_wxRegionIterator(*_arg0
);
11571 wxPyEndAllowThreads(__tstate
);
11572 if (PyErr_Occurred()) return NULL
;
11574 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegionIterator_p");
11575 _resultobj
= Py_BuildValue("s",_ptemp
);
11577 Py_INCREF(Py_None
);
11578 _resultobj
= Py_None
;
11583 #define delete_wxRegionIterator(_swigobj) (delete _swigobj)
11584 static PyObject
*_wrap_delete_wxRegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11585 PyObject
* _resultobj
;
11586 wxRegionIterator
* _arg0
;
11587 PyObject
* _argo0
= 0;
11588 char *_kwnames
[] = { "self", NULL
};
11591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRegionIterator",_kwnames
,&_argo0
))
11594 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11595 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegionIterator. Expected _wxRegionIterator_p.");
11601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11602 delete_wxRegionIterator(_arg0
);
11604 wxPyEndAllowThreads(__tstate
);
11605 if (PyErr_Occurred()) return NULL
;
11606 } Py_INCREF(Py_None
);
11607 _resultobj
= Py_None
;
11611 #define wxRegionIterator_GetX(_swigobj) (_swigobj->GetX())
11612 static PyObject
*_wrap_wxRegionIterator_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11613 PyObject
* _resultobj
;
11615 wxRegionIterator
* _arg0
;
11616 PyObject
* _argo0
= 0;
11617 char *_kwnames
[] = { "self", NULL
};
11620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetX",_kwnames
,&_argo0
))
11623 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11624 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetX. Expected _wxRegionIterator_p.");
11630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11631 _result
= (long )wxRegionIterator_GetX(_arg0
);
11633 wxPyEndAllowThreads(__tstate
);
11634 if (PyErr_Occurred()) return NULL
;
11635 } _resultobj
= Py_BuildValue("l",_result
);
11639 #define wxRegionIterator_GetY(_swigobj) (_swigobj->GetY())
11640 static PyObject
*_wrap_wxRegionIterator_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11641 PyObject
* _resultobj
;
11643 wxRegionIterator
* _arg0
;
11644 PyObject
* _argo0
= 0;
11645 char *_kwnames
[] = { "self", NULL
};
11648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetY",_kwnames
,&_argo0
))
11651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetY. Expected _wxRegionIterator_p.");
11658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11659 _result
= (long )wxRegionIterator_GetY(_arg0
);
11661 wxPyEndAllowThreads(__tstate
);
11662 if (PyErr_Occurred()) return NULL
;
11663 } _resultobj
= Py_BuildValue("l",_result
);
11667 #define wxRegionIterator_GetW(_swigobj) (_swigobj->GetW())
11668 static PyObject
*_wrap_wxRegionIterator_GetW(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11669 PyObject
* _resultobj
;
11671 wxRegionIterator
* _arg0
;
11672 PyObject
* _argo0
= 0;
11673 char *_kwnames
[] = { "self", NULL
};
11676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetW",_kwnames
,&_argo0
))
11679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetW. Expected _wxRegionIterator_p.");
11686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11687 _result
= (long )wxRegionIterator_GetW(_arg0
);
11689 wxPyEndAllowThreads(__tstate
);
11690 if (PyErr_Occurred()) return NULL
;
11691 } _resultobj
= Py_BuildValue("l",_result
);
11695 #define wxRegionIterator_GetWidth(_swigobj) (_swigobj->GetWidth())
11696 static PyObject
*_wrap_wxRegionIterator_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11697 PyObject
* _resultobj
;
11699 wxRegionIterator
* _arg0
;
11700 PyObject
* _argo0
= 0;
11701 char *_kwnames
[] = { "self", NULL
};
11704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetWidth",_kwnames
,&_argo0
))
11707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetWidth. Expected _wxRegionIterator_p.");
11714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11715 _result
= (long )wxRegionIterator_GetWidth(_arg0
);
11717 wxPyEndAllowThreads(__tstate
);
11718 if (PyErr_Occurred()) return NULL
;
11719 } _resultobj
= Py_BuildValue("l",_result
);
11723 #define wxRegionIterator_GetH(_swigobj) (_swigobj->GetH())
11724 static PyObject
*_wrap_wxRegionIterator_GetH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11725 PyObject
* _resultobj
;
11727 wxRegionIterator
* _arg0
;
11728 PyObject
* _argo0
= 0;
11729 char *_kwnames
[] = { "self", NULL
};
11732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetH",_kwnames
,&_argo0
))
11735 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11736 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetH. Expected _wxRegionIterator_p.");
11742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11743 _result
= (long )wxRegionIterator_GetH(_arg0
);
11745 wxPyEndAllowThreads(__tstate
);
11746 if (PyErr_Occurred()) return NULL
;
11747 } _resultobj
= Py_BuildValue("l",_result
);
11751 #define wxRegionIterator_GetHeight(_swigobj) (_swigobj->GetHeight())
11752 static PyObject
*_wrap_wxRegionIterator_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11753 PyObject
* _resultobj
;
11755 wxRegionIterator
* _arg0
;
11756 PyObject
* _argo0
= 0;
11757 char *_kwnames
[] = { "self", NULL
};
11760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetHeight",_kwnames
,&_argo0
))
11763 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11764 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetHeight. Expected _wxRegionIterator_p.");
11770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11771 _result
= (long )wxRegionIterator_GetHeight(_arg0
);
11773 wxPyEndAllowThreads(__tstate
);
11774 if (PyErr_Occurred()) return NULL
;
11775 } _resultobj
= Py_BuildValue("l",_result
);
11779 #define wxRegionIterator_GetRect(_swigobj) (_swigobj->GetRect())
11780 static PyObject
*_wrap_wxRegionIterator_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11781 PyObject
* _resultobj
;
11783 wxRegionIterator
* _arg0
;
11784 PyObject
* _argo0
= 0;
11785 char *_kwnames
[] = { "self", NULL
};
11789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetRect",_kwnames
,&_argo0
))
11792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetRect. Expected _wxRegionIterator_p.");
11799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11800 _result
= new wxRect (wxRegionIterator_GetRect(_arg0
));
11802 wxPyEndAllowThreads(__tstate
);
11803 if (PyErr_Occurred()) return NULL
;
11804 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
11805 _resultobj
= Py_BuildValue("s",_ptemp
);
11809 #define wxRegionIterator_HaveRects(_swigobj) (_swigobj->HaveRects())
11810 static PyObject
*_wrap_wxRegionIterator_HaveRects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11811 PyObject
* _resultobj
;
11813 wxRegionIterator
* _arg0
;
11814 PyObject
* _argo0
= 0;
11815 char *_kwnames
[] = { "self", NULL
};
11818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_HaveRects",_kwnames
,&_argo0
))
11821 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11822 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_HaveRects. Expected _wxRegionIterator_p.");
11828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11829 _result
= (bool )wxRegionIterator_HaveRects(_arg0
);
11831 wxPyEndAllowThreads(__tstate
);
11832 if (PyErr_Occurred()) return NULL
;
11833 } _resultobj
= Py_BuildValue("i",_result
);
11837 #define wxRegionIterator_Reset(_swigobj) (_swigobj->Reset())
11838 static PyObject
*_wrap_wxRegionIterator_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11839 PyObject
* _resultobj
;
11840 wxRegionIterator
* _arg0
;
11841 PyObject
* _argo0
= 0;
11842 char *_kwnames
[] = { "self", NULL
};
11845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_Reset",_kwnames
,&_argo0
))
11848 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11849 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Reset. Expected _wxRegionIterator_p.");
11855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11856 wxRegionIterator_Reset(_arg0
);
11858 wxPyEndAllowThreads(__tstate
);
11859 if (PyErr_Occurred()) return NULL
;
11860 } Py_INCREF(Py_None
);
11861 _resultobj
= Py_None
;
11865 static void wxRegionIterator_Next(wxRegionIterator
*self
) {
11868 static PyObject
*_wrap_wxRegionIterator_Next(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11869 PyObject
* _resultobj
;
11870 wxRegionIterator
* _arg0
;
11871 PyObject
* _argo0
= 0;
11872 char *_kwnames
[] = { "self", NULL
};
11875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_Next",_kwnames
,&_argo0
))
11878 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11879 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Next. Expected _wxRegionIterator_p.");
11885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11886 wxRegionIterator_Next(_arg0
);
11888 wxPyEndAllowThreads(__tstate
);
11889 if (PyErr_Occurred()) return NULL
;
11890 } Py_INCREF(Py_None
);
11891 _resultobj
= Py_None
;
11895 static PyMethodDef gdicMethods
[] = {
11896 { "wxRegionIterator_Next", (PyCFunction
) _wrap_wxRegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
},
11897 { "wxRegionIterator_Reset", (PyCFunction
) _wrap_wxRegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
},
11898 { "wxRegionIterator_HaveRects", (PyCFunction
) _wrap_wxRegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
},
11899 { "wxRegionIterator_GetRect", (PyCFunction
) _wrap_wxRegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
11900 { "wxRegionIterator_GetHeight", (PyCFunction
) _wrap_wxRegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
11901 { "wxRegionIterator_GetH", (PyCFunction
) _wrap_wxRegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
},
11902 { "wxRegionIterator_GetWidth", (PyCFunction
) _wrap_wxRegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11903 { "wxRegionIterator_GetW", (PyCFunction
) _wrap_wxRegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
},
11904 { "wxRegionIterator_GetY", (PyCFunction
) _wrap_wxRegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
},
11905 { "wxRegionIterator_GetX", (PyCFunction
) _wrap_wxRegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
},
11906 { "delete_wxRegionIterator", (PyCFunction
) _wrap_delete_wxRegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
11907 { "new_wxRegionIterator", (PyCFunction
) _wrap_new_wxRegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
11908 { "wxRegion_XorRegion", (PyCFunction
) _wrap_wxRegion_XorRegion
, METH_VARARGS
| METH_KEYWORDS
},
11909 { "wxRegion_XorRect", (PyCFunction
) _wrap_wxRegion_XorRect
, METH_VARARGS
| METH_KEYWORDS
},
11910 { "wxRegion_Xor", (PyCFunction
) _wrap_wxRegion_Xor
, METH_VARARGS
| METH_KEYWORDS
},
11911 { "wxRegion_SubtractRegion", (PyCFunction
) _wrap_wxRegion_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
},
11912 { "wxRegion_SubtractRect", (PyCFunction
) _wrap_wxRegion_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
},
11913 { "wxRegion_Subtract", (PyCFunction
) _wrap_wxRegion_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
11914 { "wxRegion_UnionRegion", (PyCFunction
) _wrap_wxRegion_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
},
11915 { "wxRegion_UnionRect", (PyCFunction
) _wrap_wxRegion_UnionRect
, METH_VARARGS
| METH_KEYWORDS
},
11916 { "wxRegion_Union", (PyCFunction
) _wrap_wxRegion_Union
, METH_VARARGS
| METH_KEYWORDS
},
11917 { "wxRegion_IsEmpty", (PyCFunction
) _wrap_wxRegion_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
11918 { "wxRegion_IntersectRegion", (PyCFunction
) _wrap_wxRegion_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
},
11919 { "wxRegion_IntersectRect", (PyCFunction
) _wrap_wxRegion_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
11920 { "wxRegion_Intersect", (PyCFunction
) _wrap_wxRegion_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
11921 { "wxRegion_GetBox", (PyCFunction
) _wrap_wxRegion_GetBox
, METH_VARARGS
| METH_KEYWORDS
},
11922 { "wxRegion_ContainsRectDim", (PyCFunction
) _wrap_wxRegion_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
},
11923 { "wxRegion_ContainsRect", (PyCFunction
) _wrap_wxRegion_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
},
11924 { "wxRegion_ContainsPoint", (PyCFunction
) _wrap_wxRegion_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
},
11925 { "wxRegion_Contains", (PyCFunction
) _wrap_wxRegion_Contains
, METH_VARARGS
| METH_KEYWORDS
},
11926 { "wxRegion_Clear", (PyCFunction
) _wrap_wxRegion_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11927 { "delete_wxRegion", (PyCFunction
) _wrap_delete_wxRegion
, METH_VARARGS
| METH_KEYWORDS
},
11928 { "new_wxRegion", (PyCFunction
) _wrap_new_wxRegion
, METH_VARARGS
| METH_KEYWORDS
},
11929 { "wxImageList_GetSize", (PyCFunction
) _wrap_wxImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
11930 { "wxImageList_RemoveAll", (PyCFunction
) _wrap_wxImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
},
11931 { "wxImageList_Remove", (PyCFunction
) _wrap_wxImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
},
11932 { "wxImageList_GetImageCount", (PyCFunction
) _wrap_wxImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
11933 { "wxImageList_Draw", (PyCFunction
) _wrap_wxImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
},
11934 { "wxImageList_Replace", (PyCFunction
) _wrap_wxImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
},
11935 { "wxImageList_AddIcon", (PyCFunction
) _wrap_wxImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
11936 { "wxImageList_AddWithColourMask", (PyCFunction
) _wrap_wxImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
},
11937 { "wxImageList_Add", (PyCFunction
) _wrap_wxImageList_Add
, METH_VARARGS
| METH_KEYWORDS
},
11938 { "delete_wxImageList", (PyCFunction
) _wrap_delete_wxImageList
, METH_VARARGS
| METH_KEYWORDS
},
11939 { "new_wxImageList", (PyCFunction
) _wrap_new_wxImageList
, METH_VARARGS
| METH_KEYWORDS
},
11940 { "wxPalette_Ok", (PyCFunction
) _wrap_wxPalette_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11941 { "wxPalette_GetRGB", (PyCFunction
) _wrap_wxPalette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
11942 { "wxPalette_GetPixel", (PyCFunction
) _wrap_wxPalette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
11943 { "delete_wxPalette", (PyCFunction
) _wrap_delete_wxPalette
, METH_VARARGS
| METH_KEYWORDS
},
11944 { "new_wxPalette", (PyCFunction
) _wrap_new_wxPalette
, METH_VARARGS
| METH_KEYWORDS
},
11945 { "new_wxWindowDC", (PyCFunction
) _wrap_new_wxWindowDC
, METH_VARARGS
| METH_KEYWORDS
},
11946 { "new_wxPaintDC", (PyCFunction
) _wrap_new_wxPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
11947 { "new_wxClientDC", (PyCFunction
) _wrap_new_wxClientDC
, METH_VARARGS
| METH_KEYWORDS
},
11948 { "wxScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_wxScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
11949 { "wxScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_wxScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
11950 { "wxScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_wxScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
},
11951 { "new_wxScreenDC", (PyCFunction
) _wrap_new_wxScreenDC
, METH_VARARGS
| METH_KEYWORDS
},
11952 { "new_wxBufferedPaintDC", (PyCFunction
) _wrap_new_wxBufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
11953 { "new_wxBufferedDCInternalBuffer", (PyCFunction
) _wrap_new_wxBufferedDCInternalBuffer
, METH_VARARGS
| METH_KEYWORDS
},
11954 { "new_wxBufferedDC", (PyCFunction
) _wrap_new_wxBufferedDC
, METH_VARARGS
| METH_KEYWORDS
},
11955 { "wxMemoryDC_SelectObject", (PyCFunction
) _wrap_wxMemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
},
11956 { "new_wxMemoryDC", (PyCFunction
) _wrap_new_wxMemoryDC
, METH_VARARGS
| METH_KEYWORDS
},
11957 { "wxDC__DrawLineList", (PyCFunction
) _wrap_wxDC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
},
11958 { "wxDC__DrawPointList", (PyCFunction
) _wrap_wxDC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
},
11959 { "wxDC_GetBoundingBox", (PyCFunction
) _wrap_wxDC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
11960 { "wxDC_ResetBoundingBox", (PyCFunction
) _wrap_wxDC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
11961 { "wxDC_CalcBoundingBox", (PyCFunction
) _wrap_wxDC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
11962 { "wxDC_SetAxisOrientation", (PyCFunction
) _wrap_wxDC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
},
11963 { "wxDC_GetDeviceOrigin", (PyCFunction
) _wrap_wxDC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
11964 { "wxDC_SetLogicalOrigin", (PyCFunction
) _wrap_wxDC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
11965 { "wxDC_GetLogicalOrigin", (PyCFunction
) _wrap_wxDC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
11966 { "wxDC_GetPPI", (PyCFunction
) _wrap_wxDC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
},
11967 { "wxDC_GetDepth", (PyCFunction
) _wrap_wxDC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
11968 { "wxDC_CanGetTextExtent", (PyCFunction
) _wrap_wxDC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
11969 { "wxDC_CanDrawBitmap", (PyCFunction
) _wrap_wxDC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11970 { "wxDC_DrawBitmap", (PyCFunction
) _wrap_wxDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11971 { "wxDC_StartPage", (PyCFunction
) _wrap_wxDC_StartPage
, METH_VARARGS
| METH_KEYWORDS
},
11972 { "wxDC_StartDoc", (PyCFunction
) _wrap_wxDC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
},
11973 { "wxDC_SetUserScale", (PyCFunction
) _wrap_wxDC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
11974 { "wxDC_SetTextForeground", (PyCFunction
) _wrap_wxDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
11975 { "wxDC_SetTextBackground", (PyCFunction
) _wrap_wxDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
11976 { "wxDC_SetPen", (PyCFunction
) _wrap_wxDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
11977 { "wxDC_SetOptimization", (PyCFunction
) _wrap_wxDC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
11978 { "wxDC_SetMapMode", (PyCFunction
) _wrap_wxDC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
11979 { "wxDC_SetLogicalScale", (PyCFunction
) _wrap_wxDC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
11980 { "wxDC_SetLogicalFunction", (PyCFunction
) _wrap_wxDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
11981 { "wxDC_SetFont", (PyCFunction
) _wrap_wxDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
11982 { "wxDC_SetBrush", (PyCFunction
) _wrap_wxDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
11983 { "wxDC_SetPalette", (PyCFunction
) _wrap_wxDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
11984 { "wxDC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_wxDC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
},
11985 { "wxDC_SetClippingRegion", (PyCFunction
) _wrap_wxDC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
11986 { "wxDC_SetBackgroundMode", (PyCFunction
) _wrap_wxDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
11987 { "wxDC_SetBackground", (PyCFunction
) _wrap_wxDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
},
11988 { "wxDC_SetDeviceOrigin", (PyCFunction
) _wrap_wxDC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
11989 { "wxDC_Ok", (PyCFunction
) _wrap_wxDC_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11990 { "wxDC_MinY", (PyCFunction
) _wrap_wxDC_MinY
, METH_VARARGS
| METH_KEYWORDS
},
11991 { "wxDC_MinX", (PyCFunction
) _wrap_wxDC_MinX
, METH_VARARGS
| METH_KEYWORDS
},
11992 { "wxDC_MaxY", (PyCFunction
) _wrap_wxDC_MaxY
, METH_VARARGS
| METH_KEYWORDS
},
11993 { "wxDC_MaxX", (PyCFunction
) _wrap_wxDC_MaxX
, METH_VARARGS
| METH_KEYWORDS
},
11994 { "wxDC_LogicalToDeviceYRel", (PyCFunction
) _wrap_wxDC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
},
11995 { "wxDC_LogicalToDeviceY", (PyCFunction
) _wrap_wxDC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
},
11996 { "wxDC_LogicalToDeviceXRel", (PyCFunction
) _wrap_wxDC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
},
11997 { "wxDC_LogicalToDeviceX", (PyCFunction
) _wrap_wxDC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
},
11998 { "wxDC_GetUserScale", (PyCFunction
) _wrap_wxDC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
11999 { "wxDC_GetTextForeground", (PyCFunction
) _wrap_wxDC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
12000 { "wxDC_GetFullTextExtent", (PyCFunction
) _wrap_wxDC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
12001 { "wxDC_GetTextExtent", (PyCFunction
) _wrap_wxDC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
12002 { "wxDC_GetTextBackground", (PyCFunction
) _wrap_wxDC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
12003 { "wxDC_GetSizeMM", (PyCFunction
) _wrap_wxDC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
12004 { "wxDC_GetSize", (PyCFunction
) _wrap_wxDC_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
12005 { "wxDC_GetSizeTuple", (PyCFunction
) _wrap_wxDC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
12006 { "wxDC_GetPixel", (PyCFunction
) _wrap_wxDC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
12007 { "wxDC_GetPen", (PyCFunction
) _wrap_wxDC_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
12008 { "wxDC_GetOptimization", (PyCFunction
) _wrap_wxDC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
12009 { "wxDC_GetMapMode", (PyCFunction
) _wrap_wxDC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
12010 { "wxDC_GetLogicalScale", (PyCFunction
) _wrap_wxDC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
12011 { "wxDC_GetLogicalFunction", (PyCFunction
) _wrap_wxDC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
12012 { "wxDC_GetFont", (PyCFunction
) _wrap_wxDC_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
12013 { "wxDC_GetClippingBox", (PyCFunction
) _wrap_wxDC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
},
12014 { "wxDC_GetCharWidth", (PyCFunction
) _wrap_wxDC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
12015 { "wxDC_GetCharHeight", (PyCFunction
) _wrap_wxDC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
12016 { "wxDC_GetBrush", (PyCFunction
) _wrap_wxDC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
12017 { "wxDC_GetBackground", (PyCFunction
) _wrap_wxDC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
},
12018 { "wxDC_FloodFill", (PyCFunction
) _wrap_wxDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
},
12019 { "wxDC_EndPage", (PyCFunction
) _wrap_wxDC_EndPage
, METH_VARARGS
| METH_KEYWORDS
},
12020 { "wxDC_EndDrawing", (PyCFunction
) _wrap_wxDC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
},
12021 { "wxDC_EndDoc", (PyCFunction
) _wrap_wxDC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
},
12022 { "wxDC_DrawText", (PyCFunction
) _wrap_wxDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
12023 { "wxDC_DrawSpline", (PyCFunction
) _wrap_wxDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
12024 { "wxDC_DrawRoundedRectangle", (PyCFunction
) _wrap_wxDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
12025 { "wxDC_DrawRotatedText", (PyCFunction
) _wrap_wxDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
},
12026 { "wxDC_DrawRectangle", (PyCFunction
) _wrap_wxDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
12027 { "wxDC_DrawPoint", (PyCFunction
) _wrap_wxDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
12028 { "wxDC_DrawPolygon", (PyCFunction
) _wrap_wxDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
12029 { "wxDC_DrawLines", (PyCFunction
) _wrap_wxDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
12030 { "wxDC_DrawLine", (PyCFunction
) _wrap_wxDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
12031 { "wxDC_DrawImageLabel", (PyCFunction
) _wrap_wxDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
},
12032 { "wxDC_DrawLabel", (PyCFunction
) _wrap_wxDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
},
12033 { "wxDC_DrawIcon", (PyCFunction
) _wrap_wxDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
},
12034 { "wxDC_DrawEllipticArc", (PyCFunction
) _wrap_wxDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
12035 { "wxDC_DrawEllipse", (PyCFunction
) _wrap_wxDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
12036 { "wxDC_DrawCircle", (PyCFunction
) _wrap_wxDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
},
12037 { "wxDC_DrawArc", (PyCFunction
) _wrap_wxDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
12038 { "wxDC_DeviceToLogicalYRel", (PyCFunction
) _wrap_wxDC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
},
12039 { "wxDC_DeviceToLogicalY", (PyCFunction
) _wrap_wxDC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
},
12040 { "wxDC_DeviceToLogicalXRel", (PyCFunction
) _wrap_wxDC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
},
12041 { "wxDC_DeviceToLogicalX", (PyCFunction
) _wrap_wxDC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
},
12042 { "wxDC_DestroyClippingRegion", (PyCFunction
) _wrap_wxDC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
12043 { "wxDC_CrossHair", (PyCFunction
) _wrap_wxDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
},
12044 { "wxDC_Clear", (PyCFunction
) _wrap_wxDC_Clear
, METH_VARARGS
| METH_KEYWORDS
},
12045 { "wxDC_Blit", (PyCFunction
) _wrap_wxDC_Blit
, METH_VARARGS
| METH_KEYWORDS
},
12046 { "wxDC_BeginDrawing", (PyCFunction
) _wrap_wxDC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
},
12047 { "delete_wxDC", (PyCFunction
) _wrap_delete_wxDC
, METH_VARARGS
| METH_KEYWORDS
},
12048 { "wxBrushList_GetCount", (PyCFunction
) _wrap_wxBrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
12049 { "wxBrushList_RemoveBrush", (PyCFunction
) _wrap_wxBrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
},
12050 { "wxBrushList_FindOrCreateBrush", (PyCFunction
) _wrap_wxBrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
},
12051 { "wxBrushList_AddBrush", (PyCFunction
) _wrap_wxBrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
},
12052 { "wxBrush_SetStyle", (PyCFunction
) _wrap_wxBrush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
12053 { "wxBrush_SetStipple", (PyCFunction
) _wrap_wxBrush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
12054 { "wxBrush_SetColour", (PyCFunction
) _wrap_wxBrush_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
12055 { "wxBrush_Ok", (PyCFunction
) _wrap_wxBrush_Ok
, METH_VARARGS
| METH_KEYWORDS
},
12056 { "wxBrush_GetStyle", (PyCFunction
) _wrap_wxBrush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
12057 { "wxBrush_GetStipple", (PyCFunction
) _wrap_wxBrush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
12058 { "wxBrush_GetColour", (PyCFunction
) _wrap_wxBrush_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
12059 { "delete_wxBrush", (PyCFunction
) _wrap_delete_wxBrush
, METH_VARARGS
| METH_KEYWORDS
},
12060 { "new_wxBrush", (PyCFunction
) _wrap_new_wxBrush
, METH_VARARGS
| METH_KEYWORDS
},
12061 { "wxPenList_GetCount", (PyCFunction
) _wrap_wxPenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
12062 { "wxPenList_RemovePen", (PyCFunction
) _wrap_wxPenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
},
12063 { "wxPenList_FindOrCreatePen", (PyCFunction
) _wrap_wxPenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
},
12064 { "wxPenList_AddPen", (PyCFunction
) _wrap_wxPenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
},
12065 { "wxPyPen_SetDashes", (PyCFunction
) _wrap_wxPyPen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
12066 { "delete_wxPyPen", (PyCFunction
) _wrap_delete_wxPyPen
, METH_VARARGS
| METH_KEYWORDS
},
12067 { "new_wxPyPen", (PyCFunction
) _wrap_new_wxPyPen
, METH_VARARGS
| METH_KEYWORDS
},
12068 { "wxPen_SetDashes", (PyCFunction
) _wrap_wxPen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
12069 { "wxPen_SetWidth", (PyCFunction
) _wrap_wxPen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
12070 { "wxPen_SetStyle", (PyCFunction
) _wrap_wxPen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
12071 { "wxPen_SetJoin", (PyCFunction
) _wrap_wxPen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
},
12072 { "wxPen_SetColour", (PyCFunction
) _wrap_wxPen_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
12073 { "wxPen_SetCap", (PyCFunction
) _wrap_wxPen_SetCap
, METH_VARARGS
| METH_KEYWORDS
},
12074 { "wxPen_Ok", (PyCFunction
) _wrap_wxPen_Ok
, METH_VARARGS
| METH_KEYWORDS
},
12075 { "wxPen_GetWidth", (PyCFunction
) _wrap_wxPen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
12076 { "wxPen_GetStyle", (PyCFunction
) _wrap_wxPen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
12077 { "wxPen_GetJoin", (PyCFunction
) _wrap_wxPen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
},
12078 { "wxPen_GetColour", (PyCFunction
) _wrap_wxPen_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
12079 { "wxPen_GetCap", (PyCFunction
) _wrap_wxPen_GetCap
, METH_VARARGS
| METH_KEYWORDS
},
12080 { "delete_wxPen", (PyCFunction
) _wrap_delete_wxPen
, METH_VARARGS
| METH_KEYWORDS
},
12081 { "new_wxPen", (PyCFunction
) _wrap_new_wxPen
, METH_VARARGS
| METH_KEYWORDS
},
12082 { "wxColourDatabase_Append", (PyCFunction
) _wrap_wxColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
},
12083 { "wxColourDatabase_FindName", (PyCFunction
) _wrap_wxColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
},
12084 { "wxColourDatabase_FindColour", (PyCFunction
) _wrap_wxColourDatabase_FindColour
, METH_VARARGS
| METH_KEYWORDS
},
12085 { "wxColour_Get", (PyCFunction
) _wrap_wxColour_Get
, METH_VARARGS
| METH_KEYWORDS
},
12086 { "wxColour_Set", (PyCFunction
) _wrap_wxColour_Set
, METH_VARARGS
| METH_KEYWORDS
},
12087 { "wxColour_Ok", (PyCFunction
) _wrap_wxColour_Ok
, METH_VARARGS
| METH_KEYWORDS
},
12088 { "wxColour_Blue", (PyCFunction
) _wrap_wxColour_Blue
, METH_VARARGS
| METH_KEYWORDS
},
12089 { "wxColour_Green", (PyCFunction
) _wrap_wxColour_Green
, METH_VARARGS
| METH_KEYWORDS
},
12090 { "wxColour_Red", (PyCFunction
) _wrap_wxColour_Red
, METH_VARARGS
| METH_KEYWORDS
},
12091 { "delete_wxColour", (PyCFunction
) _wrap_delete_wxColour
, METH_VARARGS
| METH_KEYWORDS
},
12092 { "new_wxColour", (PyCFunction
) _wrap_new_wxColour
, METH_VARARGS
| METH_KEYWORDS
},
12093 { "wxFontList_GetCount", (PyCFunction
) _wrap_wxFontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
12094 { "wxFontList_RemoveFont", (PyCFunction
) _wrap_wxFontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
},
12095 { "wxFontList_FindOrCreateFont", (PyCFunction
) _wrap_wxFontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
},
12096 { "wxFontList_AddFont", (PyCFunction
) _wrap_wxFontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
},
12097 { "wxFont_SetDefaultEncoding", (PyCFunction
) _wrap_wxFont_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
12098 { "wxFont_GetDefaultEncoding", (PyCFunction
) _wrap_wxFont_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
12099 { "wxFont_GetWeightString", (PyCFunction
) _wrap_wxFont_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
},
12100 { "wxFont_GetStyleString", (PyCFunction
) _wrap_wxFont_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
},
12101 { "wxFont_GetFamilyString", (PyCFunction
) _wrap_wxFont_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
},
12102 { "wxFont_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_wxFont_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
12103 { "wxFont_SetNativeFontInfo", (PyCFunction
) _wrap_wxFont_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
12104 { "wxFont_SetEncoding", (PyCFunction
) _wrap_wxFont_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
12105 { "wxFont_SetUnderlined", (PyCFunction
) _wrap_wxFont_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
12106 { "wxFont_SetFaceName", (PyCFunction
) _wrap_wxFont_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
12107 { "wxFont_SetWeight", (PyCFunction
) _wrap_wxFont_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
12108 { "wxFont_SetStyle", (PyCFunction
) _wrap_wxFont_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
12109 { "wxFont_SetFamily", (PyCFunction
) _wrap_wxFont_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
12110 { "wxFont_SetPointSize", (PyCFunction
) _wrap_wxFont_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
12111 { "wxFont_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_wxFont_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
12112 { "wxFont_GetNativeFontInfoDesc", (PyCFunction
) _wrap_wxFont_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
},
12113 { "wxFont_GetNativeFontInfo", (PyCFunction
) _wrap_wxFont_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
12114 { "wxFont_IsFixedWidth", (PyCFunction
) _wrap_wxFont_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
},
12115 { "wxFont_GetEncoding", (PyCFunction
) _wrap_wxFont_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
12116 { "wxFont_GetFaceName", (PyCFunction
) _wrap_wxFont_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
12117 { "wxFont_GetUnderlined", (PyCFunction
) _wrap_wxFont_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
12118 { "wxFont_GetWeight", (PyCFunction
) _wrap_wxFont_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
12119 { "wxFont_GetStyle", (PyCFunction
) _wrap_wxFont_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
12120 { "wxFont_GetFamily", (PyCFunction
) _wrap_wxFont_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
12121 { "wxFont_GetPointSize", (PyCFunction
) _wrap_wxFont_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
12122 { "wxFont_Ok", (PyCFunction
) _wrap_wxFont_Ok
, METH_VARARGS
| METH_KEYWORDS
},
12123 { "delete_wxFont", (PyCFunction
) _wrap_delete_wxFont
, METH_VARARGS
| METH_KEYWORDS
},
12124 { "new_wxFontFromNativeInfo", (PyCFunction
) _wrap_new_wxFontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
},
12125 { "new_wxFont", (PyCFunction
) _wrap_new_wxFont
, METH_VARARGS
| METH_KEYWORDS
},
12126 { "wxFontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_wxFontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
12127 { "wxFontMapper_SetConfigPath", (PyCFunction
) _wrap_wxFontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
12128 { "wxFontMapper_SetConfig", (PyCFunction
) _wrap_wxFontMapper_SetConfig
, METH_VARARGS
| METH_KEYWORDS
},
12129 { "wxFontMapper_SetDialogTitle", (PyCFunction
) _wrap_wxFontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
},
12130 { "wxFontMapper_SetDialogParent", (PyCFunction
) _wrap_wxFontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
},
12131 { "wxFontMapper_GetEncodingDescription", (PyCFunction
) _wrap_wxFontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
},
12132 { "wxFontMapper_GetEncodingName", (PyCFunction
) _wrap_wxFontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
12133 { "wxFontMapper_CharsetToEncoding", (PyCFunction
) _wrap_wxFontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
},
12134 { "wxFontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_wxFontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
},
12135 { "wxFontMapper_GetAltForEncoding", (PyCFunction
) _wrap_wxFontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
},
12136 { "delete_wxFontMapper", (PyCFunction
) _wrap_delete_wxFontMapper
, METH_VARARGS
| METH_KEYWORDS
},
12137 { "new_wxFontMapper", (PyCFunction
) _wrap_new_wxFontMapper
, METH_VARARGS
| METH_KEYWORDS
},
12138 { "wxNativeFontInfo_ToUserString", (PyCFunction
) _wrap_wxNativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
},
12139 { "wxNativeFontInfo_FromUserString", (PyCFunction
) _wrap_wxNativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
},
12140 { "wxNativeFontInfo___str__", (PyCFunction
) _wrap_wxNativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
},
12141 { "wxNativeFontInfo_ToString", (PyCFunction
) _wrap_wxNativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
12142 { "wxNativeFontInfo_FromString", (PyCFunction
) _wrap_wxNativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
12143 { "wxNativeFontInfo_SetEncoding", (PyCFunction
) _wrap_wxNativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
12144 { "wxNativeFontInfo_SetFamily", (PyCFunction
) _wrap_wxNativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
12145 { "wxNativeFontInfo_SetFaceName", (PyCFunction
) _wrap_wxNativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
12146 { "wxNativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_wxNativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
12147 { "wxNativeFontInfo_SetWeight", (PyCFunction
) _wrap_wxNativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
12148 { "wxNativeFontInfo_SetStyle", (PyCFunction
) _wrap_wxNativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
12149 { "wxNativeFontInfo_SetPointSize", (PyCFunction
) _wrap_wxNativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
12150 { "wxNativeFontInfo_GetEncoding", (PyCFunction
) _wrap_wxNativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
12151 { "wxNativeFontInfo_GetFamily", (PyCFunction
) _wrap_wxNativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
12152 { "wxNativeFontInfo_GetFaceName", (PyCFunction
) _wrap_wxNativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
12153 { "wxNativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_wxNativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
12154 { "wxNativeFontInfo_GetWeight", (PyCFunction
) _wrap_wxNativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
12155 { "wxNativeFontInfo_GetStyle", (PyCFunction
) _wrap_wxNativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
12156 { "wxNativeFontInfo_GetPointSize", (PyCFunction
) _wrap_wxNativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
12157 { "wxNativeFontInfo_Init", (PyCFunction
) _wrap_wxNativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
},
12158 { "new_wxNativeFontInfo", (PyCFunction
) _wrap_new_wxNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
12159 { "wxCursor_Ok", (PyCFunction
) _wrap_wxCursor_Ok
, METH_VARARGS
| METH_KEYWORDS
},
12160 { "delete_wxCursor", (PyCFunction
) _wrap_delete_wxCursor
, METH_VARARGS
| METH_KEYWORDS
},
12161 { "wxIcon_CopyFromBitmap", (PyCFunction
) _wrap_wxIcon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
12162 { "wxIcon_SetDepth", (PyCFunction
) _wrap_wxIcon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
12163 { "wxIcon_SetHeight", (PyCFunction
) _wrap_wxIcon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
12164 { "wxIcon_SetWidth", (PyCFunction
) _wrap_wxIcon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
12165 { "wxIcon_GetDepth", (PyCFunction
) _wrap_wxIcon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
12166 { "wxIcon_GetHeight", (PyCFunction
) _wrap_wxIcon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
12167 { "wxIcon_GetWidth", (PyCFunction
) _wrap_wxIcon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
12168 { "wxIcon_Ok", (PyCFunction
) _wrap_wxIcon_Ok
, METH_VARARGS
| METH_KEYWORDS
},
12169 { "delete_wxIcon", (PyCFunction
) _wrap_delete_wxIcon
, METH_VARARGS
| METH_KEYWORDS
},
12170 { "new_wxIcon", (PyCFunction
) _wrap_new_wxIcon
, METH_VARARGS
| METH_KEYWORDS
},
12171 { "wxMask_Destroy", (PyCFunction
) _wrap_wxMask_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
12172 { "new_wxMask", (PyCFunction
) _wrap_new_wxMask
, METH_VARARGS
| METH_KEYWORDS
},
12173 { "wxBitmap_CopyFromIcon", (PyCFunction
) _wrap_wxBitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
12174 { "wxBitmap_GetSubBitmap", (PyCFunction
) _wrap_wxBitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
},
12175 { "wxBitmap_SetDepth", (PyCFunction
) _wrap_wxBitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
12176 { "wxBitmap_SetHeight", (PyCFunction
) _wrap_wxBitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
12177 { "wxBitmap_SetWidth", (PyCFunction
) _wrap_wxBitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
12178 { "wxBitmap_GetDepth", (PyCFunction
) _wrap_wxBitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
12179 { "wxBitmap_GetHeight", (PyCFunction
) _wrap_wxBitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
12180 { "wxBitmap_GetWidth", (PyCFunction
) _wrap_wxBitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
12181 { "wxBitmap_Ok", (PyCFunction
) _wrap_wxBitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
},
12182 { "wxBitmap_SetMask", (PyCFunction
) _wrap_wxBitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
12183 { "wxBitmap_SaveFile", (PyCFunction
) _wrap_wxBitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
12184 { "wxBitmap_LoadFile", (PyCFunction
) _wrap_wxBitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
12185 { "wxBitmap_GetMask", (PyCFunction
) _wrap_wxBitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
12186 { "wxBitmap_GetPalette", (PyCFunction
) _wrap_wxBitmap_GetPalette
, METH_VARARGS
| METH_KEYWORDS
},
12187 { "delete_wxBitmap", (PyCFunction
) _wrap_delete_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
12188 { "new_wxBitmap", (PyCFunction
) _wrap_new_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
12189 { "wxGDIObject_IsNull", (PyCFunction
) _wrap_wxGDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
12190 { "wxGDIObject_SetVisible", (PyCFunction
) _wrap_wxGDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
},
12191 { "wxGDIObject_GetVisible", (PyCFunction
) _wrap_wxGDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
},
12192 { "delete_wxGDIObject", (PyCFunction
) _wrap_delete_wxGDIObject
, METH_VARARGS
| METH_KEYWORDS
},
12193 { "new_wxGDIObject", (PyCFunction
) _wrap_new_wxGDIObject
, METH_VARARGS
| METH_KEYWORDS
},
12194 { "wxMemoryDCFromDC", (PyCFunction
) _wrap_wxMemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
},
12195 { "wxNamedColour", (PyCFunction
) _wrap_wxNamedColour
, METH_VARARGS
| METH_KEYWORDS
},
12196 { "wxStockCursor", (PyCFunction
) _wrap_wxStockCursor
, METH_VARARGS
| METH_KEYWORDS
},
12197 { "wxIconFromBitmap", (PyCFunction
) _wrap_wxIconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
12198 { "wxIconFromXPMData", (PyCFunction
) _wrap_wxIconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
12199 { "wxEmptyIcon", (PyCFunction
) _wrap_wxEmptyIcon
, METH_VARARGS
| METH_KEYWORDS
},
12200 { "wxMaskColour", (PyCFunction
) _wrap_wxMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
12201 { "wxBitmapFromBits", (PyCFunction
) _wrap_wxBitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
},
12202 { "wxBitmapFromIcon", (PyCFunction
) _wrap_wxBitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
12203 { "wxBitmapFromXPMData", (PyCFunction
) _wrap_wxBitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
12204 { "wxEmptyBitmap", (PyCFunction
) _wrap_wxEmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
},
12211 * This table is used by the pointer type-checker
12213 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
12214 { "_signed_long","_long",0},
12215 { "_wxPrintQuality","_wxCoord",0},
12216 { "_wxPrintQuality","_int",0},
12217 { "_wxPrintQuality","_signed_int",0},
12218 { "_wxPrintQuality","_unsigned_int",0},
12219 { "_wxPrintQuality","_wxWindowID",0},
12220 { "_wxPrintQuality","_uint",0},
12221 { "_wxPrintQuality","_EBool",0},
12222 { "_wxPrintQuality","_size_t",0},
12223 { "_wxPrintQuality","_time_t",0},
12224 { "_wxPen","_wxPyPen",SwigwxPyPenTowxPen
},
12225 { "_byte","_unsigned_char",0},
12226 { "_long","_unsigned_long",0},
12227 { "_long","_signed_long",0},
12228 { "_wxGDIObject","_wxRegion",SwigwxRegionTowxGDIObject
},
12229 { "_wxGDIObject","_wxPalette",SwigwxPaletteTowxGDIObject
},
12230 { "_wxGDIObject","_wxBrush",SwigwxBrushTowxGDIObject
},
12231 { "_wxGDIObject","_wxPyPen",SwigwxPyPenTowxGDIObject
},
12232 { "_wxGDIObject","_wxPen",SwigwxPenTowxGDIObject
},
12233 { "_wxGDIObject","_wxFont",SwigwxFontTowxGDIObject
},
12234 { "_wxGDIObject","_wxCursor",SwigwxCursorTowxGDIObject
},
12235 { "_wxGDIObject","_wxIcon",SwigwxIconTowxGDIObject
},
12236 { "_wxGDIObject","_wxBitmap",SwigwxBitmapTowxGDIObject
},
12237 { "_wxDC","_wxWindowDC",SwigwxWindowDCTowxDC
},
12238 { "_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC
},
12239 { "_wxDC","_wxClientDC",SwigwxClientDCTowxDC
},
12240 { "_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC
},
12241 { "_wxDC","_wxBufferedPaintDC",SwigwxBufferedPaintDCTowxDC
},
12242 { "_wxDC","_wxBufferedDC",SwigwxBufferedDCTowxDC
},
12243 { "_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC
},
12244 { "_size_t","_wxCoord",0},
12245 { "_size_t","_wxPrintQuality",0},
12246 { "_size_t","_time_t",0},
12247 { "_size_t","_unsigned_int",0},
12248 { "_size_t","_int",0},
12249 { "_size_t","_wxWindowID",0},
12250 { "_size_t","_uint",0},
12251 { "_uint","_wxCoord",0},
12252 { "_uint","_wxPrintQuality",0},
12253 { "_uint","_time_t",0},
12254 { "_uint","_size_t",0},
12255 { "_uint","_unsigned_int",0},
12256 { "_uint","_int",0},
12257 { "_uint","_wxWindowID",0},
12258 { "_wxChar","_char",0},
12259 { "_char","_wxChar",0},
12260 { "_wxBufferedDC","_wxBufferedPaintDC",SwigwxBufferedPaintDCTowxBufferedDC
},
12261 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
12262 { "_EBool","_wxCoord",0},
12263 { "_EBool","_wxPrintQuality",0},
12264 { "_EBool","_signed_int",0},
12265 { "_EBool","_int",0},
12266 { "_EBool","_wxWindowID",0},
12267 { "_unsigned_long","_long",0},
12268 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
12269 { "_signed_int","_wxCoord",0},
12270 { "_signed_int","_wxPrintQuality",0},
12271 { "_signed_int","_EBool",0},
12272 { "_signed_int","_wxWindowID",0},
12273 { "_signed_int","_int",0},
12274 { "_WXTYPE","_short",0},
12275 { "_WXTYPE","_signed_short",0},
12276 { "_WXTYPE","_unsigned_short",0},
12277 { "_unsigned_short","_WXTYPE",0},
12278 { "_unsigned_short","_short",0},
12279 { "_wxObject","_wxRegionIterator",SwigwxRegionIteratorTowxObject
},
12280 { "_wxObject","_wxRegion",SwigwxRegionTowxObject
},
12281 { "_wxObject","_wxImageList",SwigwxImageListTowxObject
},
12282 { "_wxObject","_wxPalette",SwigwxPaletteTowxObject
},
12283 { "_wxObject","_wxWindowDC",SwigwxWindowDCTowxObject
},
12284 { "_wxObject","_wxPaintDC",SwigwxPaintDCTowxObject
},
12285 { "_wxObject","_wxClientDC",SwigwxClientDCTowxObject
},
12286 { "_wxObject","_wxScreenDC",SwigwxScreenDCTowxObject
},
12287 { "_wxObject","_wxBufferedPaintDC",SwigwxBufferedPaintDCTowxObject
},
12288 { "_wxObject","_wxBufferedDC",SwigwxBufferedDCTowxObject
},
12289 { "_wxObject","_wxMemoryDC",SwigwxMemoryDCTowxObject
},
12290 { "_wxObject","_wxDC",SwigwxDCTowxObject
},
12291 { "_wxObject","_wxBrushList",SwigwxBrushListTowxObject
},
12292 { "_wxObject","_wxBrush",SwigwxBrushTowxObject
},
12293 { "_wxObject","_wxPenList",SwigwxPenListTowxObject
},
12294 { "_wxObject","_wxPyPen",SwigwxPyPenTowxObject
},
12295 { "_wxObject","_wxPen",SwigwxPenTowxObject
},
12296 { "_wxObject","_wxColourDatabase",SwigwxColourDatabaseTowxObject
},
12297 { "_wxObject","_wxColour",SwigwxColourTowxObject
},
12298 { "_wxObject","_wxFontList",SwigwxFontListTowxObject
},
12299 { "_wxObject","_wxFont",SwigwxFontTowxObject
},
12300 { "_wxObject","_wxCursor",SwigwxCursorTowxObject
},
12301 { "_wxObject","_wxIcon",SwigwxIconTowxObject
},
12302 { "_wxObject","_wxMask",SwigwxMaskTowxObject
},
12303 { "_wxObject","_wxBitmap",SwigwxBitmapTowxObject
},
12304 { "_wxObject","_wxGDIObject",SwigwxGDIObjectTowxObject
},
12305 { "_signed_short","_WXTYPE",0},
12306 { "_signed_short","_short",0},
12307 { "_wxMemoryDC","_wxBufferedPaintDC",SwigwxBufferedPaintDCTowxMemoryDC
},
12308 { "_wxMemoryDC","_wxBufferedDC",SwigwxBufferedDCTowxMemoryDC
},
12309 { "_unsigned_char","_byte",0},
12310 { "_unsigned_int","_wxCoord",0},
12311 { "_unsigned_int","_wxPrintQuality",0},
12312 { "_unsigned_int","_time_t",0},
12313 { "_unsigned_int","_size_t",0},
12314 { "_unsigned_int","_uint",0},
12315 { "_unsigned_int","_wxWindowID",0},
12316 { "_unsigned_int","_int",0},
12317 { "_short","_WXTYPE",0},
12318 { "_short","_unsigned_short",0},
12319 { "_short","_signed_short",0},
12320 { "_wxWindowID","_wxCoord",0},
12321 { "_wxWindowID","_wxPrintQuality",0},
12322 { "_wxWindowID","_time_t",0},
12323 { "_wxWindowID","_size_t",0},
12324 { "_wxWindowID","_EBool",0},
12325 { "_wxWindowID","_uint",0},
12326 { "_wxWindowID","_int",0},
12327 { "_wxWindowID","_signed_int",0},
12328 { "_wxWindowID","_unsigned_int",0},
12329 { "_int","_wxCoord",0},
12330 { "_int","_wxPrintQuality",0},
12331 { "_int","_time_t",0},
12332 { "_int","_size_t",0},
12333 { "_int","_EBool",0},
12334 { "_int","_uint",0},
12335 { "_int","_wxWindowID",0},
12336 { "_int","_unsigned_int",0},
12337 { "_int","_signed_int",0},
12338 { "_time_t","_wxCoord",0},
12339 { "_time_t","_wxPrintQuality",0},
12340 { "_time_t","_unsigned_int",0},
12341 { "_time_t","_int",0},
12342 { "_time_t","_wxWindowID",0},
12343 { "_time_t","_uint",0},
12344 { "_time_t","_size_t",0},
12345 { "_wxCoord","_int",0},
12346 { "_wxCoord","_signed_int",0},
12347 { "_wxCoord","_unsigned_int",0},
12348 { "_wxCoord","_wxWindowID",0},
12349 { "_wxCoord","_uint",0},
12350 { "_wxCoord","_EBool",0},
12351 { "_wxCoord","_size_t",0},
12352 { "_wxCoord","_time_t",0},
12353 { "_wxCoord","_wxPrintQuality",0},
12356 static PyObject
*SWIG_globals
;
12360 SWIGEXPORT(void) initgdic() {
12362 SWIG_globals
= SWIG_newvarlink();
12363 m
= Py_InitModule("gdic", gdicMethods
);
12364 d
= PyModule_GetDict(m
);
12365 PyDict_SetItemString(d
,"wxFONTFAMILY_DEFAULT", PyInt_FromLong((long) wxFONTFAMILY_DEFAULT
));
12366 PyDict_SetItemString(d
,"wxFONTFAMILY_DECORATIVE", PyInt_FromLong((long) wxFONTFAMILY_DECORATIVE
));
12367 PyDict_SetItemString(d
,"wxFONTFAMILY_ROMAN", PyInt_FromLong((long) wxFONTFAMILY_ROMAN
));
12368 PyDict_SetItemString(d
,"wxFONTFAMILY_SCRIPT", PyInt_FromLong((long) wxFONTFAMILY_SCRIPT
));
12369 PyDict_SetItemString(d
,"wxFONTFAMILY_SWISS", PyInt_FromLong((long) wxFONTFAMILY_SWISS
));
12370 PyDict_SetItemString(d
,"wxFONTFAMILY_MODERN", PyInt_FromLong((long) wxFONTFAMILY_MODERN
));
12371 PyDict_SetItemString(d
,"wxFONTFAMILY_TELETYPE", PyInt_FromLong((long) wxFONTFAMILY_TELETYPE
));
12372 PyDict_SetItemString(d
,"wxFONTFAMILY_MAX", PyInt_FromLong((long) wxFONTFAMILY_MAX
));
12373 PyDict_SetItemString(d
,"wxFONTFAMILY_UNKNOWN", PyInt_FromLong((long) wxFONTFAMILY_UNKNOWN
));
12374 PyDict_SetItemString(d
,"wxFONTSTYLE_NORMAL", PyInt_FromLong((long) wxFONTSTYLE_NORMAL
));
12375 PyDict_SetItemString(d
,"wxFONTSTYLE_ITALIC", PyInt_FromLong((long) wxFONTSTYLE_ITALIC
));
12376 PyDict_SetItemString(d
,"wxFONTSTYLE_SLANT", PyInt_FromLong((long) wxFONTSTYLE_SLANT
));
12377 PyDict_SetItemString(d
,"wxFONTSTYLE_MAX", PyInt_FromLong((long) wxFONTSTYLE_MAX
));
12378 PyDict_SetItemString(d
,"wxFONTWEIGHT_NORMAL", PyInt_FromLong((long) wxFONTWEIGHT_NORMAL
));
12379 PyDict_SetItemString(d
,"wxFONTWEIGHT_LIGHT", PyInt_FromLong((long) wxFONTWEIGHT_LIGHT
));
12380 PyDict_SetItemString(d
,"wxFONTWEIGHT_BOLD", PyInt_FromLong((long) wxFONTWEIGHT_BOLD
));
12381 PyDict_SetItemString(d
,"wxFONTWEIGHT_MAX", PyInt_FromLong((long) wxFONTWEIGHT_MAX
));
12382 PyDict_SetItemString(d
,"wxFONTENCODING_SYSTEM", PyInt_FromLong((long) wxFONTENCODING_SYSTEM
));
12383 PyDict_SetItemString(d
,"wxFONTENCODING_DEFAULT", PyInt_FromLong((long) wxFONTENCODING_DEFAULT
));
12384 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_1", PyInt_FromLong((long) wxFONTENCODING_ISO8859_1
));
12385 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_2", PyInt_FromLong((long) wxFONTENCODING_ISO8859_2
));
12386 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_3", PyInt_FromLong((long) wxFONTENCODING_ISO8859_3
));
12387 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_4", PyInt_FromLong((long) wxFONTENCODING_ISO8859_4
));
12388 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_5", PyInt_FromLong((long) wxFONTENCODING_ISO8859_5
));
12389 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_6", PyInt_FromLong((long) wxFONTENCODING_ISO8859_6
));
12390 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_7", PyInt_FromLong((long) wxFONTENCODING_ISO8859_7
));
12391 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_8", PyInt_FromLong((long) wxFONTENCODING_ISO8859_8
));
12392 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_9", PyInt_FromLong((long) wxFONTENCODING_ISO8859_9
));
12393 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_10", PyInt_FromLong((long) wxFONTENCODING_ISO8859_10
));
12394 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_11", PyInt_FromLong((long) wxFONTENCODING_ISO8859_11
));
12395 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_12", PyInt_FromLong((long) wxFONTENCODING_ISO8859_12
));
12396 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_13", PyInt_FromLong((long) wxFONTENCODING_ISO8859_13
));
12397 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_14", PyInt_FromLong((long) wxFONTENCODING_ISO8859_14
));
12398 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_15", PyInt_FromLong((long) wxFONTENCODING_ISO8859_15
));
12399 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_MAX", PyInt_FromLong((long) wxFONTENCODING_ISO8859_MAX
));
12400 PyDict_SetItemString(d
,"wxFONTENCODING_KOI8", PyInt_FromLong((long) wxFONTENCODING_KOI8
));
12401 PyDict_SetItemString(d
,"wxFONTENCODING_ALTERNATIVE", PyInt_FromLong((long) wxFONTENCODING_ALTERNATIVE
));
12402 PyDict_SetItemString(d
,"wxFONTENCODING_BULGARIAN", PyInt_FromLong((long) wxFONTENCODING_BULGARIAN
));
12403 PyDict_SetItemString(d
,"wxFONTENCODING_CP437", PyInt_FromLong((long) wxFONTENCODING_CP437
));
12404 PyDict_SetItemString(d
,"wxFONTENCODING_CP850", PyInt_FromLong((long) wxFONTENCODING_CP850
));
12405 PyDict_SetItemString(d
,"wxFONTENCODING_CP852", PyInt_FromLong((long) wxFONTENCODING_CP852
));
12406 PyDict_SetItemString(d
,"wxFONTENCODING_CP855", PyInt_FromLong((long) wxFONTENCODING_CP855
));
12407 PyDict_SetItemString(d
,"wxFONTENCODING_CP866", PyInt_FromLong((long) wxFONTENCODING_CP866
));
12408 PyDict_SetItemString(d
,"wxFONTENCODING_CP874", PyInt_FromLong((long) wxFONTENCODING_CP874
));
12409 PyDict_SetItemString(d
,"wxFONTENCODING_CP932", PyInt_FromLong((long) wxFONTENCODING_CP932
));
12410 PyDict_SetItemString(d
,"wxFONTENCODING_CP936", PyInt_FromLong((long) wxFONTENCODING_CP936
));
12411 PyDict_SetItemString(d
,"wxFONTENCODING_CP949", PyInt_FromLong((long) wxFONTENCODING_CP949
));
12412 PyDict_SetItemString(d
,"wxFONTENCODING_CP950", PyInt_FromLong((long) wxFONTENCODING_CP950
));
12413 PyDict_SetItemString(d
,"wxFONTENCODING_CP1250", PyInt_FromLong((long) wxFONTENCODING_CP1250
));
12414 PyDict_SetItemString(d
,"wxFONTENCODING_CP1251", PyInt_FromLong((long) wxFONTENCODING_CP1251
));
12415 PyDict_SetItemString(d
,"wxFONTENCODING_CP1252", PyInt_FromLong((long) wxFONTENCODING_CP1252
));
12416 PyDict_SetItemString(d
,"wxFONTENCODING_CP1253", PyInt_FromLong((long) wxFONTENCODING_CP1253
));
12417 PyDict_SetItemString(d
,"wxFONTENCODING_CP1254", PyInt_FromLong((long) wxFONTENCODING_CP1254
));
12418 PyDict_SetItemString(d
,"wxFONTENCODING_CP1255", PyInt_FromLong((long) wxFONTENCODING_CP1255
));
12419 PyDict_SetItemString(d
,"wxFONTENCODING_CP1256", PyInt_FromLong((long) wxFONTENCODING_CP1256
));
12420 PyDict_SetItemString(d
,"wxFONTENCODING_CP1257", PyInt_FromLong((long) wxFONTENCODING_CP1257
));
12421 PyDict_SetItemString(d
,"wxFONTENCODING_CP12_MAX", PyInt_FromLong((long) wxFONTENCODING_CP12_MAX
));
12422 PyDict_SetItemString(d
,"wxFONTENCODING_UTF7", PyInt_FromLong((long) wxFONTENCODING_UTF7
));
12423 PyDict_SetItemString(d
,"wxFONTENCODING_UTF8", PyInt_FromLong((long) wxFONTENCODING_UTF8
));
12424 PyDict_SetItemString(d
,"wxFONTENCODING_UNICODE", PyInt_FromLong((long) wxFONTENCODING_UNICODE
));
12425 PyDict_SetItemString(d
,"wxFONTENCODING_MAX", PyInt_FromLong((long) wxFONTENCODING_MAX
));
12426 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_NORMAL", PyInt_FromLong((long) wxIMAGELIST_DRAW_NORMAL
));
12427 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_TRANSPARENT", PyInt_FromLong((long) wxIMAGELIST_DRAW_TRANSPARENT
));
12428 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_SELECTED", PyInt_FromLong((long) wxIMAGELIST_DRAW_SELECTED
));
12429 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_FOCUSED", PyInt_FromLong((long) wxIMAGELIST_DRAW_FOCUSED
));
12430 PyDict_SetItemString(d
,"wxIMAGE_LIST_NORMAL", PyInt_FromLong((long) wxIMAGE_LIST_NORMAL
));
12431 PyDict_SetItemString(d
,"wxIMAGE_LIST_SMALL", PyInt_FromLong((long) wxIMAGE_LIST_SMALL
));
12432 PyDict_SetItemString(d
,"wxIMAGE_LIST_STATE", PyInt_FromLong((long) wxIMAGE_LIST_STATE
));
12433 PyDict_SetItemString(d
,"wxOutRegion", PyInt_FromLong((long) wxOutRegion
));
12434 PyDict_SetItemString(d
,"wxPartRegion", PyInt_FromLong((long) wxPartRegion
));
12435 PyDict_SetItemString(d
,"wxInRegion", PyInt_FromLong((long) wxInRegion
));
12436 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
12437 SWIG_addvarlink(SWIG_globals
,"wxNORMAL_FONT",_wrap_wxNORMAL_FONT_get
, _wrap_wxNORMAL_FONT_set
);
12438 SWIG_addvarlink(SWIG_globals
,"wxSMALL_FONT",_wrap_wxSMALL_FONT_get
, _wrap_wxSMALL_FONT_set
);
12439 SWIG_addvarlink(SWIG_globals
,"wxITALIC_FONT",_wrap_wxITALIC_FONT_get
, _wrap_wxITALIC_FONT_set
);
12440 SWIG_addvarlink(SWIG_globals
,"wxSWISS_FONT",_wrap_wxSWISS_FONT_get
, _wrap_wxSWISS_FONT_set
);
12441 SWIG_addvarlink(SWIG_globals
,"wxRED_PEN",_wrap_wxRED_PEN_get
, _wrap_wxRED_PEN_set
);
12442 SWIG_addvarlink(SWIG_globals
,"wxCYAN_PEN",_wrap_wxCYAN_PEN_get
, _wrap_wxCYAN_PEN_set
);
12443 SWIG_addvarlink(SWIG_globals
,"wxGREEN_PEN",_wrap_wxGREEN_PEN_get
, _wrap_wxGREEN_PEN_set
);
12444 SWIG_addvarlink(SWIG_globals
,"wxBLACK_PEN",_wrap_wxBLACK_PEN_get
, _wrap_wxBLACK_PEN_set
);
12445 SWIG_addvarlink(SWIG_globals
,"wxWHITE_PEN",_wrap_wxWHITE_PEN_get
, _wrap_wxWHITE_PEN_set
);
12446 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_PEN",_wrap_wxTRANSPARENT_PEN_get
, _wrap_wxTRANSPARENT_PEN_set
);
12447 SWIG_addvarlink(SWIG_globals
,"wxBLACK_DASHED_PEN",_wrap_wxBLACK_DASHED_PEN_get
, _wrap_wxBLACK_DASHED_PEN_set
);
12448 SWIG_addvarlink(SWIG_globals
,"wxGREY_PEN",_wrap_wxGREY_PEN_get
, _wrap_wxGREY_PEN_set
);
12449 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_PEN",_wrap_wxMEDIUM_GREY_PEN_get
, _wrap_wxMEDIUM_GREY_PEN_set
);
12450 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_PEN",_wrap_wxLIGHT_GREY_PEN_get
, _wrap_wxLIGHT_GREY_PEN_set
);
12451 SWIG_addvarlink(SWIG_globals
,"wxBLUE_BRUSH",_wrap_wxBLUE_BRUSH_get
, _wrap_wxBLUE_BRUSH_set
);
12452 SWIG_addvarlink(SWIG_globals
,"wxGREEN_BRUSH",_wrap_wxGREEN_BRUSH_get
, _wrap_wxGREEN_BRUSH_set
);
12453 SWIG_addvarlink(SWIG_globals
,"wxWHITE_BRUSH",_wrap_wxWHITE_BRUSH_get
, _wrap_wxWHITE_BRUSH_set
);
12454 SWIG_addvarlink(SWIG_globals
,"wxBLACK_BRUSH",_wrap_wxBLACK_BRUSH_get
, _wrap_wxBLACK_BRUSH_set
);
12455 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_BRUSH",_wrap_wxTRANSPARENT_BRUSH_get
, _wrap_wxTRANSPARENT_BRUSH_set
);
12456 SWIG_addvarlink(SWIG_globals
,"wxCYAN_BRUSH",_wrap_wxCYAN_BRUSH_get
, _wrap_wxCYAN_BRUSH_set
);
12457 SWIG_addvarlink(SWIG_globals
,"wxRED_BRUSH",_wrap_wxRED_BRUSH_get
, _wrap_wxRED_BRUSH_set
);
12458 SWIG_addvarlink(SWIG_globals
,"wxGREY_BRUSH",_wrap_wxGREY_BRUSH_get
, _wrap_wxGREY_BRUSH_set
);
12459 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_BRUSH",_wrap_wxMEDIUM_GREY_BRUSH_get
, _wrap_wxMEDIUM_GREY_BRUSH_set
);
12460 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_BRUSH",_wrap_wxLIGHT_GREY_BRUSH_get
, _wrap_wxLIGHT_GREY_BRUSH_set
);
12461 SWIG_addvarlink(SWIG_globals
,"wxBLACK",_wrap_wxBLACK_get
, _wrap_wxBLACK_set
);
12462 SWIG_addvarlink(SWIG_globals
,"wxWHITE",_wrap_wxWHITE_get
, _wrap_wxWHITE_set
);
12463 SWIG_addvarlink(SWIG_globals
,"wxRED",_wrap_wxRED_get
, _wrap_wxRED_set
);
12464 SWIG_addvarlink(SWIG_globals
,"wxBLUE",_wrap_wxBLUE_get
, _wrap_wxBLUE_set
);
12465 SWIG_addvarlink(SWIG_globals
,"wxGREEN",_wrap_wxGREEN_get
, _wrap_wxGREEN_set
);
12466 SWIG_addvarlink(SWIG_globals
,"wxCYAN",_wrap_wxCYAN_get
, _wrap_wxCYAN_set
);
12467 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY",_wrap_wxLIGHT_GREY_get
, _wrap_wxLIGHT_GREY_set
);
12468 SWIG_addvarlink(SWIG_globals
,"wxSTANDARD_CURSOR",_wrap_wxSTANDARD_CURSOR_get
, _wrap_wxSTANDARD_CURSOR_set
);
12469 SWIG_addvarlink(SWIG_globals
,"wxHOURGLASS_CURSOR",_wrap_wxHOURGLASS_CURSOR_get
, _wrap_wxHOURGLASS_CURSOR_set
);
12470 SWIG_addvarlink(SWIG_globals
,"wxCROSS_CURSOR",_wrap_wxCROSS_CURSOR_get
, _wrap_wxCROSS_CURSOR_set
);
12471 SWIG_addvarlink(SWIG_globals
,"wxNullBitmap",_wrap_wxNullBitmap_get
, _wrap_wxNullBitmap_set
);
12472 SWIG_addvarlink(SWIG_globals
,"wxNullIcon",_wrap_wxNullIcon_get
, _wrap_wxNullIcon_set
);
12473 SWIG_addvarlink(SWIG_globals
,"wxNullCursor",_wrap_wxNullCursor_get
, _wrap_wxNullCursor_set
);
12474 SWIG_addvarlink(SWIG_globals
,"wxNullPen",_wrap_wxNullPen_get
, _wrap_wxNullPen_set
);
12475 SWIG_addvarlink(SWIG_globals
,"wxNullBrush",_wrap_wxNullBrush_get
, _wrap_wxNullBrush_set
);
12476 SWIG_addvarlink(SWIG_globals
,"wxNullPalette",_wrap_wxNullPalette_get
, _wrap_wxNullPalette_set
);
12477 SWIG_addvarlink(SWIG_globals
,"wxNullFont",_wrap_wxNullFont_get
, _wrap_wxNullFont_set
);
12478 SWIG_addvarlink(SWIG_globals
,"wxNullColour",_wrap_wxNullColour_get
, _wrap_wxNullColour_set
);
12479 SWIG_addvarlink(SWIG_globals
,"wxTheFontList",_wrap_wxTheFontList_get
, _wrap_wxTheFontList_set
);
12480 SWIG_addvarlink(SWIG_globals
,"wxThePenList",_wrap_wxThePenList_get
, _wrap_wxThePenList_set
);
12481 SWIG_addvarlink(SWIG_globals
,"wxTheBrushList",_wrap_wxTheBrushList_get
, _wrap_wxTheBrushList_set
);
12482 SWIG_addvarlink(SWIG_globals
,"wxTheColourDatabase",_wrap_wxTheColourDatabase_get
, _wrap_wxTheColourDatabase_set
);
12485 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
12486 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);