2 * FILE : src/gtk/gdi.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initgdic
56 #define SWIG_name "gdic"
59 #include <wx/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_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
2170 static PyObject
*_wrap_wxIcon_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2171 PyObject
* _resultobj
;
2176 PyObject
* _argo0
= 0;
2177 PyObject
* _obj1
= 0;
2178 char *_kwnames
[] = { "self","name","flags", NULL
};
2181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOl:wxIcon_LoadFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
2184 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2185 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_LoadFile. Expected _wxIcon_p.");
2191 _arg1
= wxString_in_helper(_obj1
);
2196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2197 _result
= (bool )wxIcon_LoadFile(_arg0
,*_arg1
,_arg2
);
2199 wxPyEndAllowThreads(__tstate
);
2200 if (PyErr_Occurred()) return NULL
;
2201 } _resultobj
= Py_BuildValue("i",_result
);
2209 #define wxIcon_Ok(_swigobj) (_swigobj->Ok())
2210 static PyObject
*_wrap_wxIcon_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2211 PyObject
* _resultobj
;
2214 PyObject
* _argo0
= 0;
2215 char *_kwnames
[] = { "self", NULL
};
2218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_Ok",_kwnames
,&_argo0
))
2221 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2222 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_Ok. Expected _wxIcon_p.");
2228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2229 _result
= (bool )wxIcon_Ok(_arg0
);
2231 wxPyEndAllowThreads(__tstate
);
2232 if (PyErr_Occurred()) return NULL
;
2233 } _resultobj
= Py_BuildValue("i",_result
);
2237 #define wxIcon_GetWidth(_swigobj) (_swigobj->GetWidth())
2238 static PyObject
*_wrap_wxIcon_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2239 PyObject
* _resultobj
;
2242 PyObject
* _argo0
= 0;
2243 char *_kwnames
[] = { "self", NULL
};
2246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetWidth",_kwnames
,&_argo0
))
2249 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2250 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetWidth. Expected _wxIcon_p.");
2256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2257 _result
= (int )wxIcon_GetWidth(_arg0
);
2259 wxPyEndAllowThreads(__tstate
);
2260 if (PyErr_Occurred()) return NULL
;
2261 } _resultobj
= Py_BuildValue("i",_result
);
2265 #define wxIcon_GetHeight(_swigobj) (_swigobj->GetHeight())
2266 static PyObject
*_wrap_wxIcon_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2267 PyObject
* _resultobj
;
2270 PyObject
* _argo0
= 0;
2271 char *_kwnames
[] = { "self", NULL
};
2274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetHeight",_kwnames
,&_argo0
))
2277 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2278 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetHeight. Expected _wxIcon_p.");
2284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2285 _result
= (int )wxIcon_GetHeight(_arg0
);
2287 wxPyEndAllowThreads(__tstate
);
2288 if (PyErr_Occurred()) return NULL
;
2289 } _resultobj
= Py_BuildValue("i",_result
);
2293 #define wxIcon_GetDepth(_swigobj) (_swigobj->GetDepth())
2294 static PyObject
*_wrap_wxIcon_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2295 PyObject
* _resultobj
;
2298 PyObject
* _argo0
= 0;
2299 char *_kwnames
[] = { "self", NULL
};
2302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetDepth",_kwnames
,&_argo0
))
2305 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2306 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetDepth. Expected _wxIcon_p.");
2312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2313 _result
= (int )wxIcon_GetDepth(_arg0
);
2315 wxPyEndAllowThreads(__tstate
);
2316 if (PyErr_Occurred()) return NULL
;
2317 } _resultobj
= Py_BuildValue("i",_result
);
2321 #define wxIcon_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2322 static PyObject
*_wrap_wxIcon_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2323 PyObject
* _resultobj
;
2326 PyObject
* _argo0
= 0;
2327 char *_kwnames
[] = { "self","w", NULL
};
2330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetWidth",_kwnames
,&_argo0
,&_arg1
))
2333 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2334 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetWidth. Expected _wxIcon_p.");
2340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2341 wxIcon_SetWidth(_arg0
,_arg1
);
2343 wxPyEndAllowThreads(__tstate
);
2344 if (PyErr_Occurred()) return NULL
;
2345 } Py_INCREF(Py_None
);
2346 _resultobj
= Py_None
;
2350 #define wxIcon_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
2351 static PyObject
*_wrap_wxIcon_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2352 PyObject
* _resultobj
;
2355 PyObject
* _argo0
= 0;
2356 char *_kwnames
[] = { "self","h", NULL
};
2359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetHeight",_kwnames
,&_argo0
,&_arg1
))
2362 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2363 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetHeight. Expected _wxIcon_p.");
2369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2370 wxIcon_SetHeight(_arg0
,_arg1
);
2372 wxPyEndAllowThreads(__tstate
);
2373 if (PyErr_Occurred()) return NULL
;
2374 } Py_INCREF(Py_None
);
2375 _resultobj
= Py_None
;
2379 #define wxIcon_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
2380 static PyObject
*_wrap_wxIcon_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2381 PyObject
* _resultobj
;
2384 PyObject
* _argo0
= 0;
2385 char *_kwnames
[] = { "self","d", NULL
};
2388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetDepth",_kwnames
,&_argo0
,&_arg1
))
2391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetDepth. Expected _wxIcon_p.");
2398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2399 wxIcon_SetDepth(_arg0
,_arg1
);
2401 wxPyEndAllowThreads(__tstate
);
2402 if (PyErr_Occurred()) return NULL
;
2403 } Py_INCREF(Py_None
);
2404 _resultobj
= Py_None
;
2408 #define wxIcon_CopyFromBitmap(_swigobj,_swigarg0) (_swigobj->CopyFromBitmap(_swigarg0))
2409 static PyObject
*_wrap_wxIcon_CopyFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2410 PyObject
* _resultobj
;
2413 PyObject
* _argo0
= 0;
2414 PyObject
* _argo1
= 0;
2415 char *_kwnames
[] = { "self","bmp", NULL
};
2418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxIcon_CopyFromBitmap",_kwnames
,&_argo0
,&_argo1
))
2421 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2422 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_CopyFromBitmap. Expected _wxIcon_p.");
2428 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2429 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
2430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIcon_CopyFromBitmap. Expected _wxBitmap_p.");
2435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2436 wxIcon_CopyFromBitmap(_arg0
,*_arg1
);
2438 wxPyEndAllowThreads(__tstate
);
2439 if (PyErr_Occurred()) return NULL
;
2440 } Py_INCREF(Py_None
);
2441 _resultobj
= Py_None
;
2445 static void *SwigwxCursorTowxGDIObject(void *ptr
) {
2448 src
= (wxCursor
*) ptr
;
2449 dest
= (wxGDIObject
*) src
;
2450 return (void *) dest
;
2453 static void *SwigwxCursorTowxObject(void *ptr
) {
2456 src
= (wxCursor
*) ptr
;
2457 dest
= (wxObject
*) src
;
2458 return (void *) dest
;
2461 #define delete_wxCursor(_swigobj) (delete _swigobj)
2462 static PyObject
*_wrap_delete_wxCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2463 PyObject
* _resultobj
;
2465 PyObject
* _argo0
= 0;
2466 char *_kwnames
[] = { "self", NULL
};
2469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCursor",_kwnames
,&_argo0
))
2472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
2474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCursor. Expected _wxCursor_p.");
2479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2480 delete_wxCursor(_arg0
);
2482 wxPyEndAllowThreads(__tstate
);
2483 if (PyErr_Occurred()) return NULL
;
2484 } Py_INCREF(Py_None
);
2485 _resultobj
= Py_None
;
2489 #define wxCursor_Ok(_swigobj) (_swigobj->Ok())
2490 static PyObject
*_wrap_wxCursor_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2491 PyObject
* _resultobj
;
2494 PyObject
* _argo0
= 0;
2495 char *_kwnames
[] = { "self", NULL
};
2498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCursor_Ok",_kwnames
,&_argo0
))
2501 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2502 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
2503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_Ok. Expected _wxCursor_p.");
2508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2509 _result
= (bool )wxCursor_Ok(_arg0
);
2511 wxPyEndAllowThreads(__tstate
);
2512 if (PyErr_Occurred()) return NULL
;
2513 } _resultobj
= Py_BuildValue("i",_result
);
2517 #define wxNativeFontInfo_FromXFontName(_swigobj,_swigarg0) (_swigobj->FromXFontName(_swigarg0))
2518 static PyObject
*_wrap_wxNativeFontInfo_FromXFontName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2519 PyObject
* _resultobj
;
2521 wxNativeFontInfo
* _arg0
;
2523 PyObject
* _argo0
= 0;
2524 PyObject
* _obj1
= 0;
2525 char *_kwnames
[] = { "self","xFontName", NULL
};
2528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNativeFontInfo_FromXFontName",_kwnames
,&_argo0
,&_obj1
))
2531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_FromXFontName. Expected _wxNativeFontInfo_p.");
2538 _arg1
= wxString_in_helper(_obj1
);
2543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2544 _result
= (bool )wxNativeFontInfo_FromXFontName(_arg0
,*_arg1
);
2546 wxPyEndAllowThreads(__tstate
);
2547 if (PyErr_Occurred()) return NULL
;
2548 } _resultobj
= Py_BuildValue("i",_result
);
2556 #define wxNativeFontInfo_IsDefault(_swigobj) (_swigobj->IsDefault())
2557 static PyObject
*_wrap_wxNativeFontInfo_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2558 PyObject
* _resultobj
;
2560 wxNativeFontInfo
* _arg0
;
2561 PyObject
* _argo0
= 0;
2562 char *_kwnames
[] = { "self", NULL
};
2565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_IsDefault",_kwnames
,&_argo0
))
2568 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2569 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_IsDefault. Expected _wxNativeFontInfo_p.");
2575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2576 _result
= (bool )wxNativeFontInfo_IsDefault(_arg0
);
2578 wxPyEndAllowThreads(__tstate
);
2579 if (PyErr_Occurred()) return NULL
;
2580 } _resultobj
= Py_BuildValue("i",_result
);
2584 #define wxNativeFontInfo_GetXFontName(_swigobj) (_swigobj->GetXFontName())
2585 static PyObject
*_wrap_wxNativeFontInfo_GetXFontName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2586 PyObject
* _resultobj
;
2588 wxNativeFontInfo
* _arg0
;
2589 PyObject
* _argo0
= 0;
2590 char *_kwnames
[] = { "self", NULL
};
2593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_GetXFontName",_kwnames
,&_argo0
))
2596 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2597 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_GetXFontName. Expected _wxNativeFontInfo_p.");
2603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2604 _result
= new wxString (wxNativeFontInfo_GetXFontName(_arg0
));
2606 wxPyEndAllowThreads(__tstate
);
2607 if (PyErr_Occurred()) return NULL
;
2610 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2612 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2621 #define wxNativeFontInfo_SetXFontName(_swigobj,_swigarg0) (_swigobj->SetXFontName(_swigarg0))
2622 static PyObject
*_wrap_wxNativeFontInfo_SetXFontName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2623 PyObject
* _resultobj
;
2624 wxNativeFontInfo
* _arg0
;
2626 PyObject
* _argo0
= 0;
2627 PyObject
* _obj1
= 0;
2628 char *_kwnames
[] = { "self","xFontName", NULL
};
2631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNativeFontInfo_SetXFontName",_kwnames
,&_argo0
,&_obj1
))
2634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_SetXFontName. Expected _wxNativeFontInfo_p.");
2641 _arg1
= wxString_in_helper(_obj1
);
2646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2647 wxNativeFontInfo_SetXFontName(_arg0
,*_arg1
);
2649 wxPyEndAllowThreads(__tstate
);
2650 if (PyErr_Occurred()) return NULL
;
2651 } Py_INCREF(Py_None
);
2652 _resultobj
= Py_None
;
2660 #define new_wxNativeFontInfo() (new wxNativeFontInfo())
2661 static PyObject
*_wrap_new_wxNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2662 PyObject
* _resultobj
;
2663 wxNativeFontInfo
* _result
;
2664 char *_kwnames
[] = { NULL
};
2668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxNativeFontInfo",_kwnames
))
2671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2672 _result
= (wxNativeFontInfo
*)new_wxNativeFontInfo();
2674 wxPyEndAllowThreads(__tstate
);
2675 if (PyErr_Occurred()) return NULL
;
2677 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNativeFontInfo_p");
2678 _resultobj
= Py_BuildValue("s",_ptemp
);
2681 _resultobj
= Py_None
;
2686 #define wxNativeFontInfo_Init(_swigobj) (_swigobj->Init())
2687 static PyObject
*_wrap_wxNativeFontInfo_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2688 PyObject
* _resultobj
;
2689 wxNativeFontInfo
* _arg0
;
2690 PyObject
* _argo0
= 0;
2691 char *_kwnames
[] = { "self", NULL
};
2694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_Init",_kwnames
,&_argo0
))
2697 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2698 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_Init. Expected _wxNativeFontInfo_p.");
2704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2705 wxNativeFontInfo_Init(_arg0
);
2707 wxPyEndAllowThreads(__tstate
);
2708 if (PyErr_Occurred()) return NULL
;
2709 } Py_INCREF(Py_None
);
2710 _resultobj
= Py_None
;
2714 #define wxNativeFontInfo_FromString(_swigobj,_swigarg0) (_swigobj->FromString(_swigarg0))
2715 static PyObject
*_wrap_wxNativeFontInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2716 PyObject
* _resultobj
;
2718 wxNativeFontInfo
* _arg0
;
2720 PyObject
* _argo0
= 0;
2721 PyObject
* _obj1
= 0;
2722 char *_kwnames
[] = { "self","s", NULL
};
2725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNativeFontInfo_FromString",_kwnames
,&_argo0
,&_obj1
))
2728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_FromString. Expected _wxNativeFontInfo_p.");
2735 _arg1
= wxString_in_helper(_obj1
);
2740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2741 _result
= (bool )wxNativeFontInfo_FromString(_arg0
,*_arg1
);
2743 wxPyEndAllowThreads(__tstate
);
2744 if (PyErr_Occurred()) return NULL
;
2745 } _resultobj
= Py_BuildValue("i",_result
);
2753 #define wxNativeFontInfo_ToString(_swigobj) (_swigobj->ToString())
2754 static PyObject
*_wrap_wxNativeFontInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2755 PyObject
* _resultobj
;
2757 wxNativeFontInfo
* _arg0
;
2758 PyObject
* _argo0
= 0;
2759 char *_kwnames
[] = { "self", NULL
};
2762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_ToString",_kwnames
,&_argo0
))
2765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_ToString. Expected _wxNativeFontInfo_p.");
2772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2773 _result
= new wxString (wxNativeFontInfo_ToString(_arg0
));
2775 wxPyEndAllowThreads(__tstate
);
2776 if (PyErr_Occurred()) return NULL
;
2779 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2781 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2790 static wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
) {
2791 return self
->ToString();
2793 static PyObject
*_wrap_wxNativeFontInfo___str__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2794 PyObject
* _resultobj
;
2796 wxNativeFontInfo
* _arg0
;
2797 PyObject
* _argo0
= 0;
2798 char *_kwnames
[] = { "self", NULL
};
2801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo___str__",_kwnames
,&_argo0
))
2804 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2805 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo___str__. Expected _wxNativeFontInfo_p.");
2811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2812 _result
= new wxString (wxNativeFontInfo___str__(_arg0
));
2814 wxPyEndAllowThreads(__tstate
);
2815 if (PyErr_Occurred()) return NULL
;
2818 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2820 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2829 #define wxNativeFontInfo_FromUserString(_swigobj,_swigarg0) (_swigobj->FromUserString(_swigarg0))
2830 static PyObject
*_wrap_wxNativeFontInfo_FromUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2831 PyObject
* _resultobj
;
2833 wxNativeFontInfo
* _arg0
;
2835 PyObject
* _argo0
= 0;
2836 PyObject
* _obj1
= 0;
2837 char *_kwnames
[] = { "self","s", NULL
};
2840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNativeFontInfo_FromUserString",_kwnames
,&_argo0
,&_obj1
))
2843 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2844 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_FromUserString. Expected _wxNativeFontInfo_p.");
2850 _arg1
= wxString_in_helper(_obj1
);
2855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2856 _result
= (bool )wxNativeFontInfo_FromUserString(_arg0
,*_arg1
);
2858 wxPyEndAllowThreads(__tstate
);
2859 if (PyErr_Occurred()) return NULL
;
2860 } _resultobj
= Py_BuildValue("i",_result
);
2868 #define wxNativeFontInfo_ToUserString(_swigobj) (_swigobj->ToUserString())
2869 static PyObject
*_wrap_wxNativeFontInfo_ToUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2870 PyObject
* _resultobj
;
2872 wxNativeFontInfo
* _arg0
;
2873 PyObject
* _argo0
= 0;
2874 char *_kwnames
[] = { "self", NULL
};
2877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_ToUserString",_kwnames
,&_argo0
))
2880 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2881 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_ToUserString. Expected _wxNativeFontInfo_p.");
2887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2888 _result
= new wxString (wxNativeFontInfo_ToUserString(_arg0
));
2890 wxPyEndAllowThreads(__tstate
);
2891 if (PyErr_Occurred()) return NULL
;
2894 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2896 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2905 #define new_wxFontMapper() (new wxFontMapper())
2906 static PyObject
*_wrap_new_wxFontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2907 PyObject
* _resultobj
;
2908 wxFontMapper
* _result
;
2909 char *_kwnames
[] = { NULL
};
2913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFontMapper",_kwnames
))
2916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2917 _result
= (wxFontMapper
*)new_wxFontMapper();
2919 wxPyEndAllowThreads(__tstate
);
2920 if (PyErr_Occurred()) return NULL
;
2922 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFontMapper_p");
2923 _resultobj
= Py_BuildValue("s",_ptemp
);
2926 _resultobj
= Py_None
;
2931 #define delete_wxFontMapper(_swigobj) (delete _swigobj)
2932 static PyObject
*_wrap_delete_wxFontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2933 PyObject
* _resultobj
;
2934 wxFontMapper
* _arg0
;
2935 PyObject
* _argo0
= 0;
2936 char *_kwnames
[] = { "self", NULL
};
2939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFontMapper",_kwnames
,&_argo0
))
2942 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2943 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
2944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFontMapper. Expected _wxFontMapper_p.");
2949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2950 delete_wxFontMapper(_arg0
);
2952 wxPyEndAllowThreads(__tstate
);
2953 if (PyErr_Occurred()) return NULL
;
2954 } Py_INCREF(Py_None
);
2955 _resultobj
= Py_None
;
2959 static PyObject
* wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,const wxString
& facename
,bool interactive
) {
2960 wxFontEncoding alt_enc
;
2961 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
2962 return PyInt_FromLong(alt_enc
);
2968 static PyObject
*_wrap_wxFontMapper_GetAltForEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2969 PyObject
* _resultobj
;
2971 wxFontMapper
* _arg0
;
2972 wxFontEncoding _arg1
;
2973 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
2974 bool _arg3
= (bool ) TRUE
;
2975 PyObject
* _argo0
= 0;
2976 PyObject
* _obj2
= 0;
2977 int tempbool3
= (int) TRUE
;
2978 char *_kwnames
[] = { "self","encoding","facename","interactive", NULL
};
2981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|Oi:wxFontMapper_GetAltForEncoding",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&tempbool3
))
2984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
2986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_GetAltForEncoding. Expected _wxFontMapper_p.");
2992 _arg2
= wxString_in_helper(_obj2
);
2996 _arg3
= (bool ) tempbool3
;
2998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2999 _result
= (PyObject
*)wxFontMapper_GetAltForEncoding(_arg0
,_arg1
,*_arg2
,_arg3
);
3001 wxPyEndAllowThreads(__tstate
);
3002 if (PyErr_Occurred()) return NULL
;
3004 _resultobj
= _result
;
3013 #define wxFontMapper_IsEncodingAvailable(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsEncodingAvailable(_swigarg0,_swigarg1))
3014 static PyObject
*_wrap_wxFontMapper_IsEncodingAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3015 PyObject
* _resultobj
;
3017 wxFontMapper
* _arg0
;
3018 wxFontEncoding _arg1
;
3019 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
3020 PyObject
* _argo0
= 0;
3021 PyObject
* _obj2
= 0;
3022 char *_kwnames
[] = { "self","encoding","facename", NULL
};
3025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|O:wxFontMapper_IsEncodingAvailable",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3028 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3029 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
3030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_IsEncodingAvailable. Expected _wxFontMapper_p.");
3036 _arg2
= wxString_in_helper(_obj2
);
3041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3042 _result
= (bool )wxFontMapper_IsEncodingAvailable(_arg0
,_arg1
,*_arg2
);
3044 wxPyEndAllowThreads(__tstate
);
3045 if (PyErr_Occurred()) return NULL
;
3046 } _resultobj
= Py_BuildValue("i",_result
);
3054 #define wxFontMapper_CharsetToEncoding(_swigobj,_swigarg0,_swigarg1) (_swigobj->CharsetToEncoding(_swigarg0,_swigarg1))
3055 static PyObject
*_wrap_wxFontMapper_CharsetToEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3056 PyObject
* _resultobj
;
3057 wxFontEncoding _result
;
3058 wxFontMapper
* _arg0
;
3060 bool _arg2
= (bool ) TRUE
;
3061 PyObject
* _argo0
= 0;
3062 PyObject
* _obj1
= 0;
3063 int tempbool2
= (int) TRUE
;
3064 char *_kwnames
[] = { "self","charset","interactive", NULL
};
3067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFontMapper_CharsetToEncoding",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
3070 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3071 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
3072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_CharsetToEncoding. Expected _wxFontMapper_p.");
3077 _arg1
= wxString_in_helper(_obj1
);
3081 _arg2
= (bool ) tempbool2
;
3083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3084 _result
= (wxFontEncoding
)wxFontMapper_CharsetToEncoding(_arg0
,*_arg1
,_arg2
);
3086 wxPyEndAllowThreads(__tstate
);
3087 if (PyErr_Occurred()) return NULL
;
3088 } _resultobj
= Py_BuildValue("i",_result
);
3096 static PyObject
*_wrap_wxFontMapper_GetEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3097 PyObject
* _resultobj
;
3099 wxFontEncoding _arg0
;
3100 char *_kwnames
[] = { "encoding", NULL
};
3103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxFontMapper_GetEncodingName",_kwnames
,&_arg0
))
3106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3107 _result
= new wxString (wxFontMapper::GetEncodingName(_arg0
));
3109 wxPyEndAllowThreads(__tstate
);
3110 if (PyErr_Occurred()) return NULL
;
3113 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3115 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3124 static PyObject
*_wrap_wxFontMapper_GetEncodingDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3125 PyObject
* _resultobj
;
3127 wxFontEncoding _arg0
;
3128 char *_kwnames
[] = { "encoding", NULL
};
3131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxFontMapper_GetEncodingDescription",_kwnames
,&_arg0
))
3134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3135 _result
= new wxString (wxFontMapper::GetEncodingDescription(_arg0
));
3137 wxPyEndAllowThreads(__tstate
);
3138 if (PyErr_Occurred()) return NULL
;
3141 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3143 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3152 #define wxFontMapper_SetDialogParent(_swigobj,_swigarg0) (_swigobj->SetDialogParent(_swigarg0))
3153 static PyObject
*_wrap_wxFontMapper_SetDialogParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3154 PyObject
* _resultobj
;
3155 wxFontMapper
* _arg0
;
3157 PyObject
* _argo0
= 0;
3158 PyObject
* _argo1
= 0;
3159 char *_kwnames
[] = { "self","parent", NULL
};
3162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontMapper_SetDialogParent",_kwnames
,&_argo0
,&_argo1
))
3165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
3167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_SetDialogParent. Expected _wxFontMapper_p.");
3172 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3173 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontMapper_SetDialogParent. Expected _wxWindow_p.");
3179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3180 wxFontMapper_SetDialogParent(_arg0
,_arg1
);
3182 wxPyEndAllowThreads(__tstate
);
3183 if (PyErr_Occurred()) return NULL
;
3184 } Py_INCREF(Py_None
);
3185 _resultobj
= Py_None
;
3189 #define wxFontMapper_SetDialogTitle(_swigobj,_swigarg0) (_swigobj->SetDialogTitle(_swigarg0))
3190 static PyObject
*_wrap_wxFontMapper_SetDialogTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3191 PyObject
* _resultobj
;
3192 wxFontMapper
* _arg0
;
3194 PyObject
* _argo0
= 0;
3195 PyObject
* _obj1
= 0;
3196 char *_kwnames
[] = { "self","title", NULL
};
3199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontMapper_SetDialogTitle",_kwnames
,&_argo0
,&_obj1
))
3202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
3204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_SetDialogTitle. Expected _wxFontMapper_p.");
3209 _arg1
= wxString_in_helper(_obj1
);
3214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3215 wxFontMapper_SetDialogTitle(_arg0
,*_arg1
);
3217 wxPyEndAllowThreads(__tstate
);
3218 if (PyErr_Occurred()) return NULL
;
3219 } Py_INCREF(Py_None
);
3220 _resultobj
= Py_None
;
3228 #define wxFontMapper_SetConfig(_swigobj,_swigarg0) (_swigobj->SetConfig(_swigarg0))
3229 static PyObject
*_wrap_wxFontMapper_SetConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3230 PyObject
* _resultobj
;
3231 wxFontMapper
* _arg0
;
3232 wxConfigBase
* _arg1
;
3233 PyObject
* _argo0
= 0;
3234 PyObject
* _argo1
= 0;
3235 char *_kwnames
[] = { "self","config", NULL
};
3238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontMapper_SetConfig",_kwnames
,&_argo0
,&_argo1
))
3241 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3242 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
3243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_SetConfig. Expected _wxFontMapper_p.");
3248 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3249 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
3250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontMapper_SetConfig. Expected _wxConfigBase_p.");
3255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3256 wxFontMapper_SetConfig(_arg0
,_arg1
);
3258 wxPyEndAllowThreads(__tstate
);
3259 if (PyErr_Occurred()) return NULL
;
3260 } Py_INCREF(Py_None
);
3261 _resultobj
= Py_None
;
3265 #define wxFontMapper_SetConfigPath(_swigobj,_swigarg0) (_swigobj->SetConfigPath(_swigarg0))
3266 static PyObject
*_wrap_wxFontMapper_SetConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3267 PyObject
* _resultobj
;
3268 wxFontMapper
* _arg0
;
3270 PyObject
* _argo0
= 0;
3271 PyObject
* _obj1
= 0;
3272 char *_kwnames
[] = { "self","prefix", NULL
};
3275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontMapper_SetConfigPath",_kwnames
,&_argo0
,&_obj1
))
3278 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3279 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
3280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_SetConfigPath. Expected _wxFontMapper_p.");
3285 _arg1
= wxString_in_helper(_obj1
);
3290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3291 wxFontMapper_SetConfigPath(_arg0
,*_arg1
);
3293 wxPyEndAllowThreads(__tstate
);
3294 if (PyErr_Occurred()) return NULL
;
3295 } Py_INCREF(Py_None
);
3296 _resultobj
= Py_None
;
3304 static PyObject
*_wrap_wxFontMapper_GetDefaultConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3305 PyObject
* _resultobj
;
3307 char *_kwnames
[] = { NULL
};
3310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxFontMapper_GetDefaultConfigPath",_kwnames
))
3313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3314 _result
= new wxString (wxFontMapper::GetDefaultConfigPath());
3316 wxPyEndAllowThreads(__tstate
);
3317 if (PyErr_Occurred()) return NULL
;
3320 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3322 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3331 static void *SwigwxFontTowxGDIObject(void *ptr
) {
3334 src
= (wxFont
*) ptr
;
3335 dest
= (wxGDIObject
*) src
;
3336 return (void *) dest
;
3339 static void *SwigwxFontTowxObject(void *ptr
) {
3342 src
= (wxFont
*) ptr
;
3343 dest
= (wxObject
*) src
;
3344 return (void *) dest
;
3347 #define new_wxFont(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxFont(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3348 static PyObject
*_wrap_new_wxFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3349 PyObject
* _resultobj
;
3355 int _arg4
= (int ) FALSE
;
3356 wxString
* _arg5
= (wxString
*) &wxPyEmptyString
;
3357 wxFontEncoding _arg6
= (wxFontEncoding
) (wxFONTENCODING_DEFAULT
);
3358 PyObject
* _obj5
= 0;
3359 char *_kwnames
[] = { "pointSize","family","style","weight","underline","faceName","encoding", NULL
};
3363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiii|iOi:new_wxFont",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
,&_arg6
))
3367 _arg5
= wxString_in_helper(_obj5
);
3372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3373 _result
= (wxFont
*)new_wxFont(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,*_arg5
,_arg6
);
3375 wxPyEndAllowThreads(__tstate
);
3376 if (PyErr_Occurred()) return NULL
;
3378 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
3379 _resultobj
= Py_BuildValue("s",_ptemp
);
3382 _resultobj
= Py_None
;
3391 #define new_wxFontFromNativeInfo(_swigarg0) (new wxFont(_swigarg0))
3392 static PyObject
*_wrap_new_wxFontFromNativeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3393 PyObject
* _resultobj
;
3395 wxNativeFontInfo
* _arg0
;
3396 PyObject
* _argo0
= 0;
3397 char *_kwnames
[] = { "info", NULL
};
3401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFontFromNativeInfo",_kwnames
,&_argo0
))
3404 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3405 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFontFromNativeInfo. Expected _wxNativeFontInfo_p.");
3411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3412 _result
= (wxFont
*)new_wxFontFromNativeInfo(*_arg0
);
3414 wxPyEndAllowThreads(__tstate
);
3415 if (PyErr_Occurred()) return NULL
;
3417 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
3418 _resultobj
= Py_BuildValue("s",_ptemp
);
3421 _resultobj
= Py_None
;
3426 #define delete_wxFont(_swigobj) (delete _swigobj)
3427 static PyObject
*_wrap_delete_wxFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3428 PyObject
* _resultobj
;
3430 PyObject
* _argo0
= 0;
3431 char *_kwnames
[] = { "self", NULL
};
3434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFont",_kwnames
,&_argo0
))
3437 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3438 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFont. Expected _wxFont_p.");
3444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3445 delete_wxFont(_arg0
);
3447 wxPyEndAllowThreads(__tstate
);
3448 if (PyErr_Occurred()) return NULL
;
3449 } Py_INCREF(Py_None
);
3450 _resultobj
= Py_None
;
3454 #define wxFont_Ok(_swigobj) (_swigobj->Ok())
3455 static PyObject
*_wrap_wxFont_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3456 PyObject
* _resultobj
;
3459 PyObject
* _argo0
= 0;
3460 char *_kwnames
[] = { "self", NULL
};
3463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_Ok",_kwnames
,&_argo0
))
3466 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3467 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_Ok. Expected _wxFont_p.");
3473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3474 _result
= (bool )wxFont_Ok(_arg0
);
3476 wxPyEndAllowThreads(__tstate
);
3477 if (PyErr_Occurred()) return NULL
;
3478 } _resultobj
= Py_BuildValue("i",_result
);
3482 #define wxFont_GetPointSize(_swigobj) (_swigobj->GetPointSize())
3483 static PyObject
*_wrap_wxFont_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3484 PyObject
* _resultobj
;
3487 PyObject
* _argo0
= 0;
3488 char *_kwnames
[] = { "self", NULL
};
3491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetPointSize",_kwnames
,&_argo0
))
3494 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3495 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3496 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetPointSize. Expected _wxFont_p.");
3501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3502 _result
= (int )wxFont_GetPointSize(_arg0
);
3504 wxPyEndAllowThreads(__tstate
);
3505 if (PyErr_Occurred()) return NULL
;
3506 } _resultobj
= Py_BuildValue("i",_result
);
3510 #define wxFont_GetFamily(_swigobj) (_swigobj->GetFamily())
3511 static PyObject
*_wrap_wxFont_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3512 PyObject
* _resultobj
;
3515 PyObject
* _argo0
= 0;
3516 char *_kwnames
[] = { "self", NULL
};
3519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFamily",_kwnames
,&_argo0
))
3522 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3523 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFamily. Expected _wxFont_p.");
3529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3530 _result
= (int )wxFont_GetFamily(_arg0
);
3532 wxPyEndAllowThreads(__tstate
);
3533 if (PyErr_Occurred()) return NULL
;
3534 } _resultobj
= Py_BuildValue("i",_result
);
3538 #define wxFont_GetStyle(_swigobj) (_swigobj->GetStyle())
3539 static PyObject
*_wrap_wxFont_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3540 PyObject
* _resultobj
;
3543 PyObject
* _argo0
= 0;
3544 char *_kwnames
[] = { "self", NULL
};
3547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetStyle",_kwnames
,&_argo0
))
3550 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3551 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetStyle. Expected _wxFont_p.");
3557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3558 _result
= (int )wxFont_GetStyle(_arg0
);
3560 wxPyEndAllowThreads(__tstate
);
3561 if (PyErr_Occurred()) return NULL
;
3562 } _resultobj
= Py_BuildValue("i",_result
);
3566 #define wxFont_GetWeight(_swigobj) (_swigobj->GetWeight())
3567 static PyObject
*_wrap_wxFont_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3568 PyObject
* _resultobj
;
3571 PyObject
* _argo0
= 0;
3572 char *_kwnames
[] = { "self", NULL
};
3575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetWeight",_kwnames
,&_argo0
))
3578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetWeight. Expected _wxFont_p.");
3585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3586 _result
= (int )wxFont_GetWeight(_arg0
);
3588 wxPyEndAllowThreads(__tstate
);
3589 if (PyErr_Occurred()) return NULL
;
3590 } _resultobj
= Py_BuildValue("i",_result
);
3594 #define wxFont_GetUnderlined(_swigobj) (_swigobj->GetUnderlined())
3595 static PyObject
*_wrap_wxFont_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3596 PyObject
* _resultobj
;
3599 PyObject
* _argo0
= 0;
3600 char *_kwnames
[] = { "self", NULL
};
3603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetUnderlined",_kwnames
,&_argo0
))
3606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetUnderlined. Expected _wxFont_p.");
3613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3614 _result
= (bool )wxFont_GetUnderlined(_arg0
);
3616 wxPyEndAllowThreads(__tstate
);
3617 if (PyErr_Occurred()) return NULL
;
3618 } _resultobj
= Py_BuildValue("i",_result
);
3622 #define wxFont_GetFaceName(_swigobj) (_swigobj->GetFaceName())
3623 static PyObject
*_wrap_wxFont_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3624 PyObject
* _resultobj
;
3627 PyObject
* _argo0
= 0;
3628 char *_kwnames
[] = { "self", NULL
};
3631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFaceName",_kwnames
,&_argo0
))
3634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFaceName. Expected _wxFont_p.");
3641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3642 _result
= new wxString (wxFont_GetFaceName(_arg0
));
3644 wxPyEndAllowThreads(__tstate
);
3645 if (PyErr_Occurred()) return NULL
;
3648 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3650 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3659 #define wxFont_GetEncoding(_swigobj) (_swigobj->GetEncoding())
3660 static PyObject
*_wrap_wxFont_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3661 PyObject
* _resultobj
;
3662 wxFontEncoding _result
;
3664 PyObject
* _argo0
= 0;
3665 char *_kwnames
[] = { "self", NULL
};
3668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetEncoding",_kwnames
,&_argo0
))
3671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetEncoding. Expected _wxFont_p.");
3678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3679 _result
= (wxFontEncoding
)wxFont_GetEncoding(_arg0
);
3681 wxPyEndAllowThreads(__tstate
);
3682 if (PyErr_Occurred()) return NULL
;
3683 } _resultobj
= Py_BuildValue("i",_result
);
3687 #define wxFont_IsFixedWidth(_swigobj) (_swigobj->IsFixedWidth())
3688 static PyObject
*_wrap_wxFont_IsFixedWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3689 PyObject
* _resultobj
;
3692 PyObject
* _argo0
= 0;
3693 char *_kwnames
[] = { "self", NULL
};
3696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_IsFixedWidth",_kwnames
,&_argo0
))
3699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_IsFixedWidth. Expected _wxFont_p.");
3706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3707 _result
= (bool )wxFont_IsFixedWidth(_arg0
);
3709 wxPyEndAllowThreads(__tstate
);
3710 if (PyErr_Occurred()) return NULL
;
3711 } _resultobj
= Py_BuildValue("i",_result
);
3715 #define wxFont_GetNativeFontInfo(_swigobj) (_swigobj->GetNativeFontInfo())
3716 static PyObject
*_wrap_wxFont_GetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3717 PyObject
* _resultobj
;
3718 wxNativeFontInfo
* _result
;
3720 PyObject
* _argo0
= 0;
3721 char *_kwnames
[] = { "self", NULL
};
3725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetNativeFontInfo",_kwnames
,&_argo0
))
3728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetNativeFontInfo. Expected _wxFont_p.");
3735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3736 _result
= (wxNativeFontInfo
*)wxFont_GetNativeFontInfo(_arg0
);
3738 wxPyEndAllowThreads(__tstate
);
3739 if (PyErr_Occurred()) return NULL
;
3741 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNativeFontInfo_p");
3742 _resultobj
= Py_BuildValue("s",_ptemp
);
3745 _resultobj
= Py_None
;
3750 #define wxFont_GetNativeFontInfoDesc(_swigobj) (_swigobj->GetNativeFontInfoDesc())
3751 static PyObject
*_wrap_wxFont_GetNativeFontInfoDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3752 PyObject
* _resultobj
;
3755 PyObject
* _argo0
= 0;
3756 char *_kwnames
[] = { "self", NULL
};
3759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetNativeFontInfoDesc",_kwnames
,&_argo0
))
3762 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3763 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetNativeFontInfoDesc. Expected _wxFont_p.");
3769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3770 _result
= new wxString (wxFont_GetNativeFontInfoDesc(_arg0
));
3772 wxPyEndAllowThreads(__tstate
);
3773 if (PyErr_Occurred()) return NULL
;
3776 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3778 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3787 #define wxFont_GetNativeFontInfoUserDesc(_swigobj) (_swigobj->GetNativeFontInfoUserDesc())
3788 static PyObject
*_wrap_wxFont_GetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3789 PyObject
* _resultobj
;
3792 PyObject
* _argo0
= 0;
3793 char *_kwnames
[] = { "self", NULL
};
3796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetNativeFontInfoUserDesc",_kwnames
,&_argo0
))
3799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetNativeFontInfoUserDesc. Expected _wxFont_p.");
3806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3807 _result
= new wxString (wxFont_GetNativeFontInfoUserDesc(_arg0
));
3809 wxPyEndAllowThreads(__tstate
);
3810 if (PyErr_Occurred()) return NULL
;
3813 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3815 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3824 #define wxFont_SetPointSize(_swigobj,_swigarg0) (_swigobj->SetPointSize(_swigarg0))
3825 static PyObject
*_wrap_wxFont_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3826 PyObject
* _resultobj
;
3829 PyObject
* _argo0
= 0;
3830 char *_kwnames
[] = { "self","pointSize", NULL
};
3833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetPointSize",_kwnames
,&_argo0
,&_arg1
))
3836 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3837 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetPointSize. Expected _wxFont_p.");
3843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3844 wxFont_SetPointSize(_arg0
,_arg1
);
3846 wxPyEndAllowThreads(__tstate
);
3847 if (PyErr_Occurred()) return NULL
;
3848 } Py_INCREF(Py_None
);
3849 _resultobj
= Py_None
;
3853 #define wxFont_SetFamily(_swigobj,_swigarg0) (_swigobj->SetFamily(_swigarg0))
3854 static PyObject
*_wrap_wxFont_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3855 PyObject
* _resultobj
;
3858 PyObject
* _argo0
= 0;
3859 char *_kwnames
[] = { "self","family", NULL
};
3862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetFamily",_kwnames
,&_argo0
,&_arg1
))
3865 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3866 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetFamily. Expected _wxFont_p.");
3872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3873 wxFont_SetFamily(_arg0
,_arg1
);
3875 wxPyEndAllowThreads(__tstate
);
3876 if (PyErr_Occurred()) return NULL
;
3877 } Py_INCREF(Py_None
);
3878 _resultobj
= Py_None
;
3882 #define wxFont_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
3883 static PyObject
*_wrap_wxFont_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3884 PyObject
* _resultobj
;
3887 PyObject
* _argo0
= 0;
3888 char *_kwnames
[] = { "self","style", NULL
};
3891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetStyle",_kwnames
,&_argo0
,&_arg1
))
3894 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3895 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetStyle. Expected _wxFont_p.");
3901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3902 wxFont_SetStyle(_arg0
,_arg1
);
3904 wxPyEndAllowThreads(__tstate
);
3905 if (PyErr_Occurred()) return NULL
;
3906 } Py_INCREF(Py_None
);
3907 _resultobj
= Py_None
;
3911 #define wxFont_SetWeight(_swigobj,_swigarg0) (_swigobj->SetWeight(_swigarg0))
3912 static PyObject
*_wrap_wxFont_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3913 PyObject
* _resultobj
;
3916 PyObject
* _argo0
= 0;
3917 char *_kwnames
[] = { "self","weight", NULL
};
3920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetWeight",_kwnames
,&_argo0
,&_arg1
))
3923 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3924 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetWeight. Expected _wxFont_p.");
3930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3931 wxFont_SetWeight(_arg0
,_arg1
);
3933 wxPyEndAllowThreads(__tstate
);
3934 if (PyErr_Occurred()) return NULL
;
3935 } Py_INCREF(Py_None
);
3936 _resultobj
= Py_None
;
3940 #define wxFont_SetFaceName(_swigobj,_swigarg0) (_swigobj->SetFaceName(_swigarg0))
3941 static PyObject
*_wrap_wxFont_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3942 PyObject
* _resultobj
;
3945 PyObject
* _argo0
= 0;
3946 PyObject
* _obj1
= 0;
3947 char *_kwnames
[] = { "self","faceName", NULL
};
3950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFont_SetFaceName",_kwnames
,&_argo0
,&_obj1
))
3953 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3954 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetFaceName. Expected _wxFont_p.");
3960 _arg1
= wxString_in_helper(_obj1
);
3965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3966 wxFont_SetFaceName(_arg0
,*_arg1
);
3968 wxPyEndAllowThreads(__tstate
);
3969 if (PyErr_Occurred()) return NULL
;
3970 } Py_INCREF(Py_None
);
3971 _resultobj
= Py_None
;
3979 #define wxFont_SetUnderlined(_swigobj,_swigarg0) (_swigobj->SetUnderlined(_swigarg0))
3980 static PyObject
*_wrap_wxFont_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3981 PyObject
* _resultobj
;
3984 PyObject
* _argo0
= 0;
3986 char *_kwnames
[] = { "self","underlined", NULL
};
3989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetUnderlined",_kwnames
,&_argo0
,&tempbool1
))
3992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetUnderlined. Expected _wxFont_p.");
3998 _arg1
= (bool ) tempbool1
;
4000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4001 wxFont_SetUnderlined(_arg0
,_arg1
);
4003 wxPyEndAllowThreads(__tstate
);
4004 if (PyErr_Occurred()) return NULL
;
4005 } Py_INCREF(Py_None
);
4006 _resultobj
= Py_None
;
4010 #define wxFont_SetEncoding(_swigobj,_swigarg0) (_swigobj->SetEncoding(_swigarg0))
4011 static PyObject
*_wrap_wxFont_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4012 PyObject
* _resultobj
;
4014 wxFontEncoding _arg1
;
4015 PyObject
* _argo0
= 0;
4016 char *_kwnames
[] = { "self","encoding", NULL
};
4019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetEncoding",_kwnames
,&_argo0
,&_arg1
))
4022 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4023 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetEncoding. Expected _wxFont_p.");
4029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4030 wxFont_SetEncoding(_arg0
,_arg1
);
4032 wxPyEndAllowThreads(__tstate
);
4033 if (PyErr_Occurred()) return NULL
;
4034 } Py_INCREF(Py_None
);
4035 _resultobj
= Py_None
;
4039 #define wxFont_SetNativeFontInfo(_swigobj,_swigarg0) (_swigobj->SetNativeFontInfo(_swigarg0))
4040 static PyObject
*_wrap_wxFont_SetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4041 PyObject
* _resultobj
;
4043 wxNativeFontInfo
* _arg1
;
4044 PyObject
* _argo0
= 0;
4045 PyObject
* _argo1
= 0;
4046 char *_kwnames
[] = { "self","info", NULL
};
4049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFont_SetNativeFontInfo",_kwnames
,&_argo0
,&_argo1
))
4052 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4053 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetNativeFontInfo. Expected _wxFont_p.");
4059 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4060 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxNativeFontInfo_p")) {
4061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFont_SetNativeFontInfo. Expected _wxNativeFontInfo_p.");
4066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4067 wxFont_SetNativeFontInfo(_arg0
,*_arg1
);
4069 wxPyEndAllowThreads(__tstate
);
4070 if (PyErr_Occurred()) return NULL
;
4071 } Py_INCREF(Py_None
);
4072 _resultobj
= Py_None
;
4076 #define wxFont_SetNativeFontInfoUserDesc(_swigobj,_swigarg0) (_swigobj->SetNativeFontInfoUserDesc(_swigarg0))
4077 static PyObject
*_wrap_wxFont_SetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4078 PyObject
* _resultobj
;
4081 PyObject
* _argo0
= 0;
4082 PyObject
* _obj1
= 0;
4083 char *_kwnames
[] = { "self","info", NULL
};
4086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFont_SetNativeFontInfoUserDesc",_kwnames
,&_argo0
,&_obj1
))
4089 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4090 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetNativeFontInfoUserDesc. Expected _wxFont_p.");
4096 _arg1
= wxString_in_helper(_obj1
);
4101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4102 wxFont_SetNativeFontInfoUserDesc(_arg0
,*_arg1
);
4104 wxPyEndAllowThreads(__tstate
);
4105 if (PyErr_Occurred()) return NULL
;
4106 } Py_INCREF(Py_None
);
4107 _resultobj
= Py_None
;
4115 #define wxFont_GetFamilyString(_swigobj) (_swigobj->GetFamilyString())
4116 static PyObject
*_wrap_wxFont_GetFamilyString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4117 PyObject
* _resultobj
;
4120 PyObject
* _argo0
= 0;
4121 char *_kwnames
[] = { "self", NULL
};
4124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFamilyString",_kwnames
,&_argo0
))
4127 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4128 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFamilyString. Expected _wxFont_p.");
4134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4135 _result
= new wxString (wxFont_GetFamilyString(_arg0
));
4137 wxPyEndAllowThreads(__tstate
);
4138 if (PyErr_Occurred()) return NULL
;
4141 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
4143 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4152 #define wxFont_GetStyleString(_swigobj) (_swigobj->GetStyleString())
4153 static PyObject
*_wrap_wxFont_GetStyleString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4154 PyObject
* _resultobj
;
4157 PyObject
* _argo0
= 0;
4158 char *_kwnames
[] = { "self", NULL
};
4161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetStyleString",_kwnames
,&_argo0
))
4164 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4165 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetStyleString. Expected _wxFont_p.");
4171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4172 _result
= new wxString (wxFont_GetStyleString(_arg0
));
4174 wxPyEndAllowThreads(__tstate
);
4175 if (PyErr_Occurred()) return NULL
;
4178 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
4180 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4189 #define wxFont_GetWeightString(_swigobj) (_swigobj->GetWeightString())
4190 static PyObject
*_wrap_wxFont_GetWeightString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4191 PyObject
* _resultobj
;
4194 PyObject
* _argo0
= 0;
4195 char *_kwnames
[] = { "self", NULL
};
4198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetWeightString",_kwnames
,&_argo0
))
4201 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4202 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetWeightString. Expected _wxFont_p.");
4208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4209 _result
= new wxString (wxFont_GetWeightString(_arg0
));
4211 wxPyEndAllowThreads(__tstate
);
4212 if (PyErr_Occurred()) return NULL
;
4215 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
4217 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4226 static PyObject
*_wrap_wxFont_GetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4227 PyObject
* _resultobj
;
4228 wxFontEncoding _result
;
4229 char *_kwnames
[] = { NULL
};
4232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxFont_GetDefaultEncoding",_kwnames
))
4235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4236 _result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
4238 wxPyEndAllowThreads(__tstate
);
4239 if (PyErr_Occurred()) return NULL
;
4240 } _resultobj
= Py_BuildValue("i",_result
);
4244 static PyObject
*_wrap_wxFont_SetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4245 PyObject
* _resultobj
;
4246 wxFontEncoding _arg0
;
4247 char *_kwnames
[] = { "encoding", NULL
};
4250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxFont_SetDefaultEncoding",_kwnames
,&_arg0
))
4253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4254 wxFont::SetDefaultEncoding(_arg0
);
4256 wxPyEndAllowThreads(__tstate
);
4257 if (PyErr_Occurred()) return NULL
;
4258 } Py_INCREF(Py_None
);
4259 _resultobj
= Py_None
;
4263 static void *SwigwxFontListTowxObject(void *ptr
) {
4266 src
= (wxFontList
*) ptr
;
4267 dest
= (wxObject
*) src
;
4268 return (void *) dest
;
4271 #define wxFontList_AddFont(_swigobj,_swigarg0) (_swigobj->AddFont(_swigarg0))
4272 static PyObject
*_wrap_wxFontList_AddFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4273 PyObject
* _resultobj
;
4276 PyObject
* _argo0
= 0;
4277 PyObject
* _argo1
= 0;
4278 char *_kwnames
[] = { "self","font", NULL
};
4281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontList_AddFont",_kwnames
,&_argo0
,&_argo1
))
4284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontList_p")) {
4286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontList_AddFont. Expected _wxFontList_p.");
4291 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4292 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
4293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontList_AddFont. Expected _wxFont_p.");
4298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4299 wxFontList_AddFont(_arg0
,_arg1
);
4301 wxPyEndAllowThreads(__tstate
);
4302 if (PyErr_Occurred()) return NULL
;
4303 } Py_INCREF(Py_None
);
4304 _resultobj
= Py_None
;
4308 #define wxFontList_FindOrCreateFont(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->FindOrCreateFont(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4309 static PyObject
*_wrap_wxFontList_FindOrCreateFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4310 PyObject
* _resultobj
;
4317 bool _arg5
= (bool ) FALSE
;
4318 wxString
* _arg6
= (wxString
*) &wxPyEmptyString
;
4319 wxFontEncoding _arg7
= (wxFontEncoding
) (wxFONTENCODING_DEFAULT
);
4320 PyObject
* _argo0
= 0;
4321 int tempbool5
= (int) FALSE
;
4322 PyObject
* _obj6
= 0;
4323 char *_kwnames
[] = { "self","point_size","family","style","weight","underline","facename","encoding", NULL
};
4327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|iOi:wxFontList_FindOrCreateFont",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
,&_obj6
,&_arg7
))
4330 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4331 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontList_p")) {
4332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontList_FindOrCreateFont. Expected _wxFontList_p.");
4336 _arg5
= (bool ) tempbool5
;
4339 _arg6
= wxString_in_helper(_obj6
);
4344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4345 _result
= (wxFont
*)wxFontList_FindOrCreateFont(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,*_arg6
,_arg7
);
4347 wxPyEndAllowThreads(__tstate
);
4348 if (PyErr_Occurred()) return NULL
;
4350 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
4351 _resultobj
= Py_BuildValue("s",_ptemp
);
4354 _resultobj
= Py_None
;
4363 #define wxFontList_RemoveFont(_swigobj,_swigarg0) (_swigobj->RemoveFont(_swigarg0))
4364 static PyObject
*_wrap_wxFontList_RemoveFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4365 PyObject
* _resultobj
;
4368 PyObject
* _argo0
= 0;
4369 PyObject
* _argo1
= 0;
4370 char *_kwnames
[] = { "self","font", NULL
};
4373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontList_RemoveFont",_kwnames
,&_argo0
,&_argo1
))
4376 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4377 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontList_p")) {
4378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontList_RemoveFont. Expected _wxFontList_p.");
4383 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4384 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
4385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontList_RemoveFont. Expected _wxFont_p.");
4390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4391 wxFontList_RemoveFont(_arg0
,_arg1
);
4393 wxPyEndAllowThreads(__tstate
);
4394 if (PyErr_Occurred()) return NULL
;
4395 } Py_INCREF(Py_None
);
4396 _resultobj
= Py_None
;
4400 #define wxFontList_GetCount(_swigobj) (_swigobj->GetCount())
4401 static PyObject
*_wrap_wxFontList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4402 PyObject
* _resultobj
;
4405 PyObject
* _argo0
= 0;
4406 char *_kwnames
[] = { "self", NULL
};
4409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontList_GetCount",_kwnames
,&_argo0
))
4412 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4413 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontList_p")) {
4414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontList_GetCount. Expected _wxFontList_p.");
4419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4420 _result
= (int )wxFontList_GetCount(_arg0
);
4422 wxPyEndAllowThreads(__tstate
);
4423 if (PyErr_Occurred()) return NULL
;
4424 } _resultobj
= Py_BuildValue("i",_result
);
4428 static void *SwigwxColourTowxObject(void *ptr
) {
4431 src
= (wxColour
*) ptr
;
4432 dest
= (wxObject
*) src
;
4433 return (void *) dest
;
4436 #define new_wxColour(_swigarg0,_swigarg1,_swigarg2) (new wxColour(_swigarg0,_swigarg1,_swigarg2))
4437 static PyObject
*_wrap_new_wxColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4438 PyObject
* _resultobj
;
4440 unsigned char _arg0
= (unsigned char ) 0;
4441 unsigned char _arg1
= (unsigned char ) 0;
4442 unsigned char _arg2
= (unsigned char ) 0;
4443 char *_kwnames
[] = { "red","green","blue", NULL
};
4447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|bbb:new_wxColour",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
4450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4451 _result
= (wxColour
*)new_wxColour(_arg0
,_arg1
,_arg2
);
4453 wxPyEndAllowThreads(__tstate
);
4454 if (PyErr_Occurred()) return NULL
;
4456 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
4457 _resultobj
= Py_BuildValue("s",_ptemp
);
4460 _resultobj
= Py_None
;
4465 #define delete_wxColour(_swigobj) (delete _swigobj)
4466 static PyObject
*_wrap_delete_wxColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4467 PyObject
* _resultobj
;
4470 PyObject
* _obj0
= 0;
4471 char *_kwnames
[] = { "self", NULL
};
4474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxColour",_kwnames
,&_obj0
))
4478 if (! wxColour_helper(_obj0
, &_arg0
))
4482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4483 delete_wxColour(_arg0
);
4485 wxPyEndAllowThreads(__tstate
);
4486 if (PyErr_Occurred()) return NULL
;
4487 } Py_INCREF(Py_None
);
4488 _resultobj
= Py_None
;
4492 #define wxColour_Red(_swigobj) (_swigobj->Red())
4493 static PyObject
*_wrap_wxColour_Red(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4494 PyObject
* _resultobj
;
4495 unsigned char _result
;
4498 PyObject
* _obj0
= 0;
4499 char *_kwnames
[] = { "self", NULL
};
4502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Red",_kwnames
,&_obj0
))
4506 if (! wxColour_helper(_obj0
, &_arg0
))
4510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4511 _result
= (unsigned char )wxColour_Red(_arg0
);
4513 wxPyEndAllowThreads(__tstate
);
4514 if (PyErr_Occurred()) return NULL
;
4515 } _resultobj
= Py_BuildValue("b",_result
);
4519 #define wxColour_Green(_swigobj) (_swigobj->Green())
4520 static PyObject
*_wrap_wxColour_Green(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4521 PyObject
* _resultobj
;
4522 unsigned char _result
;
4525 PyObject
* _obj0
= 0;
4526 char *_kwnames
[] = { "self", NULL
};
4529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Green",_kwnames
,&_obj0
))
4533 if (! wxColour_helper(_obj0
, &_arg0
))
4537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4538 _result
= (unsigned char )wxColour_Green(_arg0
);
4540 wxPyEndAllowThreads(__tstate
);
4541 if (PyErr_Occurred()) return NULL
;
4542 } _resultobj
= Py_BuildValue("b",_result
);
4546 #define wxColour_Blue(_swigobj) (_swigobj->Blue())
4547 static PyObject
*_wrap_wxColour_Blue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4548 PyObject
* _resultobj
;
4549 unsigned char _result
;
4552 PyObject
* _obj0
= 0;
4553 char *_kwnames
[] = { "self", NULL
};
4556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Blue",_kwnames
,&_obj0
))
4560 if (! wxColour_helper(_obj0
, &_arg0
))
4564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4565 _result
= (unsigned char )wxColour_Blue(_arg0
);
4567 wxPyEndAllowThreads(__tstate
);
4568 if (PyErr_Occurred()) return NULL
;
4569 } _resultobj
= Py_BuildValue("b",_result
);
4573 #define wxColour_Ok(_swigobj) (_swigobj->Ok())
4574 static PyObject
*_wrap_wxColour_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4575 PyObject
* _resultobj
;
4579 PyObject
* _obj0
= 0;
4580 char *_kwnames
[] = { "self", NULL
};
4583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Ok",_kwnames
,&_obj0
))
4587 if (! wxColour_helper(_obj0
, &_arg0
))
4591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4592 _result
= (bool )wxColour_Ok(_arg0
);
4594 wxPyEndAllowThreads(__tstate
);
4595 if (PyErr_Occurred()) return NULL
;
4596 } _resultobj
= Py_BuildValue("i",_result
);
4600 #define wxColour_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
4601 static PyObject
*_wrap_wxColour_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4602 PyObject
* _resultobj
;
4604 unsigned char _arg1
;
4605 unsigned char _arg2
;
4606 unsigned char _arg3
;
4608 PyObject
* _obj0
= 0;
4609 char *_kwnames
[] = { "self","red","green","blue", NULL
};
4612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Obbb:wxColour_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_arg3
))
4616 if (! wxColour_helper(_obj0
, &_arg0
))
4620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4621 wxColour_Set(_arg0
,_arg1
,_arg2
,_arg3
);
4623 wxPyEndAllowThreads(__tstate
);
4624 if (PyErr_Occurred()) return NULL
;
4625 } Py_INCREF(Py_None
);
4626 _resultobj
= Py_None
;
4630 static PyObject
* wxColour_Get(wxColour
*self
) {
4631 PyObject
* rv
= PyTuple_New(3);
4632 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
4633 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
4634 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
4637 static PyObject
*_wrap_wxColour_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4638 PyObject
* _resultobj
;
4642 PyObject
* _obj0
= 0;
4643 char *_kwnames
[] = { "self", NULL
};
4646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Get",_kwnames
,&_obj0
))
4650 if (! wxColour_helper(_obj0
, &_arg0
))
4654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4655 _result
= (PyObject
*)wxColour_Get(_arg0
);
4657 wxPyEndAllowThreads(__tstate
);
4658 if (PyErr_Occurred()) return NULL
;
4660 _resultobj
= _result
;
4665 static void *SwigwxColourDatabaseTowxObject(void *ptr
) {
4666 wxColourDatabase
*src
;
4668 src
= (wxColourDatabase
*) ptr
;
4669 dest
= (wxObject
*) src
;
4670 return (void *) dest
;
4673 #define wxColourDatabase_FindColour(_swigobj,_swigarg0) (_swigobj->FindColour(_swigarg0))
4674 static PyObject
*_wrap_wxColourDatabase_FindColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4675 PyObject
* _resultobj
;
4677 wxColourDatabase
* _arg0
;
4679 PyObject
* _argo0
= 0;
4680 PyObject
* _obj1
= 0;
4681 char *_kwnames
[] = { "self","colour", NULL
};
4685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxColourDatabase_FindColour",_kwnames
,&_argo0
,&_obj1
))
4688 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4689 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDatabase_p")) {
4690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDatabase_FindColour. Expected _wxColourDatabase_p.");
4695 _arg1
= wxString_in_helper(_obj1
);
4700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4701 _result
= (wxColour
*)wxColourDatabase_FindColour(_arg0
,*_arg1
);
4703 wxPyEndAllowThreads(__tstate
);
4704 if (PyErr_Occurred()) return NULL
;
4706 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
4707 _resultobj
= Py_BuildValue("s",_ptemp
);
4710 _resultobj
= Py_None
;
4719 #define wxColourDatabase_FindName(_swigobj,_swigarg0) (_swigobj->FindName(_swigarg0))
4720 static PyObject
*_wrap_wxColourDatabase_FindName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4721 PyObject
* _resultobj
;
4723 wxColourDatabase
* _arg0
;
4725 PyObject
* _argo0
= 0;
4727 PyObject
* _obj1
= 0;
4728 char *_kwnames
[] = { "self","colour", NULL
};
4731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxColourDatabase_FindName",_kwnames
,&_argo0
,&_obj1
))
4734 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4735 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDatabase_p")) {
4736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDatabase_FindName. Expected _wxColourDatabase_p.");
4742 if (! wxColour_helper(_obj1
, &_arg1
))
4746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4747 _result
= new wxString (wxColourDatabase_FindName(_arg0
,*_arg1
));
4749 wxPyEndAllowThreads(__tstate
);
4750 if (PyErr_Occurred()) return NULL
;
4753 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
4755 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4764 static void wxColourDatabase_Append(wxColourDatabase
*self
,const wxString
& name
,int red
,int green
,int blue
) {
4765 // first see if the name is already there
4766 wxString cName
= name
;
4768 wxString cName2
= cName
;
4769 if ( !cName2
.Replace(wxT("GRAY"), wxT("GREY")) )
4772 wxNode
*node
= self
->First();
4774 const wxChar
*key
= node
->GetKeyString();
4775 if ( cName
== key
|| cName2
== key
) {
4776 wxColour
* c
= (wxColour
*)node
->Data();
4777 c
->Set(red
, green
, blue
);
4780 node
= node
->Next();
4783 // otherwise append the new colour
4784 self
->Append(name
.c_str(), new wxColour(red
, green
, blue
));
4786 static PyObject
*_wrap_wxColourDatabase_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4787 PyObject
* _resultobj
;
4788 wxColourDatabase
* _arg0
;
4793 PyObject
* _argo0
= 0;
4794 PyObject
* _obj1
= 0;
4795 char *_kwnames
[] = { "self","name","red","green","blue", NULL
};
4798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiii:wxColourDatabase_Append",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_arg4
))
4801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDatabase_p")) {
4803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDatabase_Append. Expected _wxColourDatabase_p.");
4808 _arg1
= wxString_in_helper(_obj1
);
4813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4814 wxColourDatabase_Append(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
4816 wxPyEndAllowThreads(__tstate
);
4817 if (PyErr_Occurred()) return NULL
;
4818 } Py_INCREF(Py_None
);
4819 _resultobj
= Py_None
;
4827 static void *SwigwxPenTowxGDIObject(void *ptr
) {
4830 src
= (wxPen
*) ptr
;
4831 dest
= (wxGDIObject
*) src
;
4832 return (void *) dest
;
4835 static void *SwigwxPenTowxObject(void *ptr
) {
4838 src
= (wxPen
*) ptr
;
4839 dest
= (wxObject
*) src
;
4840 return (void *) dest
;
4843 #define new_wxPen(_swigarg0,_swigarg1,_swigarg2) (new wxPen(_swigarg0,_swigarg1,_swigarg2))
4844 static PyObject
*_wrap_new_wxPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4845 PyObject
* _resultobj
;
4848 int _arg1
= (int ) 1;
4849 int _arg2
= (int ) wxSOLID
;
4851 PyObject
* _obj0
= 0;
4852 char *_kwnames
[] = { "colour","width","style", NULL
};
4856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:new_wxPen",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
4860 if (! wxColour_helper(_obj0
, &_arg0
))
4864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4865 _result
= (wxPen
*)new_wxPen(*_arg0
,_arg1
,_arg2
);
4867 wxPyEndAllowThreads(__tstate
);
4868 if (PyErr_Occurred()) return NULL
;
4870 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
4871 _resultobj
= Py_BuildValue("s",_ptemp
);
4874 _resultobj
= Py_None
;
4879 #define delete_wxPen(_swigobj) (delete _swigobj)
4880 static PyObject
*_wrap_delete_wxPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4881 PyObject
* _resultobj
;
4883 PyObject
* _argo0
= 0;
4884 char *_kwnames
[] = { "self", NULL
};
4887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPen",_kwnames
,&_argo0
))
4890 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4891 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
4892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPen. Expected _wxPen_p.");
4897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4898 delete_wxPen(_arg0
);
4900 wxPyEndAllowThreads(__tstate
);
4901 if (PyErr_Occurred()) return NULL
;
4902 } Py_INCREF(Py_None
);
4903 _resultobj
= Py_None
;
4907 #define wxPen_GetCap(_swigobj) (_swigobj->GetCap())
4908 static PyObject
*_wrap_wxPen_GetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4909 PyObject
* _resultobj
;
4912 PyObject
* _argo0
= 0;
4913 char *_kwnames
[] = { "self", NULL
};
4916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetCap",_kwnames
,&_argo0
))
4919 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4920 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
4921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetCap. Expected _wxPen_p.");
4926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4927 _result
= (int )wxPen_GetCap(_arg0
);
4929 wxPyEndAllowThreads(__tstate
);
4930 if (PyErr_Occurred()) return NULL
;
4931 } _resultobj
= Py_BuildValue("i",_result
);
4935 #define wxPen_GetColour(_swigobj) (_swigobj->GetColour())
4936 static PyObject
*_wrap_wxPen_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4937 PyObject
* _resultobj
;
4940 PyObject
* _argo0
= 0;
4941 char *_kwnames
[] = { "self", NULL
};
4945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetColour",_kwnames
,&_argo0
))
4948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
4950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetColour. Expected _wxPen_p.");
4955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4956 _result
= new wxColour (wxPen_GetColour(_arg0
));
4958 wxPyEndAllowThreads(__tstate
);
4959 if (PyErr_Occurred()) return NULL
;
4960 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
4961 _resultobj
= Py_BuildValue("s",_ptemp
);
4965 #define wxPen_GetJoin(_swigobj) (_swigobj->GetJoin())
4966 static PyObject
*_wrap_wxPen_GetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4967 PyObject
* _resultobj
;
4970 PyObject
* _argo0
= 0;
4971 char *_kwnames
[] = { "self", NULL
};
4974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetJoin",_kwnames
,&_argo0
))
4977 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4978 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
4979 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetJoin. Expected _wxPen_p.");
4984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4985 _result
= (int )wxPen_GetJoin(_arg0
);
4987 wxPyEndAllowThreads(__tstate
);
4988 if (PyErr_Occurred()) return NULL
;
4989 } _resultobj
= Py_BuildValue("i",_result
);
4993 #define wxPen_GetStyle(_swigobj) (_swigobj->GetStyle())
4994 static PyObject
*_wrap_wxPen_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4995 PyObject
* _resultobj
;
4998 PyObject
* _argo0
= 0;
4999 char *_kwnames
[] = { "self", NULL
};
5002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetStyle",_kwnames
,&_argo0
))
5005 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5006 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetStyle. Expected _wxPen_p.");
5012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5013 _result
= (int )wxPen_GetStyle(_arg0
);
5015 wxPyEndAllowThreads(__tstate
);
5016 if (PyErr_Occurred()) return NULL
;
5017 } _resultobj
= Py_BuildValue("i",_result
);
5021 #define wxPen_GetWidth(_swigobj) (_swigobj->GetWidth())
5022 static PyObject
*_wrap_wxPen_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5023 PyObject
* _resultobj
;
5026 PyObject
* _argo0
= 0;
5027 char *_kwnames
[] = { "self", NULL
};
5030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetWidth",_kwnames
,&_argo0
))
5033 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5034 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetWidth. Expected _wxPen_p.");
5040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5041 _result
= (int )wxPen_GetWidth(_arg0
);
5043 wxPyEndAllowThreads(__tstate
);
5044 if (PyErr_Occurred()) return NULL
;
5045 } _resultobj
= Py_BuildValue("i",_result
);
5049 #define wxPen_Ok(_swigobj) (_swigobj->Ok())
5050 static PyObject
*_wrap_wxPen_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5051 PyObject
* _resultobj
;
5054 PyObject
* _argo0
= 0;
5055 char *_kwnames
[] = { "self", NULL
};
5058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_Ok",_kwnames
,&_argo0
))
5061 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5062 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5063 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_Ok. Expected _wxPen_p.");
5068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5069 _result
= (bool )wxPen_Ok(_arg0
);
5071 wxPyEndAllowThreads(__tstate
);
5072 if (PyErr_Occurred()) return NULL
;
5073 } _resultobj
= Py_BuildValue("i",_result
);
5077 #define wxPen_SetCap(_swigobj,_swigarg0) (_swigobj->SetCap(_swigarg0))
5078 static PyObject
*_wrap_wxPen_SetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5079 PyObject
* _resultobj
;
5082 PyObject
* _argo0
= 0;
5083 char *_kwnames
[] = { "self","cap_style", NULL
};
5086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetCap",_kwnames
,&_argo0
,&_arg1
))
5089 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5090 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetCap. Expected _wxPen_p.");
5096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5097 wxPen_SetCap(_arg0
,_arg1
);
5099 wxPyEndAllowThreads(__tstate
);
5100 if (PyErr_Occurred()) return NULL
;
5101 } Py_INCREF(Py_None
);
5102 _resultobj
= Py_None
;
5106 #define wxPen_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
5107 static PyObject
*_wrap_wxPen_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5108 PyObject
* _resultobj
;
5111 PyObject
* _argo0
= 0;
5113 PyObject
* _obj1
= 0;
5114 char *_kwnames
[] = { "self","colour", NULL
};
5117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_SetColour",_kwnames
,&_argo0
,&_obj1
))
5120 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5121 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetColour. Expected _wxPen_p.");
5128 if (! wxColour_helper(_obj1
, &_arg1
))
5132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5133 wxPen_SetColour(_arg0
,*_arg1
);
5135 wxPyEndAllowThreads(__tstate
);
5136 if (PyErr_Occurred()) return NULL
;
5137 } Py_INCREF(Py_None
);
5138 _resultobj
= Py_None
;
5142 #define wxPen_SetJoin(_swigobj,_swigarg0) (_swigobj->SetJoin(_swigarg0))
5143 static PyObject
*_wrap_wxPen_SetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5144 PyObject
* _resultobj
;
5147 PyObject
* _argo0
= 0;
5148 char *_kwnames
[] = { "self","join_style", NULL
};
5151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetJoin",_kwnames
,&_argo0
,&_arg1
))
5154 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5155 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetJoin. Expected _wxPen_p.");
5161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5162 wxPen_SetJoin(_arg0
,_arg1
);
5164 wxPyEndAllowThreads(__tstate
);
5165 if (PyErr_Occurred()) return NULL
;
5166 } Py_INCREF(Py_None
);
5167 _resultobj
= Py_None
;
5171 #define wxPen_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
5172 static PyObject
*_wrap_wxPen_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5173 PyObject
* _resultobj
;
5176 PyObject
* _argo0
= 0;
5177 char *_kwnames
[] = { "self","style", NULL
};
5180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetStyle",_kwnames
,&_argo0
,&_arg1
))
5183 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5184 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetStyle. Expected _wxPen_p.");
5190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5191 wxPen_SetStyle(_arg0
,_arg1
);
5193 wxPyEndAllowThreads(__tstate
);
5194 if (PyErr_Occurred()) return NULL
;
5195 } Py_INCREF(Py_None
);
5196 _resultobj
= Py_None
;
5200 #define wxPen_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
5201 static PyObject
*_wrap_wxPen_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5202 PyObject
* _resultobj
;
5205 PyObject
* _argo0
= 0;
5206 char *_kwnames
[] = { "self","width", NULL
};
5209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetWidth",_kwnames
,&_argo0
,&_arg1
))
5212 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5213 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetWidth. Expected _wxPen_p.");
5219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5220 wxPen_SetWidth(_arg0
,_arg1
);
5222 wxPyEndAllowThreads(__tstate
);
5223 if (PyErr_Occurred()) return NULL
;
5224 } Py_INCREF(Py_None
);
5225 _resultobj
= Py_None
;
5229 #define wxPen_SetDashes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDashes(_swigarg0,_swigarg1))
5230 static PyObject
*_wrap_wxPen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5231 PyObject
* _resultobj
;
5235 PyObject
* _argo0
= 0;
5236 PyObject
* _obj2
= 0;
5237 char *_kwnames
[] = { "self","choices", NULL
};
5240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_SetDashes",_kwnames
,&_argo0
,&_obj2
))
5243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetDashes. Expected _wxPen_p.");
5251 _arg2
= (wxDash
*)byte_LIST_helper(_obj2
);
5252 if (_arg2
== NULL
) {
5258 _arg1
= PyList_Size(_obj2
);
5265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5266 wxPen_SetDashes(_arg0
,_arg1
,_arg2
);
5268 wxPyEndAllowThreads(__tstate
);
5269 if (PyErr_Occurred()) return NULL
;
5270 } Py_INCREF(Py_None
);
5271 _resultobj
= Py_None
;
5278 static void *SwigwxPyPenTowxPen(void *ptr
) {
5281 src
= (wxPyPen
*) ptr
;
5282 dest
= (wxPen
*) src
;
5283 return (void *) dest
;
5286 static void *SwigwxPyPenTowxGDIObject(void *ptr
) {
5289 src
= (wxPyPen
*) ptr
;
5290 dest
= (wxGDIObject
*) src
;
5291 return (void *) dest
;
5294 static void *SwigwxPyPenTowxObject(void *ptr
) {
5297 src
= (wxPyPen
*) ptr
;
5298 dest
= (wxObject
*) src
;
5299 return (void *) dest
;
5302 #define new_wxPyPen(_swigarg0,_swigarg1,_swigarg2) (new wxPyPen(_swigarg0,_swigarg1,_swigarg2))
5303 static PyObject
*_wrap_new_wxPyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5304 PyObject
* _resultobj
;
5307 int _arg1
= (int ) 1;
5308 int _arg2
= (int ) wxSOLID
;
5310 PyObject
* _obj0
= 0;
5311 char *_kwnames
[] = { "colour","width","style", NULL
};
5315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:new_wxPyPen",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
5319 if (! wxColour_helper(_obj0
, &_arg0
))
5323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5324 _result
= (wxPyPen
*)new_wxPyPen(*_arg0
,_arg1
,_arg2
);
5326 wxPyEndAllowThreads(__tstate
);
5327 if (PyErr_Occurred()) return NULL
;
5329 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPen_p");
5330 _resultobj
= Py_BuildValue("s",_ptemp
);
5333 _resultobj
= Py_None
;
5338 #define delete_wxPyPen(_swigobj) (delete _swigobj)
5339 static PyObject
*_wrap_delete_wxPyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5340 PyObject
* _resultobj
;
5342 PyObject
* _argo0
= 0;
5343 char *_kwnames
[] = { "self", NULL
};
5346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyPen",_kwnames
,&_argo0
))
5349 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5350 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPen_p")) {
5351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyPen. Expected _wxPyPen_p.");
5356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5357 delete_wxPyPen(_arg0
);
5359 wxPyEndAllowThreads(__tstate
);
5360 if (PyErr_Occurred()) return NULL
;
5361 } Py_INCREF(Py_None
);
5362 _resultobj
= Py_None
;
5366 #define wxPyPen_SetDashes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDashes(_swigarg0,_swigarg1))
5367 static PyObject
*_wrap_wxPyPen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5368 PyObject
* _resultobj
;
5372 PyObject
* _argo0
= 0;
5373 PyObject
* _obj2
= 0;
5374 char *_kwnames
[] = { "self","choices", NULL
};
5377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyPen_SetDashes",_kwnames
,&_argo0
,&_obj2
))
5380 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5381 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPen_p")) {
5382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPen_SetDashes. Expected _wxPyPen_p.");
5388 _arg2
= (wxDash
*)byte_LIST_helper(_obj2
);
5389 if (_arg2
== NULL
) {
5395 _arg1
= PyList_Size(_obj2
);
5402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5403 wxPyPen_SetDashes(_arg0
,_arg1
,_arg2
);
5405 wxPyEndAllowThreads(__tstate
);
5406 if (PyErr_Occurred()) return NULL
;
5407 } Py_INCREF(Py_None
);
5408 _resultobj
= Py_None
;
5415 static void *SwigwxPenListTowxObject(void *ptr
) {
5418 src
= (wxPenList
*) ptr
;
5419 dest
= (wxObject
*) src
;
5420 return (void *) dest
;
5423 #define wxPenList_AddPen(_swigobj,_swigarg0) (_swigobj->AddPen(_swigarg0))
5424 static PyObject
*_wrap_wxPenList_AddPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5425 PyObject
* _resultobj
;
5428 PyObject
* _argo0
= 0;
5429 PyObject
* _argo1
= 0;
5430 char *_kwnames
[] = { "self","pen", NULL
};
5433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPenList_AddPen",_kwnames
,&_argo0
,&_argo1
))
5436 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5437 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
5438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_AddPen. Expected _wxPenList_p.");
5443 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5444 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
5445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPenList_AddPen. Expected _wxPen_p.");
5450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5451 wxPenList_AddPen(_arg0
,_arg1
);
5453 wxPyEndAllowThreads(__tstate
);
5454 if (PyErr_Occurred()) return NULL
;
5455 } Py_INCREF(Py_None
);
5456 _resultobj
= Py_None
;
5460 #define wxPenList_FindOrCreatePen(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindOrCreatePen(_swigarg0,_swigarg1,_swigarg2))
5461 static PyObject
*_wrap_wxPenList_FindOrCreatePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5462 PyObject
* _resultobj
;
5468 PyObject
* _argo0
= 0;
5470 PyObject
* _obj1
= 0;
5471 char *_kwnames
[] = { "self","colour","width","style", NULL
};
5475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxPenList_FindOrCreatePen",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
))
5478 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5479 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
5480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_FindOrCreatePen. Expected _wxPenList_p.");
5486 if (! wxColour_helper(_obj1
, &_arg1
))
5490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5491 _result
= (wxPen
*)wxPenList_FindOrCreatePen(_arg0
,*_arg1
,_arg2
,_arg3
);
5493 wxPyEndAllowThreads(__tstate
);
5494 if (PyErr_Occurred()) return NULL
;
5496 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
5497 _resultobj
= Py_BuildValue("s",_ptemp
);
5500 _resultobj
= Py_None
;
5505 #define wxPenList_RemovePen(_swigobj,_swigarg0) (_swigobj->RemovePen(_swigarg0))
5506 static PyObject
*_wrap_wxPenList_RemovePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5507 PyObject
* _resultobj
;
5510 PyObject
* _argo0
= 0;
5511 PyObject
* _argo1
= 0;
5512 char *_kwnames
[] = { "self","pen", NULL
};
5515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPenList_RemovePen",_kwnames
,&_argo0
,&_argo1
))
5518 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5519 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
5520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_RemovePen. Expected _wxPenList_p.");
5525 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5526 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
5527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPenList_RemovePen. Expected _wxPen_p.");
5532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5533 wxPenList_RemovePen(_arg0
,_arg1
);
5535 wxPyEndAllowThreads(__tstate
);
5536 if (PyErr_Occurred()) return NULL
;
5537 } Py_INCREF(Py_None
);
5538 _resultobj
= Py_None
;
5542 #define wxPenList_GetCount(_swigobj) (_swigobj->GetCount())
5543 static PyObject
*_wrap_wxPenList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5544 PyObject
* _resultobj
;
5547 PyObject
* _argo0
= 0;
5548 char *_kwnames
[] = { "self", NULL
};
5551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPenList_GetCount",_kwnames
,&_argo0
))
5554 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5555 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
5556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_GetCount. Expected _wxPenList_p.");
5561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5562 _result
= (int )wxPenList_GetCount(_arg0
);
5564 wxPyEndAllowThreads(__tstate
);
5565 if (PyErr_Occurred()) return NULL
;
5566 } _resultobj
= Py_BuildValue("i",_result
);
5570 static void *SwigwxBrushTowxGDIObject(void *ptr
) {
5573 src
= (wxBrush
*) ptr
;
5574 dest
= (wxGDIObject
*) src
;
5575 return (void *) dest
;
5578 static void *SwigwxBrushTowxObject(void *ptr
) {
5581 src
= (wxBrush
*) ptr
;
5582 dest
= (wxObject
*) src
;
5583 return (void *) dest
;
5586 #define new_wxBrush(_swigarg0,_swigarg1) (new wxBrush(_swigarg0,_swigarg1))
5587 static PyObject
*_wrap_new_wxBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5588 PyObject
* _resultobj
;
5591 int _arg1
= (int ) wxSOLID
;
5593 PyObject
* _obj0
= 0;
5594 char *_kwnames
[] = { "colour","style", NULL
};
5598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxBrush",_kwnames
,&_obj0
,&_arg1
))
5602 if (! wxColour_helper(_obj0
, &_arg0
))
5606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5607 _result
= (wxBrush
*)new_wxBrush(*_arg0
,_arg1
);
5609 wxPyEndAllowThreads(__tstate
);
5610 if (PyErr_Occurred()) return NULL
;
5612 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
5613 _resultobj
= Py_BuildValue("s",_ptemp
);
5616 _resultobj
= Py_None
;
5621 #define delete_wxBrush(_swigobj) (delete _swigobj)
5622 static PyObject
*_wrap_delete_wxBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5623 PyObject
* _resultobj
;
5625 PyObject
* _argo0
= 0;
5626 char *_kwnames
[] = { "self", NULL
};
5629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBrush",_kwnames
,&_argo0
))
5632 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5633 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
5634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBrush. Expected _wxBrush_p.");
5639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5640 delete_wxBrush(_arg0
);
5642 wxPyEndAllowThreads(__tstate
);
5643 if (PyErr_Occurred()) return NULL
;
5644 } Py_INCREF(Py_None
);
5645 _resultobj
= Py_None
;
5649 #define wxBrush_GetColour(_swigobj) (_swigobj->GetColour())
5650 static PyObject
*_wrap_wxBrush_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5651 PyObject
* _resultobj
;
5654 PyObject
* _argo0
= 0;
5655 char *_kwnames
[] = { "self", NULL
};
5659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetColour",_kwnames
,&_argo0
))
5662 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5663 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
5664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetColour. Expected _wxBrush_p.");
5669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5670 _result
= new wxColour (wxBrush_GetColour(_arg0
));
5672 wxPyEndAllowThreads(__tstate
);
5673 if (PyErr_Occurred()) return NULL
;
5674 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
5675 _resultobj
= Py_BuildValue("s",_ptemp
);
5679 #define wxBrush_GetStipple(_swigobj) (_swigobj->GetStipple())
5680 static PyObject
*_wrap_wxBrush_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5681 PyObject
* _resultobj
;
5684 PyObject
* _argo0
= 0;
5685 char *_kwnames
[] = { "self", NULL
};
5689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetStipple",_kwnames
,&_argo0
))
5692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
5694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStipple. Expected _wxBrush_p.");
5699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5700 _result
= (wxBitmap
*)wxBrush_GetStipple(_arg0
);
5702 wxPyEndAllowThreads(__tstate
);
5703 if (PyErr_Occurred()) return NULL
;
5705 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
5706 _resultobj
= Py_BuildValue("s",_ptemp
);
5709 _resultobj
= Py_None
;
5714 #define wxBrush_GetStyle(_swigobj) (_swigobj->GetStyle())
5715 static PyObject
*_wrap_wxBrush_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5716 PyObject
* _resultobj
;
5719 PyObject
* _argo0
= 0;
5720 char *_kwnames
[] = { "self", NULL
};
5723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetStyle",_kwnames
,&_argo0
))
5726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
5728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStyle. Expected _wxBrush_p.");
5733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5734 _result
= (int )wxBrush_GetStyle(_arg0
);
5736 wxPyEndAllowThreads(__tstate
);
5737 if (PyErr_Occurred()) return NULL
;
5738 } _resultobj
= Py_BuildValue("i",_result
);
5742 #define wxBrush_Ok(_swigobj) (_swigobj->Ok())
5743 static PyObject
*_wrap_wxBrush_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5744 PyObject
* _resultobj
;
5747 PyObject
* _argo0
= 0;
5748 char *_kwnames
[] = { "self", NULL
};
5751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_Ok",_kwnames
,&_argo0
))
5754 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5755 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
5756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_Ok. Expected _wxBrush_p.");
5761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5762 _result
= (bool )wxBrush_Ok(_arg0
);
5764 wxPyEndAllowThreads(__tstate
);
5765 if (PyErr_Occurred()) return NULL
;
5766 } _resultobj
= Py_BuildValue("i",_result
);
5770 #define wxBrush_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
5771 static PyObject
*_wrap_wxBrush_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5772 PyObject
* _resultobj
;
5775 PyObject
* _argo0
= 0;
5777 PyObject
* _obj1
= 0;
5778 char *_kwnames
[] = { "self","colour", NULL
};
5781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrush_SetColour",_kwnames
,&_argo0
,&_obj1
))
5784 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5785 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
5786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetColour. Expected _wxBrush_p.");
5792 if (! wxColour_helper(_obj1
, &_arg1
))
5796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5797 wxBrush_SetColour(_arg0
,*_arg1
);
5799 wxPyEndAllowThreads(__tstate
);
5800 if (PyErr_Occurred()) return NULL
;
5801 } Py_INCREF(Py_None
);
5802 _resultobj
= Py_None
;
5806 #define wxBrush_SetStipple(_swigobj,_swigarg0) (_swigobj->SetStipple(_swigarg0))
5807 static PyObject
*_wrap_wxBrush_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5808 PyObject
* _resultobj
;
5811 PyObject
* _argo0
= 0;
5812 PyObject
* _argo1
= 0;
5813 char *_kwnames
[] = { "self","bitmap", NULL
};
5816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrush_SetStipple",_kwnames
,&_argo0
,&_argo1
))
5819 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5820 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
5821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStipple. Expected _wxBrush_p.");
5826 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5827 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
5828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrush_SetStipple. Expected _wxBitmap_p.");
5833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5834 wxBrush_SetStipple(_arg0
,*_arg1
);
5836 wxPyEndAllowThreads(__tstate
);
5837 if (PyErr_Occurred()) return NULL
;
5838 } Py_INCREF(Py_None
);
5839 _resultobj
= Py_None
;
5843 #define wxBrush_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
5844 static PyObject
*_wrap_wxBrush_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5845 PyObject
* _resultobj
;
5848 PyObject
* _argo0
= 0;
5849 char *_kwnames
[] = { "self","style", NULL
};
5852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBrush_SetStyle",_kwnames
,&_argo0
,&_arg1
))
5855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
5857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStyle. Expected _wxBrush_p.");
5862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5863 wxBrush_SetStyle(_arg0
,_arg1
);
5865 wxPyEndAllowThreads(__tstate
);
5866 if (PyErr_Occurred()) return NULL
;
5867 } Py_INCREF(Py_None
);
5868 _resultobj
= Py_None
;
5872 static void *SwigwxBrushListTowxObject(void *ptr
) {
5875 src
= (wxBrushList
*) ptr
;
5876 dest
= (wxObject
*) src
;
5877 return (void *) dest
;
5880 #define wxBrushList_AddBrush(_swigobj,_swigarg0) (_swigobj->AddBrush(_swigarg0))
5881 static PyObject
*_wrap_wxBrushList_AddBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5882 PyObject
* _resultobj
;
5883 wxBrushList
* _arg0
;
5885 PyObject
* _argo0
= 0;
5886 PyObject
* _argo1
= 0;
5887 char *_kwnames
[] = { "self","brush", NULL
};
5890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrushList_AddBrush",_kwnames
,&_argo0
,&_argo1
))
5893 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5894 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
5895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_AddBrush. Expected _wxBrushList_p.");
5900 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5901 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
5902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrushList_AddBrush. Expected _wxBrush_p.");
5907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5908 wxBrushList_AddBrush(_arg0
,_arg1
);
5910 wxPyEndAllowThreads(__tstate
);
5911 if (PyErr_Occurred()) return NULL
;
5912 } Py_INCREF(Py_None
);
5913 _resultobj
= Py_None
;
5917 #define wxBrushList_FindOrCreateBrush(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindOrCreateBrush(_swigarg0,_swigarg1))
5918 static PyObject
*_wrap_wxBrushList_FindOrCreateBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5919 PyObject
* _resultobj
;
5921 wxBrushList
* _arg0
;
5924 PyObject
* _argo0
= 0;
5926 PyObject
* _obj1
= 0;
5927 char *_kwnames
[] = { "self","colour","style", NULL
};
5931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxBrushList_FindOrCreateBrush",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5934 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5935 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
5936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_FindOrCreateBrush. Expected _wxBrushList_p.");
5942 if (! wxColour_helper(_obj1
, &_arg1
))
5946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5947 _result
= (wxBrush
*)wxBrushList_FindOrCreateBrush(_arg0
,*_arg1
,_arg2
);
5949 wxPyEndAllowThreads(__tstate
);
5950 if (PyErr_Occurred()) return NULL
;
5952 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
5953 _resultobj
= Py_BuildValue("s",_ptemp
);
5956 _resultobj
= Py_None
;
5961 #define wxBrushList_RemoveBrush(_swigobj,_swigarg0) (_swigobj->RemoveBrush(_swigarg0))
5962 static PyObject
*_wrap_wxBrushList_RemoveBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5963 PyObject
* _resultobj
;
5964 wxBrushList
* _arg0
;
5966 PyObject
* _argo0
= 0;
5967 PyObject
* _argo1
= 0;
5968 char *_kwnames
[] = { "self","brush", NULL
};
5971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrushList_RemoveBrush",_kwnames
,&_argo0
,&_argo1
))
5974 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5975 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
5976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_RemoveBrush. Expected _wxBrushList_p.");
5981 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5982 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
5983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrushList_RemoveBrush. Expected _wxBrush_p.");
5988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5989 wxBrushList_RemoveBrush(_arg0
,_arg1
);
5991 wxPyEndAllowThreads(__tstate
);
5992 if (PyErr_Occurred()) return NULL
;
5993 } Py_INCREF(Py_None
);
5994 _resultobj
= Py_None
;
5998 #define wxBrushList_GetCount(_swigobj) (_swigobj->GetCount())
5999 static PyObject
*_wrap_wxBrushList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6000 PyObject
* _resultobj
;
6002 wxBrushList
* _arg0
;
6003 PyObject
* _argo0
= 0;
6004 char *_kwnames
[] = { "self", NULL
};
6007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrushList_GetCount",_kwnames
,&_argo0
))
6010 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6011 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
6012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_GetCount. Expected _wxBrushList_p.");
6017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6018 _result
= (int )wxBrushList_GetCount(_arg0
);
6020 wxPyEndAllowThreads(__tstate
);
6021 if (PyErr_Occurred()) return NULL
;
6022 } _resultobj
= Py_BuildValue("i",_result
);
6026 static void *SwigwxDCTowxObject(void *ptr
) {
6030 dest
= (wxObject
*) src
;
6031 return (void *) dest
;
6034 #define delete_wxDC(_swigobj) (delete _swigobj)
6035 static PyObject
*_wrap_delete_wxDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6036 PyObject
* _resultobj
;
6038 PyObject
* _argo0
= 0;
6039 char *_kwnames
[] = { "self", NULL
};
6042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDC",_kwnames
,&_argo0
))
6045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDC. Expected _wxDC_p.");
6052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6055 wxPyEndAllowThreads(__tstate
);
6056 if (PyErr_Occurred()) return NULL
;
6057 } Py_INCREF(Py_None
);
6058 _resultobj
= Py_None
;
6062 #define wxDC_BeginDrawing(_swigobj) (_swigobj->BeginDrawing())
6063 static PyObject
*_wrap_wxDC_BeginDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6064 PyObject
* _resultobj
;
6066 PyObject
* _argo0
= 0;
6067 char *_kwnames
[] = { "self", NULL
};
6070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_BeginDrawing",_kwnames
,&_argo0
))
6073 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6074 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_BeginDrawing. Expected _wxDC_p.");
6080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6081 wxDC_BeginDrawing(_arg0
);
6083 wxPyEndAllowThreads(__tstate
);
6084 if (PyErr_Occurred()) return NULL
;
6085 } Py_INCREF(Py_None
);
6086 _resultobj
= Py_None
;
6090 #define wxDC_Blit(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Blit(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
6091 static PyObject
*_wrap_wxDC_Blit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6092 PyObject
* _resultobj
;
6102 int _arg8
= (int ) wxCOPY
;
6103 int _arg9
= (int ) FALSE
;
6104 PyObject
* _argo0
= 0;
6105 PyObject
* _argo5
= 0;
6106 char *_kwnames
[] = { "self","xdest","ydest","width","height","source","xsrc","ysrc","logicalFunc","useMask", NULL
};
6109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllllOll|ii:wxDC_Blit",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_argo5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
))
6112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Blit. Expected _wxDC_p.");
6119 if (_argo5
== Py_None
) { _arg5
= NULL
; }
6120 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxDC_p")) {
6121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxDC_Blit. Expected _wxDC_p.");
6126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6127 _result
= (bool )wxDC_Blit(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
6129 wxPyEndAllowThreads(__tstate
);
6130 if (PyErr_Occurred()) return NULL
;
6131 } _resultobj
= Py_BuildValue("i",_result
);
6135 #define wxDC_Clear(_swigobj) (_swigobj->Clear())
6136 static PyObject
*_wrap_wxDC_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6137 PyObject
* _resultobj
;
6139 PyObject
* _argo0
= 0;
6140 char *_kwnames
[] = { "self", NULL
};
6143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_Clear",_kwnames
,&_argo0
))
6146 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6147 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Clear. Expected _wxDC_p.");
6153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6156 wxPyEndAllowThreads(__tstate
);
6157 if (PyErr_Occurred()) return NULL
;
6158 } Py_INCREF(Py_None
);
6159 _resultobj
= Py_None
;
6163 #define wxDC_CrossHair(_swigobj,_swigarg0,_swigarg1) (_swigobj->CrossHair(_swigarg0,_swigarg1))
6164 static PyObject
*_wrap_wxDC_CrossHair(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6165 PyObject
* _resultobj
;
6169 PyObject
* _argo0
= 0;
6170 char *_kwnames
[] = { "self","x","y", NULL
};
6173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_CrossHair",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6176 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6177 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CrossHair. Expected _wxDC_p.");
6183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6184 wxDC_CrossHair(_arg0
,_arg1
,_arg2
);
6186 wxPyEndAllowThreads(__tstate
);
6187 if (PyErr_Occurred()) return NULL
;
6188 } Py_INCREF(Py_None
);
6189 _resultobj
= Py_None
;
6193 #define wxDC_DestroyClippingRegion(_swigobj) (_swigobj->DestroyClippingRegion())
6194 static PyObject
*_wrap_wxDC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6195 PyObject
* _resultobj
;
6197 PyObject
* _argo0
= 0;
6198 char *_kwnames
[] = { "self", NULL
};
6201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_DestroyClippingRegion",_kwnames
,&_argo0
))
6204 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6205 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DestroyClippingRegion. Expected _wxDC_p.");
6211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6212 wxDC_DestroyClippingRegion(_arg0
);
6214 wxPyEndAllowThreads(__tstate
);
6215 if (PyErr_Occurred()) return NULL
;
6216 } Py_INCREF(Py_None
);
6217 _resultobj
= Py_None
;
6221 #define wxDC_DeviceToLogicalX(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalX(_swigarg0))
6222 static PyObject
*_wrap_wxDC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6223 PyObject
* _resultobj
;
6227 PyObject
* _argo0
= 0;
6228 char *_kwnames
[] = { "self","x", NULL
};
6231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalX",_kwnames
,&_argo0
,&_arg1
))
6234 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6235 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalX. Expected _wxDC_p.");
6241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6242 _result
= (long )wxDC_DeviceToLogicalX(_arg0
,_arg1
);
6244 wxPyEndAllowThreads(__tstate
);
6245 if (PyErr_Occurred()) return NULL
;
6246 } _resultobj
= Py_BuildValue("l",_result
);
6250 #define wxDC_DeviceToLogicalXRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalXRel(_swigarg0))
6251 static PyObject
*_wrap_wxDC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6252 PyObject
* _resultobj
;
6256 PyObject
* _argo0
= 0;
6257 char *_kwnames
[] = { "self","x", NULL
};
6260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalXRel",_kwnames
,&_argo0
,&_arg1
))
6263 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6264 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalXRel. Expected _wxDC_p.");
6270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6271 _result
= (long )wxDC_DeviceToLogicalXRel(_arg0
,_arg1
);
6273 wxPyEndAllowThreads(__tstate
);
6274 if (PyErr_Occurred()) return NULL
;
6275 } _resultobj
= Py_BuildValue("l",_result
);
6279 #define wxDC_DeviceToLogicalY(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalY(_swigarg0))
6280 static PyObject
*_wrap_wxDC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6281 PyObject
* _resultobj
;
6285 PyObject
* _argo0
= 0;
6286 char *_kwnames
[] = { "self","y", NULL
};
6289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalY",_kwnames
,&_argo0
,&_arg1
))
6292 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6293 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalY. Expected _wxDC_p.");
6299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6300 _result
= (long )wxDC_DeviceToLogicalY(_arg0
,_arg1
);
6302 wxPyEndAllowThreads(__tstate
);
6303 if (PyErr_Occurred()) return NULL
;
6304 } _resultobj
= Py_BuildValue("l",_result
);
6308 #define wxDC_DeviceToLogicalYRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalYRel(_swigarg0))
6309 static PyObject
*_wrap_wxDC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6310 PyObject
* _resultobj
;
6314 PyObject
* _argo0
= 0;
6315 char *_kwnames
[] = { "self","y", NULL
};
6318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalYRel",_kwnames
,&_argo0
,&_arg1
))
6321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalYRel. Expected _wxDC_p.");
6328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6329 _result
= (long )wxDC_DeviceToLogicalYRel(_arg0
,_arg1
);
6331 wxPyEndAllowThreads(__tstate
);
6332 if (PyErr_Occurred()) return NULL
;
6333 } _resultobj
= Py_BuildValue("l",_result
);
6337 #define wxDC_DrawArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6338 static PyObject
*_wrap_wxDC_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6339 PyObject
* _resultobj
;
6347 PyObject
* _argo0
= 0;
6348 char *_kwnames
[] = { "self","x1","y1","x2","y2","xc","yc", NULL
};
6351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollllll:wxDC_DrawArc",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
6354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawArc. Expected _wxDC_p.");
6361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6362 wxDC_DrawArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
6364 wxPyEndAllowThreads(__tstate
);
6365 if (PyErr_Occurred()) return NULL
;
6366 } Py_INCREF(Py_None
);
6367 _resultobj
= Py_None
;
6371 #define wxDC_DrawCircle(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawCircle(_swigarg0,_swigarg1,_swigarg2))
6372 static PyObject
*_wrap_wxDC_DrawCircle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6373 PyObject
* _resultobj
;
6378 PyObject
* _argo0
= 0;
6379 char *_kwnames
[] = { "self","x","y","radius", NULL
};
6382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olll:wxDC_DrawCircle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
6385 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6386 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawCircle. Expected _wxDC_p.");
6392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6393 wxDC_DrawCircle(_arg0
,_arg1
,_arg2
,_arg3
);
6395 wxPyEndAllowThreads(__tstate
);
6396 if (PyErr_Occurred()) return NULL
;
6397 } Py_INCREF(Py_None
);
6398 _resultobj
= Py_None
;
6402 #define wxDC_DrawEllipse(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawEllipse(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6403 static PyObject
*_wrap_wxDC_DrawEllipse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6404 PyObject
* _resultobj
;
6410 PyObject
* _argo0
= 0;
6411 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
6414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_DrawEllipse",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
6417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipse. Expected _wxDC_p.");
6424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6425 wxDC_DrawEllipse(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6427 wxPyEndAllowThreads(__tstate
);
6428 if (PyErr_Occurred()) return NULL
;
6429 } Py_INCREF(Py_None
);
6430 _resultobj
= Py_None
;
6434 #define wxDC_DrawEllipticArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawEllipticArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6435 static PyObject
*_wrap_wxDC_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6436 PyObject
* _resultobj
;
6444 PyObject
* _argo0
= 0;
6445 char *_kwnames
[] = { "self","x","y","width","height","start","end", NULL
};
6448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollllll:wxDC_DrawEllipticArc",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
6451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipticArc. Expected _wxDC_p.");
6458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6459 wxDC_DrawEllipticArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
6461 wxPyEndAllowThreads(__tstate
);
6462 if (PyErr_Occurred()) return NULL
;
6463 } Py_INCREF(Py_None
);
6464 _resultobj
= Py_None
;
6468 #define wxDC_DrawIcon(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawIcon(_swigarg0,_swigarg1,_swigarg2))
6469 static PyObject
*_wrap_wxDC_DrawIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6470 PyObject
* _resultobj
;
6475 PyObject
* _argo0
= 0;
6476 PyObject
* _argo1
= 0;
6477 char *_kwnames
[] = { "self","icon","x","y", NULL
};
6480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOll:wxDC_DrawIcon",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
6483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawIcon. Expected _wxDC_p.");
6490 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6491 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
6492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawIcon. Expected _wxIcon_p.");
6497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6498 wxDC_DrawIcon(_arg0
,*_arg1
,_arg2
,_arg3
);
6500 wxPyEndAllowThreads(__tstate
);
6501 if (PyErr_Occurred()) return NULL
;
6502 } Py_INCREF(Py_None
);
6503 _resultobj
= Py_None
;
6507 #define wxDC_DrawLabel(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLabel(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6508 static PyObject
*_wrap_wxDC_DrawLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6509 PyObject
* _resultobj
;
6513 int _arg3
= (int ) wxALIGN_LEFT
|wxALIGN_TOP
;
6514 int _arg4
= (int ) -1;
6515 PyObject
* _argo0
= 0;
6516 PyObject
* _obj1
= 0;
6518 PyObject
* _obj2
= 0;
6519 char *_kwnames
[] = { "self","text","rect","alignment","indexAccel", NULL
};
6522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|ii:wxDC_DrawLabel",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_arg3
,&_arg4
))
6525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLabel. Expected _wxDC_p.");
6532 _arg1
= wxString_in_helper(_obj1
);
6538 if (! wxRect_helper(_obj2
, &_arg2
))
6542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6543 wxDC_DrawLabel(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
6545 wxPyEndAllowThreads(__tstate
);
6546 if (PyErr_Occurred()) return NULL
;
6547 } Py_INCREF(Py_None
);
6548 _resultobj
= Py_None
;
6556 static wxRect
wxDC_DrawImageLabel(wxDC
*self
,const wxString
& text
,const wxBitmap
& image
,const wxRect
& rect
,int alignment
,int indexAccel
) {
6558 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
6561 static PyObject
*_wrap_wxDC_DrawImageLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6562 PyObject
* _resultobj
;
6568 int _arg4
= (int ) wxALIGN_LEFT
|wxALIGN_TOP
;
6569 int _arg5
= (int ) -1;
6570 PyObject
* _argo0
= 0;
6571 PyObject
* _obj1
= 0;
6572 PyObject
* _argo2
= 0;
6574 PyObject
* _obj3
= 0;
6575 char *_kwnames
[] = { "self","text","image","rect","alignment","indexAccel", NULL
};
6579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|ii:wxDC_DrawImageLabel",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_obj3
,&_arg4
,&_arg5
))
6582 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6583 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawImageLabel. Expected _wxDC_p.");
6589 _arg1
= wxString_in_helper(_obj1
);
6594 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6595 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
6596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDC_DrawImageLabel. Expected _wxBitmap_p.");
6602 if (! wxRect_helper(_obj3
, &_arg3
))
6606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6607 _result
= new wxRect (wxDC_DrawImageLabel(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
));
6609 wxPyEndAllowThreads(__tstate
);
6610 if (PyErr_Occurred()) return NULL
;
6611 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
6612 _resultobj
= Py_BuildValue("s",_ptemp
);
6620 #define wxDC_DrawLine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6621 static PyObject
*_wrap_wxDC_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6622 PyObject
* _resultobj
;
6628 PyObject
* _argo0
= 0;
6629 char *_kwnames
[] = { "self","x1","y1","x2","y2", NULL
};
6632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_DrawLine",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
6635 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6636 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLine. Expected _wxDC_p.");
6642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6643 wxDC_DrawLine(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6645 wxPyEndAllowThreads(__tstate
);
6646 if (PyErr_Occurred()) return NULL
;
6647 } Py_INCREF(Py_None
);
6648 _resultobj
= Py_None
;
6652 #define wxDC_DrawLines(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLines(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6653 static PyObject
*_wrap_wxDC_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6654 PyObject
* _resultobj
;
6658 long _arg3
= (long ) 0;
6659 long _arg4
= (long ) 0;
6660 PyObject
* _argo0
= 0;
6662 PyObject
* _obj2
= 0;
6663 char *_kwnames
[] = { "self","points","xoffset","yoffset", NULL
};
6666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ll:wxDC_DrawLines",_kwnames
,&_argo0
,&_obj2
,&_arg3
,&_arg4
))
6669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLines. Expected _wxDC_p.");
6677 _arg2
= wxPoint_LIST_helper(_obj2
, &NPOINTS
);
6678 if (_arg2
== NULL
) {
6686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6687 wxDC_DrawLines(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6689 wxPyEndAllowThreads(__tstate
);
6690 if (PyErr_Occurred()) return NULL
;
6691 } Py_INCREF(Py_None
);
6692 _resultobj
= Py_None
;
6699 #define wxDC_DrawPolygon(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawPolygon(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6700 static PyObject
*_wrap_wxDC_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6701 PyObject
* _resultobj
;
6705 long _arg3
= (long ) 0;
6706 long _arg4
= (long ) 0;
6707 int _arg5
= (int ) wxODDEVEN_RULE
;
6708 PyObject
* _argo0
= 0;
6710 PyObject
* _obj2
= 0;
6711 char *_kwnames
[] = { "self","points","xoffset","yoffset","fill_style", NULL
};
6714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|lli:wxDC_DrawPolygon",_kwnames
,&_argo0
,&_obj2
,&_arg3
,&_arg4
,&_arg5
))
6717 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6718 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPolygon. Expected _wxDC_p.");
6725 _arg2
= wxPoint_LIST_helper(_obj2
, &NPOINTS
);
6726 if (_arg2
== NULL
) {
6734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6735 wxDC_DrawPolygon(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
6737 wxPyEndAllowThreads(__tstate
);
6738 if (PyErr_Occurred()) return NULL
;
6739 } Py_INCREF(Py_None
);
6740 _resultobj
= Py_None
;
6747 #define wxDC_DrawPoint(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawPoint(_swigarg0,_swigarg1))
6748 static PyObject
*_wrap_wxDC_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6749 PyObject
* _resultobj
;
6753 PyObject
* _argo0
= 0;
6754 char *_kwnames
[] = { "self","x","y", NULL
};
6757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_DrawPoint",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6760 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6761 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPoint. Expected _wxDC_p.");
6767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6768 wxDC_DrawPoint(_arg0
,_arg1
,_arg2
);
6770 wxPyEndAllowThreads(__tstate
);
6771 if (PyErr_Occurred()) return NULL
;
6772 } Py_INCREF(Py_None
);
6773 _resultobj
= Py_None
;
6777 #define wxDC_DrawRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6778 static PyObject
*_wrap_wxDC_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6779 PyObject
* _resultobj
;
6785 PyObject
* _argo0
= 0;
6786 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
6789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_DrawRectangle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
6792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRectangle. Expected _wxDC_p.");
6799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6800 wxDC_DrawRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6802 wxPyEndAllowThreads(__tstate
);
6803 if (PyErr_Occurred()) return NULL
;
6804 } Py_INCREF(Py_None
);
6805 _resultobj
= Py_None
;
6809 #define wxDC_DrawRotatedText(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRotatedText(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6810 static PyObject
*_wrap_wxDC_DrawRotatedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6811 PyObject
* _resultobj
;
6817 PyObject
* _argo0
= 0;
6818 PyObject
* _obj1
= 0;
6819 char *_kwnames
[] = { "self","text","x","y","angle", NULL
};
6822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiid:wxDC_DrawRotatedText",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_arg4
))
6825 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6826 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRotatedText. Expected _wxDC_p.");
6832 _arg1
= wxString_in_helper(_obj1
);
6837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6838 wxDC_DrawRotatedText(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
6840 wxPyEndAllowThreads(__tstate
);
6841 if (PyErr_Occurred()) return NULL
;
6842 } Py_INCREF(Py_None
);
6843 _resultobj
= Py_None
;
6851 #define wxDC_DrawRoundedRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawRoundedRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6852 static PyObject
*_wrap_wxDC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6853 PyObject
* _resultobj
;
6859 long _arg5
= (long ) 20;
6860 PyObject
* _argo0
= 0;
6861 char *_kwnames
[] = { "self","x","y","width","height","radius", NULL
};
6864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll|l:wxDC_DrawRoundedRectangle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
6867 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6868 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRoundedRectangle. Expected _wxDC_p.");
6874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6875 wxDC_DrawRoundedRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
6877 wxPyEndAllowThreads(__tstate
);
6878 if (PyErr_Occurred()) return NULL
;
6879 } Py_INCREF(Py_None
);
6880 _resultobj
= Py_None
;
6884 #define wxDC_DrawSpline(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawSpline(_swigarg0,_swigarg1))
6885 static PyObject
*_wrap_wxDC_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6886 PyObject
* _resultobj
;
6890 PyObject
* _argo0
= 0;
6892 PyObject
* _obj2
= 0;
6893 char *_kwnames
[] = { "self","points", NULL
};
6896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_DrawSpline",_kwnames
,&_argo0
,&_obj2
))
6899 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6900 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawSpline. Expected _wxDC_p.");
6907 _arg2
= wxPoint_LIST_helper(_obj2
, &NPOINTS
);
6908 if (_arg2
== NULL
) {
6916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6917 wxDC_DrawSpline(_arg0
,_arg1
,_arg2
);
6919 wxPyEndAllowThreads(__tstate
);
6920 if (PyErr_Occurred()) return NULL
;
6921 } Py_INCREF(Py_None
);
6922 _resultobj
= Py_None
;
6929 #define wxDC_DrawText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawText(_swigarg0,_swigarg1,_swigarg2))
6930 static PyObject
*_wrap_wxDC_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6931 PyObject
* _resultobj
;
6936 PyObject
* _argo0
= 0;
6937 PyObject
* _obj1
= 0;
6938 char *_kwnames
[] = { "self","text","x","y", NULL
};
6941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOll:wxDC_DrawText",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
))
6944 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6945 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawText. Expected _wxDC_p.");
6951 _arg1
= wxString_in_helper(_obj1
);
6956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6957 wxDC_DrawText(_arg0
,*_arg1
,_arg2
,_arg3
);
6959 wxPyEndAllowThreads(__tstate
);
6960 if (PyErr_Occurred()) return NULL
;
6961 } Py_INCREF(Py_None
);
6962 _resultobj
= Py_None
;
6970 #define wxDC_EndDoc(_swigobj) (_swigobj->EndDoc())
6971 static PyObject
*_wrap_wxDC_EndDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6972 PyObject
* _resultobj
;
6974 PyObject
* _argo0
= 0;
6975 char *_kwnames
[] = { "self", NULL
};
6978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndDoc",_kwnames
,&_argo0
))
6981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDoc. Expected _wxDC_p.");
6988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6991 wxPyEndAllowThreads(__tstate
);
6992 if (PyErr_Occurred()) return NULL
;
6993 } Py_INCREF(Py_None
);
6994 _resultobj
= Py_None
;
6998 #define wxDC_EndDrawing(_swigobj) (_swigobj->EndDrawing())
6999 static PyObject
*_wrap_wxDC_EndDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7000 PyObject
* _resultobj
;
7002 PyObject
* _argo0
= 0;
7003 char *_kwnames
[] = { "self", NULL
};
7006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndDrawing",_kwnames
,&_argo0
))
7009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDrawing. Expected _wxDC_p.");
7016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7017 wxDC_EndDrawing(_arg0
);
7019 wxPyEndAllowThreads(__tstate
);
7020 if (PyErr_Occurred()) return NULL
;
7021 } Py_INCREF(Py_None
);
7022 _resultobj
= Py_None
;
7026 #define wxDC_EndPage(_swigobj) (_swigobj->EndPage())
7027 static PyObject
*_wrap_wxDC_EndPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7028 PyObject
* _resultobj
;
7030 PyObject
* _argo0
= 0;
7031 char *_kwnames
[] = { "self", NULL
};
7034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndPage",_kwnames
,&_argo0
))
7037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndPage. Expected _wxDC_p.");
7044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7045 wxDC_EndPage(_arg0
);
7047 wxPyEndAllowThreads(__tstate
);
7048 if (PyErr_Occurred()) return NULL
;
7049 } Py_INCREF(Py_None
);
7050 _resultobj
= Py_None
;
7054 #define wxDC_FloodFill(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->FloodFill(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7055 static PyObject
*_wrap_wxDC_FloodFill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7056 PyObject
* _resultobj
;
7061 int _arg4
= (int ) wxFLOOD_SURFACE
;
7062 PyObject
* _argo0
= 0;
7064 PyObject
* _obj3
= 0;
7065 char *_kwnames
[] = { "self","x","y","colour","style", NULL
};
7068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO|i:wxDC_FloodFill",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_arg4
))
7071 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7072 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_FloodFill. Expected _wxDC_p.");
7079 if (! wxColour_helper(_obj3
, &_arg3
))
7083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7084 wxDC_FloodFill(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
7086 wxPyEndAllowThreads(__tstate
);
7087 if (PyErr_Occurred()) return NULL
;
7088 } Py_INCREF(Py_None
);
7089 _resultobj
= Py_None
;
7093 #define wxDC_GetBackground(_swigobj) (_swigobj->GetBackground())
7094 static PyObject
*_wrap_wxDC_GetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7095 PyObject
* _resultobj
;
7098 PyObject
* _argo0
= 0;
7099 char *_kwnames
[] = { "self", NULL
};
7103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBackground",_kwnames
,&_argo0
))
7106 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7107 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBackground. Expected _wxDC_p.");
7113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7114 _result
= new wxBrush (wxDC_GetBackground(_arg0
));
7116 wxPyEndAllowThreads(__tstate
);
7117 if (PyErr_Occurred()) return NULL
;
7118 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBrush_p");
7119 _resultobj
= Py_BuildValue("s",_ptemp
);
7123 #define wxDC_GetBrush(_swigobj) (_swigobj->GetBrush())
7124 static PyObject
*_wrap_wxDC_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7125 PyObject
* _resultobj
;
7128 PyObject
* _argo0
= 0;
7129 char *_kwnames
[] = { "self", NULL
};
7133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBrush",_kwnames
,&_argo0
))
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_GetBrush. Expected _wxDC_p.");
7143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7144 _result
= new wxBrush (wxDC_GetBrush(_arg0
));
7146 wxPyEndAllowThreads(__tstate
);
7147 if (PyErr_Occurred()) return NULL
;
7148 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBrush_p");
7149 _resultobj
= Py_BuildValue("s",_ptemp
);
7153 #define wxDC_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
7154 static PyObject
*_wrap_wxDC_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7155 PyObject
* _resultobj
;
7158 PyObject
* _argo0
= 0;
7159 char *_kwnames
[] = { "self", NULL
};
7162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetCharHeight",_kwnames
,&_argo0
))
7165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharHeight. Expected _wxDC_p.");
7172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7173 _result
= (long )wxDC_GetCharHeight(_arg0
);
7175 wxPyEndAllowThreads(__tstate
);
7176 if (PyErr_Occurred()) return NULL
;
7177 } _resultobj
= Py_BuildValue("l",_result
);
7181 #define wxDC_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
7182 static PyObject
*_wrap_wxDC_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7183 PyObject
* _resultobj
;
7186 PyObject
* _argo0
= 0;
7187 char *_kwnames
[] = { "self", NULL
};
7190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetCharWidth",_kwnames
,&_argo0
))
7193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharWidth. Expected _wxDC_p.");
7200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7201 _result
= (long )wxDC_GetCharWidth(_arg0
);
7203 wxPyEndAllowThreads(__tstate
);
7204 if (PyErr_Occurred()) return NULL
;
7205 } _resultobj
= Py_BuildValue("l",_result
);
7209 #define wxDC_GetClippingBox(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetClippingBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7210 static PyObject
*_wrap_wxDC_GetClippingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7211 PyObject
* _resultobj
;
7221 PyObject
* _argo0
= 0;
7222 char *_kwnames
[] = { "self", NULL
};
7237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetClippingBox",_kwnames
,&_argo0
))
7240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetClippingBox. Expected _wxDC_p.");
7247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7248 wxDC_GetClippingBox(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7250 wxPyEndAllowThreads(__tstate
);
7251 if (PyErr_Occurred()) return NULL
;
7252 } Py_INCREF(Py_None
);
7253 _resultobj
= Py_None
;
7256 o
= PyInt_FromLong((long) (*_arg1
));
7257 _resultobj
= t_output_helper(_resultobj
, o
);
7261 o
= PyInt_FromLong((long) (*_arg2
));
7262 _resultobj
= t_output_helper(_resultobj
, o
);
7266 o
= PyInt_FromLong((long) (*_arg3
));
7267 _resultobj
= t_output_helper(_resultobj
, o
);
7271 o
= PyInt_FromLong((long) (*_arg4
));
7272 _resultobj
= t_output_helper(_resultobj
, o
);
7277 #define wxDC_GetFont(_swigobj) (_swigobj->GetFont())
7278 static PyObject
*_wrap_wxDC_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7279 PyObject
* _resultobj
;
7282 PyObject
* _argo0
= 0;
7283 char *_kwnames
[] = { "self", NULL
};
7287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetFont",_kwnames
,&_argo0
))
7290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFont. Expected _wxDC_p.");
7297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7298 _result
= new wxFont (wxDC_GetFont(_arg0
));
7300 wxPyEndAllowThreads(__tstate
);
7301 if (PyErr_Occurred()) return NULL
;
7302 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
7303 _resultobj
= Py_BuildValue("s",_ptemp
);
7307 #define wxDC_GetLogicalFunction(_swigobj) (_swigobj->GetLogicalFunction())
7308 static PyObject
*_wrap_wxDC_GetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7309 PyObject
* _resultobj
;
7312 PyObject
* _argo0
= 0;
7313 char *_kwnames
[] = { "self", NULL
};
7316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalFunction",_kwnames
,&_argo0
))
7319 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7320 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalFunction. Expected _wxDC_p.");
7326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7327 _result
= (int )wxDC_GetLogicalFunction(_arg0
);
7329 wxPyEndAllowThreads(__tstate
);
7330 if (PyErr_Occurred()) return NULL
;
7331 } _resultobj
= Py_BuildValue("i",_result
);
7335 #define wxDC_GetLogicalScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLogicalScale(_swigarg0,_swigarg1))
7336 static PyObject
*_wrap_wxDC_GetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7337 PyObject
* _resultobj
;
7343 PyObject
* _argo0
= 0;
7344 char *_kwnames
[] = { "self", NULL
};
7353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalScale",_kwnames
,&_argo0
))
7356 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7357 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalScale. Expected _wxDC_p.");
7363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7364 wxDC_GetLogicalScale(_arg0
,_arg1
,_arg2
);
7366 wxPyEndAllowThreads(__tstate
);
7367 if (PyErr_Occurred()) return NULL
;
7368 } Py_INCREF(Py_None
);
7369 _resultobj
= Py_None
;
7372 o
= PyFloat_FromDouble((double) (*_arg1
));
7373 _resultobj
= t_output_helper(_resultobj
, o
);
7377 o
= PyFloat_FromDouble((double) (*_arg2
));
7378 _resultobj
= t_output_helper(_resultobj
, o
);
7383 #define wxDC_GetMapMode(_swigobj) (_swigobj->GetMapMode())
7384 static PyObject
*_wrap_wxDC_GetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7385 PyObject
* _resultobj
;
7388 PyObject
* _argo0
= 0;
7389 char *_kwnames
[] = { "self", NULL
};
7392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetMapMode",_kwnames
,&_argo0
))
7395 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7396 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetMapMode. Expected _wxDC_p.");
7402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7403 _result
= (int )wxDC_GetMapMode(_arg0
);
7405 wxPyEndAllowThreads(__tstate
);
7406 if (PyErr_Occurred()) return NULL
;
7407 } _resultobj
= Py_BuildValue("i",_result
);
7411 #define wxDC_GetOptimization(_swigobj) (_swigobj->GetOptimization())
7412 static PyObject
*_wrap_wxDC_GetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7413 PyObject
* _resultobj
;
7416 PyObject
* _argo0
= 0;
7417 char *_kwnames
[] = { "self", NULL
};
7420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetOptimization",_kwnames
,&_argo0
))
7423 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7424 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetOptimization. Expected _wxDC_p.");
7430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7431 _result
= (bool )wxDC_GetOptimization(_arg0
);
7433 wxPyEndAllowThreads(__tstate
);
7434 if (PyErr_Occurred()) return NULL
;
7435 } _resultobj
= Py_BuildValue("i",_result
);
7439 #define wxDC_GetPen(_swigobj) (_swigobj->GetPen())
7440 static PyObject
*_wrap_wxDC_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7441 PyObject
* _resultobj
;
7444 PyObject
* _argo0
= 0;
7445 char *_kwnames
[] = { "self", NULL
};
7449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetPen",_kwnames
,&_argo0
))
7452 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7453 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPen. Expected _wxDC_p.");
7459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7460 _result
= new wxPen (wxDC_GetPen(_arg0
));
7462 wxPyEndAllowThreads(__tstate
);
7463 if (PyErr_Occurred()) return NULL
;
7464 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPen_p");
7465 _resultobj
= Py_BuildValue("s",_ptemp
);
7469 static wxColour
* wxDC_GetPixel(wxDC
*self
,long x
,long y
) {
7470 wxColour
* wc
= new wxColour();
7471 self
->GetPixel(x
, y
, wc
);
7474 static PyObject
*_wrap_wxDC_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7475 PyObject
* _resultobj
;
7480 PyObject
* _argo0
= 0;
7481 char *_kwnames
[] = { "self","x","y", NULL
};
7485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_GetPixel",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7488 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7489 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPixel. Expected _wxDC_p.");
7495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7496 _result
= (wxColour
*)wxDC_GetPixel(_arg0
,_arg1
,_arg2
);
7498 wxPyEndAllowThreads(__tstate
);
7499 if (PyErr_Occurred()) return NULL
;
7501 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
7502 _resultobj
= Py_BuildValue("s",_ptemp
);
7505 _resultobj
= Py_None
;
7510 #define wxDC_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
7511 static PyObject
*_wrap_wxDC_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7512 PyObject
* _resultobj
;
7518 PyObject
* _argo0
= 0;
7519 char *_kwnames
[] = { "self", NULL
};
7528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSizeTuple",_kwnames
,&_argo0
))
7531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSizeTuple. Expected _wxDC_p.");
7538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7539 wxDC_GetSizeTuple(_arg0
,_arg1
,_arg2
);
7541 wxPyEndAllowThreads(__tstate
);
7542 if (PyErr_Occurred()) return NULL
;
7543 } Py_INCREF(Py_None
);
7544 _resultobj
= Py_None
;
7547 o
= PyInt_FromLong((long) (*_arg1
));
7548 _resultobj
= t_output_helper(_resultobj
, o
);
7552 o
= PyInt_FromLong((long) (*_arg2
));
7553 _resultobj
= t_output_helper(_resultobj
, o
);
7558 #define wxDC_GetSize(_swigobj) (_swigobj->GetSize())
7559 static PyObject
*_wrap_wxDC_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7560 PyObject
* _resultobj
;
7563 PyObject
* _argo0
= 0;
7564 char *_kwnames
[] = { "self", NULL
};
7568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSize",_kwnames
,&_argo0
))
7571 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7572 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSize. Expected _wxDC_p.");
7578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7579 _result
= new wxSize (wxDC_GetSize(_arg0
));
7581 wxPyEndAllowThreads(__tstate
);
7582 if (PyErr_Occurred()) return NULL
;
7583 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
7584 _resultobj
= Py_BuildValue("s",_ptemp
);
7588 #define wxDC_GetSizeMM(_swigobj) (_swigobj->GetSizeMM())
7589 static PyObject
*_wrap_wxDC_GetSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7590 PyObject
* _resultobj
;
7593 PyObject
* _argo0
= 0;
7594 char *_kwnames
[] = { "self", NULL
};
7598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSizeMM",_kwnames
,&_argo0
))
7601 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7602 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSizeMM. Expected _wxDC_p.");
7608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7609 _result
= new wxSize (wxDC_GetSizeMM(_arg0
));
7611 wxPyEndAllowThreads(__tstate
);
7612 if (PyErr_Occurred()) return NULL
;
7613 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
7614 _resultobj
= Py_BuildValue("s",_ptemp
);
7618 #define wxDC_GetTextBackground(_swigobj) (_swigobj->GetTextBackground())
7619 static PyObject
*_wrap_wxDC_GetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7620 PyObject
* _resultobj
;
7623 PyObject
* _argo0
= 0;
7624 char *_kwnames
[] = { "self", NULL
};
7628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetTextBackground",_kwnames
,&_argo0
))
7631 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7632 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextBackground. Expected _wxDC_p.");
7638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7639 _result
= new wxColour (wxDC_GetTextBackground(_arg0
));
7641 wxPyEndAllowThreads(__tstate
);
7642 if (PyErr_Occurred()) return NULL
;
7643 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
7644 _resultobj
= Py_BuildValue("s",_ptemp
);
7648 #define wxDC_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
7649 static PyObject
*_wrap_wxDC_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7650 PyObject
* _resultobj
;
7657 PyObject
* _argo0
= 0;
7658 PyObject
* _obj1
= 0;
7659 char *_kwnames
[] = { "self","string", NULL
};
7668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_GetTextExtent",_kwnames
,&_argo0
,&_obj1
))
7671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextExtent. Expected _wxDC_p.");
7678 _arg1
= wxString_in_helper(_obj1
);
7683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7684 wxDC_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
7686 wxPyEndAllowThreads(__tstate
);
7687 if (PyErr_Occurred()) return NULL
;
7688 } Py_INCREF(Py_None
);
7689 _resultobj
= Py_None
;
7692 o
= PyInt_FromLong((long) (*_arg2
));
7693 _resultobj
= t_output_helper(_resultobj
, o
);
7697 o
= PyInt_FromLong((long) (*_arg3
));
7698 _resultobj
= t_output_helper(_resultobj
, o
);
7707 #define wxDC_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7708 static PyObject
*_wrap_wxDC_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7709 PyObject
* _resultobj
;
7720 wxFont
* _arg6
= (wxFont
*) NULL
;
7721 PyObject
* _argo0
= 0;
7722 PyObject
* _obj1
= 0;
7723 PyObject
* _argo6
= 0;
7724 char *_kwnames
[] = { "self","string","font", NULL
};
7739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxDC_GetFullTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo6
))
7742 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7743 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFullTextExtent. Expected _wxDC_p.");
7749 _arg1
= wxString_in_helper(_obj1
);
7754 if (_argo6
== Py_None
) { _arg6
= NULL
; }
7755 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
7756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxDC_GetFullTextExtent. Expected _wxFont_p.");
7761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7762 wxDC_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
7764 wxPyEndAllowThreads(__tstate
);
7765 if (PyErr_Occurred()) return NULL
;
7766 } Py_INCREF(Py_None
);
7767 _resultobj
= Py_None
;
7770 o
= PyInt_FromLong((long) (*_arg2
));
7771 _resultobj
= t_output_helper(_resultobj
, o
);
7775 o
= PyInt_FromLong((long) (*_arg3
));
7776 _resultobj
= t_output_helper(_resultobj
, o
);
7780 o
= PyInt_FromLong((long) (*_arg4
));
7781 _resultobj
= t_output_helper(_resultobj
, o
);
7785 o
= PyInt_FromLong((long) (*_arg5
));
7786 _resultobj
= t_output_helper(_resultobj
, o
);
7795 #define wxDC_GetTextForeground(_swigobj) (_swigobj->GetTextForeground())
7796 static PyObject
*_wrap_wxDC_GetTextForeground(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_GetTextForeground",_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_GetTextForeground. Expected _wxDC_p.");
7815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7816 _result
= new wxColour (wxDC_GetTextForeground(_arg0
));
7818 wxPyEndAllowThreads(__tstate
);
7819 if (PyErr_Occurred()) return NULL
;
7820 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
7821 _resultobj
= Py_BuildValue("s",_ptemp
);
7825 #define wxDC_GetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetUserScale(_swigarg0,_swigarg1))
7826 static PyObject
*_wrap_wxDC_GetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7827 PyObject
* _resultobj
;
7833 PyObject
* _argo0
= 0;
7834 char *_kwnames
[] = { "self", NULL
};
7843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetUserScale",_kwnames
,&_argo0
))
7846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetUserScale. Expected _wxDC_p.");
7853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7854 wxDC_GetUserScale(_arg0
,_arg1
,_arg2
);
7856 wxPyEndAllowThreads(__tstate
);
7857 if (PyErr_Occurred()) return NULL
;
7858 } Py_INCREF(Py_None
);
7859 _resultobj
= Py_None
;
7862 o
= PyFloat_FromDouble((double) (*_arg1
));
7863 _resultobj
= t_output_helper(_resultobj
, o
);
7867 o
= PyFloat_FromDouble((double) (*_arg2
));
7868 _resultobj
= t_output_helper(_resultobj
, o
);
7873 #define wxDC_LogicalToDeviceX(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceX(_swigarg0))
7874 static PyObject
*_wrap_wxDC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7875 PyObject
* _resultobj
;
7879 PyObject
* _argo0
= 0;
7880 char *_kwnames
[] = { "self","x", NULL
};
7883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceX",_kwnames
,&_argo0
,&_arg1
))
7886 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7887 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceX. Expected _wxDC_p.");
7893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7894 _result
= (long )wxDC_LogicalToDeviceX(_arg0
,_arg1
);
7896 wxPyEndAllowThreads(__tstate
);
7897 if (PyErr_Occurred()) return NULL
;
7898 } _resultobj
= Py_BuildValue("l",_result
);
7902 #define wxDC_LogicalToDeviceXRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceXRel(_swigarg0))
7903 static PyObject
*_wrap_wxDC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7904 PyObject
* _resultobj
;
7908 PyObject
* _argo0
= 0;
7909 char *_kwnames
[] = { "self","x", NULL
};
7912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceXRel",_kwnames
,&_argo0
,&_arg1
))
7915 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7916 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceXRel. Expected _wxDC_p.");
7922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7923 _result
= (long )wxDC_LogicalToDeviceXRel(_arg0
,_arg1
);
7925 wxPyEndAllowThreads(__tstate
);
7926 if (PyErr_Occurred()) return NULL
;
7927 } _resultobj
= Py_BuildValue("l",_result
);
7931 #define wxDC_LogicalToDeviceY(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceY(_swigarg0))
7932 static PyObject
*_wrap_wxDC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7933 PyObject
* _resultobj
;
7937 PyObject
* _argo0
= 0;
7938 char *_kwnames
[] = { "self","y", NULL
};
7941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceY",_kwnames
,&_argo0
,&_arg1
))
7944 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7945 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceY. Expected _wxDC_p.");
7951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7952 _result
= (long )wxDC_LogicalToDeviceY(_arg0
,_arg1
);
7954 wxPyEndAllowThreads(__tstate
);
7955 if (PyErr_Occurred()) return NULL
;
7956 } _resultobj
= Py_BuildValue("l",_result
);
7960 #define wxDC_LogicalToDeviceYRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceYRel(_swigarg0))
7961 static PyObject
*_wrap_wxDC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7962 PyObject
* _resultobj
;
7966 PyObject
* _argo0
= 0;
7967 char *_kwnames
[] = { "self","y", NULL
};
7970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceYRel",_kwnames
,&_argo0
,&_arg1
))
7973 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7974 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceYRel. Expected _wxDC_p.");
7980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7981 _result
= (long )wxDC_LogicalToDeviceYRel(_arg0
,_arg1
);
7983 wxPyEndAllowThreads(__tstate
);
7984 if (PyErr_Occurred()) return NULL
;
7985 } _resultobj
= Py_BuildValue("l",_result
);
7989 #define wxDC_MaxX(_swigobj) (_swigobj->MaxX())
7990 static PyObject
*_wrap_wxDC_MaxX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7991 PyObject
* _resultobj
;
7994 PyObject
* _argo0
= 0;
7995 char *_kwnames
[] = { "self", NULL
};
7998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MaxX",_kwnames
,&_argo0
))
8001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxX. Expected _wxDC_p.");
8008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8009 _result
= (long )wxDC_MaxX(_arg0
);
8011 wxPyEndAllowThreads(__tstate
);
8012 if (PyErr_Occurred()) return NULL
;
8013 } _resultobj
= Py_BuildValue("l",_result
);
8017 #define wxDC_MaxY(_swigobj) (_swigobj->MaxY())
8018 static PyObject
*_wrap_wxDC_MaxY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8019 PyObject
* _resultobj
;
8022 PyObject
* _argo0
= 0;
8023 char *_kwnames
[] = { "self", NULL
};
8026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MaxY",_kwnames
,&_argo0
))
8029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxY. Expected _wxDC_p.");
8036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8037 _result
= (long )wxDC_MaxY(_arg0
);
8039 wxPyEndAllowThreads(__tstate
);
8040 if (PyErr_Occurred()) return NULL
;
8041 } _resultobj
= Py_BuildValue("l",_result
);
8045 #define wxDC_MinX(_swigobj) (_swigobj->MinX())
8046 static PyObject
*_wrap_wxDC_MinX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8047 PyObject
* _resultobj
;
8050 PyObject
* _argo0
= 0;
8051 char *_kwnames
[] = { "self", NULL
};
8054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MinX",_kwnames
,&_argo0
))
8057 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8058 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinX. Expected _wxDC_p.");
8064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8065 _result
= (long )wxDC_MinX(_arg0
);
8067 wxPyEndAllowThreads(__tstate
);
8068 if (PyErr_Occurred()) return NULL
;
8069 } _resultobj
= Py_BuildValue("l",_result
);
8073 #define wxDC_MinY(_swigobj) (_swigobj->MinY())
8074 static PyObject
*_wrap_wxDC_MinY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8075 PyObject
* _resultobj
;
8078 PyObject
* _argo0
= 0;
8079 char *_kwnames
[] = { "self", NULL
};
8082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MinY",_kwnames
,&_argo0
))
8085 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8086 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinY. Expected _wxDC_p.");
8092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8093 _result
= (long )wxDC_MinY(_arg0
);
8095 wxPyEndAllowThreads(__tstate
);
8096 if (PyErr_Occurred()) return NULL
;
8097 } _resultobj
= Py_BuildValue("l",_result
);
8101 #define wxDC_Ok(_swigobj) (_swigobj->Ok())
8102 static PyObject
*_wrap_wxDC_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8103 PyObject
* _resultobj
;
8106 PyObject
* _argo0
= 0;
8107 char *_kwnames
[] = { "self", NULL
};
8110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_Ok",_kwnames
,&_argo0
))
8113 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8114 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Ok. Expected _wxDC_p.");
8120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8121 _result
= (bool )wxDC_Ok(_arg0
);
8123 wxPyEndAllowThreads(__tstate
);
8124 if (PyErr_Occurred()) return NULL
;
8125 } _resultobj
= Py_BuildValue("i",_result
);
8129 #define wxDC_SetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDeviceOrigin(_swigarg0,_swigarg1))
8130 static PyObject
*_wrap_wxDC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8131 PyObject
* _resultobj
;
8135 PyObject
* _argo0
= 0;
8136 char *_kwnames
[] = { "self","x","y", NULL
};
8139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_SetDeviceOrigin",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8142 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8143 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetDeviceOrigin. Expected _wxDC_p.");
8149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8150 wxDC_SetDeviceOrigin(_arg0
,_arg1
,_arg2
);
8152 wxPyEndAllowThreads(__tstate
);
8153 if (PyErr_Occurred()) return NULL
;
8154 } Py_INCREF(Py_None
);
8155 _resultobj
= Py_None
;
8159 #define wxDC_SetBackground(_swigobj,_swigarg0) (_swigobj->SetBackground(_swigarg0))
8160 static PyObject
*_wrap_wxDC_SetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8161 PyObject
* _resultobj
;
8164 PyObject
* _argo0
= 0;
8165 PyObject
* _argo1
= 0;
8166 char *_kwnames
[] = { "self","brush", NULL
};
8169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetBackground",_kwnames
,&_argo0
,&_argo1
))
8172 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8173 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackground. Expected _wxDC_p.");
8179 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8180 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
8181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBackground. Expected _wxBrush_p.");
8186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8187 wxDC_SetBackground(_arg0
,*_arg1
);
8189 wxPyEndAllowThreads(__tstate
);
8190 if (PyErr_Occurred()) return NULL
;
8191 } Py_INCREF(Py_None
);
8192 _resultobj
= Py_None
;
8196 #define wxDC_SetBackgroundMode(_swigobj,_swigarg0) (_swigobj->SetBackgroundMode(_swigarg0))
8197 static PyObject
*_wrap_wxDC_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8198 PyObject
* _resultobj
;
8201 PyObject
* _argo0
= 0;
8202 char *_kwnames
[] = { "self","mode", NULL
};
8205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetBackgroundMode",_kwnames
,&_argo0
,&_arg1
))
8208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackgroundMode. Expected _wxDC_p.");
8215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8216 wxDC_SetBackgroundMode(_arg0
,_arg1
);
8218 wxPyEndAllowThreads(__tstate
);
8219 if (PyErr_Occurred()) return NULL
;
8220 } Py_INCREF(Py_None
);
8221 _resultobj
= Py_None
;
8225 #define wxDC_SetClippingRegion(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetClippingRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8226 static PyObject
*_wrap_wxDC_SetClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8227 PyObject
* _resultobj
;
8233 PyObject
* _argo0
= 0;
8234 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
8237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_SetClippingRegion",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
8240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetClippingRegion. Expected _wxDC_p.");
8247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8248 wxDC_SetClippingRegion(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
8250 wxPyEndAllowThreads(__tstate
);
8251 if (PyErr_Occurred()) return NULL
;
8252 } Py_INCREF(Py_None
);
8253 _resultobj
= Py_None
;
8257 #define wxDC_SetClippingRegionAsRegion(_swigobj,_swigarg0) (_swigobj->SetClippingRegion(_swigarg0))
8258 static PyObject
*_wrap_wxDC_SetClippingRegionAsRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8259 PyObject
* _resultobj
;
8262 PyObject
* _argo0
= 0;
8263 PyObject
* _argo1
= 0;
8264 char *_kwnames
[] = { "self","region", NULL
};
8267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetClippingRegionAsRegion",_kwnames
,&_argo0
,&_argo1
))
8270 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8271 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetClippingRegionAsRegion. Expected _wxDC_p.");
8277 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8278 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
8279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetClippingRegionAsRegion. Expected _wxRegion_p.");
8284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8285 wxDC_SetClippingRegionAsRegion(_arg0
,*_arg1
);
8287 wxPyEndAllowThreads(__tstate
);
8288 if (PyErr_Occurred()) return NULL
;
8289 } Py_INCREF(Py_None
);
8290 _resultobj
= Py_None
;
8294 #define wxDC_SetPalette(_swigobj,_swigarg0) (_swigobj->SetPalette(_swigarg0))
8295 static PyObject
*_wrap_wxDC_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8296 PyObject
* _resultobj
;
8299 PyObject
* _argo0
= 0;
8300 PyObject
* _argo1
= 0;
8301 char *_kwnames
[] = { "self","colourMap", NULL
};
8304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetPalette",_kwnames
,&_argo0
,&_argo1
))
8307 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8308 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPalette. Expected _wxDC_p.");
8314 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8315 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPalette_p")) {
8316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPalette. Expected _wxPalette_p.");
8321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8322 wxDC_SetPalette(_arg0
,*_arg1
);
8324 wxPyEndAllowThreads(__tstate
);
8325 if (PyErr_Occurred()) return NULL
;
8326 } Py_INCREF(Py_None
);
8327 _resultobj
= Py_None
;
8331 #define wxDC_SetBrush(_swigobj,_swigarg0) (_swigobj->SetBrush(_swigarg0))
8332 static PyObject
*_wrap_wxDC_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8333 PyObject
* _resultobj
;
8336 PyObject
* _argo0
= 0;
8337 PyObject
* _argo1
= 0;
8338 char *_kwnames
[] = { "self","brush", NULL
};
8341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetBrush",_kwnames
,&_argo0
,&_argo1
))
8344 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8345 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBrush. Expected _wxDC_p.");
8351 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8352 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
8353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBrush. Expected _wxBrush_p.");
8358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8359 wxDC_SetBrush(_arg0
,*_arg1
);
8361 wxPyEndAllowThreads(__tstate
);
8362 if (PyErr_Occurred()) return NULL
;
8363 } Py_INCREF(Py_None
);
8364 _resultobj
= Py_None
;
8368 #define wxDC_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
8369 static PyObject
*_wrap_wxDC_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8370 PyObject
* _resultobj
;
8373 PyObject
* _argo0
= 0;
8374 PyObject
* _argo1
= 0;
8375 char *_kwnames
[] = { "self","font", NULL
};
8378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetFont",_kwnames
,&_argo0
,&_argo1
))
8381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetFont. Expected _wxDC_p.");
8388 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8389 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
8390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetFont. Expected _wxFont_p.");
8395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8396 wxDC_SetFont(_arg0
,*_arg1
);
8398 wxPyEndAllowThreads(__tstate
);
8399 if (PyErr_Occurred()) return NULL
;
8400 } Py_INCREF(Py_None
);
8401 _resultobj
= Py_None
;
8405 #define wxDC_SetLogicalFunction(_swigobj,_swigarg0) (_swigobj->SetLogicalFunction(_swigarg0))
8406 static PyObject
*_wrap_wxDC_SetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8407 PyObject
* _resultobj
;
8410 PyObject
* _argo0
= 0;
8411 char *_kwnames
[] = { "self","function", NULL
};
8414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetLogicalFunction",_kwnames
,&_argo0
,&_arg1
))
8417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalFunction. Expected _wxDC_p.");
8424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8425 wxDC_SetLogicalFunction(_arg0
,_arg1
);
8427 wxPyEndAllowThreads(__tstate
);
8428 if (PyErr_Occurred()) return NULL
;
8429 } Py_INCREF(Py_None
);
8430 _resultobj
= Py_None
;
8434 #define wxDC_SetLogicalScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLogicalScale(_swigarg0,_swigarg1))
8435 static PyObject
*_wrap_wxDC_SetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8436 PyObject
* _resultobj
;
8440 PyObject
* _argo0
= 0;
8441 char *_kwnames
[] = { "self","x","y", NULL
};
8444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxDC_SetLogicalScale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalScale. Expected _wxDC_p.");
8454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8455 wxDC_SetLogicalScale(_arg0
,_arg1
,_arg2
);
8457 wxPyEndAllowThreads(__tstate
);
8458 if (PyErr_Occurred()) return NULL
;
8459 } Py_INCREF(Py_None
);
8460 _resultobj
= Py_None
;
8464 #define wxDC_SetMapMode(_swigobj,_swigarg0) (_swigobj->SetMapMode(_swigarg0))
8465 static PyObject
*_wrap_wxDC_SetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8466 PyObject
* _resultobj
;
8469 PyObject
* _argo0
= 0;
8470 char *_kwnames
[] = { "self","mode", NULL
};
8473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetMapMode",_kwnames
,&_argo0
,&_arg1
))
8476 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8477 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetMapMode. Expected _wxDC_p.");
8483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8484 wxDC_SetMapMode(_arg0
,_arg1
);
8486 wxPyEndAllowThreads(__tstate
);
8487 if (PyErr_Occurred()) return NULL
;
8488 } Py_INCREF(Py_None
);
8489 _resultobj
= Py_None
;
8493 #define wxDC_SetOptimization(_swigobj,_swigarg0) (_swigobj->SetOptimization(_swigarg0))
8494 static PyObject
*_wrap_wxDC_SetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8495 PyObject
* _resultobj
;
8498 PyObject
* _argo0
= 0;
8500 char *_kwnames
[] = { "self","optimize", NULL
};
8503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetOptimization",_kwnames
,&_argo0
,&tempbool1
))
8506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetOptimization. Expected _wxDC_p.");
8512 _arg1
= (bool ) tempbool1
;
8514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8515 wxDC_SetOptimization(_arg0
,_arg1
);
8517 wxPyEndAllowThreads(__tstate
);
8518 if (PyErr_Occurred()) return NULL
;
8519 } Py_INCREF(Py_None
);
8520 _resultobj
= Py_None
;
8524 #define wxDC_SetPen(_swigobj,_swigarg0) (_swigobj->SetPen(_swigarg0))
8525 static PyObject
*_wrap_wxDC_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8526 PyObject
* _resultobj
;
8529 PyObject
* _argo0
= 0;
8530 PyObject
* _argo1
= 0;
8531 char *_kwnames
[] = { "self","pen", NULL
};
8534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetPen",_kwnames
,&_argo0
,&_argo1
))
8537 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8538 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPen. Expected _wxDC_p.");
8544 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8545 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
8546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPen. Expected _wxPen_p.");
8551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8552 wxDC_SetPen(_arg0
,*_arg1
);
8554 wxPyEndAllowThreads(__tstate
);
8555 if (PyErr_Occurred()) return NULL
;
8556 } Py_INCREF(Py_None
);
8557 _resultobj
= Py_None
;
8561 #define wxDC_SetTextBackground(_swigobj,_swigarg0) (_swigobj->SetTextBackground(_swigarg0))
8562 static PyObject
*_wrap_wxDC_SetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8563 PyObject
* _resultobj
;
8566 PyObject
* _argo0
= 0;
8568 PyObject
* _obj1
= 0;
8569 char *_kwnames
[] = { "self","colour", NULL
};
8572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetTextBackground",_kwnames
,&_argo0
,&_obj1
))
8575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextBackground. Expected _wxDC_p.");
8583 if (! wxColour_helper(_obj1
, &_arg1
))
8587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8588 wxDC_SetTextBackground(_arg0
,*_arg1
);
8590 wxPyEndAllowThreads(__tstate
);
8591 if (PyErr_Occurred()) return NULL
;
8592 } Py_INCREF(Py_None
);
8593 _resultobj
= Py_None
;
8597 #define wxDC_SetTextForeground(_swigobj,_swigarg0) (_swigobj->SetTextForeground(_swigarg0))
8598 static PyObject
*_wrap_wxDC_SetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8599 PyObject
* _resultobj
;
8602 PyObject
* _argo0
= 0;
8604 PyObject
* _obj1
= 0;
8605 char *_kwnames
[] = { "self","colour", NULL
};
8608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetTextForeground",_kwnames
,&_argo0
,&_obj1
))
8611 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8612 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextForeground. Expected _wxDC_p.");
8619 if (! wxColour_helper(_obj1
, &_arg1
))
8623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8624 wxDC_SetTextForeground(_arg0
,*_arg1
);
8626 wxPyEndAllowThreads(__tstate
);
8627 if (PyErr_Occurred()) return NULL
;
8628 } Py_INCREF(Py_None
);
8629 _resultobj
= Py_None
;
8633 #define wxDC_SetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetUserScale(_swigarg0,_swigarg1))
8634 static PyObject
*_wrap_wxDC_SetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8635 PyObject
* _resultobj
;
8639 PyObject
* _argo0
= 0;
8640 char *_kwnames
[] = { "self","x_scale","y_scale", NULL
};
8643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxDC_SetUserScale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetUserScale. Expected _wxDC_p.");
8653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8654 wxDC_SetUserScale(_arg0
,_arg1
,_arg2
);
8656 wxPyEndAllowThreads(__tstate
);
8657 if (PyErr_Occurred()) return NULL
;
8658 } Py_INCREF(Py_None
);
8659 _resultobj
= Py_None
;
8663 #define wxDC_StartDoc(_swigobj,_swigarg0) (_swigobj->StartDoc(_swigarg0))
8664 static PyObject
*_wrap_wxDC_StartDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8665 PyObject
* _resultobj
;
8669 PyObject
* _argo0
= 0;
8670 PyObject
* _obj1
= 0;
8671 char *_kwnames
[] = { "self","message", NULL
};
8674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_StartDoc",_kwnames
,&_argo0
,&_obj1
))
8677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartDoc. Expected _wxDC_p.");
8684 _arg1
= wxString_in_helper(_obj1
);
8689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8690 _result
= (bool )wxDC_StartDoc(_arg0
,*_arg1
);
8692 wxPyEndAllowThreads(__tstate
);
8693 if (PyErr_Occurred()) return NULL
;
8694 } _resultobj
= Py_BuildValue("i",_result
);
8702 #define wxDC_StartPage(_swigobj) (_swigobj->StartPage())
8703 static PyObject
*_wrap_wxDC_StartPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8704 PyObject
* _resultobj
;
8706 PyObject
* _argo0
= 0;
8707 char *_kwnames
[] = { "self", NULL
};
8710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_StartPage",_kwnames
,&_argo0
))
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_StartPage. Expected _wxDC_p.");
8720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8721 wxDC_StartPage(_arg0
);
8723 wxPyEndAllowThreads(__tstate
);
8724 if (PyErr_Occurred()) return NULL
;
8725 } Py_INCREF(Py_None
);
8726 _resultobj
= Py_None
;
8730 #define wxDC_DrawBitmap(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8731 static PyObject
*_wrap_wxDC_DrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8732 PyObject
* _resultobj
;
8737 int _arg4
= (int ) FALSE
;
8738 PyObject
* _argo0
= 0;
8739 PyObject
* _argo1
= 0;
8740 char *_kwnames
[] = { "self","bitmap","x","y","useMask", NULL
};
8743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOll|i:wxDC_DrawBitmap",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
))
8746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawBitmap. Expected _wxDC_p.");
8753 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8754 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
8755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawBitmap. Expected _wxBitmap_p.");
8760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8761 wxDC_DrawBitmap(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
8763 wxPyEndAllowThreads(__tstate
);
8764 if (PyErr_Occurred()) return NULL
;
8765 } Py_INCREF(Py_None
);
8766 _resultobj
= Py_None
;
8770 #define wxDC_CanDrawBitmap(_swigobj) (_swigobj->CanDrawBitmap())
8771 static PyObject
*_wrap_wxDC_CanDrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8772 PyObject
* _resultobj
;
8775 PyObject
* _argo0
= 0;
8776 char *_kwnames
[] = { "self", NULL
};
8779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_CanDrawBitmap",_kwnames
,&_argo0
))
8782 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8783 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CanDrawBitmap. Expected _wxDC_p.");
8789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8790 _result
= (bool )wxDC_CanDrawBitmap(_arg0
);
8792 wxPyEndAllowThreads(__tstate
);
8793 if (PyErr_Occurred()) return NULL
;
8794 } _resultobj
= Py_BuildValue("i",_result
);
8798 #define wxDC_CanGetTextExtent(_swigobj) (_swigobj->CanGetTextExtent())
8799 static PyObject
*_wrap_wxDC_CanGetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8800 PyObject
* _resultobj
;
8803 PyObject
* _argo0
= 0;
8804 char *_kwnames
[] = { "self", NULL
};
8807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_CanGetTextExtent",_kwnames
,&_argo0
))
8810 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8811 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CanGetTextExtent. Expected _wxDC_p.");
8817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8818 _result
= (bool )wxDC_CanGetTextExtent(_arg0
);
8820 wxPyEndAllowThreads(__tstate
);
8821 if (PyErr_Occurred()) return NULL
;
8822 } _resultobj
= Py_BuildValue("i",_result
);
8826 #define wxDC_GetDepth(_swigobj) (_swigobj->GetDepth())
8827 static PyObject
*_wrap_wxDC_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8828 PyObject
* _resultobj
;
8831 PyObject
* _argo0
= 0;
8832 char *_kwnames
[] = { "self", NULL
};
8835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetDepth",_kwnames
,&_argo0
))
8838 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8839 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetDepth. Expected _wxDC_p.");
8845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8846 _result
= (int )wxDC_GetDepth(_arg0
);
8848 wxPyEndAllowThreads(__tstate
);
8849 if (PyErr_Occurred()) return NULL
;
8850 } _resultobj
= Py_BuildValue("i",_result
);
8854 #define wxDC_GetPPI(_swigobj) (_swigobj->GetPPI())
8855 static PyObject
*_wrap_wxDC_GetPPI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8856 PyObject
* _resultobj
;
8859 PyObject
* _argo0
= 0;
8860 char *_kwnames
[] = { "self", NULL
};
8864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetPPI",_kwnames
,&_argo0
))
8867 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8868 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPPI. Expected _wxDC_p.");
8874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8875 _result
= new wxSize (wxDC_GetPPI(_arg0
));
8877 wxPyEndAllowThreads(__tstate
);
8878 if (PyErr_Occurred()) return NULL
;
8879 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
8880 _resultobj
= Py_BuildValue("s",_ptemp
);
8884 #define wxDC_GetLogicalOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLogicalOrigin(_swigarg0,_swigarg1))
8885 static PyObject
*_wrap_wxDC_GetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8886 PyObject
* _resultobj
;
8892 PyObject
* _argo0
= 0;
8893 char *_kwnames
[] = { "self", NULL
};
8902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalOrigin",_kwnames
,&_argo0
))
8905 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8906 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalOrigin. Expected _wxDC_p.");
8912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8913 wxDC_GetLogicalOrigin(_arg0
,_arg1
,_arg2
);
8915 wxPyEndAllowThreads(__tstate
);
8916 if (PyErr_Occurred()) return NULL
;
8917 } Py_INCREF(Py_None
);
8918 _resultobj
= Py_None
;
8921 o
= PyInt_FromLong((long) (*_arg1
));
8922 _resultobj
= t_output_helper(_resultobj
, o
);
8926 o
= PyInt_FromLong((long) (*_arg2
));
8927 _resultobj
= t_output_helper(_resultobj
, o
);
8932 #define wxDC_SetLogicalOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLogicalOrigin(_swigarg0,_swigarg1))
8933 static PyObject
*_wrap_wxDC_SetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8934 PyObject
* _resultobj
;
8938 PyObject
* _argo0
= 0;
8939 char *_kwnames
[] = { "self","x","y", NULL
};
8942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_SetLogicalOrigin",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8945 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8946 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalOrigin. Expected _wxDC_p.");
8952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8953 wxDC_SetLogicalOrigin(_arg0
,_arg1
,_arg2
);
8955 wxPyEndAllowThreads(__tstate
);
8956 if (PyErr_Occurred()) return NULL
;
8957 } Py_INCREF(Py_None
);
8958 _resultobj
= Py_None
;
8962 #define wxDC_GetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDeviceOrigin(_swigarg0,_swigarg1))
8963 static PyObject
*_wrap_wxDC_GetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8964 PyObject
* _resultobj
;
8970 PyObject
* _argo0
= 0;
8971 char *_kwnames
[] = { "self", NULL
};
8980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetDeviceOrigin",_kwnames
,&_argo0
))
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_GetDeviceOrigin. Expected _wxDC_p.");
8990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8991 wxDC_GetDeviceOrigin(_arg0
,_arg1
,_arg2
);
8993 wxPyEndAllowThreads(__tstate
);
8994 if (PyErr_Occurred()) return NULL
;
8995 } Py_INCREF(Py_None
);
8996 _resultobj
= Py_None
;
8999 o
= PyInt_FromLong((long) (*_arg1
));
9000 _resultobj
= t_output_helper(_resultobj
, o
);
9004 o
= PyInt_FromLong((long) (*_arg2
));
9005 _resultobj
= t_output_helper(_resultobj
, o
);
9010 #define wxDC_SetAxisOrientation(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAxisOrientation(_swigarg0,_swigarg1))
9011 static PyObject
*_wrap_wxDC_SetAxisOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9012 PyObject
* _resultobj
;
9016 PyObject
* _argo0
= 0;
9019 char *_kwnames
[] = { "self","xLeftRight","yBottomUp", NULL
};
9022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_SetAxisOrientation",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
9025 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9026 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetAxisOrientation. Expected _wxDC_p.");
9031 _arg1
= (bool ) tempbool1
;
9032 _arg2
= (bool ) tempbool2
;
9034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9035 wxDC_SetAxisOrientation(_arg0
,_arg1
,_arg2
);
9037 wxPyEndAllowThreads(__tstate
);
9038 if (PyErr_Occurred()) return NULL
;
9039 } Py_INCREF(Py_None
);
9040 _resultobj
= Py_None
;
9044 #define wxDC_CalcBoundingBox(_swigobj,_swigarg0,_swigarg1) (_swigobj->CalcBoundingBox(_swigarg0,_swigarg1))
9045 static PyObject
*_wrap_wxDC_CalcBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9046 PyObject
* _resultobj
;
9050 PyObject
* _argo0
= 0;
9051 char *_kwnames
[] = { "self","x","y", NULL
};
9054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_CalcBoundingBox",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9057 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9058 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CalcBoundingBox. Expected _wxDC_p.");
9064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9065 wxDC_CalcBoundingBox(_arg0
,_arg1
,_arg2
);
9067 wxPyEndAllowThreads(__tstate
);
9068 if (PyErr_Occurred()) return NULL
;
9069 } Py_INCREF(Py_None
);
9070 _resultobj
= Py_None
;
9074 #define wxDC_ResetBoundingBox(_swigobj) (_swigobj->ResetBoundingBox())
9075 static PyObject
*_wrap_wxDC_ResetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9076 PyObject
* _resultobj
;
9078 PyObject
* _argo0
= 0;
9079 char *_kwnames
[] = { "self", NULL
};
9082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_ResetBoundingBox",_kwnames
,&_argo0
))
9085 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9086 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_ResetBoundingBox. Expected _wxDC_p.");
9092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9093 wxDC_ResetBoundingBox(_arg0
);
9095 wxPyEndAllowThreads(__tstate
);
9096 if (PyErr_Occurred()) return NULL
;
9097 } Py_INCREF(Py_None
);
9098 _resultobj
= Py_None
;
9102 static PyObject
*_wrap_wxDC_GetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9103 PyObject
* _resultobj
;
9113 PyObject
* _argo0
= 0;
9114 char *_kwnames
[] = { "self", NULL
};
9129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBoundingBox",_kwnames
,&_argo0
))
9132 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9133 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBoundingBox. Expected _wxDC_p.");
9139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9140 wxDC_GetBoundingBox(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
9142 wxPyEndAllowThreads(__tstate
);
9143 if (PyErr_Occurred()) return NULL
;
9144 } Py_INCREF(Py_None
);
9145 _resultobj
= Py_None
;
9148 o
= PyInt_FromLong((long) (*_arg1
));
9149 _resultobj
= t_output_helper(_resultobj
, o
);
9153 o
= PyInt_FromLong((long) (*_arg2
));
9154 _resultobj
= t_output_helper(_resultobj
, o
);
9158 o
= PyInt_FromLong((long) (*_arg3
));
9159 _resultobj
= t_output_helper(_resultobj
, o
);
9163 o
= PyInt_FromLong((long) (*_arg4
));
9164 _resultobj
= t_output_helper(_resultobj
, o
);
9169 static PyObject
* wxDC__DrawPointList(wxDC
*self
,PyObject
* pyPoints
,PyObject
* pyPens
) {
9170 bool isFastSeq
= PyList_Check(pyPoints
) || PyTuple_Check(pyPoints
);
9171 bool isFastPens
= PyList_Check(pyPens
) || PyTuple_Check(pyPens
);
9179 if (!PySequence_Check(pyPoints
)) {
9182 if (!PySequence_Check(pyPens
)) {
9185 numObjs
= PySequence_Length(pyPoints
);
9186 numPens
= PySequence_Length(pyPens
);
9188 for (i
= 0; i
< numObjs
; i
++) {
9192 obj
= PySequence_Fast_GET_ITEM(pyPens
, i
);
9195 obj
= PySequence_GetItem(pyPens
, i
);
9197 if (SWIG_GetPtrObj(obj
, (void **) &pen
, "_wxPen_p")) {
9208 // Get the point coordinants
9210 obj
= PySequence_Fast_GET_ITEM(pyPoints
, i
);
9213 obj
= PySequence_GetItem(pyPoints
, i
);
9215 if (! _2int_seq_helper(obj
, &x1
, &y1
)) {
9221 // Now draw the point
9222 self
->DrawPoint(x1
, y1
);
9232 PyErr_SetString(PyExc_TypeError
, "Expected a sequence of wxPens");
9235 PyErr_SetString(PyExc_TypeError
, "Expected a sequence of (x,y) sequences.");
9238 static PyObject
*_wrap_wxDC__DrawPointList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9239 PyObject
* _resultobj
;
9244 PyObject
* _argo0
= 0;
9245 PyObject
* _obj1
= 0;
9246 PyObject
* _obj2
= 0;
9247 char *_kwnames
[] = { "self","pyPoints","pyPens", NULL
};
9250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDC__DrawPointList",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
9253 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9254 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC__DrawPointList. Expected _wxDC_p.");
9266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9267 _result
= (PyObject
*)wxDC__DrawPointList(_arg0
,_arg1
,_arg2
);
9269 wxPyEndAllowThreads(__tstate
);
9270 if (PyErr_Occurred()) return NULL
;
9272 _resultobj
= _result
;
9277 static PyObject
* wxDC__DrawLineList(wxDC
*self
,PyObject
* pyLines
,PyObject
* pyPens
) {
9278 bool isFastSeq
= PyList_Check(pyLines
) || PyTuple_Check(pyLines
);
9279 bool isFastPens
= PyList_Check(pyPens
) || PyTuple_Check(pyPens
);
9287 if (!PySequence_Check(pyLines
)) {
9290 if (!PySequence_Check(pyPens
)) {
9293 numObjs
= PySequence_Length(pyLines
);
9294 numPens
= PySequence_Length(pyPens
);
9296 for (i
= 0; i
< numObjs
; i
++) {
9300 obj
= PySequence_Fast_GET_ITEM(pyPens
, i
);
9303 obj
= PySequence_GetItem(pyPens
, i
);
9305 if (SWIG_GetPtrObj(obj
, (void **) &pen
, "_wxPen_p")) {
9316 // Get the line coordinants
9318 obj
= PySequence_Fast_GET_ITEM(pyLines
, i
);
9321 obj
= PySequence_GetItem(pyLines
, i
);
9323 if (! _4int_seq_helper(obj
, &x1
, &y1
, &x2
, &y2
)) {
9329 // Now draw the line
9330 self
->DrawLine(x1
, y1
, x2
, y2
);
9340 PyErr_SetString(PyExc_TypeError
, "Expected a sequence of wxPens");
9343 PyErr_SetString(PyExc_TypeError
, "Expected a sequence of (x1,y1, x2,y2) sequences.");
9346 static PyObject
*_wrap_wxDC__DrawLineList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9347 PyObject
* _resultobj
;
9352 PyObject
* _argo0
= 0;
9353 PyObject
* _obj1
= 0;
9354 PyObject
* _obj2
= 0;
9355 char *_kwnames
[] = { "self","pyLines","pyPens", NULL
};
9358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDC__DrawLineList",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
9361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC__DrawLineList. Expected _wxDC_p.");
9374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9375 _result
= (PyObject
*)wxDC__DrawLineList(_arg0
,_arg1
,_arg2
);
9377 wxPyEndAllowThreads(__tstate
);
9378 if (PyErr_Occurred()) return NULL
;
9380 _resultobj
= _result
;
9385 static void *SwigwxMemoryDCTowxDC(void *ptr
) {
9388 src
= (wxMemoryDC
*) ptr
;
9389 dest
= (wxDC
*) src
;
9390 return (void *) dest
;
9393 static void *SwigwxMemoryDCTowxObject(void *ptr
) {
9396 src
= (wxMemoryDC
*) ptr
;
9397 dest
= (wxObject
*) src
;
9398 return (void *) dest
;
9401 #define new_wxMemoryDC() (new wxMemoryDC())
9402 static PyObject
*_wrap_new_wxMemoryDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9403 PyObject
* _resultobj
;
9404 wxMemoryDC
* _result
;
9405 char *_kwnames
[] = { NULL
};
9409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMemoryDC",_kwnames
))
9412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9413 _result
= (wxMemoryDC
*)new_wxMemoryDC();
9415 wxPyEndAllowThreads(__tstate
);
9416 if (PyErr_Occurred()) return NULL
;
9418 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
9419 _resultobj
= Py_BuildValue("s",_ptemp
);
9422 _resultobj
= Py_None
;
9427 #define wxMemoryDC_SelectObject(_swigobj,_swigarg0) (_swigobj->SelectObject(_swigarg0))
9428 static PyObject
*_wrap_wxMemoryDC_SelectObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9429 PyObject
* _resultobj
;
9432 PyObject
* _argo0
= 0;
9433 PyObject
* _argo1
= 0;
9434 char *_kwnames
[] = { "self","bitmap", NULL
};
9437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMemoryDC_SelectObject",_kwnames
,&_argo0
,&_argo1
))
9440 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9441 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMemoryDC_p")) {
9442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDC_SelectObject. Expected _wxMemoryDC_p.");
9447 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9448 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
9449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMemoryDC_SelectObject. Expected _wxBitmap_p.");
9454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9455 wxMemoryDC_SelectObject(_arg0
,*_arg1
);
9457 wxPyEndAllowThreads(__tstate
);
9458 if (PyErr_Occurred()) return NULL
;
9459 } Py_INCREF(Py_None
);
9460 _resultobj
= Py_None
;
9464 static void *SwigwxBufferedDCTowxMemoryDC(void *ptr
) {
9467 src
= (wxBufferedDC
*) ptr
;
9468 dest
= (wxMemoryDC
*) src
;
9469 return (void *) dest
;
9472 static void *SwigwxBufferedDCTowxDC(void *ptr
) {
9475 src
= (wxBufferedDC
*) ptr
;
9476 dest
= (wxDC
*) src
;
9477 return (void *) dest
;
9480 static void *SwigwxBufferedDCTowxObject(void *ptr
) {
9483 src
= (wxBufferedDC
*) ptr
;
9484 dest
= (wxObject
*) src
;
9485 return (void *) dest
;
9488 #define new_wxBufferedDC(_swigarg0,_swigarg1) (new wxBufferedDC(_swigarg0,_swigarg1))
9489 static PyObject
*_wrap_new_wxBufferedDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9490 PyObject
* _resultobj
;
9491 wxBufferedDC
* _result
;
9494 PyObject
* _argo0
= 0;
9495 PyObject
* _argo1
= 0;
9496 char *_kwnames
[] = { "dc","buffer", NULL
};
9500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxBufferedDC",_kwnames
,&_argo0
,&_argo1
))
9503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBufferedDC. Expected _wxDC_p.");
9510 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9511 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
9512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxBufferedDC. Expected _wxBitmap_p.");
9517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9518 _result
= (wxBufferedDC
*)new_wxBufferedDC(_arg0
,*_arg1
);
9520 wxPyEndAllowThreads(__tstate
);
9521 if (PyErr_Occurred()) return NULL
;
9523 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBufferedDC_p");
9524 _resultobj
= Py_BuildValue("s",_ptemp
);
9527 _resultobj
= Py_None
;
9532 #define new_wxBufferedDCInternalBuffer(_swigarg0,_swigarg1) (new wxBufferedDC(_swigarg0,_swigarg1))
9533 static PyObject
*_wrap_new_wxBufferedDCInternalBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9534 PyObject
* _resultobj
;
9535 wxBufferedDC
* _result
;
9538 PyObject
* _argo0
= 0;
9540 PyObject
* _obj1
= 0;
9541 char *_kwnames
[] = { "dc","area", NULL
};
9545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxBufferedDCInternalBuffer",_kwnames
,&_argo0
,&_obj1
))
9548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBufferedDCInternalBuffer. Expected _wxDC_p.");
9556 if (! wxSize_helper(_obj1
, &_arg1
))
9560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9561 _result
= (wxBufferedDC
*)new_wxBufferedDCInternalBuffer(_arg0
,*_arg1
);
9563 wxPyEndAllowThreads(__tstate
);
9564 if (PyErr_Occurred()) return NULL
;
9566 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBufferedDC_p");
9567 _resultobj
= Py_BuildValue("s",_ptemp
);
9570 _resultobj
= Py_None
;
9575 static void *SwigwxBufferedPaintDCTowxBufferedDC(void *ptr
) {
9576 wxBufferedPaintDC
*src
;
9578 src
= (wxBufferedPaintDC
*) ptr
;
9579 dest
= (wxBufferedDC
*) src
;
9580 return (void *) dest
;
9583 static void *SwigwxBufferedPaintDCTowxMemoryDC(void *ptr
) {
9584 wxBufferedPaintDC
*src
;
9586 src
= (wxBufferedPaintDC
*) ptr
;
9587 dest
= (wxMemoryDC
*) src
;
9588 return (void *) dest
;
9591 static void *SwigwxBufferedPaintDCTowxDC(void *ptr
) {
9592 wxBufferedPaintDC
*src
;
9594 src
= (wxBufferedPaintDC
*) ptr
;
9595 dest
= (wxDC
*) src
;
9596 return (void *) dest
;
9599 static void *SwigwxBufferedPaintDCTowxObject(void *ptr
) {
9600 wxBufferedPaintDC
*src
;
9602 src
= (wxBufferedPaintDC
*) ptr
;
9603 dest
= (wxObject
*) src
;
9604 return (void *) dest
;
9607 #define new_wxBufferedPaintDC(_swigarg0,_swigarg1) (new wxBufferedPaintDC(_swigarg0,_swigarg1))
9608 static PyObject
*_wrap_new_wxBufferedPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9609 PyObject
* _resultobj
;
9610 wxBufferedPaintDC
* _result
;
9612 wxBitmap
* _arg1
= (wxBitmap
*) &wxNullBitmap
;
9613 PyObject
* _argo0
= 0;
9614 PyObject
* _argo1
= 0;
9615 char *_kwnames
[] = { "window","buffer", NULL
};
9619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxBufferedPaintDC",_kwnames
,&_argo0
,&_argo1
))
9622 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9623 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBufferedPaintDC. Expected _wxWindow_p.");
9629 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9630 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
9631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxBufferedPaintDC. Expected _wxBitmap_p.");
9636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9637 _result
= (wxBufferedPaintDC
*)new_wxBufferedPaintDC(_arg0
,*_arg1
);
9639 wxPyEndAllowThreads(__tstate
);
9640 if (PyErr_Occurred()) return NULL
;
9642 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBufferedPaintDC_p");
9643 _resultobj
= Py_BuildValue("s",_ptemp
);
9646 _resultobj
= Py_None
;
9651 static void *SwigwxScreenDCTowxDC(void *ptr
) {
9654 src
= (wxScreenDC
*) ptr
;
9655 dest
= (wxDC
*) src
;
9656 return (void *) dest
;
9659 static void *SwigwxScreenDCTowxObject(void *ptr
) {
9662 src
= (wxScreenDC
*) ptr
;
9663 dest
= (wxObject
*) src
;
9664 return (void *) dest
;
9667 #define new_wxScreenDC() (new wxScreenDC())
9668 static PyObject
*_wrap_new_wxScreenDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9669 PyObject
* _resultobj
;
9670 wxScreenDC
* _result
;
9671 char *_kwnames
[] = { NULL
};
9675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxScreenDC",_kwnames
))
9678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9679 _result
= (wxScreenDC
*)new_wxScreenDC();
9681 wxPyEndAllowThreads(__tstate
);
9682 if (PyErr_Occurred()) return NULL
;
9684 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScreenDC_p");
9685 _resultobj
= Py_BuildValue("s",_ptemp
);
9688 _resultobj
= Py_None
;
9693 #define wxScreenDC_StartDrawingOnTopWin(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
9694 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTopWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9695 PyObject
* _resultobj
;
9699 PyObject
* _argo0
= 0;
9700 PyObject
* _argo1
= 0;
9701 char *_kwnames
[] = { "self","window", NULL
};
9704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScreenDC_StartDrawingOnTopWin",_kwnames
,&_argo0
,&_argo1
))
9707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
9709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTopWin. Expected _wxScreenDC_p.");
9714 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9715 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
9716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScreenDC_StartDrawingOnTopWin. Expected _wxWindow_p.");
9721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9722 _result
= (bool )wxScreenDC_StartDrawingOnTopWin(_arg0
,_arg1
);
9724 wxPyEndAllowThreads(__tstate
);
9725 if (PyErr_Occurred()) return NULL
;
9726 } _resultobj
= Py_BuildValue("i",_result
);
9730 #define wxScreenDC_StartDrawingOnTop(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
9731 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9732 PyObject
* _resultobj
;
9735 wxRect
* _arg1
= (wxRect
*) NULL
;
9736 PyObject
* _argo0
= 0;
9738 PyObject
* _obj1
= 0;
9739 char *_kwnames
[] = { "self","rect", NULL
};
9742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxScreenDC_StartDrawingOnTop",_kwnames
,&_argo0
,&_obj1
))
9745 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9746 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
9747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTop. Expected _wxScreenDC_p.");
9754 if (! wxRect_helper(_obj1
, &_arg1
))
9758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9759 _result
= (bool )wxScreenDC_StartDrawingOnTop(_arg0
,_arg1
);
9761 wxPyEndAllowThreads(__tstate
);
9762 if (PyErr_Occurred()) return NULL
;
9763 } _resultobj
= Py_BuildValue("i",_result
);
9767 #define wxScreenDC_EndDrawingOnTop(_swigobj) (_swigobj->EndDrawingOnTop())
9768 static PyObject
*_wrap_wxScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9769 PyObject
* _resultobj
;
9772 PyObject
* _argo0
= 0;
9773 char *_kwnames
[] = { "self", NULL
};
9776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScreenDC_EndDrawingOnTop",_kwnames
,&_argo0
))
9779 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9780 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
9781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_EndDrawingOnTop. Expected _wxScreenDC_p.");
9786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9787 _result
= (bool )wxScreenDC_EndDrawingOnTop(_arg0
);
9789 wxPyEndAllowThreads(__tstate
);
9790 if (PyErr_Occurred()) return NULL
;
9791 } _resultobj
= Py_BuildValue("i",_result
);
9795 static void *SwigwxClientDCTowxDC(void *ptr
) {
9798 src
= (wxClientDC
*) ptr
;
9799 dest
= (wxDC
*) src
;
9800 return (void *) dest
;
9803 static void *SwigwxClientDCTowxObject(void *ptr
) {
9806 src
= (wxClientDC
*) ptr
;
9807 dest
= (wxObject
*) src
;
9808 return (void *) dest
;
9811 #define new_wxClientDC(_swigarg0) (new wxClientDC(_swigarg0))
9812 static PyObject
*_wrap_new_wxClientDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9813 PyObject
* _resultobj
;
9814 wxClientDC
* _result
;
9816 PyObject
* _argo0
= 0;
9817 char *_kwnames
[] = { "win", NULL
};
9821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxClientDC",_kwnames
,&_argo0
))
9824 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9825 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxClientDC. Expected _wxWindow_p.");
9831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9832 _result
= (wxClientDC
*)new_wxClientDC(_arg0
);
9834 wxPyEndAllowThreads(__tstate
);
9835 if (PyErr_Occurred()) return NULL
;
9837 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxClientDC_p");
9838 _resultobj
= Py_BuildValue("s",_ptemp
);
9841 _resultobj
= Py_None
;
9846 static void *SwigwxPaintDCTowxDC(void *ptr
) {
9849 src
= (wxPaintDC
*) ptr
;
9850 dest
= (wxDC
*) src
;
9851 return (void *) dest
;
9854 static void *SwigwxPaintDCTowxObject(void *ptr
) {
9857 src
= (wxPaintDC
*) ptr
;
9858 dest
= (wxObject
*) src
;
9859 return (void *) dest
;
9862 #define new_wxPaintDC(_swigarg0) (new wxPaintDC(_swigarg0))
9863 static PyObject
*_wrap_new_wxPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9864 PyObject
* _resultobj
;
9865 wxPaintDC
* _result
;
9867 PyObject
* _argo0
= 0;
9868 char *_kwnames
[] = { "win", NULL
};
9872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPaintDC",_kwnames
,&_argo0
))
9875 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9876 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPaintDC. Expected _wxWindow_p.");
9882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9883 _result
= (wxPaintDC
*)new_wxPaintDC(_arg0
);
9885 wxPyEndAllowThreads(__tstate
);
9886 if (PyErr_Occurred()) return NULL
;
9888 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPaintDC_p");
9889 _resultobj
= Py_BuildValue("s",_ptemp
);
9892 _resultobj
= Py_None
;
9897 static void *SwigwxWindowDCTowxDC(void *ptr
) {
9900 src
= (wxWindowDC
*) ptr
;
9901 dest
= (wxDC
*) src
;
9902 return (void *) dest
;
9905 static void *SwigwxWindowDCTowxObject(void *ptr
) {
9908 src
= (wxWindowDC
*) ptr
;
9909 dest
= (wxObject
*) src
;
9910 return (void *) dest
;
9913 #define new_wxWindowDC(_swigarg0) (new wxWindowDC(_swigarg0))
9914 static PyObject
*_wrap_new_wxWindowDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9915 PyObject
* _resultobj
;
9916 wxWindowDC
* _result
;
9918 PyObject
* _argo0
= 0;
9919 char *_kwnames
[] = { "win", NULL
};
9923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxWindowDC",_kwnames
,&_argo0
))
9926 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9927 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDC. Expected _wxWindow_p.");
9933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9934 _result
= (wxWindowDC
*)new_wxWindowDC(_arg0
);
9936 wxPyEndAllowThreads(__tstate
);
9937 if (PyErr_Occurred()) return NULL
;
9939 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDC_p");
9940 _resultobj
= Py_BuildValue("s",_ptemp
);
9943 _resultobj
= Py_None
;
9948 static void *SwigwxPaletteTowxGDIObject(void *ptr
) {
9951 src
= (wxPalette
*) ptr
;
9952 dest
= (wxGDIObject
*) src
;
9953 return (void *) dest
;
9956 static void *SwigwxPaletteTowxObject(void *ptr
) {
9959 src
= (wxPalette
*) ptr
;
9960 dest
= (wxObject
*) src
;
9961 return (void *) dest
;
9964 #define new_wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9965 static PyObject
*_wrap_new_wxPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9966 PyObject
* _resultobj
;
9967 wxPalette
* _result
;
9972 PyObject
* _obj1
= 0;
9973 PyObject
* _obj2
= 0;
9974 PyObject
* _obj3
= 0;
9975 char *_kwnames
[] = { "choices","choices","choices", NULL
};
9979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:new_wxPalette",_kwnames
,&_obj1
,&_obj2
,&_obj3
))
9982 _arg1
= byte_LIST_helper(_obj1
);
9983 if (_arg1
== NULL
) {
9988 _arg2
= byte_LIST_helper(_obj2
);
9989 if (_arg2
== NULL
) {
9995 _arg3
= byte_LIST_helper(_obj3
);
9996 if (_arg3
== NULL
) {
10002 _arg0
= PyList_Size(_obj1
);
10009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10010 _result
= (wxPalette
*)new_wxPalette(_arg0
,_arg1
,_arg2
,_arg3
);
10012 wxPyEndAllowThreads(__tstate
);
10013 if (PyErr_Occurred()) return NULL
;
10015 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPalette_p");
10016 _resultobj
= Py_BuildValue("s",_ptemp
);
10018 Py_INCREF(Py_None
);
10019 _resultobj
= Py_None
;
10033 #define delete_wxPalette(_swigobj) (delete _swigobj)
10034 static PyObject
*_wrap_delete_wxPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10035 PyObject
* _resultobj
;
10037 PyObject
* _argo0
= 0;
10038 char *_kwnames
[] = { "self", NULL
};
10041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPalette",_kwnames
,&_argo0
))
10044 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10045 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
10046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPalette. Expected _wxPalette_p.");
10051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10052 delete_wxPalette(_arg0
);
10054 wxPyEndAllowThreads(__tstate
);
10055 if (PyErr_Occurred()) return NULL
;
10056 } Py_INCREF(Py_None
);
10057 _resultobj
= Py_None
;
10061 #define wxPalette_GetPixel(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetPixel(_swigarg0,_swigarg1,_swigarg2))
10062 static PyObject
*_wrap_wxPalette_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10063 PyObject
* _resultobj
;
10069 PyObject
* _argo0
= 0;
10070 char *_kwnames
[] = { "self","red","green","blue", NULL
};
10073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Obbb:wxPalette_GetPixel",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
10076 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10077 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
10078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetPixel. Expected _wxPalette_p.");
10083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10084 _result
= (int )wxPalette_GetPixel(_arg0
,_arg1
,_arg2
,_arg3
);
10086 wxPyEndAllowThreads(__tstate
);
10087 if (PyErr_Occurred()) return NULL
;
10088 } _resultobj
= Py_BuildValue("i",_result
);
10092 #define wxPalette_GetRGB(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetRGB(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10093 static PyObject
*_wrap_wxPalette_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10094 PyObject
* _resultobj
;
10104 PyObject
* _argo0
= 0;
10105 char *_kwnames
[] = { "self","pixel", NULL
};
10109 _arg2
= (byte
*)&temp
;
10112 _arg3
= (byte
*)&temp0
;
10115 _arg4
= (byte
*)&temp1
;
10117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPalette_GetRGB",_kwnames
,&_argo0
,&_arg1
))
10120 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10121 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
10122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetRGB. Expected _wxPalette_p.");
10127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10128 _result
= (bool )wxPalette_GetRGB(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
10130 wxPyEndAllowThreads(__tstate
);
10131 if (PyErr_Occurred()) return NULL
;
10132 } _resultobj
= Py_BuildValue("i",_result
);
10135 o
= PyInt_FromLong((long) (*_arg2
));
10136 _resultobj
= t_output_helper(_resultobj
, o
);
10140 o
= PyInt_FromLong((long) (*_arg3
));
10141 _resultobj
= t_output_helper(_resultobj
, o
);
10145 o
= PyInt_FromLong((long) (*_arg4
));
10146 _resultobj
= t_output_helper(_resultobj
, o
);
10151 #define wxPalette_Ok(_swigobj) (_swigobj->Ok())
10152 static PyObject
*_wrap_wxPalette_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10153 PyObject
* _resultobj
;
10156 PyObject
* _argo0
= 0;
10157 char *_kwnames
[] = { "self", NULL
};
10160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPalette_Ok",_kwnames
,&_argo0
))
10163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
10165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_Ok. Expected _wxPalette_p.");
10170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10171 _result
= (bool )wxPalette_Ok(_arg0
);
10173 wxPyEndAllowThreads(__tstate
);
10174 if (PyErr_Occurred()) return NULL
;
10175 } _resultobj
= Py_BuildValue("i",_result
);
10179 static void *SwigwxImageListTowxObject(void *ptr
) {
10182 src
= (wxImageList
*) ptr
;
10183 dest
= (wxObject
*) src
;
10184 return (void *) dest
;
10187 #define new_wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10188 static PyObject
*_wrap_new_wxImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10189 PyObject
* _resultobj
;
10190 wxImageList
* _result
;
10193 int _arg2
= (int ) TRUE
;
10194 int _arg3
= (int ) 1;
10195 char *_kwnames
[] = { "width","height","mask","initialCount", NULL
};
10199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ii|ii:new_wxImageList",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
10202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10203 _result
= (wxImageList
*)new_wxImageList(_arg0
,_arg1
,_arg2
,_arg3
);
10205 wxPyEndAllowThreads(__tstate
);
10206 if (PyErr_Occurred()) return NULL
;
10208 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
10209 _resultobj
= Py_BuildValue("s",_ptemp
);
10211 Py_INCREF(Py_None
);
10212 _resultobj
= Py_None
;
10217 #define delete_wxImageList(_swigobj) (delete _swigobj)
10218 static PyObject
*_wrap_delete_wxImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10219 PyObject
* _resultobj
;
10220 wxImageList
* _arg0
;
10221 PyObject
* _argo0
= 0;
10222 char *_kwnames
[] = { "self", NULL
};
10225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxImageList",_kwnames
,&_argo0
))
10228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxImageList. Expected _wxImageList_p.");
10235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10236 delete_wxImageList(_arg0
);
10238 wxPyEndAllowThreads(__tstate
);
10239 if (PyErr_Occurred()) return NULL
;
10240 } Py_INCREF(Py_None
);
10241 _resultobj
= Py_None
;
10245 #define wxImageList_Add(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
10246 static PyObject
*_wrap_wxImageList_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10247 PyObject
* _resultobj
;
10249 wxImageList
* _arg0
;
10251 wxBitmap
* _arg2
= (wxBitmap
*) &wxNullBitmap
;
10252 PyObject
* _argo0
= 0;
10253 PyObject
* _argo1
= 0;
10254 PyObject
* _argo2
= 0;
10255 char *_kwnames
[] = { "self","bitmap","mask", NULL
};
10258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxImageList_Add",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
10261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Add. Expected _wxImageList_p.");
10268 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10269 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
10270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_Add. Expected _wxBitmap_p.");
10275 if (_argo2
== Py_None
) { _arg2
= NULL
; }
10276 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
10277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Add. Expected _wxBitmap_p.");
10282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10283 _result
= (int )wxImageList_Add(_arg0
,*_arg1
,*_arg2
);
10285 wxPyEndAllowThreads(__tstate
);
10286 if (PyErr_Occurred()) return NULL
;
10287 } _resultobj
= Py_BuildValue("i",_result
);
10291 #define wxImageList_AddWithColourMask(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
10292 static PyObject
*_wrap_wxImageList_AddWithColourMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10293 PyObject
* _resultobj
;
10295 wxImageList
* _arg0
;
10298 PyObject
* _argo0
= 0;
10299 PyObject
* _argo1
= 0;
10301 PyObject
* _obj2
= 0;
10302 char *_kwnames
[] = { "self","bitmap","maskColour", NULL
};
10305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxImageList_AddWithColourMask",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
10308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_AddWithColourMask. Expected _wxImageList_p.");
10315 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10316 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
10317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_AddWithColourMask. Expected _wxBitmap_p.");
10323 if (! wxColour_helper(_obj2
, &_arg2
))
10327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10328 _result
= (int )wxImageList_AddWithColourMask(_arg0
,*_arg1
,*_arg2
);
10330 wxPyEndAllowThreads(__tstate
);
10331 if (PyErr_Occurred()) return NULL
;
10332 } _resultobj
= Py_BuildValue("i",_result
);
10336 #define wxImageList_AddIcon(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
10337 static PyObject
*_wrap_wxImageList_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10338 PyObject
* _resultobj
;
10340 wxImageList
* _arg0
;
10342 PyObject
* _argo0
= 0;
10343 PyObject
* _argo1
= 0;
10344 char *_kwnames
[] = { "self","icon", NULL
};
10347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxImageList_AddIcon",_kwnames
,&_argo0
,&_argo1
))
10350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_AddIcon. Expected _wxImageList_p.");
10357 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10358 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
10359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_AddIcon. Expected _wxIcon_p.");
10364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10365 _result
= (int )wxImageList_AddIcon(_arg0
,*_arg1
);
10367 wxPyEndAllowThreads(__tstate
);
10368 if (PyErr_Occurred()) return NULL
;
10369 } _resultobj
= Py_BuildValue("i",_result
);
10373 #define wxImageList_Replace(_swigobj,_swigarg0,_swigarg1) (_swigobj->Replace(_swigarg0,_swigarg1))
10374 static PyObject
*_wrap_wxImageList_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10375 PyObject
* _resultobj
;
10377 wxImageList
* _arg0
;
10380 PyObject
* _argo0
= 0;
10381 PyObject
* _argo2
= 0;
10382 char *_kwnames
[] = { "self","index","bitmap", NULL
};
10385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxImageList_Replace",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
10388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Replace. Expected _wxImageList_p.");
10395 if (_argo2
== Py_None
) { _arg2
= NULL
; }
10396 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
10397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Replace. Expected _wxBitmap_p.");
10402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10403 _result
= (bool )wxImageList_Replace(_arg0
,_arg1
,*_arg2
);
10405 wxPyEndAllowThreads(__tstate
);
10406 if (PyErr_Occurred()) return NULL
;
10407 } _resultobj
= Py_BuildValue("i",_result
);
10411 #define wxImageList_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
10412 static PyObject
*_wrap_wxImageList_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10413 PyObject
* _resultobj
;
10415 wxImageList
* _arg0
;
10420 int _arg5
= (int ) (wxIMAGELIST_DRAW_NORMAL
);
10421 bool _arg6
= (bool ) FALSE
;
10422 PyObject
* _argo0
= 0;
10423 PyObject
* _argo2
= 0;
10424 int tempbool6
= (int) FALSE
;
10425 char *_kwnames
[] = { "self","index","dc","x","x","flags","solidBackground", NULL
};
10428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOii|ii:wxImageList_Draw",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
10431 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10432 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Draw. Expected _wxImageList_p.");
10438 if (_argo2
== Py_None
) { _arg2
= NULL
; }
10439 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDC_p")) {
10440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Draw. Expected _wxDC_p.");
10444 _arg6
= (bool ) tempbool6
;
10446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10447 _result
= (bool )wxImageList_Draw(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
10449 wxPyEndAllowThreads(__tstate
);
10450 if (PyErr_Occurred()) return NULL
;
10451 } _resultobj
= Py_BuildValue("i",_result
);
10455 #define wxImageList_GetImageCount(_swigobj) (_swigobj->GetImageCount())
10456 static PyObject
*_wrap_wxImageList_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10457 PyObject
* _resultobj
;
10459 wxImageList
* _arg0
;
10460 PyObject
* _argo0
= 0;
10461 char *_kwnames
[] = { "self", NULL
};
10464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxImageList_GetImageCount",_kwnames
,&_argo0
))
10467 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10468 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_GetImageCount. Expected _wxImageList_p.");
10474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10475 _result
= (int )wxImageList_GetImageCount(_arg0
);
10477 wxPyEndAllowThreads(__tstate
);
10478 if (PyErr_Occurred()) return NULL
;
10479 } _resultobj
= Py_BuildValue("i",_result
);
10483 #define wxImageList_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
10484 static PyObject
*_wrap_wxImageList_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10485 PyObject
* _resultobj
;
10487 wxImageList
* _arg0
;
10489 PyObject
* _argo0
= 0;
10490 char *_kwnames
[] = { "self","index", NULL
};
10493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxImageList_Remove",_kwnames
,&_argo0
,&_arg1
))
10496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Remove. Expected _wxImageList_p.");
10503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10504 _result
= (bool )wxImageList_Remove(_arg0
,_arg1
);
10506 wxPyEndAllowThreads(__tstate
);
10507 if (PyErr_Occurred()) return NULL
;
10508 } _resultobj
= Py_BuildValue("i",_result
);
10512 #define wxImageList_RemoveAll(_swigobj) (_swigobj->RemoveAll())
10513 static PyObject
*_wrap_wxImageList_RemoveAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10514 PyObject
* _resultobj
;
10516 wxImageList
* _arg0
;
10517 PyObject
* _argo0
= 0;
10518 char *_kwnames
[] = { "self", NULL
};
10521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxImageList_RemoveAll",_kwnames
,&_argo0
))
10524 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10525 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_RemoveAll. Expected _wxImageList_p.");
10531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10532 _result
= (bool )wxImageList_RemoveAll(_arg0
);
10534 wxPyEndAllowThreads(__tstate
);
10535 if (PyErr_Occurred()) return NULL
;
10536 } _resultobj
= Py_BuildValue("i",_result
);
10540 #define wxImageList_GetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetSize(_swigarg0,_swigarg1,_swigarg2))
10541 static PyObject
*_wrap_wxImageList_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10542 PyObject
* _resultobj
;
10543 wxImageList
* _arg0
;
10549 PyObject
* _argo0
= 0;
10550 char *_kwnames
[] = { "self","index", NULL
};
10559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxImageList_GetSize",_kwnames
,&_argo0
,&_arg1
))
10562 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10563 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_GetSize. Expected _wxImageList_p.");
10569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10570 wxImageList_GetSize(_arg0
,_arg1
,*_arg2
,*_arg3
);
10572 wxPyEndAllowThreads(__tstate
);
10573 if (PyErr_Occurred()) return NULL
;
10574 } Py_INCREF(Py_None
);
10575 _resultobj
= Py_None
;
10578 o
= PyInt_FromLong((long) (*_arg2
));
10579 _resultobj
= t_output_helper(_resultobj
, o
);
10583 o
= PyInt_FromLong((long) (*_arg3
));
10584 _resultobj
= t_output_helper(_resultobj
, o
);
10589 static void *SwigwxRegionTowxGDIObject(void *ptr
) {
10592 src
= (wxRegion
*) ptr
;
10593 dest
= (wxGDIObject
*) src
;
10594 return (void *) dest
;
10597 static void *SwigwxRegionTowxObject(void *ptr
) {
10600 src
= (wxRegion
*) ptr
;
10601 dest
= (wxObject
*) src
;
10602 return (void *) dest
;
10605 #define new_wxRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10606 static PyObject
*_wrap_new_wxRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10607 PyObject
* _resultobj
;
10608 wxRegion
* _result
;
10609 long _arg0
= (long ) 0;
10610 long _arg1
= (long ) 0;
10611 long _arg2
= (long ) 0;
10612 long _arg3
= (long ) 0;
10613 char *_kwnames
[] = { "x","y","width","height", NULL
};
10617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|llll:new_wxRegion",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
10620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10621 _result
= (wxRegion
*)new_wxRegion(_arg0
,_arg1
,_arg2
,_arg3
);
10623 wxPyEndAllowThreads(__tstate
);
10624 if (PyErr_Occurred()) return NULL
;
10626 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegion_p");
10627 _resultobj
= Py_BuildValue("s",_ptemp
);
10629 Py_INCREF(Py_None
);
10630 _resultobj
= Py_None
;
10635 #define delete_wxRegion(_swigobj) (delete _swigobj)
10636 static PyObject
*_wrap_delete_wxRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10637 PyObject
* _resultobj
;
10639 PyObject
* _argo0
= 0;
10640 char *_kwnames
[] = { "self", NULL
};
10643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRegion",_kwnames
,&_argo0
))
10646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegion. Expected _wxRegion_p.");
10653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10654 delete_wxRegion(_arg0
);
10656 wxPyEndAllowThreads(__tstate
);
10657 if (PyErr_Occurred()) return NULL
;
10658 } Py_INCREF(Py_None
);
10659 _resultobj
= Py_None
;
10663 #define wxRegion_Clear(_swigobj) (_swigobj->Clear())
10664 static PyObject
*_wrap_wxRegion_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10665 PyObject
* _resultobj
;
10667 PyObject
* _argo0
= 0;
10668 char *_kwnames
[] = { "self", NULL
};
10671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_Clear",_kwnames
,&_argo0
))
10674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Clear. Expected _wxRegion_p.");
10681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10682 wxRegion_Clear(_arg0
);
10684 wxPyEndAllowThreads(__tstate
);
10685 if (PyErr_Occurred()) return NULL
;
10686 } Py_INCREF(Py_None
);
10687 _resultobj
= Py_None
;
10691 #define wxRegion_Offset(_swigobj,_swigarg0,_swigarg1) (_swigobj->Offset(_swigarg0,_swigarg1))
10692 static PyObject
*_wrap_wxRegion_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10693 PyObject
* _resultobj
;
10698 PyObject
* _argo0
= 0;
10699 char *_kwnames
[] = { "self","x","y", NULL
};
10702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRegion_Offset",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Offset. Expected _wxRegion_p.");
10712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10713 _result
= (bool )wxRegion_Offset(_arg0
,_arg1
,_arg2
);
10715 wxPyEndAllowThreads(__tstate
);
10716 if (PyErr_Occurred()) return NULL
;
10717 } _resultobj
= Py_BuildValue("i",_result
);
10721 #define wxRegion_Contains(_swigobj,_swigarg0,_swigarg1) (_swigobj->Contains(_swigarg0,_swigarg1))
10722 static PyObject
*_wrap_wxRegion_Contains(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10723 PyObject
* _resultobj
;
10724 wxRegionContain _result
;
10728 PyObject
* _argo0
= 0;
10729 char *_kwnames
[] = { "self","x","y", NULL
};
10732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxRegion_Contains",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10735 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10736 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Contains. Expected _wxRegion_p.");
10742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10743 _result
= (wxRegionContain
)wxRegion_Contains(_arg0
,_arg1
,_arg2
);
10745 wxPyEndAllowThreads(__tstate
);
10746 if (PyErr_Occurred()) return NULL
;
10747 } _resultobj
= Py_BuildValue("i",_result
);
10751 #define wxRegion_ContainsPoint(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
10752 static PyObject
*_wrap_wxRegion_ContainsPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10753 PyObject
* _resultobj
;
10754 wxRegionContain _result
;
10757 PyObject
* _argo0
= 0;
10759 PyObject
* _obj1
= 0;
10760 char *_kwnames
[] = { "self","pt", NULL
};
10763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_ContainsPoint",_kwnames
,&_argo0
,&_obj1
))
10766 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10767 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsPoint. Expected _wxRegion_p.");
10774 if (! wxPoint_helper(_obj1
, &_arg1
))
10778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10779 _result
= (wxRegionContain
)wxRegion_ContainsPoint(_arg0
,*_arg1
);
10781 wxPyEndAllowThreads(__tstate
);
10782 if (PyErr_Occurred()) return NULL
;
10783 } _resultobj
= Py_BuildValue("i",_result
);
10787 #define wxRegion_ContainsRect(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
10788 static PyObject
*_wrap_wxRegion_ContainsRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10789 PyObject
* _resultobj
;
10790 wxRegionContain _result
;
10793 PyObject
* _argo0
= 0;
10795 PyObject
* _obj1
= 0;
10796 char *_kwnames
[] = { "self","rect", NULL
};
10799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_ContainsRect",_kwnames
,&_argo0
,&_obj1
))
10802 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10803 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsRect. Expected _wxRegion_p.");
10810 if (! wxRect_helper(_obj1
, &_arg1
))
10814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10815 _result
= (wxRegionContain
)wxRegion_ContainsRect(_arg0
,*_arg1
);
10817 wxPyEndAllowThreads(__tstate
);
10818 if (PyErr_Occurred()) return NULL
;
10819 } _resultobj
= Py_BuildValue("i",_result
);
10823 #define wxRegion_ContainsRectDim(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Contains(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10824 static PyObject
*_wrap_wxRegion_ContainsRectDim(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10825 PyObject
* _resultobj
;
10826 wxRegionContain _result
;
10832 PyObject
* _argo0
= 0;
10833 char *_kwnames
[] = { "self","x","y","w","h", NULL
};
10836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_ContainsRectDim",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
10839 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10840 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsRectDim. Expected _wxRegion_p.");
10846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10847 _result
= (wxRegionContain
)wxRegion_ContainsRectDim(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
10849 wxPyEndAllowThreads(__tstate
);
10850 if (PyErr_Occurred()) return NULL
;
10851 } _resultobj
= Py_BuildValue("i",_result
);
10855 #define wxRegion_GetBox(_swigobj) (_swigobj->GetBox())
10856 static PyObject
*_wrap_wxRegion_GetBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10857 PyObject
* _resultobj
;
10860 PyObject
* _argo0
= 0;
10861 char *_kwnames
[] = { "self", NULL
};
10865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_GetBox",_kwnames
,&_argo0
))
10868 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10869 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_GetBox. Expected _wxRegion_p.");
10875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10876 _result
= new wxRect (wxRegion_GetBox(_arg0
));
10878 wxPyEndAllowThreads(__tstate
);
10879 if (PyErr_Occurred()) return NULL
;
10880 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
10881 _resultobj
= Py_BuildValue("s",_ptemp
);
10885 #define wxRegion_Intersect(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Intersect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10886 static PyObject
*_wrap_wxRegion_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10887 PyObject
* _resultobj
;
10894 PyObject
* _argo0
= 0;
10895 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
10898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Intersect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
10901 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10902 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Intersect. Expected _wxRegion_p.");
10908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10909 _result
= (bool )wxRegion_Intersect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
10911 wxPyEndAllowThreads(__tstate
);
10912 if (PyErr_Occurred()) return NULL
;
10913 } _resultobj
= Py_BuildValue("i",_result
);
10917 #define wxRegion_IntersectRect(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
10918 static PyObject
*_wrap_wxRegion_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10919 PyObject
* _resultobj
;
10923 PyObject
* _argo0
= 0;
10925 PyObject
* _obj1
= 0;
10926 char *_kwnames
[] = { "self","rect", NULL
};
10929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_IntersectRect",_kwnames
,&_argo0
,&_obj1
))
10932 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10933 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IntersectRect. Expected _wxRegion_p.");
10940 if (! wxRect_helper(_obj1
, &_arg1
))
10944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10945 _result
= (bool )wxRegion_IntersectRect(_arg0
,*_arg1
);
10947 wxPyEndAllowThreads(__tstate
);
10948 if (PyErr_Occurred()) return NULL
;
10949 } _resultobj
= Py_BuildValue("i",_result
);
10953 #define wxRegion_IntersectRegion(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
10954 static PyObject
*_wrap_wxRegion_IntersectRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10955 PyObject
* _resultobj
;
10959 PyObject
* _argo0
= 0;
10960 PyObject
* _argo1
= 0;
10961 char *_kwnames
[] = { "self","region", NULL
};
10964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_IntersectRegion",_kwnames
,&_argo0
,&_argo1
))
10967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IntersectRegion. Expected _wxRegion_p.");
10974 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10975 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
10976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_IntersectRegion. Expected _wxRegion_p.");
10981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10982 _result
= (bool )wxRegion_IntersectRegion(_arg0
,*_arg1
);
10984 wxPyEndAllowThreads(__tstate
);
10985 if (PyErr_Occurred()) return NULL
;
10986 } _resultobj
= Py_BuildValue("i",_result
);
10990 #define wxRegion_IsEmpty(_swigobj) (_swigobj->IsEmpty())
10991 static PyObject
*_wrap_wxRegion_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10992 PyObject
* _resultobj
;
10995 PyObject
* _argo0
= 0;
10996 char *_kwnames
[] = { "self", NULL
};
10999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_IsEmpty",_kwnames
,&_argo0
))
11002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IsEmpty. Expected _wxRegion_p.");
11009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11010 _result
= (bool )wxRegion_IsEmpty(_arg0
);
11012 wxPyEndAllowThreads(__tstate
);
11013 if (PyErr_Occurred()) return NULL
;
11014 } _resultobj
= Py_BuildValue("i",_result
);
11018 #define wxRegion_Union(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Union(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11019 static PyObject
*_wrap_wxRegion_Union(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11020 PyObject
* _resultobj
;
11027 PyObject
* _argo0
= 0;
11028 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
11031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Union",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
11034 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11035 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11036 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Union. Expected _wxRegion_p.");
11041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11042 _result
= (bool )wxRegion_Union(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
11044 wxPyEndAllowThreads(__tstate
);
11045 if (PyErr_Occurred()) return NULL
;
11046 } _resultobj
= Py_BuildValue("i",_result
);
11050 #define wxRegion_UnionRect(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
11051 static PyObject
*_wrap_wxRegion_UnionRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11052 PyObject
* _resultobj
;
11056 PyObject
* _argo0
= 0;
11058 PyObject
* _obj1
= 0;
11059 char *_kwnames
[] = { "self","rect", NULL
};
11062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_UnionRect",_kwnames
,&_argo0
,&_obj1
))
11065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_UnionRect. Expected _wxRegion_p.");
11073 if (! wxRect_helper(_obj1
, &_arg1
))
11077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11078 _result
= (bool )wxRegion_UnionRect(_arg0
,*_arg1
);
11080 wxPyEndAllowThreads(__tstate
);
11081 if (PyErr_Occurred()) return NULL
;
11082 } _resultobj
= Py_BuildValue("i",_result
);
11086 #define wxRegion_UnionRegion(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
11087 static PyObject
*_wrap_wxRegion_UnionRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11088 PyObject
* _resultobj
;
11092 PyObject
* _argo0
= 0;
11093 PyObject
* _argo1
= 0;
11094 char *_kwnames
[] = { "self","region", NULL
};
11097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_UnionRegion",_kwnames
,&_argo0
,&_argo1
))
11100 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11101 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_UnionRegion. Expected _wxRegion_p.");
11107 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11108 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
11109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_UnionRegion. Expected _wxRegion_p.");
11114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11115 _result
= (bool )wxRegion_UnionRegion(_arg0
,*_arg1
);
11117 wxPyEndAllowThreads(__tstate
);
11118 if (PyErr_Occurred()) return NULL
;
11119 } _resultobj
= Py_BuildValue("i",_result
);
11123 #define wxRegion_Subtract(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Subtract(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11124 static PyObject
*_wrap_wxRegion_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11125 PyObject
* _resultobj
;
11132 PyObject
* _argo0
= 0;
11133 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
11136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Subtract",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
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_Subtract. Expected _wxRegion_p.");
11146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11147 _result
= (bool )wxRegion_Subtract(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
11149 wxPyEndAllowThreads(__tstate
);
11150 if (PyErr_Occurred()) return NULL
;
11151 } _resultobj
= Py_BuildValue("i",_result
);
11155 #define wxRegion_SubtractRect(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
11156 static PyObject
*_wrap_wxRegion_SubtractRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11157 PyObject
* _resultobj
;
11161 PyObject
* _argo0
= 0;
11163 PyObject
* _obj1
= 0;
11164 char *_kwnames
[] = { "self","rect", NULL
};
11167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_SubtractRect",_kwnames
,&_argo0
,&_obj1
))
11170 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11171 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_SubtractRect. Expected _wxRegion_p.");
11178 if (! wxRect_helper(_obj1
, &_arg1
))
11182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11183 _result
= (bool )wxRegion_SubtractRect(_arg0
,*_arg1
);
11185 wxPyEndAllowThreads(__tstate
);
11186 if (PyErr_Occurred()) return NULL
;
11187 } _resultobj
= Py_BuildValue("i",_result
);
11191 #define wxRegion_SubtractRegion(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
11192 static PyObject
*_wrap_wxRegion_SubtractRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11193 PyObject
* _resultobj
;
11197 PyObject
* _argo0
= 0;
11198 PyObject
* _argo1
= 0;
11199 char *_kwnames
[] = { "self","region", NULL
};
11202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_SubtractRegion",_kwnames
,&_argo0
,&_argo1
))
11205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_SubtractRegion. Expected _wxRegion_p.");
11212 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11213 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
11214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_SubtractRegion. Expected _wxRegion_p.");
11219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11220 _result
= (bool )wxRegion_SubtractRegion(_arg0
,*_arg1
);
11222 wxPyEndAllowThreads(__tstate
);
11223 if (PyErr_Occurred()) return NULL
;
11224 } _resultobj
= Py_BuildValue("i",_result
);
11228 #define wxRegion_Xor(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Xor(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11229 static PyObject
*_wrap_wxRegion_Xor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11230 PyObject
* _resultobj
;
11237 PyObject
* _argo0
= 0;
11238 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
11241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Xor",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
11244 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11245 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Xor. Expected _wxRegion_p.");
11251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11252 _result
= (bool )wxRegion_Xor(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
11254 wxPyEndAllowThreads(__tstate
);
11255 if (PyErr_Occurred()) return NULL
;
11256 } _resultobj
= Py_BuildValue("i",_result
);
11260 #define wxRegion_XorRect(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
11261 static PyObject
*_wrap_wxRegion_XorRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11262 PyObject
* _resultobj
;
11266 PyObject
* _argo0
= 0;
11268 PyObject
* _obj1
= 0;
11269 char *_kwnames
[] = { "self","rect", NULL
};
11272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_XorRect",_kwnames
,&_argo0
,&_obj1
))
11275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_XorRect. Expected _wxRegion_p.");
11283 if (! wxRect_helper(_obj1
, &_arg1
))
11287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11288 _result
= (bool )wxRegion_XorRect(_arg0
,*_arg1
);
11290 wxPyEndAllowThreads(__tstate
);
11291 if (PyErr_Occurred()) return NULL
;
11292 } _resultobj
= Py_BuildValue("i",_result
);
11296 #define wxRegion_XorRegion(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
11297 static PyObject
*_wrap_wxRegion_XorRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11298 PyObject
* _resultobj
;
11302 PyObject
* _argo0
= 0;
11303 PyObject
* _argo1
= 0;
11304 char *_kwnames
[] = { "self","region", NULL
};
11307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_XorRegion",_kwnames
,&_argo0
,&_argo1
))
11310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_XorRegion. Expected _wxRegion_p.");
11317 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11318 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
11319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_XorRegion. Expected _wxRegion_p.");
11324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11325 _result
= (bool )wxRegion_XorRegion(_arg0
,*_arg1
);
11327 wxPyEndAllowThreads(__tstate
);
11328 if (PyErr_Occurred()) return NULL
;
11329 } _resultobj
= Py_BuildValue("i",_result
);
11333 static void *SwigwxRegionIteratorTowxObject(void *ptr
) {
11334 wxRegionIterator
*src
;
11336 src
= (wxRegionIterator
*) ptr
;
11337 dest
= (wxObject
*) src
;
11338 return (void *) dest
;
11341 #define new_wxRegionIterator(_swigarg0) (new wxRegionIterator(_swigarg0))
11342 static PyObject
*_wrap_new_wxRegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11343 PyObject
* _resultobj
;
11344 wxRegionIterator
* _result
;
11346 PyObject
* _argo0
= 0;
11347 char *_kwnames
[] = { "region", NULL
};
11351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxRegionIterator",_kwnames
,&_argo0
))
11354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRegionIterator. Expected _wxRegion_p.");
11361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11362 _result
= (wxRegionIterator
*)new_wxRegionIterator(*_arg0
);
11364 wxPyEndAllowThreads(__tstate
);
11365 if (PyErr_Occurred()) return NULL
;
11367 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegionIterator_p");
11368 _resultobj
= Py_BuildValue("s",_ptemp
);
11370 Py_INCREF(Py_None
);
11371 _resultobj
= Py_None
;
11376 #define delete_wxRegionIterator(_swigobj) (delete _swigobj)
11377 static PyObject
*_wrap_delete_wxRegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11378 PyObject
* _resultobj
;
11379 wxRegionIterator
* _arg0
;
11380 PyObject
* _argo0
= 0;
11381 char *_kwnames
[] = { "self", NULL
};
11384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRegionIterator",_kwnames
,&_argo0
))
11387 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11388 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegionIterator. Expected _wxRegionIterator_p.");
11394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11395 delete_wxRegionIterator(_arg0
);
11397 wxPyEndAllowThreads(__tstate
);
11398 if (PyErr_Occurred()) return NULL
;
11399 } Py_INCREF(Py_None
);
11400 _resultobj
= Py_None
;
11404 #define wxRegionIterator_GetX(_swigobj) (_swigobj->GetX())
11405 static PyObject
*_wrap_wxRegionIterator_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11406 PyObject
* _resultobj
;
11408 wxRegionIterator
* _arg0
;
11409 PyObject
* _argo0
= 0;
11410 char *_kwnames
[] = { "self", NULL
};
11413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetX",_kwnames
,&_argo0
))
11416 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11417 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetX. Expected _wxRegionIterator_p.");
11423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11424 _result
= (long )wxRegionIterator_GetX(_arg0
);
11426 wxPyEndAllowThreads(__tstate
);
11427 if (PyErr_Occurred()) return NULL
;
11428 } _resultobj
= Py_BuildValue("l",_result
);
11432 #define wxRegionIterator_GetY(_swigobj) (_swigobj->GetY())
11433 static PyObject
*_wrap_wxRegionIterator_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11434 PyObject
* _resultobj
;
11436 wxRegionIterator
* _arg0
;
11437 PyObject
* _argo0
= 0;
11438 char *_kwnames
[] = { "self", NULL
};
11441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetY",_kwnames
,&_argo0
))
11444 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11445 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetY. Expected _wxRegionIterator_p.");
11451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11452 _result
= (long )wxRegionIterator_GetY(_arg0
);
11454 wxPyEndAllowThreads(__tstate
);
11455 if (PyErr_Occurred()) return NULL
;
11456 } _resultobj
= Py_BuildValue("l",_result
);
11460 #define wxRegionIterator_GetW(_swigobj) (_swigobj->GetW())
11461 static PyObject
*_wrap_wxRegionIterator_GetW(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11462 PyObject
* _resultobj
;
11464 wxRegionIterator
* _arg0
;
11465 PyObject
* _argo0
= 0;
11466 char *_kwnames
[] = { "self", NULL
};
11469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetW",_kwnames
,&_argo0
))
11472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetW. Expected _wxRegionIterator_p.");
11479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11480 _result
= (long )wxRegionIterator_GetW(_arg0
);
11482 wxPyEndAllowThreads(__tstate
);
11483 if (PyErr_Occurred()) return NULL
;
11484 } _resultobj
= Py_BuildValue("l",_result
);
11488 #define wxRegionIterator_GetWidth(_swigobj) (_swigobj->GetWidth())
11489 static PyObject
*_wrap_wxRegionIterator_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11490 PyObject
* _resultobj
;
11492 wxRegionIterator
* _arg0
;
11493 PyObject
* _argo0
= 0;
11494 char *_kwnames
[] = { "self", NULL
};
11497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetWidth",_kwnames
,&_argo0
))
11500 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11501 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetWidth. Expected _wxRegionIterator_p.");
11507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11508 _result
= (long )wxRegionIterator_GetWidth(_arg0
);
11510 wxPyEndAllowThreads(__tstate
);
11511 if (PyErr_Occurred()) return NULL
;
11512 } _resultobj
= Py_BuildValue("l",_result
);
11516 #define wxRegionIterator_GetH(_swigobj) (_swigobj->GetH())
11517 static PyObject
*_wrap_wxRegionIterator_GetH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11518 PyObject
* _resultobj
;
11520 wxRegionIterator
* _arg0
;
11521 PyObject
* _argo0
= 0;
11522 char *_kwnames
[] = { "self", NULL
};
11525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetH",_kwnames
,&_argo0
))
11528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetH. Expected _wxRegionIterator_p.");
11535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11536 _result
= (long )wxRegionIterator_GetH(_arg0
);
11538 wxPyEndAllowThreads(__tstate
);
11539 if (PyErr_Occurred()) return NULL
;
11540 } _resultobj
= Py_BuildValue("l",_result
);
11544 #define wxRegionIterator_GetHeight(_swigobj) (_swigobj->GetHeight())
11545 static PyObject
*_wrap_wxRegionIterator_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11546 PyObject
* _resultobj
;
11548 wxRegionIterator
* _arg0
;
11549 PyObject
* _argo0
= 0;
11550 char *_kwnames
[] = { "self", NULL
};
11553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetHeight",_kwnames
,&_argo0
))
11556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetHeight. Expected _wxRegionIterator_p.");
11563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11564 _result
= (long )wxRegionIterator_GetHeight(_arg0
);
11566 wxPyEndAllowThreads(__tstate
);
11567 if (PyErr_Occurred()) return NULL
;
11568 } _resultobj
= Py_BuildValue("l",_result
);
11572 #define wxRegionIterator_GetRect(_swigobj) (_swigobj->GetRect())
11573 static PyObject
*_wrap_wxRegionIterator_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11574 PyObject
* _resultobj
;
11576 wxRegionIterator
* _arg0
;
11577 PyObject
* _argo0
= 0;
11578 char *_kwnames
[] = { "self", NULL
};
11582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetRect",_kwnames
,&_argo0
))
11585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetRect. Expected _wxRegionIterator_p.");
11592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11593 _result
= new wxRect (wxRegionIterator_GetRect(_arg0
));
11595 wxPyEndAllowThreads(__tstate
);
11596 if (PyErr_Occurred()) return NULL
;
11597 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
11598 _resultobj
= Py_BuildValue("s",_ptemp
);
11602 #define wxRegionIterator_HaveRects(_swigobj) (_swigobj->HaveRects())
11603 static PyObject
*_wrap_wxRegionIterator_HaveRects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11604 PyObject
* _resultobj
;
11606 wxRegionIterator
* _arg0
;
11607 PyObject
* _argo0
= 0;
11608 char *_kwnames
[] = { "self", NULL
};
11611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_HaveRects",_kwnames
,&_argo0
))
11614 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11615 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_HaveRects. Expected _wxRegionIterator_p.");
11621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11622 _result
= (bool )wxRegionIterator_HaveRects(_arg0
);
11624 wxPyEndAllowThreads(__tstate
);
11625 if (PyErr_Occurred()) return NULL
;
11626 } _resultobj
= Py_BuildValue("i",_result
);
11630 #define wxRegionIterator_Reset(_swigobj) (_swigobj->Reset())
11631 static PyObject
*_wrap_wxRegionIterator_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11632 PyObject
* _resultobj
;
11633 wxRegionIterator
* _arg0
;
11634 PyObject
* _argo0
= 0;
11635 char *_kwnames
[] = { "self", NULL
};
11638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_Reset",_kwnames
,&_argo0
))
11641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Reset. Expected _wxRegionIterator_p.");
11648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11649 wxRegionIterator_Reset(_arg0
);
11651 wxPyEndAllowThreads(__tstate
);
11652 if (PyErr_Occurred()) return NULL
;
11653 } Py_INCREF(Py_None
);
11654 _resultobj
= Py_None
;
11658 static void wxRegionIterator_Next(wxRegionIterator
*self
) {
11661 static PyObject
*_wrap_wxRegionIterator_Next(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11662 PyObject
* _resultobj
;
11663 wxRegionIterator
* _arg0
;
11664 PyObject
* _argo0
= 0;
11665 char *_kwnames
[] = { "self", NULL
};
11668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_Next",_kwnames
,&_argo0
))
11671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Next. Expected _wxRegionIterator_p.");
11678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11679 wxRegionIterator_Next(_arg0
);
11681 wxPyEndAllowThreads(__tstate
);
11682 if (PyErr_Occurred()) return NULL
;
11683 } Py_INCREF(Py_None
);
11684 _resultobj
= Py_None
;
11688 static PyMethodDef gdicMethods
[] = {
11689 { "wxRegionIterator_Next", (PyCFunction
) _wrap_wxRegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
},
11690 { "wxRegionIterator_Reset", (PyCFunction
) _wrap_wxRegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
},
11691 { "wxRegionIterator_HaveRects", (PyCFunction
) _wrap_wxRegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
},
11692 { "wxRegionIterator_GetRect", (PyCFunction
) _wrap_wxRegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
11693 { "wxRegionIterator_GetHeight", (PyCFunction
) _wrap_wxRegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
11694 { "wxRegionIterator_GetH", (PyCFunction
) _wrap_wxRegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
},
11695 { "wxRegionIterator_GetWidth", (PyCFunction
) _wrap_wxRegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11696 { "wxRegionIterator_GetW", (PyCFunction
) _wrap_wxRegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
},
11697 { "wxRegionIterator_GetY", (PyCFunction
) _wrap_wxRegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
},
11698 { "wxRegionIterator_GetX", (PyCFunction
) _wrap_wxRegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
},
11699 { "delete_wxRegionIterator", (PyCFunction
) _wrap_delete_wxRegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
11700 { "new_wxRegionIterator", (PyCFunction
) _wrap_new_wxRegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
11701 { "wxRegion_XorRegion", (PyCFunction
) _wrap_wxRegion_XorRegion
, METH_VARARGS
| METH_KEYWORDS
},
11702 { "wxRegion_XorRect", (PyCFunction
) _wrap_wxRegion_XorRect
, METH_VARARGS
| METH_KEYWORDS
},
11703 { "wxRegion_Xor", (PyCFunction
) _wrap_wxRegion_Xor
, METH_VARARGS
| METH_KEYWORDS
},
11704 { "wxRegion_SubtractRegion", (PyCFunction
) _wrap_wxRegion_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
},
11705 { "wxRegion_SubtractRect", (PyCFunction
) _wrap_wxRegion_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
},
11706 { "wxRegion_Subtract", (PyCFunction
) _wrap_wxRegion_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
11707 { "wxRegion_UnionRegion", (PyCFunction
) _wrap_wxRegion_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
},
11708 { "wxRegion_UnionRect", (PyCFunction
) _wrap_wxRegion_UnionRect
, METH_VARARGS
| METH_KEYWORDS
},
11709 { "wxRegion_Union", (PyCFunction
) _wrap_wxRegion_Union
, METH_VARARGS
| METH_KEYWORDS
},
11710 { "wxRegion_IsEmpty", (PyCFunction
) _wrap_wxRegion_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
11711 { "wxRegion_IntersectRegion", (PyCFunction
) _wrap_wxRegion_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
},
11712 { "wxRegion_IntersectRect", (PyCFunction
) _wrap_wxRegion_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
11713 { "wxRegion_Intersect", (PyCFunction
) _wrap_wxRegion_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
11714 { "wxRegion_GetBox", (PyCFunction
) _wrap_wxRegion_GetBox
, METH_VARARGS
| METH_KEYWORDS
},
11715 { "wxRegion_ContainsRectDim", (PyCFunction
) _wrap_wxRegion_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
},
11716 { "wxRegion_ContainsRect", (PyCFunction
) _wrap_wxRegion_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
},
11717 { "wxRegion_ContainsPoint", (PyCFunction
) _wrap_wxRegion_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
},
11718 { "wxRegion_Contains", (PyCFunction
) _wrap_wxRegion_Contains
, METH_VARARGS
| METH_KEYWORDS
},
11719 { "wxRegion_Offset", (PyCFunction
) _wrap_wxRegion_Offset
, METH_VARARGS
| METH_KEYWORDS
},
11720 { "wxRegion_Clear", (PyCFunction
) _wrap_wxRegion_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11721 { "delete_wxRegion", (PyCFunction
) _wrap_delete_wxRegion
, METH_VARARGS
| METH_KEYWORDS
},
11722 { "new_wxRegion", (PyCFunction
) _wrap_new_wxRegion
, METH_VARARGS
| METH_KEYWORDS
},
11723 { "wxImageList_GetSize", (PyCFunction
) _wrap_wxImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
11724 { "wxImageList_RemoveAll", (PyCFunction
) _wrap_wxImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
},
11725 { "wxImageList_Remove", (PyCFunction
) _wrap_wxImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
},
11726 { "wxImageList_GetImageCount", (PyCFunction
) _wrap_wxImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
11727 { "wxImageList_Draw", (PyCFunction
) _wrap_wxImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
},
11728 { "wxImageList_Replace", (PyCFunction
) _wrap_wxImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
},
11729 { "wxImageList_AddIcon", (PyCFunction
) _wrap_wxImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
11730 { "wxImageList_AddWithColourMask", (PyCFunction
) _wrap_wxImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
},
11731 { "wxImageList_Add", (PyCFunction
) _wrap_wxImageList_Add
, METH_VARARGS
| METH_KEYWORDS
},
11732 { "delete_wxImageList", (PyCFunction
) _wrap_delete_wxImageList
, METH_VARARGS
| METH_KEYWORDS
},
11733 { "new_wxImageList", (PyCFunction
) _wrap_new_wxImageList
, METH_VARARGS
| METH_KEYWORDS
},
11734 { "wxPalette_Ok", (PyCFunction
) _wrap_wxPalette_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11735 { "wxPalette_GetRGB", (PyCFunction
) _wrap_wxPalette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
11736 { "wxPalette_GetPixel", (PyCFunction
) _wrap_wxPalette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
11737 { "delete_wxPalette", (PyCFunction
) _wrap_delete_wxPalette
, METH_VARARGS
| METH_KEYWORDS
},
11738 { "new_wxPalette", (PyCFunction
) _wrap_new_wxPalette
, METH_VARARGS
| METH_KEYWORDS
},
11739 { "new_wxWindowDC", (PyCFunction
) _wrap_new_wxWindowDC
, METH_VARARGS
| METH_KEYWORDS
},
11740 { "new_wxPaintDC", (PyCFunction
) _wrap_new_wxPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
11741 { "new_wxClientDC", (PyCFunction
) _wrap_new_wxClientDC
, METH_VARARGS
| METH_KEYWORDS
},
11742 { "wxScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_wxScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
11743 { "wxScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_wxScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
11744 { "wxScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_wxScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
},
11745 { "new_wxScreenDC", (PyCFunction
) _wrap_new_wxScreenDC
, METH_VARARGS
| METH_KEYWORDS
},
11746 { "new_wxBufferedPaintDC", (PyCFunction
) _wrap_new_wxBufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
11747 { "new_wxBufferedDCInternalBuffer", (PyCFunction
) _wrap_new_wxBufferedDCInternalBuffer
, METH_VARARGS
| METH_KEYWORDS
},
11748 { "new_wxBufferedDC", (PyCFunction
) _wrap_new_wxBufferedDC
, METH_VARARGS
| METH_KEYWORDS
},
11749 { "wxMemoryDC_SelectObject", (PyCFunction
) _wrap_wxMemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
},
11750 { "new_wxMemoryDC", (PyCFunction
) _wrap_new_wxMemoryDC
, METH_VARARGS
| METH_KEYWORDS
},
11751 { "wxDC__DrawLineList", (PyCFunction
) _wrap_wxDC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
},
11752 { "wxDC__DrawPointList", (PyCFunction
) _wrap_wxDC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
},
11753 { "wxDC_GetBoundingBox", (PyCFunction
) _wrap_wxDC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
11754 { "wxDC_ResetBoundingBox", (PyCFunction
) _wrap_wxDC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
11755 { "wxDC_CalcBoundingBox", (PyCFunction
) _wrap_wxDC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
11756 { "wxDC_SetAxisOrientation", (PyCFunction
) _wrap_wxDC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
},
11757 { "wxDC_GetDeviceOrigin", (PyCFunction
) _wrap_wxDC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
11758 { "wxDC_SetLogicalOrigin", (PyCFunction
) _wrap_wxDC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
11759 { "wxDC_GetLogicalOrigin", (PyCFunction
) _wrap_wxDC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
11760 { "wxDC_GetPPI", (PyCFunction
) _wrap_wxDC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
},
11761 { "wxDC_GetDepth", (PyCFunction
) _wrap_wxDC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
11762 { "wxDC_CanGetTextExtent", (PyCFunction
) _wrap_wxDC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
11763 { "wxDC_CanDrawBitmap", (PyCFunction
) _wrap_wxDC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11764 { "wxDC_DrawBitmap", (PyCFunction
) _wrap_wxDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11765 { "wxDC_StartPage", (PyCFunction
) _wrap_wxDC_StartPage
, METH_VARARGS
| METH_KEYWORDS
},
11766 { "wxDC_StartDoc", (PyCFunction
) _wrap_wxDC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
},
11767 { "wxDC_SetUserScale", (PyCFunction
) _wrap_wxDC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
11768 { "wxDC_SetTextForeground", (PyCFunction
) _wrap_wxDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
11769 { "wxDC_SetTextBackground", (PyCFunction
) _wrap_wxDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
11770 { "wxDC_SetPen", (PyCFunction
) _wrap_wxDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
11771 { "wxDC_SetOptimization", (PyCFunction
) _wrap_wxDC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
11772 { "wxDC_SetMapMode", (PyCFunction
) _wrap_wxDC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
11773 { "wxDC_SetLogicalScale", (PyCFunction
) _wrap_wxDC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
11774 { "wxDC_SetLogicalFunction", (PyCFunction
) _wrap_wxDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
11775 { "wxDC_SetFont", (PyCFunction
) _wrap_wxDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
11776 { "wxDC_SetBrush", (PyCFunction
) _wrap_wxDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
11777 { "wxDC_SetPalette", (PyCFunction
) _wrap_wxDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
11778 { "wxDC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_wxDC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
},
11779 { "wxDC_SetClippingRegion", (PyCFunction
) _wrap_wxDC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
11780 { "wxDC_SetBackgroundMode", (PyCFunction
) _wrap_wxDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
11781 { "wxDC_SetBackground", (PyCFunction
) _wrap_wxDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
},
11782 { "wxDC_SetDeviceOrigin", (PyCFunction
) _wrap_wxDC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
11783 { "wxDC_Ok", (PyCFunction
) _wrap_wxDC_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11784 { "wxDC_MinY", (PyCFunction
) _wrap_wxDC_MinY
, METH_VARARGS
| METH_KEYWORDS
},
11785 { "wxDC_MinX", (PyCFunction
) _wrap_wxDC_MinX
, METH_VARARGS
| METH_KEYWORDS
},
11786 { "wxDC_MaxY", (PyCFunction
) _wrap_wxDC_MaxY
, METH_VARARGS
| METH_KEYWORDS
},
11787 { "wxDC_MaxX", (PyCFunction
) _wrap_wxDC_MaxX
, METH_VARARGS
| METH_KEYWORDS
},
11788 { "wxDC_LogicalToDeviceYRel", (PyCFunction
) _wrap_wxDC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
},
11789 { "wxDC_LogicalToDeviceY", (PyCFunction
) _wrap_wxDC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
},
11790 { "wxDC_LogicalToDeviceXRel", (PyCFunction
) _wrap_wxDC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
},
11791 { "wxDC_LogicalToDeviceX", (PyCFunction
) _wrap_wxDC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
},
11792 { "wxDC_GetUserScale", (PyCFunction
) _wrap_wxDC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
11793 { "wxDC_GetTextForeground", (PyCFunction
) _wrap_wxDC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
11794 { "wxDC_GetFullTextExtent", (PyCFunction
) _wrap_wxDC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
11795 { "wxDC_GetTextExtent", (PyCFunction
) _wrap_wxDC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
11796 { "wxDC_GetTextBackground", (PyCFunction
) _wrap_wxDC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
11797 { "wxDC_GetSizeMM", (PyCFunction
) _wrap_wxDC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
11798 { "wxDC_GetSize", (PyCFunction
) _wrap_wxDC_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
11799 { "wxDC_GetSizeTuple", (PyCFunction
) _wrap_wxDC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
11800 { "wxDC_GetPixel", (PyCFunction
) _wrap_wxDC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
11801 { "wxDC_GetPen", (PyCFunction
) _wrap_wxDC_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
11802 { "wxDC_GetOptimization", (PyCFunction
) _wrap_wxDC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
11803 { "wxDC_GetMapMode", (PyCFunction
) _wrap_wxDC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
11804 { "wxDC_GetLogicalScale", (PyCFunction
) _wrap_wxDC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
11805 { "wxDC_GetLogicalFunction", (PyCFunction
) _wrap_wxDC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
11806 { "wxDC_GetFont", (PyCFunction
) _wrap_wxDC_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
11807 { "wxDC_GetClippingBox", (PyCFunction
) _wrap_wxDC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
},
11808 { "wxDC_GetCharWidth", (PyCFunction
) _wrap_wxDC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
11809 { "wxDC_GetCharHeight", (PyCFunction
) _wrap_wxDC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
11810 { "wxDC_GetBrush", (PyCFunction
) _wrap_wxDC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
11811 { "wxDC_GetBackground", (PyCFunction
) _wrap_wxDC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
},
11812 { "wxDC_FloodFill", (PyCFunction
) _wrap_wxDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
},
11813 { "wxDC_EndPage", (PyCFunction
) _wrap_wxDC_EndPage
, METH_VARARGS
| METH_KEYWORDS
},
11814 { "wxDC_EndDrawing", (PyCFunction
) _wrap_wxDC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
},
11815 { "wxDC_EndDoc", (PyCFunction
) _wrap_wxDC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
},
11816 { "wxDC_DrawText", (PyCFunction
) _wrap_wxDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
11817 { "wxDC_DrawSpline", (PyCFunction
) _wrap_wxDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
11818 { "wxDC_DrawRoundedRectangle", (PyCFunction
) _wrap_wxDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
11819 { "wxDC_DrawRotatedText", (PyCFunction
) _wrap_wxDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
},
11820 { "wxDC_DrawRectangle", (PyCFunction
) _wrap_wxDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
11821 { "wxDC_DrawPoint", (PyCFunction
) _wrap_wxDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
11822 { "wxDC_DrawPolygon", (PyCFunction
) _wrap_wxDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
11823 { "wxDC_DrawLines", (PyCFunction
) _wrap_wxDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
11824 { "wxDC_DrawLine", (PyCFunction
) _wrap_wxDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
11825 { "wxDC_DrawImageLabel", (PyCFunction
) _wrap_wxDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
},
11826 { "wxDC_DrawLabel", (PyCFunction
) _wrap_wxDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
},
11827 { "wxDC_DrawIcon", (PyCFunction
) _wrap_wxDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
},
11828 { "wxDC_DrawEllipticArc", (PyCFunction
) _wrap_wxDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
11829 { "wxDC_DrawEllipse", (PyCFunction
) _wrap_wxDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
11830 { "wxDC_DrawCircle", (PyCFunction
) _wrap_wxDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
},
11831 { "wxDC_DrawArc", (PyCFunction
) _wrap_wxDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
11832 { "wxDC_DeviceToLogicalYRel", (PyCFunction
) _wrap_wxDC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
},
11833 { "wxDC_DeviceToLogicalY", (PyCFunction
) _wrap_wxDC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
},
11834 { "wxDC_DeviceToLogicalXRel", (PyCFunction
) _wrap_wxDC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
},
11835 { "wxDC_DeviceToLogicalX", (PyCFunction
) _wrap_wxDC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
},
11836 { "wxDC_DestroyClippingRegion", (PyCFunction
) _wrap_wxDC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
11837 { "wxDC_CrossHair", (PyCFunction
) _wrap_wxDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
},
11838 { "wxDC_Clear", (PyCFunction
) _wrap_wxDC_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11839 { "wxDC_Blit", (PyCFunction
) _wrap_wxDC_Blit
, METH_VARARGS
| METH_KEYWORDS
},
11840 { "wxDC_BeginDrawing", (PyCFunction
) _wrap_wxDC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
},
11841 { "delete_wxDC", (PyCFunction
) _wrap_delete_wxDC
, METH_VARARGS
| METH_KEYWORDS
},
11842 { "wxBrushList_GetCount", (PyCFunction
) _wrap_wxBrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11843 { "wxBrushList_RemoveBrush", (PyCFunction
) _wrap_wxBrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
},
11844 { "wxBrushList_FindOrCreateBrush", (PyCFunction
) _wrap_wxBrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
},
11845 { "wxBrushList_AddBrush", (PyCFunction
) _wrap_wxBrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
},
11846 { "wxBrush_SetStyle", (PyCFunction
) _wrap_wxBrush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11847 { "wxBrush_SetStipple", (PyCFunction
) _wrap_wxBrush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
11848 { "wxBrush_SetColour", (PyCFunction
) _wrap_wxBrush_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
11849 { "wxBrush_Ok", (PyCFunction
) _wrap_wxBrush_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11850 { "wxBrush_GetStyle", (PyCFunction
) _wrap_wxBrush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11851 { "wxBrush_GetStipple", (PyCFunction
) _wrap_wxBrush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
11852 { "wxBrush_GetColour", (PyCFunction
) _wrap_wxBrush_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
11853 { "delete_wxBrush", (PyCFunction
) _wrap_delete_wxBrush
, METH_VARARGS
| METH_KEYWORDS
},
11854 { "new_wxBrush", (PyCFunction
) _wrap_new_wxBrush
, METH_VARARGS
| METH_KEYWORDS
},
11855 { "wxPenList_GetCount", (PyCFunction
) _wrap_wxPenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11856 { "wxPenList_RemovePen", (PyCFunction
) _wrap_wxPenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
},
11857 { "wxPenList_FindOrCreatePen", (PyCFunction
) _wrap_wxPenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
},
11858 { "wxPenList_AddPen", (PyCFunction
) _wrap_wxPenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
},
11859 { "wxPyPen_SetDashes", (PyCFunction
) _wrap_wxPyPen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
11860 { "delete_wxPyPen", (PyCFunction
) _wrap_delete_wxPyPen
, METH_VARARGS
| METH_KEYWORDS
},
11861 { "new_wxPyPen", (PyCFunction
) _wrap_new_wxPyPen
, METH_VARARGS
| METH_KEYWORDS
},
11862 { "wxPen_SetDashes", (PyCFunction
) _wrap_wxPen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
11863 { "wxPen_SetWidth", (PyCFunction
) _wrap_wxPen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11864 { "wxPen_SetStyle", (PyCFunction
) _wrap_wxPen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11865 { "wxPen_SetJoin", (PyCFunction
) _wrap_wxPen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
},
11866 { "wxPen_SetColour", (PyCFunction
) _wrap_wxPen_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
11867 { "wxPen_SetCap", (PyCFunction
) _wrap_wxPen_SetCap
, METH_VARARGS
| METH_KEYWORDS
},
11868 { "wxPen_Ok", (PyCFunction
) _wrap_wxPen_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11869 { "wxPen_GetWidth", (PyCFunction
) _wrap_wxPen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11870 { "wxPen_GetStyle", (PyCFunction
) _wrap_wxPen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11871 { "wxPen_GetJoin", (PyCFunction
) _wrap_wxPen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
},
11872 { "wxPen_GetColour", (PyCFunction
) _wrap_wxPen_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
11873 { "wxPen_GetCap", (PyCFunction
) _wrap_wxPen_GetCap
, METH_VARARGS
| METH_KEYWORDS
},
11874 { "delete_wxPen", (PyCFunction
) _wrap_delete_wxPen
, METH_VARARGS
| METH_KEYWORDS
},
11875 { "new_wxPen", (PyCFunction
) _wrap_new_wxPen
, METH_VARARGS
| METH_KEYWORDS
},
11876 { "wxColourDatabase_Append", (PyCFunction
) _wrap_wxColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
},
11877 { "wxColourDatabase_FindName", (PyCFunction
) _wrap_wxColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
},
11878 { "wxColourDatabase_FindColour", (PyCFunction
) _wrap_wxColourDatabase_FindColour
, METH_VARARGS
| METH_KEYWORDS
},
11879 { "wxColour_Get", (PyCFunction
) _wrap_wxColour_Get
, METH_VARARGS
| METH_KEYWORDS
},
11880 { "wxColour_Set", (PyCFunction
) _wrap_wxColour_Set
, METH_VARARGS
| METH_KEYWORDS
},
11881 { "wxColour_Ok", (PyCFunction
) _wrap_wxColour_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11882 { "wxColour_Blue", (PyCFunction
) _wrap_wxColour_Blue
, METH_VARARGS
| METH_KEYWORDS
},
11883 { "wxColour_Green", (PyCFunction
) _wrap_wxColour_Green
, METH_VARARGS
| METH_KEYWORDS
},
11884 { "wxColour_Red", (PyCFunction
) _wrap_wxColour_Red
, METH_VARARGS
| METH_KEYWORDS
},
11885 { "delete_wxColour", (PyCFunction
) _wrap_delete_wxColour
, METH_VARARGS
| METH_KEYWORDS
},
11886 { "new_wxColour", (PyCFunction
) _wrap_new_wxColour
, METH_VARARGS
| METH_KEYWORDS
},
11887 { "wxFontList_GetCount", (PyCFunction
) _wrap_wxFontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11888 { "wxFontList_RemoveFont", (PyCFunction
) _wrap_wxFontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
},
11889 { "wxFontList_FindOrCreateFont", (PyCFunction
) _wrap_wxFontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
},
11890 { "wxFontList_AddFont", (PyCFunction
) _wrap_wxFontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
},
11891 { "wxFont_SetDefaultEncoding", (PyCFunction
) _wrap_wxFont_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
11892 { "wxFont_GetDefaultEncoding", (PyCFunction
) _wrap_wxFont_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
11893 { "wxFont_GetWeightString", (PyCFunction
) _wrap_wxFont_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
},
11894 { "wxFont_GetStyleString", (PyCFunction
) _wrap_wxFont_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
},
11895 { "wxFont_GetFamilyString", (PyCFunction
) _wrap_wxFont_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
},
11896 { "wxFont_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_wxFont_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
11897 { "wxFont_SetNativeFontInfo", (PyCFunction
) _wrap_wxFont_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
11898 { "wxFont_SetEncoding", (PyCFunction
) _wrap_wxFont_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
11899 { "wxFont_SetUnderlined", (PyCFunction
) _wrap_wxFont_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
11900 { "wxFont_SetFaceName", (PyCFunction
) _wrap_wxFont_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
11901 { "wxFont_SetWeight", (PyCFunction
) _wrap_wxFont_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
11902 { "wxFont_SetStyle", (PyCFunction
) _wrap_wxFont_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11903 { "wxFont_SetFamily", (PyCFunction
) _wrap_wxFont_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
11904 { "wxFont_SetPointSize", (PyCFunction
) _wrap_wxFont_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
11905 { "wxFont_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_wxFont_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
11906 { "wxFont_GetNativeFontInfoDesc", (PyCFunction
) _wrap_wxFont_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
},
11907 { "wxFont_GetNativeFontInfo", (PyCFunction
) _wrap_wxFont_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
11908 { "wxFont_IsFixedWidth", (PyCFunction
) _wrap_wxFont_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
},
11909 { "wxFont_GetEncoding", (PyCFunction
) _wrap_wxFont_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
11910 { "wxFont_GetFaceName", (PyCFunction
) _wrap_wxFont_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
11911 { "wxFont_GetUnderlined", (PyCFunction
) _wrap_wxFont_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
11912 { "wxFont_GetWeight", (PyCFunction
) _wrap_wxFont_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
11913 { "wxFont_GetStyle", (PyCFunction
) _wrap_wxFont_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11914 { "wxFont_GetFamily", (PyCFunction
) _wrap_wxFont_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
11915 { "wxFont_GetPointSize", (PyCFunction
) _wrap_wxFont_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
11916 { "wxFont_Ok", (PyCFunction
) _wrap_wxFont_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11917 { "delete_wxFont", (PyCFunction
) _wrap_delete_wxFont
, METH_VARARGS
| METH_KEYWORDS
},
11918 { "new_wxFontFromNativeInfo", (PyCFunction
) _wrap_new_wxFontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
},
11919 { "new_wxFont", (PyCFunction
) _wrap_new_wxFont
, METH_VARARGS
| METH_KEYWORDS
},
11920 { "wxFontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_wxFontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
11921 { "wxFontMapper_SetConfigPath", (PyCFunction
) _wrap_wxFontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
11922 { "wxFontMapper_SetConfig", (PyCFunction
) _wrap_wxFontMapper_SetConfig
, METH_VARARGS
| METH_KEYWORDS
},
11923 { "wxFontMapper_SetDialogTitle", (PyCFunction
) _wrap_wxFontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
},
11924 { "wxFontMapper_SetDialogParent", (PyCFunction
) _wrap_wxFontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
},
11925 { "wxFontMapper_GetEncodingDescription", (PyCFunction
) _wrap_wxFontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
},
11926 { "wxFontMapper_GetEncodingName", (PyCFunction
) _wrap_wxFontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
11927 { "wxFontMapper_CharsetToEncoding", (PyCFunction
) _wrap_wxFontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
},
11928 { "wxFontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_wxFontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
},
11929 { "wxFontMapper_GetAltForEncoding", (PyCFunction
) _wrap_wxFontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
},
11930 { "delete_wxFontMapper", (PyCFunction
) _wrap_delete_wxFontMapper
, METH_VARARGS
| METH_KEYWORDS
},
11931 { "new_wxFontMapper", (PyCFunction
) _wrap_new_wxFontMapper
, METH_VARARGS
| METH_KEYWORDS
},
11932 { "wxNativeFontInfo_ToUserString", (PyCFunction
) _wrap_wxNativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
},
11933 { "wxNativeFontInfo_FromUserString", (PyCFunction
) _wrap_wxNativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
},
11934 { "wxNativeFontInfo___str__", (PyCFunction
) _wrap_wxNativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
},
11935 { "wxNativeFontInfo_ToString", (PyCFunction
) _wrap_wxNativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
11936 { "wxNativeFontInfo_FromString", (PyCFunction
) _wrap_wxNativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
11937 { "wxNativeFontInfo_Init", (PyCFunction
) _wrap_wxNativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
},
11938 { "new_wxNativeFontInfo", (PyCFunction
) _wrap_new_wxNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
11939 { "wxNativeFontInfo_SetXFontName", (PyCFunction
) _wrap_wxNativeFontInfo_SetXFontName
, METH_VARARGS
| METH_KEYWORDS
},
11940 { "wxNativeFontInfo_GetXFontName", (PyCFunction
) _wrap_wxNativeFontInfo_GetXFontName
, METH_VARARGS
| METH_KEYWORDS
},
11941 { "wxNativeFontInfo_IsDefault", (PyCFunction
) _wrap_wxNativeFontInfo_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
11942 { "wxNativeFontInfo_FromXFontName", (PyCFunction
) _wrap_wxNativeFontInfo_FromXFontName
, METH_VARARGS
| METH_KEYWORDS
},
11943 { "wxCursor_Ok", (PyCFunction
) _wrap_wxCursor_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11944 { "delete_wxCursor", (PyCFunction
) _wrap_delete_wxCursor
, METH_VARARGS
| METH_KEYWORDS
},
11945 { "wxIcon_CopyFromBitmap", (PyCFunction
) _wrap_wxIcon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11946 { "wxIcon_SetDepth", (PyCFunction
) _wrap_wxIcon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
11947 { "wxIcon_SetHeight", (PyCFunction
) _wrap_wxIcon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
11948 { "wxIcon_SetWidth", (PyCFunction
) _wrap_wxIcon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11949 { "wxIcon_GetDepth", (PyCFunction
) _wrap_wxIcon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
11950 { "wxIcon_GetHeight", (PyCFunction
) _wrap_wxIcon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
11951 { "wxIcon_GetWidth", (PyCFunction
) _wrap_wxIcon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11952 { "wxIcon_Ok", (PyCFunction
) _wrap_wxIcon_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11953 { "wxIcon_LoadFile", (PyCFunction
) _wrap_wxIcon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
11954 { "delete_wxIcon", (PyCFunction
) _wrap_delete_wxIcon
, METH_VARARGS
| METH_KEYWORDS
},
11955 { "new_wxIcon", (PyCFunction
) _wrap_new_wxIcon
, METH_VARARGS
| METH_KEYWORDS
},
11956 { "wxMask_Destroy", (PyCFunction
) _wrap_wxMask_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
11957 { "new_wxMask", (PyCFunction
) _wrap_new_wxMask
, METH_VARARGS
| METH_KEYWORDS
},
11958 { "wxBitmap_CopyFromIcon", (PyCFunction
) _wrap_wxBitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
11959 { "wxBitmap_GetSubBitmap", (PyCFunction
) _wrap_wxBitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11960 { "wxBitmap_SetDepth", (PyCFunction
) _wrap_wxBitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
11961 { "wxBitmap_SetHeight", (PyCFunction
) _wrap_wxBitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
11962 { "wxBitmap_SetWidth", (PyCFunction
) _wrap_wxBitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11963 { "wxBitmap_GetDepth", (PyCFunction
) _wrap_wxBitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
11964 { "wxBitmap_GetHeight", (PyCFunction
) _wrap_wxBitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
11965 { "wxBitmap_GetWidth", (PyCFunction
) _wrap_wxBitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11966 { "wxBitmap_Ok", (PyCFunction
) _wrap_wxBitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11967 { "wxBitmap_SetMask", (PyCFunction
) _wrap_wxBitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
11968 { "wxBitmap_SaveFile", (PyCFunction
) _wrap_wxBitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
11969 { "wxBitmap_LoadFile", (PyCFunction
) _wrap_wxBitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
11970 { "wxBitmap_GetMask", (PyCFunction
) _wrap_wxBitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
11971 { "wxBitmap_GetPalette", (PyCFunction
) _wrap_wxBitmap_GetPalette
, METH_VARARGS
| METH_KEYWORDS
},
11972 { "delete_wxBitmap", (PyCFunction
) _wrap_delete_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11973 { "new_wxBitmap", (PyCFunction
) _wrap_new_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11974 { "wxGDIObject_IsNull", (PyCFunction
) _wrap_wxGDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
11975 { "wxGDIObject_SetVisible", (PyCFunction
) _wrap_wxGDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
},
11976 { "wxGDIObject_GetVisible", (PyCFunction
) _wrap_wxGDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
},
11977 { "delete_wxGDIObject", (PyCFunction
) _wrap_delete_wxGDIObject
, METH_VARARGS
| METH_KEYWORDS
},
11978 { "new_wxGDIObject", (PyCFunction
) _wrap_new_wxGDIObject
, METH_VARARGS
| METH_KEYWORDS
},
11979 { "wxMemoryDCFromDC", (PyCFunction
) _wrap_wxMemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
},
11980 { "wxNamedColour", (PyCFunction
) _wrap_wxNamedColour
, METH_VARARGS
| METH_KEYWORDS
},
11981 { "wxStockCursor", (PyCFunction
) _wrap_wxStockCursor
, METH_VARARGS
| METH_KEYWORDS
},
11982 { "wxIconFromBitmap", (PyCFunction
) _wrap_wxIconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11983 { "wxIconFromXPMData", (PyCFunction
) _wrap_wxIconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
11984 { "wxEmptyIcon", (PyCFunction
) _wrap_wxEmptyIcon
, METH_VARARGS
| METH_KEYWORDS
},
11985 { "wxMaskColour", (PyCFunction
) _wrap_wxMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
11986 { "wxBitmapFromBits", (PyCFunction
) _wrap_wxBitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
},
11987 { "wxBitmapFromIcon", (PyCFunction
) _wrap_wxBitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
11988 { "wxBitmapFromXPMData", (PyCFunction
) _wrap_wxBitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
11989 { "wxEmptyBitmap", (PyCFunction
) _wrap_wxEmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11996 * This table is used by the pointer type-checker
11998 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
11999 { "_signed_long","_long",0},
12000 { "_wxPrintQuality","_wxCoord",0},
12001 { "_wxPrintQuality","_int",0},
12002 { "_wxPrintQuality","_signed_int",0},
12003 { "_wxPrintQuality","_unsigned_int",0},
12004 { "_wxPrintQuality","_wxWindowID",0},
12005 { "_wxPrintQuality","_uint",0},
12006 { "_wxPrintQuality","_EBool",0},
12007 { "_wxPrintQuality","_size_t",0},
12008 { "_wxPrintQuality","_time_t",0},
12009 { "_wxPen","_wxPyPen",SwigwxPyPenTowxPen
},
12010 { "_byte","_unsigned_char",0},
12011 { "_long","_unsigned_long",0},
12012 { "_long","_signed_long",0},
12013 { "_wxGDIObject","_wxRegion",SwigwxRegionTowxGDIObject
},
12014 { "_wxGDIObject","_wxPalette",SwigwxPaletteTowxGDIObject
},
12015 { "_wxGDIObject","_wxBrush",SwigwxBrushTowxGDIObject
},
12016 { "_wxGDIObject","_wxPyPen",SwigwxPyPenTowxGDIObject
},
12017 { "_wxGDIObject","_wxPen",SwigwxPenTowxGDIObject
},
12018 { "_wxGDIObject","_wxFont",SwigwxFontTowxGDIObject
},
12019 { "_wxGDIObject","_wxCursor",SwigwxCursorTowxGDIObject
},
12020 { "_wxGDIObject","_wxIcon",SwigwxIconTowxGDIObject
},
12021 { "_wxGDIObject","_wxBitmap",SwigwxBitmapTowxGDIObject
},
12022 { "_wxDC","_wxWindowDC",SwigwxWindowDCTowxDC
},
12023 { "_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC
},
12024 { "_wxDC","_wxClientDC",SwigwxClientDCTowxDC
},
12025 { "_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC
},
12026 { "_wxDC","_wxBufferedPaintDC",SwigwxBufferedPaintDCTowxDC
},
12027 { "_wxDC","_wxBufferedDC",SwigwxBufferedDCTowxDC
},
12028 { "_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC
},
12029 { "_size_t","_wxCoord",0},
12030 { "_size_t","_wxPrintQuality",0},
12031 { "_size_t","_time_t",0},
12032 { "_size_t","_unsigned_int",0},
12033 { "_size_t","_int",0},
12034 { "_size_t","_wxWindowID",0},
12035 { "_size_t","_uint",0},
12036 { "_uint","_wxCoord",0},
12037 { "_uint","_wxPrintQuality",0},
12038 { "_uint","_time_t",0},
12039 { "_uint","_size_t",0},
12040 { "_uint","_unsigned_int",0},
12041 { "_uint","_int",0},
12042 { "_uint","_wxWindowID",0},
12043 { "_wxChar","_char",0},
12044 { "_char","_wxChar",0},
12045 { "_wxBufferedDC","_wxBufferedPaintDC",SwigwxBufferedPaintDCTowxBufferedDC
},
12046 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
12047 { "_EBool","_wxCoord",0},
12048 { "_EBool","_wxPrintQuality",0},
12049 { "_EBool","_signed_int",0},
12050 { "_EBool","_int",0},
12051 { "_EBool","_wxWindowID",0},
12052 { "_unsigned_long","_long",0},
12053 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
12054 { "_signed_int","_wxCoord",0},
12055 { "_signed_int","_wxPrintQuality",0},
12056 { "_signed_int","_EBool",0},
12057 { "_signed_int","_wxWindowID",0},
12058 { "_signed_int","_int",0},
12059 { "_WXTYPE","_short",0},
12060 { "_WXTYPE","_signed_short",0},
12061 { "_WXTYPE","_unsigned_short",0},
12062 { "_unsigned_short","_WXTYPE",0},
12063 { "_unsigned_short","_short",0},
12064 { "_wxObject","_wxRegionIterator",SwigwxRegionIteratorTowxObject
},
12065 { "_wxObject","_wxRegion",SwigwxRegionTowxObject
},
12066 { "_wxObject","_wxImageList",SwigwxImageListTowxObject
},
12067 { "_wxObject","_wxPalette",SwigwxPaletteTowxObject
},
12068 { "_wxObject","_wxWindowDC",SwigwxWindowDCTowxObject
},
12069 { "_wxObject","_wxPaintDC",SwigwxPaintDCTowxObject
},
12070 { "_wxObject","_wxClientDC",SwigwxClientDCTowxObject
},
12071 { "_wxObject","_wxScreenDC",SwigwxScreenDCTowxObject
},
12072 { "_wxObject","_wxBufferedPaintDC",SwigwxBufferedPaintDCTowxObject
},
12073 { "_wxObject","_wxBufferedDC",SwigwxBufferedDCTowxObject
},
12074 { "_wxObject","_wxMemoryDC",SwigwxMemoryDCTowxObject
},
12075 { "_wxObject","_wxDC",SwigwxDCTowxObject
},
12076 { "_wxObject","_wxBrushList",SwigwxBrushListTowxObject
},
12077 { "_wxObject","_wxBrush",SwigwxBrushTowxObject
},
12078 { "_wxObject","_wxPenList",SwigwxPenListTowxObject
},
12079 { "_wxObject","_wxPyPen",SwigwxPyPenTowxObject
},
12080 { "_wxObject","_wxPen",SwigwxPenTowxObject
},
12081 { "_wxObject","_wxColourDatabase",SwigwxColourDatabaseTowxObject
},
12082 { "_wxObject","_wxColour",SwigwxColourTowxObject
},
12083 { "_wxObject","_wxFontList",SwigwxFontListTowxObject
},
12084 { "_wxObject","_wxFont",SwigwxFontTowxObject
},
12085 { "_wxObject","_wxCursor",SwigwxCursorTowxObject
},
12086 { "_wxObject","_wxIcon",SwigwxIconTowxObject
},
12087 { "_wxObject","_wxMask",SwigwxMaskTowxObject
},
12088 { "_wxObject","_wxBitmap",SwigwxBitmapTowxObject
},
12089 { "_wxObject","_wxGDIObject",SwigwxGDIObjectTowxObject
},
12090 { "_signed_short","_WXTYPE",0},
12091 { "_signed_short","_short",0},
12092 { "_wxMemoryDC","_wxBufferedPaintDC",SwigwxBufferedPaintDCTowxMemoryDC
},
12093 { "_wxMemoryDC","_wxBufferedDC",SwigwxBufferedDCTowxMemoryDC
},
12094 { "_unsigned_char","_byte",0},
12095 { "_unsigned_int","_wxCoord",0},
12096 { "_unsigned_int","_wxPrintQuality",0},
12097 { "_unsigned_int","_time_t",0},
12098 { "_unsigned_int","_size_t",0},
12099 { "_unsigned_int","_uint",0},
12100 { "_unsigned_int","_wxWindowID",0},
12101 { "_unsigned_int","_int",0},
12102 { "_short","_WXTYPE",0},
12103 { "_short","_unsigned_short",0},
12104 { "_short","_signed_short",0},
12105 { "_wxWindowID","_wxCoord",0},
12106 { "_wxWindowID","_wxPrintQuality",0},
12107 { "_wxWindowID","_time_t",0},
12108 { "_wxWindowID","_size_t",0},
12109 { "_wxWindowID","_EBool",0},
12110 { "_wxWindowID","_uint",0},
12111 { "_wxWindowID","_int",0},
12112 { "_wxWindowID","_signed_int",0},
12113 { "_wxWindowID","_unsigned_int",0},
12114 { "_int","_wxCoord",0},
12115 { "_int","_wxPrintQuality",0},
12116 { "_int","_time_t",0},
12117 { "_int","_size_t",0},
12118 { "_int","_EBool",0},
12119 { "_int","_uint",0},
12120 { "_int","_wxWindowID",0},
12121 { "_int","_unsigned_int",0},
12122 { "_int","_signed_int",0},
12123 { "_time_t","_wxCoord",0},
12124 { "_time_t","_wxPrintQuality",0},
12125 { "_time_t","_unsigned_int",0},
12126 { "_time_t","_int",0},
12127 { "_time_t","_wxWindowID",0},
12128 { "_time_t","_uint",0},
12129 { "_time_t","_size_t",0},
12130 { "_wxCoord","_int",0},
12131 { "_wxCoord","_signed_int",0},
12132 { "_wxCoord","_unsigned_int",0},
12133 { "_wxCoord","_wxWindowID",0},
12134 { "_wxCoord","_uint",0},
12135 { "_wxCoord","_EBool",0},
12136 { "_wxCoord","_size_t",0},
12137 { "_wxCoord","_time_t",0},
12138 { "_wxCoord","_wxPrintQuality",0},
12141 static PyObject
*SWIG_globals
;
12145 SWIGEXPORT(void) initgdic() {
12147 SWIG_globals
= SWIG_newvarlink();
12148 m
= Py_InitModule("gdic", gdicMethods
);
12149 d
= PyModule_GetDict(m
);
12150 PyDict_SetItemString(d
,"wxFONTFAMILY_DEFAULT", PyInt_FromLong((long) wxFONTFAMILY_DEFAULT
));
12151 PyDict_SetItemString(d
,"wxFONTFAMILY_DECORATIVE", PyInt_FromLong((long) wxFONTFAMILY_DECORATIVE
));
12152 PyDict_SetItemString(d
,"wxFONTFAMILY_ROMAN", PyInt_FromLong((long) wxFONTFAMILY_ROMAN
));
12153 PyDict_SetItemString(d
,"wxFONTFAMILY_SCRIPT", PyInt_FromLong((long) wxFONTFAMILY_SCRIPT
));
12154 PyDict_SetItemString(d
,"wxFONTFAMILY_SWISS", PyInt_FromLong((long) wxFONTFAMILY_SWISS
));
12155 PyDict_SetItemString(d
,"wxFONTFAMILY_MODERN", PyInt_FromLong((long) wxFONTFAMILY_MODERN
));
12156 PyDict_SetItemString(d
,"wxFONTFAMILY_TELETYPE", PyInt_FromLong((long) wxFONTFAMILY_TELETYPE
));
12157 PyDict_SetItemString(d
,"wxFONTFAMILY_MAX", PyInt_FromLong((long) wxFONTFAMILY_MAX
));
12158 PyDict_SetItemString(d
,"wxFONTFAMILY_UNKNOWN", PyInt_FromLong((long) wxFONTFAMILY_UNKNOWN
));
12159 PyDict_SetItemString(d
,"wxFONTSTYLE_NORMAL", PyInt_FromLong((long) wxFONTSTYLE_NORMAL
));
12160 PyDict_SetItemString(d
,"wxFONTSTYLE_ITALIC", PyInt_FromLong((long) wxFONTSTYLE_ITALIC
));
12161 PyDict_SetItemString(d
,"wxFONTSTYLE_SLANT", PyInt_FromLong((long) wxFONTSTYLE_SLANT
));
12162 PyDict_SetItemString(d
,"wxFONTSTYLE_MAX", PyInt_FromLong((long) wxFONTSTYLE_MAX
));
12163 PyDict_SetItemString(d
,"wxFONTWEIGHT_NORMAL", PyInt_FromLong((long) wxFONTWEIGHT_NORMAL
));
12164 PyDict_SetItemString(d
,"wxFONTWEIGHT_LIGHT", PyInt_FromLong((long) wxFONTWEIGHT_LIGHT
));
12165 PyDict_SetItemString(d
,"wxFONTWEIGHT_BOLD", PyInt_FromLong((long) wxFONTWEIGHT_BOLD
));
12166 PyDict_SetItemString(d
,"wxFONTWEIGHT_MAX", PyInt_FromLong((long) wxFONTWEIGHT_MAX
));
12167 PyDict_SetItemString(d
,"wxFONTENCODING_SYSTEM", PyInt_FromLong((long) wxFONTENCODING_SYSTEM
));
12168 PyDict_SetItemString(d
,"wxFONTENCODING_DEFAULT", PyInt_FromLong((long) wxFONTENCODING_DEFAULT
));
12169 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_1", PyInt_FromLong((long) wxFONTENCODING_ISO8859_1
));
12170 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_2", PyInt_FromLong((long) wxFONTENCODING_ISO8859_2
));
12171 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_3", PyInt_FromLong((long) wxFONTENCODING_ISO8859_3
));
12172 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_4", PyInt_FromLong((long) wxFONTENCODING_ISO8859_4
));
12173 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_5", PyInt_FromLong((long) wxFONTENCODING_ISO8859_5
));
12174 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_6", PyInt_FromLong((long) wxFONTENCODING_ISO8859_6
));
12175 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_7", PyInt_FromLong((long) wxFONTENCODING_ISO8859_7
));
12176 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_8", PyInt_FromLong((long) wxFONTENCODING_ISO8859_8
));
12177 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_9", PyInt_FromLong((long) wxFONTENCODING_ISO8859_9
));
12178 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_10", PyInt_FromLong((long) wxFONTENCODING_ISO8859_10
));
12179 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_11", PyInt_FromLong((long) wxFONTENCODING_ISO8859_11
));
12180 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_12", PyInt_FromLong((long) wxFONTENCODING_ISO8859_12
));
12181 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_13", PyInt_FromLong((long) wxFONTENCODING_ISO8859_13
));
12182 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_14", PyInt_FromLong((long) wxFONTENCODING_ISO8859_14
));
12183 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_15", PyInt_FromLong((long) wxFONTENCODING_ISO8859_15
));
12184 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_MAX", PyInt_FromLong((long) wxFONTENCODING_ISO8859_MAX
));
12185 PyDict_SetItemString(d
,"wxFONTENCODING_KOI8", PyInt_FromLong((long) wxFONTENCODING_KOI8
));
12186 PyDict_SetItemString(d
,"wxFONTENCODING_ALTERNATIVE", PyInt_FromLong((long) wxFONTENCODING_ALTERNATIVE
));
12187 PyDict_SetItemString(d
,"wxFONTENCODING_BULGARIAN", PyInt_FromLong((long) wxFONTENCODING_BULGARIAN
));
12188 PyDict_SetItemString(d
,"wxFONTENCODING_CP437", PyInt_FromLong((long) wxFONTENCODING_CP437
));
12189 PyDict_SetItemString(d
,"wxFONTENCODING_CP850", PyInt_FromLong((long) wxFONTENCODING_CP850
));
12190 PyDict_SetItemString(d
,"wxFONTENCODING_CP852", PyInt_FromLong((long) wxFONTENCODING_CP852
));
12191 PyDict_SetItemString(d
,"wxFONTENCODING_CP855", PyInt_FromLong((long) wxFONTENCODING_CP855
));
12192 PyDict_SetItemString(d
,"wxFONTENCODING_CP866", PyInt_FromLong((long) wxFONTENCODING_CP866
));
12193 PyDict_SetItemString(d
,"wxFONTENCODING_CP874", PyInt_FromLong((long) wxFONTENCODING_CP874
));
12194 PyDict_SetItemString(d
,"wxFONTENCODING_CP932", PyInt_FromLong((long) wxFONTENCODING_CP932
));
12195 PyDict_SetItemString(d
,"wxFONTENCODING_CP936", PyInt_FromLong((long) wxFONTENCODING_CP936
));
12196 PyDict_SetItemString(d
,"wxFONTENCODING_CP949", PyInt_FromLong((long) wxFONTENCODING_CP949
));
12197 PyDict_SetItemString(d
,"wxFONTENCODING_CP950", PyInt_FromLong((long) wxFONTENCODING_CP950
));
12198 PyDict_SetItemString(d
,"wxFONTENCODING_CP1250", PyInt_FromLong((long) wxFONTENCODING_CP1250
));
12199 PyDict_SetItemString(d
,"wxFONTENCODING_CP1251", PyInt_FromLong((long) wxFONTENCODING_CP1251
));
12200 PyDict_SetItemString(d
,"wxFONTENCODING_CP1252", PyInt_FromLong((long) wxFONTENCODING_CP1252
));
12201 PyDict_SetItemString(d
,"wxFONTENCODING_CP1253", PyInt_FromLong((long) wxFONTENCODING_CP1253
));
12202 PyDict_SetItemString(d
,"wxFONTENCODING_CP1254", PyInt_FromLong((long) wxFONTENCODING_CP1254
));
12203 PyDict_SetItemString(d
,"wxFONTENCODING_CP1255", PyInt_FromLong((long) wxFONTENCODING_CP1255
));
12204 PyDict_SetItemString(d
,"wxFONTENCODING_CP1256", PyInt_FromLong((long) wxFONTENCODING_CP1256
));
12205 PyDict_SetItemString(d
,"wxFONTENCODING_CP1257", PyInt_FromLong((long) wxFONTENCODING_CP1257
));
12206 PyDict_SetItemString(d
,"wxFONTENCODING_CP12_MAX", PyInt_FromLong((long) wxFONTENCODING_CP12_MAX
));
12207 PyDict_SetItemString(d
,"wxFONTENCODING_UTF7", PyInt_FromLong((long) wxFONTENCODING_UTF7
));
12208 PyDict_SetItemString(d
,"wxFONTENCODING_UTF8", PyInt_FromLong((long) wxFONTENCODING_UTF8
));
12209 PyDict_SetItemString(d
,"wxFONTENCODING_UNICODE", PyInt_FromLong((long) wxFONTENCODING_UNICODE
));
12210 PyDict_SetItemString(d
,"wxFONTENCODING_MAX", PyInt_FromLong((long) wxFONTENCODING_MAX
));
12211 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_NORMAL", PyInt_FromLong((long) wxIMAGELIST_DRAW_NORMAL
));
12212 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_TRANSPARENT", PyInt_FromLong((long) wxIMAGELIST_DRAW_TRANSPARENT
));
12213 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_SELECTED", PyInt_FromLong((long) wxIMAGELIST_DRAW_SELECTED
));
12214 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_FOCUSED", PyInt_FromLong((long) wxIMAGELIST_DRAW_FOCUSED
));
12215 PyDict_SetItemString(d
,"wxIMAGE_LIST_NORMAL", PyInt_FromLong((long) wxIMAGE_LIST_NORMAL
));
12216 PyDict_SetItemString(d
,"wxIMAGE_LIST_SMALL", PyInt_FromLong((long) wxIMAGE_LIST_SMALL
));
12217 PyDict_SetItemString(d
,"wxIMAGE_LIST_STATE", PyInt_FromLong((long) wxIMAGE_LIST_STATE
));
12218 PyDict_SetItemString(d
,"wxOutRegion", PyInt_FromLong((long) wxOutRegion
));
12219 PyDict_SetItemString(d
,"wxPartRegion", PyInt_FromLong((long) wxPartRegion
));
12220 PyDict_SetItemString(d
,"wxInRegion", PyInt_FromLong((long) wxInRegion
));
12221 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
12222 SWIG_addvarlink(SWIG_globals
,"wxNORMAL_FONT",_wrap_wxNORMAL_FONT_get
, _wrap_wxNORMAL_FONT_set
);
12223 SWIG_addvarlink(SWIG_globals
,"wxSMALL_FONT",_wrap_wxSMALL_FONT_get
, _wrap_wxSMALL_FONT_set
);
12224 SWIG_addvarlink(SWIG_globals
,"wxITALIC_FONT",_wrap_wxITALIC_FONT_get
, _wrap_wxITALIC_FONT_set
);
12225 SWIG_addvarlink(SWIG_globals
,"wxSWISS_FONT",_wrap_wxSWISS_FONT_get
, _wrap_wxSWISS_FONT_set
);
12226 SWIG_addvarlink(SWIG_globals
,"wxRED_PEN",_wrap_wxRED_PEN_get
, _wrap_wxRED_PEN_set
);
12227 SWIG_addvarlink(SWIG_globals
,"wxCYAN_PEN",_wrap_wxCYAN_PEN_get
, _wrap_wxCYAN_PEN_set
);
12228 SWIG_addvarlink(SWIG_globals
,"wxGREEN_PEN",_wrap_wxGREEN_PEN_get
, _wrap_wxGREEN_PEN_set
);
12229 SWIG_addvarlink(SWIG_globals
,"wxBLACK_PEN",_wrap_wxBLACK_PEN_get
, _wrap_wxBLACK_PEN_set
);
12230 SWIG_addvarlink(SWIG_globals
,"wxWHITE_PEN",_wrap_wxWHITE_PEN_get
, _wrap_wxWHITE_PEN_set
);
12231 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_PEN",_wrap_wxTRANSPARENT_PEN_get
, _wrap_wxTRANSPARENT_PEN_set
);
12232 SWIG_addvarlink(SWIG_globals
,"wxBLACK_DASHED_PEN",_wrap_wxBLACK_DASHED_PEN_get
, _wrap_wxBLACK_DASHED_PEN_set
);
12233 SWIG_addvarlink(SWIG_globals
,"wxGREY_PEN",_wrap_wxGREY_PEN_get
, _wrap_wxGREY_PEN_set
);
12234 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_PEN",_wrap_wxMEDIUM_GREY_PEN_get
, _wrap_wxMEDIUM_GREY_PEN_set
);
12235 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_PEN",_wrap_wxLIGHT_GREY_PEN_get
, _wrap_wxLIGHT_GREY_PEN_set
);
12236 SWIG_addvarlink(SWIG_globals
,"wxBLUE_BRUSH",_wrap_wxBLUE_BRUSH_get
, _wrap_wxBLUE_BRUSH_set
);
12237 SWIG_addvarlink(SWIG_globals
,"wxGREEN_BRUSH",_wrap_wxGREEN_BRUSH_get
, _wrap_wxGREEN_BRUSH_set
);
12238 SWIG_addvarlink(SWIG_globals
,"wxWHITE_BRUSH",_wrap_wxWHITE_BRUSH_get
, _wrap_wxWHITE_BRUSH_set
);
12239 SWIG_addvarlink(SWIG_globals
,"wxBLACK_BRUSH",_wrap_wxBLACK_BRUSH_get
, _wrap_wxBLACK_BRUSH_set
);
12240 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_BRUSH",_wrap_wxTRANSPARENT_BRUSH_get
, _wrap_wxTRANSPARENT_BRUSH_set
);
12241 SWIG_addvarlink(SWIG_globals
,"wxCYAN_BRUSH",_wrap_wxCYAN_BRUSH_get
, _wrap_wxCYAN_BRUSH_set
);
12242 SWIG_addvarlink(SWIG_globals
,"wxRED_BRUSH",_wrap_wxRED_BRUSH_get
, _wrap_wxRED_BRUSH_set
);
12243 SWIG_addvarlink(SWIG_globals
,"wxGREY_BRUSH",_wrap_wxGREY_BRUSH_get
, _wrap_wxGREY_BRUSH_set
);
12244 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_BRUSH",_wrap_wxMEDIUM_GREY_BRUSH_get
, _wrap_wxMEDIUM_GREY_BRUSH_set
);
12245 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_BRUSH",_wrap_wxLIGHT_GREY_BRUSH_get
, _wrap_wxLIGHT_GREY_BRUSH_set
);
12246 SWIG_addvarlink(SWIG_globals
,"wxBLACK",_wrap_wxBLACK_get
, _wrap_wxBLACK_set
);
12247 SWIG_addvarlink(SWIG_globals
,"wxWHITE",_wrap_wxWHITE_get
, _wrap_wxWHITE_set
);
12248 SWIG_addvarlink(SWIG_globals
,"wxRED",_wrap_wxRED_get
, _wrap_wxRED_set
);
12249 SWIG_addvarlink(SWIG_globals
,"wxBLUE",_wrap_wxBLUE_get
, _wrap_wxBLUE_set
);
12250 SWIG_addvarlink(SWIG_globals
,"wxGREEN",_wrap_wxGREEN_get
, _wrap_wxGREEN_set
);
12251 SWIG_addvarlink(SWIG_globals
,"wxCYAN",_wrap_wxCYAN_get
, _wrap_wxCYAN_set
);
12252 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY",_wrap_wxLIGHT_GREY_get
, _wrap_wxLIGHT_GREY_set
);
12253 SWIG_addvarlink(SWIG_globals
,"wxSTANDARD_CURSOR",_wrap_wxSTANDARD_CURSOR_get
, _wrap_wxSTANDARD_CURSOR_set
);
12254 SWIG_addvarlink(SWIG_globals
,"wxHOURGLASS_CURSOR",_wrap_wxHOURGLASS_CURSOR_get
, _wrap_wxHOURGLASS_CURSOR_set
);
12255 SWIG_addvarlink(SWIG_globals
,"wxCROSS_CURSOR",_wrap_wxCROSS_CURSOR_get
, _wrap_wxCROSS_CURSOR_set
);
12256 SWIG_addvarlink(SWIG_globals
,"wxNullBitmap",_wrap_wxNullBitmap_get
, _wrap_wxNullBitmap_set
);
12257 SWIG_addvarlink(SWIG_globals
,"wxNullIcon",_wrap_wxNullIcon_get
, _wrap_wxNullIcon_set
);
12258 SWIG_addvarlink(SWIG_globals
,"wxNullCursor",_wrap_wxNullCursor_get
, _wrap_wxNullCursor_set
);
12259 SWIG_addvarlink(SWIG_globals
,"wxNullPen",_wrap_wxNullPen_get
, _wrap_wxNullPen_set
);
12260 SWIG_addvarlink(SWIG_globals
,"wxNullBrush",_wrap_wxNullBrush_get
, _wrap_wxNullBrush_set
);
12261 SWIG_addvarlink(SWIG_globals
,"wxNullPalette",_wrap_wxNullPalette_get
, _wrap_wxNullPalette_set
);
12262 SWIG_addvarlink(SWIG_globals
,"wxNullFont",_wrap_wxNullFont_get
, _wrap_wxNullFont_set
);
12263 SWIG_addvarlink(SWIG_globals
,"wxNullColour",_wrap_wxNullColour_get
, _wrap_wxNullColour_set
);
12264 SWIG_addvarlink(SWIG_globals
,"wxTheFontList",_wrap_wxTheFontList_get
, _wrap_wxTheFontList_set
);
12265 SWIG_addvarlink(SWIG_globals
,"wxThePenList",_wrap_wxThePenList_get
, _wrap_wxThePenList_set
);
12266 SWIG_addvarlink(SWIG_globals
,"wxTheBrushList",_wrap_wxTheBrushList_get
, _wrap_wxTheBrushList_set
);
12267 SWIG_addvarlink(SWIG_globals
,"wxTheColourDatabase",_wrap_wxTheColourDatabase_get
, _wrap_wxTheColourDatabase_set
);
12270 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
12271 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);