2 * FILE : src/msw/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>
65 #include <wx/iconbndl.h>
68 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
74 } else if (target
== Py_None
) {
78 if (!PyTuple_Check(target
)) {
80 target
= PyTuple_New(1);
81 PyTuple_SetItem(target
, 0, o2
);
84 PyTuple_SetItem(o3
, 0, o
);
87 target
= PySequence_Concat(o2
, o3
);
94 // Put some wx default wxChar* values into wxStrings.
95 static const wxString
wxPyEmptyString(wxT(""));
96 // Implementations of some alternate "constructors"
98 wxBitmap
* wxEmptyBitmap(int width
, int height
, int depth
=-1) {
99 return new wxBitmap(width
, height
, depth
);
102 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
103 char** cArray
= NULL
;
106 if (!PyList_Check(listOfStrings
)) {
107 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
110 count
= PyList_Size(listOfStrings
);
111 cArray
= new char*[count
];
113 for(int x
=0; x
<count
; x
++) {
114 // TODO: Need some validation and error checking here
115 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
121 wxBitmap
* wxBitmapFromXPMData(PyObject
* listOfStrings
) {
122 char** cArray
= NULL
;
125 cArray
= ConvertListOfStrings(listOfStrings
);
128 bmp
= new wxBitmap(cArray
);
134 wxBitmap
* wxBitmapFromIcon(const wxIcon
& icon
) {
135 return new wxBitmap(icon
);
139 wxBitmap
* wxBitmapFromBits(char* bits
, int width
, int height
, int depth
= 1 ) {
140 return new wxBitmap(bits
, width
, height
, depth
);
145 // wxBitmap* wxBitmapFromData(PyObject* data, long type,
146 // int width, int height, int depth = 1) {
147 // if (! PyString_Check(data)) {
148 // PyErr_SetString(PyExc_TypeError, "Expected string object");
151 // return new wxBitmap((void*)PyString_AsString(data), type, width, height, depth);
155 wxMask
* wxMaskColour(const wxBitmap
& bitmap
, const wxColour
& colour
) {
156 return new wxMask(bitmap
, colour
);
158 // Implementations of some alternate "constructors"
159 wxIcon
* wxEmptyIcon() {
163 wxIcon
* wxIconFromXPMData(PyObject
* listOfStrings
) {
164 char** cArray
= NULL
;
167 cArray
= ConvertListOfStrings(listOfStrings
);
170 icon
= new wxIcon(cArray
);
175 wxIcon
* wxIconFromBitmap(const wxBitmap
& bmp
) {
176 wxIcon
* icon
= new wxIcon();
177 icon
->CopyFromBitmap(bmp
);
180 // Alternate 'constructor'
181 wxCursor
* wxPyStockCursor(int id
) {
182 return new wxCursor(id
);
184 // Alternate 'constructor'
185 wxColour
* wxNamedColour(const wxString
& colorName
) {
186 return new wxColour(colorName
);
189 class wxPyPen
: public wxPen
{
191 wxPyPen(wxColour
& colour
, int width
=1, int style
=wxSOLID
)
192 : wxPen(colour
, width
, style
)
199 void SetDashes(int nb_dashes
, const wxDash
*dash
) {
202 m_dash
= new wxDash
[nb_dashes
];
203 for (int i
=0; i
<nb_dashes
; i
++) {
206 wxPen::SetDashes(nb_dashes
, m_dash
);
213 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
219 // Alternate 'constructor'
220 wxMemoryDC
* wxMemoryDCFromDC(wxDC
* oldDC
) {
221 return new wxMemoryDC(oldDC
);
224 #include <wx/metafile.h>
227 extern wxFont
* wxNORMAL_FONT
;
228 extern wxFont
* wxSMALL_FONT
;
229 extern wxFont
* wxITALIC_FONT
;
230 extern wxFont
* wxSWISS_FONT
;
231 extern wxPen
* wxRED_PEN
;
232 extern wxPen
* wxCYAN_PEN
;
233 extern wxPen
* wxGREEN_PEN
;
234 extern wxPen
* wxBLACK_PEN
;
235 extern wxPen
* wxWHITE_PEN
;
236 extern wxPen
* wxTRANSPARENT_PEN
;
237 extern wxPen
* wxBLACK_DASHED_PEN
;
238 extern wxPen
* wxGREY_PEN
;
239 extern wxPen
* wxMEDIUM_GREY_PEN
;
240 extern wxPen
* wxLIGHT_GREY_PEN
;
241 extern wxBrush
* wxBLUE_BRUSH
;
242 extern wxBrush
* wxGREEN_BRUSH
;
243 extern wxBrush
* wxWHITE_BRUSH
;
244 extern wxBrush
* wxBLACK_BRUSH
;
245 extern wxBrush
* wxTRANSPARENT_BRUSH
;
246 extern wxBrush
* wxCYAN_BRUSH
;
247 extern wxBrush
* wxRED_BRUSH
;
248 extern wxBrush
* wxGREY_BRUSH
;
249 extern wxBrush
* wxMEDIUM_GREY_BRUSH
;
250 extern wxBrush
* wxLIGHT_GREY_BRUSH
;
251 extern wxColour
* wxBLACK
;
252 extern wxColour
* wxWHITE
;
253 extern wxColour
* wxRED
;
254 extern wxColour
* wxBLUE
;
255 extern wxColour
* wxGREEN
;
256 extern wxColour
* wxCYAN
;
257 extern wxColour
* wxLIGHT_GREY
;
258 extern wxCursor
* wxSTANDARD_CURSOR
;
259 extern wxCursor
* wxHOURGLASS_CURSOR
;
260 extern wxCursor
* wxCROSS_CURSOR
;
261 extern wxBitmap wxNullBitmap
;
262 extern wxIcon wxNullIcon
;
263 extern wxCursor wxNullCursor
;
264 extern wxPen wxNullPen
;
265 extern wxBrush wxNullBrush
;
266 extern wxPalette wxNullPalette
;
267 extern wxFont wxNullFont
;
268 extern wxColour wxNullColour
;
269 extern wxFontList
* wxTheFontList
;
270 extern wxPenList
* wxThePenList
;
271 extern wxBrushList
* wxTheBrushList
;
272 extern wxColourDatabase
* wxTheColourDatabase
;
278 static PyObject
*_wrap_wxEmptyBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
279 PyObject
* _resultobj
;
283 int _arg2
= (int ) -1;
284 char *_kwnames
[] = { "width","height","depth", NULL
};
288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ii|i:wxEmptyBitmap",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
292 _result
= (wxBitmap
*)wxEmptyBitmap(_arg0
,_arg1
,_arg2
);
294 wxPyEndAllowThreads(__tstate
);
295 if (PyErr_Occurred()) return NULL
;
297 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
298 _resultobj
= Py_BuildValue("s",_ptemp
);
301 _resultobj
= Py_None
;
306 static PyObject
*_wrap_wxBitmapFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
307 PyObject
* _resultobj
;
310 PyObject
* _obj0
= 0;
311 char *_kwnames
[] = { "listOfStrings", NULL
};
315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapFromXPMData",_kwnames
,&_obj0
))
321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
322 _result
= (wxBitmap
*)wxBitmapFromXPMData(_arg0
);
324 wxPyEndAllowThreads(__tstate
);
325 if (PyErr_Occurred()) return NULL
;
327 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
328 _resultobj
= Py_BuildValue("s",_ptemp
);
331 _resultobj
= Py_None
;
336 static PyObject
*_wrap_wxBitmapFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
337 PyObject
* _resultobj
;
340 PyObject
* _argo0
= 0;
341 char *_kwnames
[] = { "icon", NULL
};
345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapFromIcon",_kwnames
,&_argo0
))
348 if (_argo0
== Py_None
) { _arg0
= NULL
; }
349 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapFromIcon. Expected _wxIcon_p.");
355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
356 _result
= (wxBitmap
*)wxBitmapFromIcon(*_arg0
);
358 wxPyEndAllowThreads(__tstate
);
359 if (PyErr_Occurred()) return NULL
;
361 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
362 _resultobj
= Py_BuildValue("s",_ptemp
);
365 _resultobj
= Py_None
;
370 static PyObject
*_wrap_wxBitmapFromBits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
371 PyObject
* _resultobj
;
376 int _arg3
= (int ) 1;
377 char *_kwnames
[] = { "bits","width","height","depth", NULL
};
381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"sii|i:wxBitmapFromBits",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
385 _result
= (wxBitmap
*)wxBitmapFromBits(_arg0
,_arg1
,_arg2
,_arg3
);
387 wxPyEndAllowThreads(__tstate
);
388 if (PyErr_Occurred()) return NULL
;
390 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
391 _resultobj
= Py_BuildValue("s",_ptemp
);
394 _resultobj
= Py_None
;
399 static PyObject
*_wrap_wxMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
400 PyObject
* _resultobj
;
404 PyObject
* _argo0
= 0;
406 PyObject
* _obj1
= 0;
407 char *_kwnames
[] = { "bitmap","colour", NULL
};
411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMaskColour",_kwnames
,&_argo0
,&_obj1
))
414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMaskColour. Expected _wxBitmap_p.");
422 if (! wxColour_helper(_obj1
, &_arg1
))
426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
427 _result
= (wxMask
*)wxMaskColour(*_arg0
,*_arg1
);
429 wxPyEndAllowThreads(__tstate
);
430 if (PyErr_Occurred()) return NULL
;
432 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
433 _resultobj
= Py_BuildValue("s",_ptemp
);
436 _resultobj
= Py_None
;
441 static PyObject
*_wrap_wxEmptyIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
442 PyObject
* _resultobj
;
444 char *_kwnames
[] = { NULL
};
448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxEmptyIcon",_kwnames
))
451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
452 _result
= (wxIcon
*)wxEmptyIcon();
454 wxPyEndAllowThreads(__tstate
);
455 if (PyErr_Occurred()) return NULL
;
457 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
458 _resultobj
= Py_BuildValue("s",_ptemp
);
461 _resultobj
= Py_None
;
466 static PyObject
*_wrap_wxIconFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
467 PyObject
* _resultobj
;
470 PyObject
* _obj0
= 0;
471 char *_kwnames
[] = { "listOfStrings", NULL
};
475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIconFromXPMData",_kwnames
,&_obj0
))
481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
482 _result
= (wxIcon
*)wxIconFromXPMData(_arg0
);
484 wxPyEndAllowThreads(__tstate
);
485 if (PyErr_Occurred()) return NULL
;
487 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
488 _resultobj
= Py_BuildValue("s",_ptemp
);
491 _resultobj
= Py_None
;
496 static PyObject
*_wrap_wxIconFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
497 PyObject
* _resultobj
;
500 PyObject
* _argo0
= 0;
501 char *_kwnames
[] = { "bmp", NULL
};
505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIconFromBitmap",_kwnames
,&_argo0
))
508 if (_argo0
== Py_None
) { _arg0
= NULL
; }
509 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIconFromBitmap. Expected _wxBitmap_p.");
515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
516 _result
= (wxIcon
*)wxIconFromBitmap(*_arg0
);
518 wxPyEndAllowThreads(__tstate
);
519 if (PyErr_Occurred()) return NULL
;
521 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
522 _resultobj
= Py_BuildValue("s",_ptemp
);
525 _resultobj
= Py_None
;
530 static PyObject
*_wrap_wxStockCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
531 PyObject
* _resultobj
;
534 char *_kwnames
[] = { "id", NULL
};
538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxStockCursor",_kwnames
,&_arg0
))
541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
542 _result
= (wxCursor
*)wxPyStockCursor(_arg0
);
544 wxPyEndAllowThreads(__tstate
);
545 if (PyErr_Occurred()) return NULL
;
547 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCursor_p");
548 _resultobj
= Py_BuildValue("s",_ptemp
);
551 _resultobj
= Py_None
;
556 static PyObject
*_wrap_wxNamedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
557 PyObject
* _resultobj
;
560 PyObject
* _obj0
= 0;
561 char *_kwnames
[] = { "colorName", NULL
};
565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNamedColour",_kwnames
,&_obj0
))
568 _arg0
= wxString_in_helper(_obj0
);
573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
574 _result
= (wxColour
*)wxNamedColour(*_arg0
);
576 wxPyEndAllowThreads(__tstate
);
577 if (PyErr_Occurred()) return NULL
;
579 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
580 _resultobj
= Py_BuildValue("s",_ptemp
);
583 _resultobj
= Py_None
;
592 static PyObject
*_wrap_wxMemoryDCFromDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
593 PyObject
* _resultobj
;
594 wxMemoryDC
* _result
;
596 PyObject
* _argo0
= 0;
597 char *_kwnames
[] = { "oldDC", NULL
};
601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMemoryDCFromDC",_kwnames
,&_argo0
))
604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDCFromDC. Expected _wxDC_p.");
611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
612 _result
= (wxMemoryDC
*)wxMemoryDCFromDC(_arg0
);
614 wxPyEndAllowThreads(__tstate
);
615 if (PyErr_Occurred()) return NULL
;
617 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
618 _resultobj
= Py_BuildValue("s",_ptemp
);
621 _resultobj
= Py_None
;
626 static int _wrap_wxNORMAL_FONT_set(PyObject
*val
) {
628 PyErr_SetString(PyExc_TypeError
,"Variable wxNORMAL_FONT is read-only.");
632 static PyObject
*_wrap_wxNORMAL_FONT_get() {
636 SWIG_MakePtr(ptemp
, (char *) wxNORMAL_FONT
,"_wxFont_p");
637 pyobj
= PyString_FromString(ptemp
);
641 static int _wrap_wxSMALL_FONT_set(PyObject
*val
) {
643 PyErr_SetString(PyExc_TypeError
,"Variable wxSMALL_FONT is read-only.");
647 static PyObject
*_wrap_wxSMALL_FONT_get() {
651 SWIG_MakePtr(ptemp
, (char *) wxSMALL_FONT
,"_wxFont_p");
652 pyobj
= PyString_FromString(ptemp
);
656 static int _wrap_wxITALIC_FONT_set(PyObject
*val
) {
658 PyErr_SetString(PyExc_TypeError
,"Variable wxITALIC_FONT is read-only.");
662 static PyObject
*_wrap_wxITALIC_FONT_get() {
666 SWIG_MakePtr(ptemp
, (char *) wxITALIC_FONT
,"_wxFont_p");
667 pyobj
= PyString_FromString(ptemp
);
671 static int _wrap_wxSWISS_FONT_set(PyObject
*val
) {
673 PyErr_SetString(PyExc_TypeError
,"Variable wxSWISS_FONT is read-only.");
677 static PyObject
*_wrap_wxSWISS_FONT_get() {
681 SWIG_MakePtr(ptemp
, (char *) wxSWISS_FONT
,"_wxFont_p");
682 pyobj
= PyString_FromString(ptemp
);
686 static int _wrap_wxRED_PEN_set(PyObject
*val
) {
688 PyErr_SetString(PyExc_TypeError
,"Variable wxRED_PEN is read-only.");
692 static PyObject
*_wrap_wxRED_PEN_get() {
696 SWIG_MakePtr(ptemp
, (char *) wxRED_PEN
,"_wxPen_p");
697 pyobj
= PyString_FromString(ptemp
);
701 static int _wrap_wxCYAN_PEN_set(PyObject
*val
) {
703 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN_PEN is read-only.");
707 static PyObject
*_wrap_wxCYAN_PEN_get() {
711 SWIG_MakePtr(ptemp
, (char *) wxCYAN_PEN
,"_wxPen_p");
712 pyobj
= PyString_FromString(ptemp
);
716 static int _wrap_wxGREEN_PEN_set(PyObject
*val
) {
718 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN_PEN is read-only.");
722 static PyObject
*_wrap_wxGREEN_PEN_get() {
726 SWIG_MakePtr(ptemp
, (char *) wxGREEN_PEN
,"_wxPen_p");
727 pyobj
= PyString_FromString(ptemp
);
731 static int _wrap_wxBLACK_PEN_set(PyObject
*val
) {
733 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_PEN is read-only.");
737 static PyObject
*_wrap_wxBLACK_PEN_get() {
741 SWIG_MakePtr(ptemp
, (char *) wxBLACK_PEN
,"_wxPen_p");
742 pyobj
= PyString_FromString(ptemp
);
746 static int _wrap_wxWHITE_PEN_set(PyObject
*val
) {
748 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE_PEN is read-only.");
752 static PyObject
*_wrap_wxWHITE_PEN_get() {
756 SWIG_MakePtr(ptemp
, (char *) wxWHITE_PEN
,"_wxPen_p");
757 pyobj
= PyString_FromString(ptemp
);
761 static int _wrap_wxTRANSPARENT_PEN_set(PyObject
*val
) {
763 PyErr_SetString(PyExc_TypeError
,"Variable wxTRANSPARENT_PEN is read-only.");
767 static PyObject
*_wrap_wxTRANSPARENT_PEN_get() {
771 SWIG_MakePtr(ptemp
, (char *) wxTRANSPARENT_PEN
,"_wxPen_p");
772 pyobj
= PyString_FromString(ptemp
);
776 static int _wrap_wxBLACK_DASHED_PEN_set(PyObject
*val
) {
778 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_DASHED_PEN is read-only.");
782 static PyObject
*_wrap_wxBLACK_DASHED_PEN_get() {
786 SWIG_MakePtr(ptemp
, (char *) wxBLACK_DASHED_PEN
,"_wxPen_p");
787 pyobj
= PyString_FromString(ptemp
);
791 static int _wrap_wxGREY_PEN_set(PyObject
*val
) {
793 PyErr_SetString(PyExc_TypeError
,"Variable wxGREY_PEN is read-only.");
797 static PyObject
*_wrap_wxGREY_PEN_get() {
801 SWIG_MakePtr(ptemp
, (char *) wxGREY_PEN
,"_wxPen_p");
802 pyobj
= PyString_FromString(ptemp
);
806 static int _wrap_wxMEDIUM_GREY_PEN_set(PyObject
*val
) {
808 PyErr_SetString(PyExc_TypeError
,"Variable wxMEDIUM_GREY_PEN is read-only.");
812 static PyObject
*_wrap_wxMEDIUM_GREY_PEN_get() {
816 SWIG_MakePtr(ptemp
, (char *) wxMEDIUM_GREY_PEN
,"_wxPen_p");
817 pyobj
= PyString_FromString(ptemp
);
821 static int _wrap_wxLIGHT_GREY_PEN_set(PyObject
*val
) {
823 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY_PEN is read-only.");
827 static PyObject
*_wrap_wxLIGHT_GREY_PEN_get() {
831 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY_PEN
,"_wxPen_p");
832 pyobj
= PyString_FromString(ptemp
);
836 static int _wrap_wxBLUE_BRUSH_set(PyObject
*val
) {
838 PyErr_SetString(PyExc_TypeError
,"Variable wxBLUE_BRUSH is read-only.");
842 static PyObject
*_wrap_wxBLUE_BRUSH_get() {
846 SWIG_MakePtr(ptemp
, (char *) wxBLUE_BRUSH
,"_wxBrush_p");
847 pyobj
= PyString_FromString(ptemp
);
851 static int _wrap_wxGREEN_BRUSH_set(PyObject
*val
) {
853 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN_BRUSH is read-only.");
857 static PyObject
*_wrap_wxGREEN_BRUSH_get() {
861 SWIG_MakePtr(ptemp
, (char *) wxGREEN_BRUSH
,"_wxBrush_p");
862 pyobj
= PyString_FromString(ptemp
);
866 static int _wrap_wxWHITE_BRUSH_set(PyObject
*val
) {
868 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE_BRUSH is read-only.");
872 static PyObject
*_wrap_wxWHITE_BRUSH_get() {
876 SWIG_MakePtr(ptemp
, (char *) wxWHITE_BRUSH
,"_wxBrush_p");
877 pyobj
= PyString_FromString(ptemp
);
881 static int _wrap_wxBLACK_BRUSH_set(PyObject
*val
) {
883 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_BRUSH is read-only.");
887 static PyObject
*_wrap_wxBLACK_BRUSH_get() {
891 SWIG_MakePtr(ptemp
, (char *) wxBLACK_BRUSH
,"_wxBrush_p");
892 pyobj
= PyString_FromString(ptemp
);
896 static int _wrap_wxTRANSPARENT_BRUSH_set(PyObject
*val
) {
898 PyErr_SetString(PyExc_TypeError
,"Variable wxTRANSPARENT_BRUSH is read-only.");
902 static PyObject
*_wrap_wxTRANSPARENT_BRUSH_get() {
906 SWIG_MakePtr(ptemp
, (char *) wxTRANSPARENT_BRUSH
,"_wxBrush_p");
907 pyobj
= PyString_FromString(ptemp
);
911 static int _wrap_wxCYAN_BRUSH_set(PyObject
*val
) {
913 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN_BRUSH is read-only.");
917 static PyObject
*_wrap_wxCYAN_BRUSH_get() {
921 SWIG_MakePtr(ptemp
, (char *) wxCYAN_BRUSH
,"_wxBrush_p");
922 pyobj
= PyString_FromString(ptemp
);
926 static int _wrap_wxRED_BRUSH_set(PyObject
*val
) {
928 PyErr_SetString(PyExc_TypeError
,"Variable wxRED_BRUSH is read-only.");
932 static PyObject
*_wrap_wxRED_BRUSH_get() {
936 SWIG_MakePtr(ptemp
, (char *) wxRED_BRUSH
,"_wxBrush_p");
937 pyobj
= PyString_FromString(ptemp
);
941 static int _wrap_wxGREY_BRUSH_set(PyObject
*val
) {
943 PyErr_SetString(PyExc_TypeError
,"Variable wxGREY_BRUSH is read-only.");
947 static PyObject
*_wrap_wxGREY_BRUSH_get() {
951 SWIG_MakePtr(ptemp
, (char *) wxGREY_BRUSH
,"_wxBrush_p");
952 pyobj
= PyString_FromString(ptemp
);
956 static int _wrap_wxMEDIUM_GREY_BRUSH_set(PyObject
*val
) {
958 PyErr_SetString(PyExc_TypeError
,"Variable wxMEDIUM_GREY_BRUSH is read-only.");
962 static PyObject
*_wrap_wxMEDIUM_GREY_BRUSH_get() {
966 SWIG_MakePtr(ptemp
, (char *) wxMEDIUM_GREY_BRUSH
,"_wxBrush_p");
967 pyobj
= PyString_FromString(ptemp
);
971 static int _wrap_wxLIGHT_GREY_BRUSH_set(PyObject
*val
) {
973 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY_BRUSH is read-only.");
977 static PyObject
*_wrap_wxLIGHT_GREY_BRUSH_get() {
981 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY_BRUSH
,"_wxBrush_p");
982 pyobj
= PyString_FromString(ptemp
);
986 static int _wrap_wxBLACK_set(PyObject
*val
) {
988 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK is read-only.");
992 static PyObject
*_wrap_wxBLACK_get() {
996 SWIG_MakePtr(ptemp
, (char *) wxBLACK
,"_wxColour_p");
997 pyobj
= PyString_FromString(ptemp
);
1001 static int _wrap_wxWHITE_set(PyObject
*val
) {
1003 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE is read-only.");
1007 static PyObject
*_wrap_wxWHITE_get() {
1011 SWIG_MakePtr(ptemp
, (char *) wxWHITE
,"_wxColour_p");
1012 pyobj
= PyString_FromString(ptemp
);
1016 static int _wrap_wxRED_set(PyObject
*val
) {
1018 PyErr_SetString(PyExc_TypeError
,"Variable wxRED is read-only.");
1022 static PyObject
*_wrap_wxRED_get() {
1026 SWIG_MakePtr(ptemp
, (char *) wxRED
,"_wxColour_p");
1027 pyobj
= PyString_FromString(ptemp
);
1031 static int _wrap_wxBLUE_set(PyObject
*val
) {
1033 PyErr_SetString(PyExc_TypeError
,"Variable wxBLUE is read-only.");
1037 static PyObject
*_wrap_wxBLUE_get() {
1041 SWIG_MakePtr(ptemp
, (char *) wxBLUE
,"_wxColour_p");
1042 pyobj
= PyString_FromString(ptemp
);
1046 static int _wrap_wxGREEN_set(PyObject
*val
) {
1048 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN is read-only.");
1052 static PyObject
*_wrap_wxGREEN_get() {
1056 SWIG_MakePtr(ptemp
, (char *) wxGREEN
,"_wxColour_p");
1057 pyobj
= PyString_FromString(ptemp
);
1061 static int _wrap_wxCYAN_set(PyObject
*val
) {
1063 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN is read-only.");
1067 static PyObject
*_wrap_wxCYAN_get() {
1071 SWIG_MakePtr(ptemp
, (char *) wxCYAN
,"_wxColour_p");
1072 pyobj
= PyString_FromString(ptemp
);
1076 static int _wrap_wxLIGHT_GREY_set(PyObject
*val
) {
1078 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY is read-only.");
1082 static PyObject
*_wrap_wxLIGHT_GREY_get() {
1086 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY
,"_wxColour_p");
1087 pyobj
= PyString_FromString(ptemp
);
1091 static int _wrap_wxSTANDARD_CURSOR_set(PyObject
*val
) {
1093 PyErr_SetString(PyExc_TypeError
,"Variable wxSTANDARD_CURSOR is read-only.");
1097 static PyObject
*_wrap_wxSTANDARD_CURSOR_get() {
1101 SWIG_MakePtr(ptemp
, (char *) wxSTANDARD_CURSOR
,"_wxCursor_p");
1102 pyobj
= PyString_FromString(ptemp
);
1106 static int _wrap_wxHOURGLASS_CURSOR_set(PyObject
*val
) {
1108 PyErr_SetString(PyExc_TypeError
,"Variable wxHOURGLASS_CURSOR is read-only.");
1112 static PyObject
*_wrap_wxHOURGLASS_CURSOR_get() {
1116 SWIG_MakePtr(ptemp
, (char *) wxHOURGLASS_CURSOR
,"_wxCursor_p");
1117 pyobj
= PyString_FromString(ptemp
);
1121 static int _wrap_wxCROSS_CURSOR_set(PyObject
*val
) {
1123 PyErr_SetString(PyExc_TypeError
,"Variable wxCROSS_CURSOR is read-only.");
1127 static PyObject
*_wrap_wxCROSS_CURSOR_get() {
1131 SWIG_MakePtr(ptemp
, (char *) wxCROSS_CURSOR
,"_wxCursor_p");
1132 pyobj
= PyString_FromString(ptemp
);
1136 static int _wrap_wxNullBitmap_set(PyObject
*val
) {
1138 PyErr_SetString(PyExc_TypeError
,"Variable wxNullBitmap is read-only.");
1142 static PyObject
*_wrap_wxNullBitmap_get() {
1146 SWIG_MakePtr(ptemp
,(char *) &wxNullBitmap
,"_wxBitmap_p");
1147 pyobj
= PyString_FromString(ptemp
);
1151 static int _wrap_wxNullIcon_set(PyObject
*val
) {
1153 PyErr_SetString(PyExc_TypeError
,"Variable wxNullIcon is read-only.");
1157 static PyObject
*_wrap_wxNullIcon_get() {
1161 SWIG_MakePtr(ptemp
,(char *) &wxNullIcon
,"_wxIcon_p");
1162 pyobj
= PyString_FromString(ptemp
);
1166 static int _wrap_wxNullCursor_set(PyObject
*val
) {
1168 PyErr_SetString(PyExc_TypeError
,"Variable wxNullCursor is read-only.");
1172 static PyObject
*_wrap_wxNullCursor_get() {
1176 SWIG_MakePtr(ptemp
,(char *) &wxNullCursor
,"_wxCursor_p");
1177 pyobj
= PyString_FromString(ptemp
);
1181 static int _wrap_wxNullPen_set(PyObject
*val
) {
1183 PyErr_SetString(PyExc_TypeError
,"Variable wxNullPen is read-only.");
1187 static PyObject
*_wrap_wxNullPen_get() {
1191 SWIG_MakePtr(ptemp
,(char *) &wxNullPen
,"_wxPen_p");
1192 pyobj
= PyString_FromString(ptemp
);
1196 static int _wrap_wxNullBrush_set(PyObject
*val
) {
1198 PyErr_SetString(PyExc_TypeError
,"Variable wxNullBrush is read-only.");
1202 static PyObject
*_wrap_wxNullBrush_get() {
1206 SWIG_MakePtr(ptemp
,(char *) &wxNullBrush
,"_wxBrush_p");
1207 pyobj
= PyString_FromString(ptemp
);
1211 static int _wrap_wxNullPalette_set(PyObject
*val
) {
1213 PyErr_SetString(PyExc_TypeError
,"Variable wxNullPalette is read-only.");
1217 static PyObject
*_wrap_wxNullPalette_get() {
1221 SWIG_MakePtr(ptemp
,(char *) &wxNullPalette
,"_wxPalette_p");
1222 pyobj
= PyString_FromString(ptemp
);
1226 static int _wrap_wxNullFont_set(PyObject
*val
) {
1228 PyErr_SetString(PyExc_TypeError
,"Variable wxNullFont is read-only.");
1232 static PyObject
*_wrap_wxNullFont_get() {
1236 SWIG_MakePtr(ptemp
,(char *) &wxNullFont
,"_wxFont_p");
1237 pyobj
= PyString_FromString(ptemp
);
1241 static int _wrap_wxNullColour_set(PyObject
*val
) {
1243 PyErr_SetString(PyExc_TypeError
,"Variable wxNullColour is read-only.");
1247 static PyObject
*_wrap_wxNullColour_get() {
1251 SWIG_MakePtr(ptemp
,(char *) &wxNullColour
,"_wxColour_p");
1252 pyobj
= PyString_FromString(ptemp
);
1256 static int _wrap_wxTheFontList_set(PyObject
*val
) {
1258 PyErr_SetString(PyExc_TypeError
,"Variable wxTheFontList is read-only.");
1262 static PyObject
*_wrap_wxTheFontList_get() {
1266 SWIG_MakePtr(ptemp
, (char *) wxTheFontList
,"_wxFontList_p");
1267 pyobj
= PyString_FromString(ptemp
);
1271 static int _wrap_wxThePenList_set(PyObject
*val
) {
1273 PyErr_SetString(PyExc_TypeError
,"Variable wxThePenList is read-only.");
1277 static PyObject
*_wrap_wxThePenList_get() {
1281 SWIG_MakePtr(ptemp
, (char *) wxThePenList
,"_wxPenList_p");
1282 pyobj
= PyString_FromString(ptemp
);
1286 static int _wrap_wxTheBrushList_set(PyObject
*val
) {
1288 PyErr_SetString(PyExc_TypeError
,"Variable wxTheBrushList is read-only.");
1292 static PyObject
*_wrap_wxTheBrushList_get() {
1296 SWIG_MakePtr(ptemp
, (char *) wxTheBrushList
,"_wxBrushList_p");
1297 pyobj
= PyString_FromString(ptemp
);
1301 static int _wrap_wxTheColourDatabase_set(PyObject
*val
) {
1303 PyErr_SetString(PyExc_TypeError
,"Variable wxTheColourDatabase is read-only.");
1307 static PyObject
*_wrap_wxTheColourDatabase_get() {
1311 SWIG_MakePtr(ptemp
, (char *) wxTheColourDatabase
,"_wxColourDatabase_p");
1312 pyobj
= PyString_FromString(ptemp
);
1316 static void *SwigwxGDIObjectTowxObject(void *ptr
) {
1319 src
= (wxGDIObject
*) ptr
;
1320 dest
= (wxObject
*) src
;
1321 return (void *) dest
;
1324 #define new_wxGDIObject() (new wxGDIObject())
1325 static PyObject
*_wrap_new_wxGDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1326 PyObject
* _resultobj
;
1327 wxGDIObject
* _result
;
1328 char *_kwnames
[] = { NULL
};
1332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGDIObject",_kwnames
))
1335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1336 _result
= (wxGDIObject
*)new_wxGDIObject();
1338 wxPyEndAllowThreads(__tstate
);
1339 if (PyErr_Occurred()) return NULL
;
1341 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGDIObject_p");
1342 _resultobj
= Py_BuildValue("s",_ptemp
);
1345 _resultobj
= Py_None
;
1350 #define delete_wxGDIObject(_swigobj) (delete _swigobj)
1351 static PyObject
*_wrap_delete_wxGDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1352 PyObject
* _resultobj
;
1353 wxGDIObject
* _arg0
;
1354 PyObject
* _argo0
= 0;
1355 char *_kwnames
[] = { "self", NULL
};
1358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxGDIObject",_kwnames
,&_argo0
))
1361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGDIObject_p")) {
1363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxGDIObject. Expected _wxGDIObject_p.");
1368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1369 delete_wxGDIObject(_arg0
);
1371 wxPyEndAllowThreads(__tstate
);
1372 if (PyErr_Occurred()) return NULL
;
1373 } Py_INCREF(Py_None
);
1374 _resultobj
= Py_None
;
1378 #define wxGDIObject_GetVisible(_swigobj) (_swigobj->GetVisible())
1379 static PyObject
*_wrap_wxGDIObject_GetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1380 PyObject
* _resultobj
;
1382 wxGDIObject
* _arg0
;
1383 PyObject
* _argo0
= 0;
1384 char *_kwnames
[] = { "self", NULL
};
1387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGDIObject_GetVisible",_kwnames
,&_argo0
))
1390 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1391 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGDIObject_p")) {
1392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGDIObject_GetVisible. Expected _wxGDIObject_p.");
1397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1398 _result
= (bool )wxGDIObject_GetVisible(_arg0
);
1400 wxPyEndAllowThreads(__tstate
);
1401 if (PyErr_Occurred()) return NULL
;
1402 } _resultobj
= Py_BuildValue("i",_result
);
1406 #define wxGDIObject_SetVisible(_swigobj,_swigarg0) (_swigobj->SetVisible(_swigarg0))
1407 static PyObject
*_wrap_wxGDIObject_SetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1408 PyObject
* _resultobj
;
1409 wxGDIObject
* _arg0
;
1411 PyObject
* _argo0
= 0;
1413 char *_kwnames
[] = { "self","visible", NULL
};
1416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGDIObject_SetVisible",_kwnames
,&_argo0
,&tempbool1
))
1419 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1420 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGDIObject_p")) {
1421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGDIObject_SetVisible. Expected _wxGDIObject_p.");
1425 _arg1
= (bool ) tempbool1
;
1427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1428 wxGDIObject_SetVisible(_arg0
,_arg1
);
1430 wxPyEndAllowThreads(__tstate
);
1431 if (PyErr_Occurred()) return NULL
;
1432 } Py_INCREF(Py_None
);
1433 _resultobj
= Py_None
;
1437 #define wxGDIObject_IsNull(_swigobj) (_swigobj->IsNull())
1438 static PyObject
*_wrap_wxGDIObject_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1439 PyObject
* _resultobj
;
1441 wxGDIObject
* _arg0
;
1442 PyObject
* _argo0
= 0;
1443 char *_kwnames
[] = { "self", NULL
};
1446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGDIObject_IsNull",_kwnames
,&_argo0
))
1449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGDIObject_p")) {
1451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGDIObject_IsNull. Expected _wxGDIObject_p.");
1456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1457 _result
= (bool )wxGDIObject_IsNull(_arg0
);
1459 wxPyEndAllowThreads(__tstate
);
1460 if (PyErr_Occurred()) return NULL
;
1461 } _resultobj
= Py_BuildValue("i",_result
);
1465 static void *SwigwxBitmapTowxGDIObject(void *ptr
) {
1468 src
= (wxBitmap
*) ptr
;
1469 dest
= (wxGDIObject
*) src
;
1470 return (void *) dest
;
1473 static void *SwigwxBitmapTowxObject(void *ptr
) {
1476 src
= (wxBitmap
*) ptr
;
1477 dest
= (wxObject
*) src
;
1478 return (void *) dest
;
1481 #define new_wxBitmap(_swigarg0,_swigarg1) (new wxBitmap(_swigarg0,_swigarg1))
1482 static PyObject
*_wrap_new_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1483 PyObject
* _resultobj
;
1486 wxBitmapType _arg1
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
1487 PyObject
* _obj0
= 0;
1488 char *_kwnames
[] = { "name","type", NULL
};
1492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxBitmap",_kwnames
,&_obj0
,&_arg1
))
1495 _arg0
= wxString_in_helper(_obj0
);
1500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1501 _result
= (wxBitmap
*)new_wxBitmap(*_arg0
,_arg1
);
1503 wxPyEndAllowThreads(__tstate
);
1504 if (PyErr_Occurred()) return NULL
;
1506 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1507 _resultobj
= Py_BuildValue("s",_ptemp
);
1510 _resultobj
= Py_None
;
1519 #define delete_wxBitmap(_swigobj) (delete _swigobj)
1520 static PyObject
*_wrap_delete_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1521 PyObject
* _resultobj
;
1523 PyObject
* _argo0
= 0;
1524 char *_kwnames
[] = { "self", NULL
};
1527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBitmap",_kwnames
,&_argo0
))
1530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBitmap. Expected _wxBitmap_p.");
1537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1538 delete_wxBitmap(_arg0
);
1540 wxPyEndAllowThreads(__tstate
);
1541 if (PyErr_Occurred()) return NULL
;
1542 } Py_INCREF(Py_None
);
1543 _resultobj
= Py_None
;
1547 #define wxBitmap_GetPalette(_swigobj) (_swigobj->GetPalette())
1548 static PyObject
*_wrap_wxBitmap_GetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1549 PyObject
* _resultobj
;
1550 wxPalette
* _result
;
1552 PyObject
* _argo0
= 0;
1553 char *_kwnames
[] = { "self", NULL
};
1557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetPalette",_kwnames
,&_argo0
))
1560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetPalette. Expected _wxBitmap_p.");
1567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1568 _result
= (wxPalette
*)wxBitmap_GetPalette(_arg0
);
1570 wxPyEndAllowThreads(__tstate
);
1571 if (PyErr_Occurred()) return NULL
;
1573 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPalette_p");
1574 _resultobj
= Py_BuildValue("s",_ptemp
);
1577 _resultobj
= Py_None
;
1582 #define wxBitmap_GetMask(_swigobj) (_swigobj->GetMask())
1583 static PyObject
*_wrap_wxBitmap_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1584 PyObject
* _resultobj
;
1587 PyObject
* _argo0
= 0;
1588 char *_kwnames
[] = { "self", NULL
};
1592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetMask",_kwnames
,&_argo0
))
1595 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1596 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetMask. Expected _wxBitmap_p.");
1602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1603 _result
= (wxMask
*)wxBitmap_GetMask(_arg0
);
1605 wxPyEndAllowThreads(__tstate
);
1606 if (PyErr_Occurred()) return NULL
;
1608 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
1609 _resultobj
= Py_BuildValue("s",_ptemp
);
1612 _resultobj
= Py_None
;
1617 #define wxBitmap_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
1618 static PyObject
*_wrap_wxBitmap_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1619 PyObject
* _resultobj
;
1623 wxBitmapType _arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
1624 PyObject
* _argo0
= 0;
1625 PyObject
* _obj1
= 0;
1626 char *_kwnames
[] = { "self","name","type", NULL
};
1629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxBitmap_LoadFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1632 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1633 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_LoadFile. Expected _wxBitmap_p.");
1639 _arg1
= wxString_in_helper(_obj1
);
1644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1645 _result
= (bool )wxBitmap_LoadFile(_arg0
,*_arg1
,_arg2
);
1647 wxPyEndAllowThreads(__tstate
);
1648 if (PyErr_Occurred()) return NULL
;
1649 } _resultobj
= Py_BuildValue("i",_result
);
1657 #define wxBitmap_SaveFile(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SaveFile(_swigarg0,_swigarg1,_swigarg2))
1658 static PyObject
*_wrap_wxBitmap_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1659 PyObject
* _resultobj
;
1664 wxPalette
* _arg3
= (wxPalette
*) NULL
;
1665 PyObject
* _argo0
= 0;
1666 PyObject
* _obj1
= 0;
1667 PyObject
* _argo3
= 0;
1668 char *_kwnames
[] = { "self","name","type","palette", NULL
};
1671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|O:wxBitmap_SaveFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_argo3
))
1674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SaveFile. Expected _wxBitmap_p.");
1681 _arg1
= wxString_in_helper(_obj1
);
1686 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1687 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxPalette_p")) {
1688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxBitmap_SaveFile. Expected _wxPalette_p.");
1693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1694 _result
= (bool )wxBitmap_SaveFile(_arg0
,*_arg1
,_arg2
,_arg3
);
1696 wxPyEndAllowThreads(__tstate
);
1697 if (PyErr_Occurred()) return NULL
;
1698 } _resultobj
= Py_BuildValue("i",_result
);
1706 #define wxBitmap_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
1707 static PyObject
*_wrap_wxBitmap_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1708 PyObject
* _resultobj
;
1711 PyObject
* _argo0
= 0;
1712 PyObject
* _argo1
= 0;
1713 char *_kwnames
[] = { "self","mask", NULL
};
1716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_SetMask",_kwnames
,&_argo0
,&_argo1
))
1719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetMask. Expected _wxBitmap_p.");
1726 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1727 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMask_p")) {
1728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmap_SetMask. Expected _wxMask_p.");
1733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1734 wxBitmap_SetMask(_arg0
,_arg1
);
1736 wxPyEndAllowThreads(__tstate
);
1737 if (PyErr_Occurred()) return NULL
;
1738 } Py_INCREF(Py_None
);
1739 _resultobj
= Py_None
;
1743 #define wxBitmap_SetPalette(_swigobj,_swigarg0) (_swigobj->SetPalette(_swigarg0))
1744 static PyObject
*_wrap_wxBitmap_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1745 PyObject
* _resultobj
;
1748 PyObject
* _argo0
= 0;
1749 PyObject
* _argo1
= 0;
1750 char *_kwnames
[] = { "self","palette", NULL
};
1753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_SetPalette",_kwnames
,&_argo0
,&_argo1
))
1756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetPalette. Expected _wxBitmap_p.");
1763 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1764 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPalette_p")) {
1765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmap_SetPalette. Expected _wxPalette_p.");
1770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1771 wxBitmap_SetPalette(_arg0
,*_arg1
);
1773 wxPyEndAllowThreads(__tstate
);
1774 if (PyErr_Occurred()) return NULL
;
1775 } Py_INCREF(Py_None
);
1776 _resultobj
= Py_None
;
1780 #define wxBitmap_GetHandle(_swigobj) (_swigobj->GetHandle())
1781 static PyObject
*_wrap_wxBitmap_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1782 PyObject
* _resultobj
;
1785 PyObject
* _argo0
= 0;
1786 char *_kwnames
[] = { "self", NULL
};
1789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetHandle",_kwnames
,&_argo0
))
1792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetHandle. Expected _wxBitmap_p.");
1799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1800 _result
= (long )wxBitmap_GetHandle(_arg0
);
1802 wxPyEndAllowThreads(__tstate
);
1803 if (PyErr_Occurred()) return NULL
;
1804 } _resultobj
= Py_BuildValue("l",_result
);
1808 #define wxBitmap_SetHandle(_swigobj,_swigarg0) (_swigobj->SetHandle(_swigarg0))
1809 static PyObject
*_wrap_wxBitmap_SetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1810 PyObject
* _resultobj
;
1813 PyObject
* _argo0
= 0;
1814 char *_kwnames
[] = { "self","handle", NULL
};
1817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxBitmap_SetHandle",_kwnames
,&_argo0
,&_arg1
))
1820 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1821 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetHandle. Expected _wxBitmap_p.");
1827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1828 wxBitmap_SetHandle(_arg0
,_arg1
);
1830 wxPyEndAllowThreads(__tstate
);
1831 if (PyErr_Occurred()) return NULL
;
1832 } Py_INCREF(Py_None
);
1833 _resultobj
= Py_None
;
1837 #define wxBitmap_Ok(_swigobj) (_swigobj->Ok())
1838 static PyObject
*_wrap_wxBitmap_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1839 PyObject
* _resultobj
;
1842 PyObject
* _argo0
= 0;
1843 char *_kwnames
[] = { "self", NULL
};
1846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_Ok",_kwnames
,&_argo0
))
1849 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1850 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1851 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_Ok. Expected _wxBitmap_p.");
1856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1857 _result
= (bool )wxBitmap_Ok(_arg0
);
1859 wxPyEndAllowThreads(__tstate
);
1860 if (PyErr_Occurred()) return NULL
;
1861 } _resultobj
= Py_BuildValue("i",_result
);
1865 #define wxBitmap_GetWidth(_swigobj) (_swigobj->GetWidth())
1866 static PyObject
*_wrap_wxBitmap_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1867 PyObject
* _resultobj
;
1870 PyObject
* _argo0
= 0;
1871 char *_kwnames
[] = { "self", NULL
};
1874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetWidth",_kwnames
,&_argo0
))
1877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetWidth. Expected _wxBitmap_p.");
1884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1885 _result
= (int )wxBitmap_GetWidth(_arg0
);
1887 wxPyEndAllowThreads(__tstate
);
1888 if (PyErr_Occurred()) return NULL
;
1889 } _resultobj
= Py_BuildValue("i",_result
);
1893 #define wxBitmap_GetHeight(_swigobj) (_swigobj->GetHeight())
1894 static PyObject
*_wrap_wxBitmap_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1895 PyObject
* _resultobj
;
1898 PyObject
* _argo0
= 0;
1899 char *_kwnames
[] = { "self", NULL
};
1902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetHeight",_kwnames
,&_argo0
))
1905 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1906 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetHeight. Expected _wxBitmap_p.");
1912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1913 _result
= (int )wxBitmap_GetHeight(_arg0
);
1915 wxPyEndAllowThreads(__tstate
);
1916 if (PyErr_Occurred()) return NULL
;
1917 } _resultobj
= Py_BuildValue("i",_result
);
1921 #define wxBitmap_GetDepth(_swigobj) (_swigobj->GetDepth())
1922 static PyObject
*_wrap_wxBitmap_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1923 PyObject
* _resultobj
;
1926 PyObject
* _argo0
= 0;
1927 char *_kwnames
[] = { "self", NULL
};
1930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetDepth",_kwnames
,&_argo0
))
1933 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1934 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetDepth. Expected _wxBitmap_p.");
1940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1941 _result
= (int )wxBitmap_GetDepth(_arg0
);
1943 wxPyEndAllowThreads(__tstate
);
1944 if (PyErr_Occurred()) return NULL
;
1945 } _resultobj
= Py_BuildValue("i",_result
);
1949 #define wxBitmap_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1950 static PyObject
*_wrap_wxBitmap_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1951 PyObject
* _resultobj
;
1954 PyObject
* _argo0
= 0;
1955 char *_kwnames
[] = { "self","w", NULL
};
1958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBitmap_SetWidth",_kwnames
,&_argo0
,&_arg1
))
1961 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1962 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetWidth. Expected _wxBitmap_p.");
1968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1969 wxBitmap_SetWidth(_arg0
,_arg1
);
1971 wxPyEndAllowThreads(__tstate
);
1972 if (PyErr_Occurred()) return NULL
;
1973 } Py_INCREF(Py_None
);
1974 _resultobj
= Py_None
;
1978 #define wxBitmap_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1979 static PyObject
*_wrap_wxBitmap_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1980 PyObject
* _resultobj
;
1983 PyObject
* _argo0
= 0;
1984 char *_kwnames
[] = { "self","h", NULL
};
1987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBitmap_SetHeight",_kwnames
,&_argo0
,&_arg1
))
1990 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1991 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetHeight. Expected _wxBitmap_p.");
1997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1998 wxBitmap_SetHeight(_arg0
,_arg1
);
2000 wxPyEndAllowThreads(__tstate
);
2001 if (PyErr_Occurred()) return NULL
;
2002 } Py_INCREF(Py_None
);
2003 _resultobj
= Py_None
;
2007 #define wxBitmap_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
2008 static PyObject
*_wrap_wxBitmap_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2009 PyObject
* _resultobj
;
2012 PyObject
* _argo0
= 0;
2013 char *_kwnames
[] = { "self","d", NULL
};
2016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBitmap_SetDepth",_kwnames
,&_argo0
,&_arg1
))
2019 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2020 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
2021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetDepth. Expected _wxBitmap_p.");
2026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2027 wxBitmap_SetDepth(_arg0
,_arg1
);
2029 wxPyEndAllowThreads(__tstate
);
2030 if (PyErr_Occurred()) return NULL
;
2031 } Py_INCREF(Py_None
);
2032 _resultobj
= Py_None
;
2036 #define wxBitmap_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2037 static PyObject
*_wrap_wxBitmap_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2038 PyObject
* _resultobj
;
2041 PyObject
* _argo0
= 0;
2043 PyObject
* _obj1
= 0;
2044 char *_kwnames
[] = { "self","size", NULL
};
2047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_SetSize",_kwnames
,&_argo0
,&_obj1
))
2050 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2051 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
2052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetSize. Expected _wxBitmap_p.");
2058 if (! wxSize_helper(_obj1
, &_arg1
))
2062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2063 wxBitmap_SetSize(_arg0
,*_arg1
);
2065 wxPyEndAllowThreads(__tstate
);
2066 if (PyErr_Occurred()) return NULL
;
2067 } Py_INCREF(Py_None
);
2068 _resultobj
= Py_None
;
2072 #define wxBitmap_GetSubBitmap(_swigobj,_swigarg0) (_swigobj->GetSubBitmap(_swigarg0))
2073 static PyObject
*_wrap_wxBitmap_GetSubBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2074 PyObject
* _resultobj
;
2078 PyObject
* _argo0
= 0;
2080 PyObject
* _obj1
= 0;
2081 char *_kwnames
[] = { "self","rect", NULL
};
2085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_GetSubBitmap",_kwnames
,&_argo0
,&_obj1
))
2088 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2089 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
2090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetSubBitmap. Expected _wxBitmap_p.");
2096 if (! wxRect_helper(_obj1
, &_arg1
))
2100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2101 _result
= new wxBitmap (wxBitmap_GetSubBitmap(_arg0
,*_arg1
));
2103 wxPyEndAllowThreads(__tstate
);
2104 if (PyErr_Occurred()) return NULL
;
2105 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
2106 _resultobj
= Py_BuildValue("s",_ptemp
);
2110 #define wxBitmap_CopyFromIcon(_swigobj,_swigarg0) (_swigobj->CopyFromIcon(_swigarg0))
2111 static PyObject
*_wrap_wxBitmap_CopyFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2112 PyObject
* _resultobj
;
2116 PyObject
* _argo0
= 0;
2117 PyObject
* _argo1
= 0;
2118 char *_kwnames
[] = { "self","icon", NULL
};
2121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_CopyFromIcon",_kwnames
,&_argo0
,&_argo1
))
2124 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2125 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
2126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_CopyFromIcon. Expected _wxBitmap_p.");
2131 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2132 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
2133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmap_CopyFromIcon. Expected _wxIcon_p.");
2138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2139 _result
= (bool )wxBitmap_CopyFromIcon(_arg0
,*_arg1
);
2141 wxPyEndAllowThreads(__tstate
);
2142 if (PyErr_Occurred()) return NULL
;
2143 } _resultobj
= Py_BuildValue("i",_result
);
2147 #define wxBitmap_CopyFromCursor(_swigobj,_swigarg0) (_swigobj->CopyFromCursor(_swigarg0))
2148 static PyObject
*_wrap_wxBitmap_CopyFromCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2149 PyObject
* _resultobj
;
2153 PyObject
* _argo0
= 0;
2154 PyObject
* _argo1
= 0;
2155 char *_kwnames
[] = { "self","cursor", NULL
};
2158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_CopyFromCursor",_kwnames
,&_argo0
,&_argo1
))
2161 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2162 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
2163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_CopyFromCursor. Expected _wxBitmap_p.");
2168 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2169 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
2170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmap_CopyFromCursor. Expected _wxCursor_p.");
2175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2176 _result
= (bool )wxBitmap_CopyFromCursor(_arg0
,*_arg1
);
2178 wxPyEndAllowThreads(__tstate
);
2179 if (PyErr_Occurred()) return NULL
;
2180 } _resultobj
= Py_BuildValue("i",_result
);
2184 #define wxBitmap_GetQuality(_swigobj) (_swigobj->GetQuality())
2185 static PyObject
*_wrap_wxBitmap_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2186 PyObject
* _resultobj
;
2189 PyObject
* _argo0
= 0;
2190 char *_kwnames
[] = { "self", NULL
};
2193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetQuality",_kwnames
,&_argo0
))
2196 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2197 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
2198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetQuality. Expected _wxBitmap_p.");
2203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2204 _result
= (int )wxBitmap_GetQuality(_arg0
);
2206 wxPyEndAllowThreads(__tstate
);
2207 if (PyErr_Occurred()) return NULL
;
2208 } _resultobj
= Py_BuildValue("i",_result
);
2212 #define wxBitmap_SetQuality(_swigobj,_swigarg0) (_swigobj->SetQuality(_swigarg0))
2213 static PyObject
*_wrap_wxBitmap_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2214 PyObject
* _resultobj
;
2217 PyObject
* _argo0
= 0;
2218 char *_kwnames
[] = { "self","q", NULL
};
2221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBitmap_SetQuality",_kwnames
,&_argo0
,&_arg1
))
2224 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2225 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
2226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetQuality. Expected _wxBitmap_p.");
2231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2232 wxBitmap_SetQuality(_arg0
,_arg1
);
2234 wxPyEndAllowThreads(__tstate
);
2235 if (PyErr_Occurred()) return NULL
;
2236 } Py_INCREF(Py_None
);
2237 _resultobj
= Py_None
;
2241 static void *SwigwxMaskTowxObject(void *ptr
) {
2244 src
= (wxMask
*) ptr
;
2245 dest
= (wxObject
*) src
;
2246 return (void *) dest
;
2249 #define new_wxMask(_swigarg0) (new wxMask(_swigarg0))
2250 static PyObject
*_wrap_new_wxMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2251 PyObject
* _resultobj
;
2254 PyObject
* _argo0
= 0;
2255 char *_kwnames
[] = { "bitmap", NULL
};
2259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxMask",_kwnames
,&_argo0
))
2262 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2263 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
2264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMask. Expected _wxBitmap_p.");
2269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2270 _result
= (wxMask
*)new_wxMask(*_arg0
);
2272 wxPyEndAllowThreads(__tstate
);
2273 if (PyErr_Occurred()) return NULL
;
2275 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
2276 _resultobj
= Py_BuildValue("s",_ptemp
);
2279 _resultobj
= Py_None
;
2284 static void wxMask_Destroy(wxMask
*self
) { delete self
; }
2285 static PyObject
*_wrap_wxMask_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2286 PyObject
* _resultobj
;
2288 PyObject
* _argo0
= 0;
2289 char *_kwnames
[] = { "self", NULL
};
2292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMask_Destroy",_kwnames
,&_argo0
))
2295 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2296 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMask_p")) {
2297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMask_Destroy. Expected _wxMask_p.");
2302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2303 wxMask_Destroy(_arg0
);
2305 wxPyEndAllowThreads(__tstate
);
2306 if (PyErr_Occurred()) return NULL
;
2307 } Py_INCREF(Py_None
);
2308 _resultobj
= Py_None
;
2312 static void *SwigwxIconTowxGDIObject(void *ptr
) {
2315 src
= (wxIcon
*) ptr
;
2316 dest
= (wxGDIObject
*) src
;
2317 return (void *) dest
;
2320 static void *SwigwxIconTowxObject(void *ptr
) {
2323 src
= (wxIcon
*) ptr
;
2324 dest
= (wxObject
*) src
;
2325 return (void *) dest
;
2328 #define new_wxIcon(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxIcon(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2329 static PyObject
*_wrap_new_wxIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2330 PyObject
* _resultobj
;
2334 int _arg2
= (int ) -1;
2335 int _arg3
= (int ) -1;
2336 PyObject
* _obj0
= 0;
2337 char *_kwnames
[] = { "name","flags","desiredWidth","desiredHeight", NULL
};
2341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|ii:new_wxIcon",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_arg3
))
2344 _arg0
= wxString_in_helper(_obj0
);
2349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2350 _result
= (wxIcon
*)new_wxIcon(*_arg0
,_arg1
,_arg2
,_arg3
);
2352 wxPyEndAllowThreads(__tstate
);
2353 if (PyErr_Occurred()) return NULL
;
2355 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
2356 _resultobj
= Py_BuildValue("s",_ptemp
);
2359 _resultobj
= Py_None
;
2368 #define delete_wxIcon(_swigobj) (delete _swigobj)
2369 static PyObject
*_wrap_delete_wxIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2370 PyObject
* _resultobj
;
2372 PyObject
* _argo0
= 0;
2373 char *_kwnames
[] = { "self", NULL
};
2376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxIcon",_kwnames
,&_argo0
))
2379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxIcon. Expected _wxIcon_p.");
2386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2387 delete_wxIcon(_arg0
);
2389 wxPyEndAllowThreads(__tstate
);
2390 if (PyErr_Occurred()) return NULL
;
2391 } Py_INCREF(Py_None
);
2392 _resultobj
= Py_None
;
2396 #define wxIcon_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
2397 static PyObject
*_wrap_wxIcon_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2398 PyObject
* _resultobj
;
2403 PyObject
* _argo0
= 0;
2404 PyObject
* _obj1
= 0;
2405 char *_kwnames
[] = { "self","name","flags", NULL
};
2408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOl:wxIcon_LoadFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
2411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_LoadFile. Expected _wxIcon_p.");
2418 _arg1
= wxString_in_helper(_obj1
);
2423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2424 _result
= (bool )wxIcon_LoadFile(_arg0
,*_arg1
,_arg2
);
2426 wxPyEndAllowThreads(__tstate
);
2427 if (PyErr_Occurred()) return NULL
;
2428 } _resultobj
= Py_BuildValue("i",_result
);
2436 #define wxIcon_GetHandle(_swigobj) (_swigobj->GetHandle())
2437 static PyObject
*_wrap_wxIcon_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2438 PyObject
* _resultobj
;
2441 PyObject
* _argo0
= 0;
2442 char *_kwnames
[] = { "self", NULL
};
2445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetHandle",_kwnames
,&_argo0
))
2448 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2449 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetHandle. Expected _wxIcon_p.");
2455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2456 _result
= (long )wxIcon_GetHandle(_arg0
);
2458 wxPyEndAllowThreads(__tstate
);
2459 if (PyErr_Occurred()) return NULL
;
2460 } _resultobj
= Py_BuildValue("l",_result
);
2464 #define wxIcon_SetHandle(_swigobj,_swigarg0) (_swigobj->SetHandle(_swigarg0))
2465 static PyObject
*_wrap_wxIcon_SetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2466 PyObject
* _resultobj
;
2469 PyObject
* _argo0
= 0;
2470 char *_kwnames
[] = { "self","handle", NULL
};
2473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxIcon_SetHandle",_kwnames
,&_argo0
,&_arg1
))
2476 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2477 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetHandle. Expected _wxIcon_p.");
2483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2484 wxIcon_SetHandle(_arg0
,_arg1
);
2486 wxPyEndAllowThreads(__tstate
);
2487 if (PyErr_Occurred()) return NULL
;
2488 } Py_INCREF(Py_None
);
2489 _resultobj
= Py_None
;
2493 #define wxIcon_Ok(_swigobj) (_swigobj->Ok())
2494 static PyObject
*_wrap_wxIcon_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2495 PyObject
* _resultobj
;
2498 PyObject
* _argo0
= 0;
2499 char *_kwnames
[] = { "self", NULL
};
2502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_Ok",_kwnames
,&_argo0
))
2505 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2506 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_Ok. Expected _wxIcon_p.");
2512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2513 _result
= (bool )wxIcon_Ok(_arg0
);
2515 wxPyEndAllowThreads(__tstate
);
2516 if (PyErr_Occurred()) return NULL
;
2517 } _resultobj
= Py_BuildValue("i",_result
);
2521 #define wxIcon_GetWidth(_swigobj) (_swigobj->GetWidth())
2522 static PyObject
*_wrap_wxIcon_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2523 PyObject
* _resultobj
;
2526 PyObject
* _argo0
= 0;
2527 char *_kwnames
[] = { "self", NULL
};
2530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetWidth",_kwnames
,&_argo0
))
2533 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2534 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetWidth. Expected _wxIcon_p.");
2540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2541 _result
= (int )wxIcon_GetWidth(_arg0
);
2543 wxPyEndAllowThreads(__tstate
);
2544 if (PyErr_Occurred()) return NULL
;
2545 } _resultobj
= Py_BuildValue("i",_result
);
2549 #define wxIcon_GetHeight(_swigobj) (_swigobj->GetHeight())
2550 static PyObject
*_wrap_wxIcon_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2551 PyObject
* _resultobj
;
2554 PyObject
* _argo0
= 0;
2555 char *_kwnames
[] = { "self", NULL
};
2558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetHeight",_kwnames
,&_argo0
))
2561 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2562 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetHeight. Expected _wxIcon_p.");
2568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2569 _result
= (int )wxIcon_GetHeight(_arg0
);
2571 wxPyEndAllowThreads(__tstate
);
2572 if (PyErr_Occurred()) return NULL
;
2573 } _resultobj
= Py_BuildValue("i",_result
);
2577 #define wxIcon_GetDepth(_swigobj) (_swigobj->GetDepth())
2578 static PyObject
*_wrap_wxIcon_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2579 PyObject
* _resultobj
;
2582 PyObject
* _argo0
= 0;
2583 char *_kwnames
[] = { "self", NULL
};
2586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetDepth",_kwnames
,&_argo0
))
2589 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2590 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetDepth. Expected _wxIcon_p.");
2596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2597 _result
= (int )wxIcon_GetDepth(_arg0
);
2599 wxPyEndAllowThreads(__tstate
);
2600 if (PyErr_Occurred()) return NULL
;
2601 } _resultobj
= Py_BuildValue("i",_result
);
2605 #define wxIcon_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2606 static PyObject
*_wrap_wxIcon_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2607 PyObject
* _resultobj
;
2610 PyObject
* _argo0
= 0;
2611 char *_kwnames
[] = { "self","w", NULL
};
2614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetWidth",_kwnames
,&_argo0
,&_arg1
))
2617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetWidth. Expected _wxIcon_p.");
2624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2625 wxIcon_SetWidth(_arg0
,_arg1
);
2627 wxPyEndAllowThreads(__tstate
);
2628 if (PyErr_Occurred()) return NULL
;
2629 } Py_INCREF(Py_None
);
2630 _resultobj
= Py_None
;
2634 #define wxIcon_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
2635 static PyObject
*_wrap_wxIcon_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2636 PyObject
* _resultobj
;
2639 PyObject
* _argo0
= 0;
2640 char *_kwnames
[] = { "self","h", NULL
};
2643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetHeight",_kwnames
,&_argo0
,&_arg1
))
2646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetHeight. Expected _wxIcon_p.");
2653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2654 wxIcon_SetHeight(_arg0
,_arg1
);
2656 wxPyEndAllowThreads(__tstate
);
2657 if (PyErr_Occurred()) return NULL
;
2658 } Py_INCREF(Py_None
);
2659 _resultobj
= Py_None
;
2663 #define wxIcon_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
2664 static PyObject
*_wrap_wxIcon_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2665 PyObject
* _resultobj
;
2668 PyObject
* _argo0
= 0;
2669 char *_kwnames
[] = { "self","d", NULL
};
2672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetDepth",_kwnames
,&_argo0
,&_arg1
))
2675 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2676 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetDepth. Expected _wxIcon_p.");
2682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2683 wxIcon_SetDepth(_arg0
,_arg1
);
2685 wxPyEndAllowThreads(__tstate
);
2686 if (PyErr_Occurred()) return NULL
;
2687 } Py_INCREF(Py_None
);
2688 _resultobj
= Py_None
;
2692 #define wxIcon_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2693 static PyObject
*_wrap_wxIcon_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2694 PyObject
* _resultobj
;
2697 PyObject
* _argo0
= 0;
2699 PyObject
* _obj1
= 0;
2700 char *_kwnames
[] = { "self","size", NULL
};
2703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxIcon_SetSize",_kwnames
,&_argo0
,&_obj1
))
2706 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2707 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetSize. Expected _wxIcon_p.");
2714 if (! wxSize_helper(_obj1
, &_arg1
))
2718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2719 wxIcon_SetSize(_arg0
,*_arg1
);
2721 wxPyEndAllowThreads(__tstate
);
2722 if (PyErr_Occurred()) return NULL
;
2723 } Py_INCREF(Py_None
);
2724 _resultobj
= Py_None
;
2728 #define wxIcon_CopyFromBitmap(_swigobj,_swigarg0) (_swigobj->CopyFromBitmap(_swigarg0))
2729 static PyObject
*_wrap_wxIcon_CopyFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2730 PyObject
* _resultobj
;
2733 PyObject
* _argo0
= 0;
2734 PyObject
* _argo1
= 0;
2735 char *_kwnames
[] = { "self","bmp", NULL
};
2738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxIcon_CopyFromBitmap",_kwnames
,&_argo0
,&_argo1
))
2741 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2742 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_CopyFromBitmap. Expected _wxIcon_p.");
2748 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2749 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
2750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIcon_CopyFromBitmap. Expected _wxBitmap_p.");
2755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2756 wxIcon_CopyFromBitmap(_arg0
,*_arg1
);
2758 wxPyEndAllowThreads(__tstate
);
2759 if (PyErr_Occurred()) return NULL
;
2760 } Py_INCREF(Py_None
);
2761 _resultobj
= Py_None
;
2765 #define new_wxIconBundle() (new wxIconBundle())
2766 static PyObject
*_wrap_new_wxIconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2767 PyObject
* _resultobj
;
2768 wxIconBundle
* _result
;
2769 char *_kwnames
[] = { NULL
};
2773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxIconBundle",_kwnames
))
2776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2777 _result
= (wxIconBundle
*)new_wxIconBundle();
2779 wxPyEndAllowThreads(__tstate
);
2780 if (PyErr_Occurred()) return NULL
;
2782 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIconBundle_p");
2783 _resultobj
= Py_BuildValue("s",_ptemp
);
2786 _resultobj
= Py_None
;
2791 #define new_wxIconBundleFromFile(_swigarg0,_swigarg1) (new wxIconBundle(_swigarg0,_swigarg1))
2792 static PyObject
*_wrap_new_wxIconBundleFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2793 PyObject
* _resultobj
;
2794 wxIconBundle
* _result
;
2797 PyObject
* _obj0
= 0;
2798 char *_kwnames
[] = { "file","type", NULL
};
2802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:new_wxIconBundleFromFile",_kwnames
,&_obj0
,&_arg1
))
2805 _arg0
= wxString_in_helper(_obj0
);
2810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2811 _result
= (wxIconBundle
*)new_wxIconBundleFromFile(*_arg0
,_arg1
);
2813 wxPyEndAllowThreads(__tstate
);
2814 if (PyErr_Occurred()) return NULL
;
2816 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIconBundle_p");
2817 _resultobj
= Py_BuildValue("s",_ptemp
);
2820 _resultobj
= Py_None
;
2829 #define new_wxIconBundleFromIcon(_swigarg0) (new wxIconBundle(_swigarg0))
2830 static PyObject
*_wrap_new_wxIconBundleFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2831 PyObject
* _resultobj
;
2832 wxIconBundle
* _result
;
2834 PyObject
* _argo0
= 0;
2835 char *_kwnames
[] = { "icon", NULL
};
2839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxIconBundleFromIcon",_kwnames
,&_argo0
))
2842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxIconBundleFromIcon. Expected _wxIcon_p.");
2849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2850 _result
= (wxIconBundle
*)new_wxIconBundleFromIcon(*_arg0
);
2852 wxPyEndAllowThreads(__tstate
);
2853 if (PyErr_Occurred()) return NULL
;
2855 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIconBundle_p");
2856 _resultobj
= Py_BuildValue("s",_ptemp
);
2859 _resultobj
= Py_None
;
2864 #define delete_wxIconBundle(_swigobj) (delete _swigobj)
2865 static PyObject
*_wrap_delete_wxIconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2866 PyObject
* _resultobj
;
2867 wxIconBundle
* _arg0
;
2868 PyObject
* _argo0
= 0;
2869 char *_kwnames
[] = { "self", NULL
};
2872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxIconBundle",_kwnames
,&_argo0
))
2875 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2876 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIconBundle_p")) {
2877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxIconBundle. Expected _wxIconBundle_p.");
2882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2883 delete_wxIconBundle(_arg0
);
2885 wxPyEndAllowThreads(__tstate
);
2886 if (PyErr_Occurred()) return NULL
;
2887 } Py_INCREF(Py_None
);
2888 _resultobj
= Py_None
;
2892 #define wxIconBundle_AddIcon(_swigobj,_swigarg0) (_swigobj->AddIcon(_swigarg0))
2893 static PyObject
*_wrap_wxIconBundle_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2894 PyObject
* _resultobj
;
2895 wxIconBundle
* _arg0
;
2897 PyObject
* _argo0
= 0;
2898 PyObject
* _argo1
= 0;
2899 char *_kwnames
[] = { "self","icon", NULL
};
2902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxIconBundle_AddIcon",_kwnames
,&_argo0
,&_argo1
))
2905 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2906 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIconBundle_p")) {
2907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIconBundle_AddIcon. Expected _wxIconBundle_p.");
2912 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2913 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
2914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIconBundle_AddIcon. Expected _wxIcon_p.");
2919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2920 wxIconBundle_AddIcon(_arg0
,*_arg1
);
2922 wxPyEndAllowThreads(__tstate
);
2923 if (PyErr_Occurred()) return NULL
;
2924 } Py_INCREF(Py_None
);
2925 _resultobj
= Py_None
;
2929 #define wxIconBundle_AddIconFromFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddIcon(_swigarg0,_swigarg1))
2930 static PyObject
*_wrap_wxIconBundle_AddIconFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2931 PyObject
* _resultobj
;
2932 wxIconBundle
* _arg0
;
2935 PyObject
* _argo0
= 0;
2936 PyObject
* _obj1
= 0;
2937 char *_kwnames
[] = { "self","file","type", NULL
};
2940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOl:wxIconBundle_AddIconFromFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
2943 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2944 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIconBundle_p")) {
2945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIconBundle_AddIconFromFile. Expected _wxIconBundle_p.");
2950 _arg1
= wxString_in_helper(_obj1
);
2955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2956 wxIconBundle_AddIconFromFile(_arg0
,*_arg1
,_arg2
);
2958 wxPyEndAllowThreads(__tstate
);
2959 if (PyErr_Occurred()) return NULL
;
2960 } Py_INCREF(Py_None
);
2961 _resultobj
= Py_None
;
2969 #define wxIconBundle_GetIcon(_swigobj,_swigarg0) (_swigobj->GetIcon(_swigarg0))
2970 static PyObject
*_wrap_wxIconBundle_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2971 PyObject
* _resultobj
;
2973 wxIconBundle
* _arg0
;
2975 PyObject
* _argo0
= 0;
2977 PyObject
* _obj1
= 0;
2978 char *_kwnames
[] = { "self","size", NULL
};
2982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxIconBundle_GetIcon",_kwnames
,&_argo0
,&_obj1
))
2985 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2986 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIconBundle_p")) {
2987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIconBundle_GetIcon. Expected _wxIconBundle_p.");
2993 if (! wxSize_helper(_obj1
, &_arg1
))
2997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2998 const wxIcon
& _result_ref
= wxIconBundle_GetIcon(_arg0
,*_arg1
);
2999 _result
= (wxIcon
*) &_result_ref
;
3001 wxPyEndAllowThreads(__tstate
);
3002 if (PyErr_Occurred()) return NULL
;
3004 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
3005 _resultobj
= Py_BuildValue("s",_ptemp
);
3008 _resultobj
= Py_None
;
3013 static void *SwigwxCursorTowxGDIObject(void *ptr
) {
3016 src
= (wxCursor
*) ptr
;
3017 dest
= (wxGDIObject
*) src
;
3018 return (void *) dest
;
3021 static void *SwigwxCursorTowxObject(void *ptr
) {
3024 src
= (wxCursor
*) ptr
;
3025 dest
= (wxObject
*) src
;
3026 return (void *) dest
;
3029 #define new_wxCursor(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxCursor(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3030 static PyObject
*_wrap_new_wxCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3031 PyObject
* _resultobj
;
3035 int _arg2
= (int ) 0;
3036 int _arg3
= (int ) 0;
3037 PyObject
* _obj0
= 0;
3038 char *_kwnames
[] = { "cursorName","flags","hotSpotX","hotSpotY", NULL
};
3042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|ii:new_wxCursor",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_arg3
))
3045 _arg0
= wxString_in_helper(_obj0
);
3050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3051 _result
= (wxCursor
*)new_wxCursor(*_arg0
,_arg1
,_arg2
,_arg3
);
3053 wxPyEndAllowThreads(__tstate
);
3054 if (PyErr_Occurred()) return NULL
;
3056 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCursor_p");
3057 _resultobj
= Py_BuildValue("s",_ptemp
);
3060 _resultobj
= Py_None
;
3069 #define delete_wxCursor(_swigobj) (delete _swigobj)
3070 static PyObject
*_wrap_delete_wxCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3071 PyObject
* _resultobj
;
3073 PyObject
* _argo0
= 0;
3074 char *_kwnames
[] = { "self", NULL
};
3077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCursor",_kwnames
,&_argo0
))
3080 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3081 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCursor. Expected _wxCursor_p.");
3087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3088 delete_wxCursor(_arg0
);
3090 wxPyEndAllowThreads(__tstate
);
3091 if (PyErr_Occurred()) return NULL
;
3092 } Py_INCREF(Py_None
);
3093 _resultobj
= Py_None
;
3097 #define wxCursor_GetHandle(_swigobj) (_swigobj->GetHandle())
3098 static PyObject
*_wrap_wxCursor_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3099 PyObject
* _resultobj
;
3102 PyObject
* _argo0
= 0;
3103 char *_kwnames
[] = { "self", NULL
};
3106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCursor_GetHandle",_kwnames
,&_argo0
))
3109 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3110 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_GetHandle. Expected _wxCursor_p.");
3116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3117 _result
= (long )wxCursor_GetHandle(_arg0
);
3119 wxPyEndAllowThreads(__tstate
);
3120 if (PyErr_Occurred()) return NULL
;
3121 } _resultobj
= Py_BuildValue("l",_result
);
3125 #define wxCursor_SetHandle(_swigobj,_swigarg0) (_swigobj->SetHandle(_swigarg0))
3126 static PyObject
*_wrap_wxCursor_SetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3127 PyObject
* _resultobj
;
3130 PyObject
* _argo0
= 0;
3131 char *_kwnames
[] = { "self","handle", NULL
};
3134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxCursor_SetHandle",_kwnames
,&_argo0
,&_arg1
))
3137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_SetHandle. Expected _wxCursor_p.");
3144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3145 wxCursor_SetHandle(_arg0
,_arg1
);
3147 wxPyEndAllowThreads(__tstate
);
3148 if (PyErr_Occurred()) return NULL
;
3149 } Py_INCREF(Py_None
);
3150 _resultobj
= Py_None
;
3154 #define wxCursor_Ok(_swigobj) (_swigobj->Ok())
3155 static PyObject
*_wrap_wxCursor_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3156 PyObject
* _resultobj
;
3159 PyObject
* _argo0
= 0;
3160 char *_kwnames
[] = { "self", NULL
};
3163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCursor_Ok",_kwnames
,&_argo0
))
3166 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3167 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_Ok. Expected _wxCursor_p.");
3173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3174 _result
= (bool )wxCursor_Ok(_arg0
);
3176 wxPyEndAllowThreads(__tstate
);
3177 if (PyErr_Occurred()) return NULL
;
3178 } _resultobj
= Py_BuildValue("i",_result
);
3182 #define wxCursor_GetWidth(_swigobj) (_swigobj->GetWidth())
3183 static PyObject
*_wrap_wxCursor_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3184 PyObject
* _resultobj
;
3187 PyObject
* _argo0
= 0;
3188 char *_kwnames
[] = { "self", NULL
};
3191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCursor_GetWidth",_kwnames
,&_argo0
))
3194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_GetWidth. Expected _wxCursor_p.");
3201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3202 _result
= (int )wxCursor_GetWidth(_arg0
);
3204 wxPyEndAllowThreads(__tstate
);
3205 if (PyErr_Occurred()) return NULL
;
3206 } _resultobj
= Py_BuildValue("i",_result
);
3210 #define wxCursor_GetHeight(_swigobj) (_swigobj->GetHeight())
3211 static PyObject
*_wrap_wxCursor_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3212 PyObject
* _resultobj
;
3215 PyObject
* _argo0
= 0;
3216 char *_kwnames
[] = { "self", NULL
};
3219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCursor_GetHeight",_kwnames
,&_argo0
))
3222 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3223 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_GetHeight. Expected _wxCursor_p.");
3229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3230 _result
= (int )wxCursor_GetHeight(_arg0
);
3232 wxPyEndAllowThreads(__tstate
);
3233 if (PyErr_Occurred()) return NULL
;
3234 } _resultobj
= Py_BuildValue("i",_result
);
3238 #define wxCursor_GetDepth(_swigobj) (_swigobj->GetDepth())
3239 static PyObject
*_wrap_wxCursor_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3240 PyObject
* _resultobj
;
3243 PyObject
* _argo0
= 0;
3244 char *_kwnames
[] = { "self", NULL
};
3247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCursor_GetDepth",_kwnames
,&_argo0
))
3250 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3251 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_GetDepth. Expected _wxCursor_p.");
3257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3258 _result
= (int )wxCursor_GetDepth(_arg0
);
3260 wxPyEndAllowThreads(__tstate
);
3261 if (PyErr_Occurred()) return NULL
;
3262 } _resultobj
= Py_BuildValue("i",_result
);
3266 #define wxCursor_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
3267 static PyObject
*_wrap_wxCursor_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3268 PyObject
* _resultobj
;
3271 PyObject
* _argo0
= 0;
3272 char *_kwnames
[] = { "self","w", NULL
};
3275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCursor_SetWidth",_kwnames
,&_argo0
,&_arg1
))
3278 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3279 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_SetWidth. Expected _wxCursor_p.");
3285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3286 wxCursor_SetWidth(_arg0
,_arg1
);
3288 wxPyEndAllowThreads(__tstate
);
3289 if (PyErr_Occurred()) return NULL
;
3290 } Py_INCREF(Py_None
);
3291 _resultobj
= Py_None
;
3295 #define wxCursor_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
3296 static PyObject
*_wrap_wxCursor_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3297 PyObject
* _resultobj
;
3300 PyObject
* _argo0
= 0;
3301 char *_kwnames
[] = { "self","h", NULL
};
3304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCursor_SetHeight",_kwnames
,&_argo0
,&_arg1
))
3307 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3308 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_SetHeight. Expected _wxCursor_p.");
3314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3315 wxCursor_SetHeight(_arg0
,_arg1
);
3317 wxPyEndAllowThreads(__tstate
);
3318 if (PyErr_Occurred()) return NULL
;
3319 } Py_INCREF(Py_None
);
3320 _resultobj
= Py_None
;
3324 #define wxCursor_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
3325 static PyObject
*_wrap_wxCursor_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3326 PyObject
* _resultobj
;
3329 PyObject
* _argo0
= 0;
3330 char *_kwnames
[] = { "self","d", NULL
};
3333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCursor_SetDepth",_kwnames
,&_argo0
,&_arg1
))
3336 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3337 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_SetDepth. Expected _wxCursor_p.");
3343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3344 wxCursor_SetDepth(_arg0
,_arg1
);
3346 wxPyEndAllowThreads(__tstate
);
3347 if (PyErr_Occurred()) return NULL
;
3348 } Py_INCREF(Py_None
);
3349 _resultobj
= Py_None
;
3353 #define wxCursor_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
3354 static PyObject
*_wrap_wxCursor_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3355 PyObject
* _resultobj
;
3358 PyObject
* _argo0
= 0;
3360 PyObject
* _obj1
= 0;
3361 char *_kwnames
[] = { "self","size", NULL
};
3364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCursor_SetSize",_kwnames
,&_argo0
,&_obj1
))
3367 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3368 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_SetSize. Expected _wxCursor_p.");
3375 if (! wxSize_helper(_obj1
, &_arg1
))
3379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3380 wxCursor_SetSize(_arg0
,*_arg1
);
3382 wxPyEndAllowThreads(__tstate
);
3383 if (PyErr_Occurred()) return NULL
;
3384 } Py_INCREF(Py_None
);
3385 _resultobj
= Py_None
;
3389 #define new_wxNativeFontInfo() (new wxNativeFontInfo())
3390 static PyObject
*_wrap_new_wxNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3391 PyObject
* _resultobj
;
3392 wxNativeFontInfo
* _result
;
3393 char *_kwnames
[] = { NULL
};
3397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxNativeFontInfo",_kwnames
))
3400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3401 _result
= (wxNativeFontInfo
*)new_wxNativeFontInfo();
3403 wxPyEndAllowThreads(__tstate
);
3404 if (PyErr_Occurred()) return NULL
;
3406 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNativeFontInfo_p");
3407 _resultobj
= Py_BuildValue("s",_ptemp
);
3410 _resultobj
= Py_None
;
3415 #define wxNativeFontInfo_Init(_swigobj) (_swigobj->Init())
3416 static PyObject
*_wrap_wxNativeFontInfo_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3417 PyObject
* _resultobj
;
3418 wxNativeFontInfo
* _arg0
;
3419 PyObject
* _argo0
= 0;
3420 char *_kwnames
[] = { "self", NULL
};
3423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_Init",_kwnames
,&_argo0
))
3426 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3427 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_Init. Expected _wxNativeFontInfo_p.");
3433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3434 wxNativeFontInfo_Init(_arg0
);
3436 wxPyEndAllowThreads(__tstate
);
3437 if (PyErr_Occurred()) return NULL
;
3438 } Py_INCREF(Py_None
);
3439 _resultobj
= Py_None
;
3443 #define wxNativeFontInfo_GetPointSize(_swigobj) (_swigobj->GetPointSize())
3444 static PyObject
*_wrap_wxNativeFontInfo_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3445 PyObject
* _resultobj
;
3447 wxNativeFontInfo
* _arg0
;
3448 PyObject
* _argo0
= 0;
3449 char *_kwnames
[] = { "self", NULL
};
3452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_GetPointSize",_kwnames
,&_argo0
))
3455 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3456 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_GetPointSize. Expected _wxNativeFontInfo_p.");
3462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3463 _result
= (int )wxNativeFontInfo_GetPointSize(_arg0
);
3465 wxPyEndAllowThreads(__tstate
);
3466 if (PyErr_Occurred()) return NULL
;
3467 } _resultobj
= Py_BuildValue("i",_result
);
3471 #define wxNativeFontInfo_GetStyle(_swigobj) (_swigobj->GetStyle())
3472 static PyObject
*_wrap_wxNativeFontInfo_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3473 PyObject
* _resultobj
;
3474 wxFontStyle _result
;
3475 wxNativeFontInfo
* _arg0
;
3476 PyObject
* _argo0
= 0;
3477 char *_kwnames
[] = { "self", NULL
};
3480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_GetStyle",_kwnames
,&_argo0
))
3483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_GetStyle. Expected _wxNativeFontInfo_p.");
3490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3491 _result
= (wxFontStyle
)wxNativeFontInfo_GetStyle(_arg0
);
3493 wxPyEndAllowThreads(__tstate
);
3494 if (PyErr_Occurred()) return NULL
;
3495 } _resultobj
= Py_BuildValue("i",_result
);
3499 #define wxNativeFontInfo_GetWeight(_swigobj) (_swigobj->GetWeight())
3500 static PyObject
*_wrap_wxNativeFontInfo_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3501 PyObject
* _resultobj
;
3502 wxFontWeight _result
;
3503 wxNativeFontInfo
* _arg0
;
3504 PyObject
* _argo0
= 0;
3505 char *_kwnames
[] = { "self", NULL
};
3508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_GetWeight",_kwnames
,&_argo0
))
3511 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3512 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_GetWeight. Expected _wxNativeFontInfo_p.");
3518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3519 _result
= (wxFontWeight
)wxNativeFontInfo_GetWeight(_arg0
);
3521 wxPyEndAllowThreads(__tstate
);
3522 if (PyErr_Occurred()) return NULL
;
3523 } _resultobj
= Py_BuildValue("i",_result
);
3527 #define wxNativeFontInfo_GetUnderlined(_swigobj) (_swigobj->GetUnderlined())
3528 static PyObject
*_wrap_wxNativeFontInfo_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3529 PyObject
* _resultobj
;
3531 wxNativeFontInfo
* _arg0
;
3532 PyObject
* _argo0
= 0;
3533 char *_kwnames
[] = { "self", NULL
};
3536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_GetUnderlined",_kwnames
,&_argo0
))
3539 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3540 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_GetUnderlined. Expected _wxNativeFontInfo_p.");
3546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3547 _result
= (bool )wxNativeFontInfo_GetUnderlined(_arg0
);
3549 wxPyEndAllowThreads(__tstate
);
3550 if (PyErr_Occurred()) return NULL
;
3551 } _resultobj
= Py_BuildValue("i",_result
);
3555 #define wxNativeFontInfo_GetFaceName(_swigobj) (_swigobj->GetFaceName())
3556 static PyObject
*_wrap_wxNativeFontInfo_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3557 PyObject
* _resultobj
;
3559 wxNativeFontInfo
* _arg0
;
3560 PyObject
* _argo0
= 0;
3561 char *_kwnames
[] = { "self", NULL
};
3564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_GetFaceName",_kwnames
,&_argo0
))
3567 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3568 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_GetFaceName. Expected _wxNativeFontInfo_p.");
3574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3575 _result
= new wxString (wxNativeFontInfo_GetFaceName(_arg0
));
3577 wxPyEndAllowThreads(__tstate
);
3578 if (PyErr_Occurred()) return NULL
;
3581 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3583 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3592 #define wxNativeFontInfo_GetFamily(_swigobj) (_swigobj->GetFamily())
3593 static PyObject
*_wrap_wxNativeFontInfo_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3594 PyObject
* _resultobj
;
3595 wxFontFamily _result
;
3596 wxNativeFontInfo
* _arg0
;
3597 PyObject
* _argo0
= 0;
3598 char *_kwnames
[] = { "self", NULL
};
3601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_GetFamily",_kwnames
,&_argo0
))
3604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_GetFamily. Expected _wxNativeFontInfo_p.");
3611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3612 _result
= (wxFontFamily
)wxNativeFontInfo_GetFamily(_arg0
);
3614 wxPyEndAllowThreads(__tstate
);
3615 if (PyErr_Occurred()) return NULL
;
3616 } _resultobj
= Py_BuildValue("i",_result
);
3620 #define wxNativeFontInfo_GetEncoding(_swigobj) (_swigobj->GetEncoding())
3621 static PyObject
*_wrap_wxNativeFontInfo_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3622 PyObject
* _resultobj
;
3623 wxFontEncoding _result
;
3624 wxNativeFontInfo
* _arg0
;
3625 PyObject
* _argo0
= 0;
3626 char *_kwnames
[] = { "self", NULL
};
3629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_GetEncoding",_kwnames
,&_argo0
))
3632 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3633 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_GetEncoding. Expected _wxNativeFontInfo_p.");
3639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3640 _result
= (wxFontEncoding
)wxNativeFontInfo_GetEncoding(_arg0
);
3642 wxPyEndAllowThreads(__tstate
);
3643 if (PyErr_Occurred()) return NULL
;
3644 } _resultobj
= Py_BuildValue("i",_result
);
3648 #define wxNativeFontInfo_SetPointSize(_swigobj,_swigarg0) (_swigobj->SetPointSize(_swigarg0))
3649 static PyObject
*_wrap_wxNativeFontInfo_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3650 PyObject
* _resultobj
;
3651 wxNativeFontInfo
* _arg0
;
3653 PyObject
* _argo0
= 0;
3654 char *_kwnames
[] = { "self","pointsize", NULL
};
3657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNativeFontInfo_SetPointSize",_kwnames
,&_argo0
,&_arg1
))
3660 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3661 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_SetPointSize. Expected _wxNativeFontInfo_p.");
3667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3668 wxNativeFontInfo_SetPointSize(_arg0
,_arg1
);
3670 wxPyEndAllowThreads(__tstate
);
3671 if (PyErr_Occurred()) return NULL
;
3672 } Py_INCREF(Py_None
);
3673 _resultobj
= Py_None
;
3677 #define wxNativeFontInfo_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
3678 static PyObject
*_wrap_wxNativeFontInfo_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3679 PyObject
* _resultobj
;
3680 wxNativeFontInfo
* _arg0
;
3682 PyObject
* _argo0
= 0;
3683 char *_kwnames
[] = { "self","style", NULL
};
3686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNativeFontInfo_SetStyle",_kwnames
,&_argo0
,&_arg1
))
3689 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3690 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_SetStyle. Expected _wxNativeFontInfo_p.");
3696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3697 wxNativeFontInfo_SetStyle(_arg0
,_arg1
);
3699 wxPyEndAllowThreads(__tstate
);
3700 if (PyErr_Occurred()) return NULL
;
3701 } Py_INCREF(Py_None
);
3702 _resultobj
= Py_None
;
3706 #define wxNativeFontInfo_SetWeight(_swigobj,_swigarg0) (_swigobj->SetWeight(_swigarg0))
3707 static PyObject
*_wrap_wxNativeFontInfo_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3708 PyObject
* _resultobj
;
3709 wxNativeFontInfo
* _arg0
;
3711 PyObject
* _argo0
= 0;
3712 char *_kwnames
[] = { "self","weight", NULL
};
3715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNativeFontInfo_SetWeight",_kwnames
,&_argo0
,&_arg1
))
3718 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3719 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_SetWeight. Expected _wxNativeFontInfo_p.");
3725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3726 wxNativeFontInfo_SetWeight(_arg0
,_arg1
);
3728 wxPyEndAllowThreads(__tstate
);
3729 if (PyErr_Occurred()) return NULL
;
3730 } Py_INCREF(Py_None
);
3731 _resultobj
= Py_None
;
3735 #define wxNativeFontInfo_SetUnderlined(_swigobj,_swigarg0) (_swigobj->SetUnderlined(_swigarg0))
3736 static PyObject
*_wrap_wxNativeFontInfo_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3737 PyObject
* _resultobj
;
3738 wxNativeFontInfo
* _arg0
;
3740 PyObject
* _argo0
= 0;
3742 char *_kwnames
[] = { "self","underlined", NULL
};
3745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNativeFontInfo_SetUnderlined",_kwnames
,&_argo0
,&tempbool1
))
3748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_SetUnderlined. Expected _wxNativeFontInfo_p.");
3754 _arg1
= (bool ) tempbool1
;
3756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3757 wxNativeFontInfo_SetUnderlined(_arg0
,_arg1
);
3759 wxPyEndAllowThreads(__tstate
);
3760 if (PyErr_Occurred()) return NULL
;
3761 } Py_INCREF(Py_None
);
3762 _resultobj
= Py_None
;
3766 #define wxNativeFontInfo_SetFaceName(_swigobj,_swigarg0) (_swigobj->SetFaceName(_swigarg0))
3767 static PyObject
*_wrap_wxNativeFontInfo_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3768 PyObject
* _resultobj
;
3769 wxNativeFontInfo
* _arg0
;
3771 PyObject
* _argo0
= 0;
3772 PyObject
* _obj1
= 0;
3773 char *_kwnames
[] = { "self","facename", NULL
};
3776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNativeFontInfo_SetFaceName",_kwnames
,&_argo0
,&_obj1
))
3779 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3780 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_SetFaceName. Expected _wxNativeFontInfo_p.");
3786 _arg1
= wxString_in_helper(_obj1
);
3791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3792 wxNativeFontInfo_SetFaceName(_arg0
,*_arg1
);
3794 wxPyEndAllowThreads(__tstate
);
3795 if (PyErr_Occurred()) return NULL
;
3796 } Py_INCREF(Py_None
);
3797 _resultobj
= Py_None
;
3805 #define wxNativeFontInfo_SetFamily(_swigobj,_swigarg0) (_swigobj->SetFamily(_swigarg0))
3806 static PyObject
*_wrap_wxNativeFontInfo_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3807 PyObject
* _resultobj
;
3808 wxNativeFontInfo
* _arg0
;
3810 PyObject
* _argo0
= 0;
3811 char *_kwnames
[] = { "self","family", NULL
};
3814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNativeFontInfo_SetFamily",_kwnames
,&_argo0
,&_arg1
))
3817 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3818 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_SetFamily. Expected _wxNativeFontInfo_p.");
3824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3825 wxNativeFontInfo_SetFamily(_arg0
,_arg1
);
3827 wxPyEndAllowThreads(__tstate
);
3828 if (PyErr_Occurred()) return NULL
;
3829 } Py_INCREF(Py_None
);
3830 _resultobj
= Py_None
;
3834 #define wxNativeFontInfo_SetEncoding(_swigobj,_swigarg0) (_swigobj->SetEncoding(_swigarg0))
3835 static PyObject
*_wrap_wxNativeFontInfo_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3836 PyObject
* _resultobj
;
3837 wxNativeFontInfo
* _arg0
;
3838 wxFontEncoding _arg1
;
3839 PyObject
* _argo0
= 0;
3840 char *_kwnames
[] = { "self","encoding", NULL
};
3843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNativeFontInfo_SetEncoding",_kwnames
,&_argo0
,&_arg1
))
3846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_SetEncoding. Expected _wxNativeFontInfo_p.");
3853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3854 wxNativeFontInfo_SetEncoding(_arg0
,_arg1
);
3856 wxPyEndAllowThreads(__tstate
);
3857 if (PyErr_Occurred()) return NULL
;
3858 } Py_INCREF(Py_None
);
3859 _resultobj
= Py_None
;
3863 #define wxNativeFontInfo_FromString(_swigobj,_swigarg0) (_swigobj->FromString(_swigarg0))
3864 static PyObject
*_wrap_wxNativeFontInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3865 PyObject
* _resultobj
;
3867 wxNativeFontInfo
* _arg0
;
3869 PyObject
* _argo0
= 0;
3870 PyObject
* _obj1
= 0;
3871 char *_kwnames
[] = { "self","s", NULL
};
3874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNativeFontInfo_FromString",_kwnames
,&_argo0
,&_obj1
))
3877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_FromString. Expected _wxNativeFontInfo_p.");
3884 _arg1
= wxString_in_helper(_obj1
);
3889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3890 _result
= (bool )wxNativeFontInfo_FromString(_arg0
,*_arg1
);
3892 wxPyEndAllowThreads(__tstate
);
3893 if (PyErr_Occurred()) return NULL
;
3894 } _resultobj
= Py_BuildValue("i",_result
);
3902 #define wxNativeFontInfo_ToString(_swigobj) (_swigobj->ToString())
3903 static PyObject
*_wrap_wxNativeFontInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3904 PyObject
* _resultobj
;
3906 wxNativeFontInfo
* _arg0
;
3907 PyObject
* _argo0
= 0;
3908 char *_kwnames
[] = { "self", NULL
};
3911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_ToString",_kwnames
,&_argo0
))
3914 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3915 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_ToString. Expected _wxNativeFontInfo_p.");
3921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3922 _result
= new wxString (wxNativeFontInfo_ToString(_arg0
));
3924 wxPyEndAllowThreads(__tstate
);
3925 if (PyErr_Occurred()) return NULL
;
3928 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3930 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3939 static wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
) {
3940 return self
->ToString();
3942 static PyObject
*_wrap_wxNativeFontInfo___str__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3943 PyObject
* _resultobj
;
3945 wxNativeFontInfo
* _arg0
;
3946 PyObject
* _argo0
= 0;
3947 char *_kwnames
[] = { "self", NULL
};
3950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo___str__",_kwnames
,&_argo0
))
3953 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3954 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo___str__. Expected _wxNativeFontInfo_p.");
3960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3961 _result
= new wxString (wxNativeFontInfo___str__(_arg0
));
3963 wxPyEndAllowThreads(__tstate
);
3964 if (PyErr_Occurred()) return NULL
;
3967 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3969 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3978 #define wxNativeFontInfo_FromUserString(_swigobj,_swigarg0) (_swigobj->FromUserString(_swigarg0))
3979 static PyObject
*_wrap_wxNativeFontInfo_FromUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3980 PyObject
* _resultobj
;
3982 wxNativeFontInfo
* _arg0
;
3984 PyObject
* _argo0
= 0;
3985 PyObject
* _obj1
= 0;
3986 char *_kwnames
[] = { "self","s", NULL
};
3989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNativeFontInfo_FromUserString",_kwnames
,&_argo0
,&_obj1
))
3992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_FromUserString. Expected _wxNativeFontInfo_p.");
3999 _arg1
= wxString_in_helper(_obj1
);
4004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4005 _result
= (bool )wxNativeFontInfo_FromUserString(_arg0
,*_arg1
);
4007 wxPyEndAllowThreads(__tstate
);
4008 if (PyErr_Occurred()) return NULL
;
4009 } _resultobj
= Py_BuildValue("i",_result
);
4017 #define wxNativeFontInfo_ToUserString(_swigobj) (_swigobj->ToUserString())
4018 static PyObject
*_wrap_wxNativeFontInfo_ToUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4019 PyObject
* _resultobj
;
4021 wxNativeFontInfo
* _arg0
;
4022 PyObject
* _argo0
= 0;
4023 char *_kwnames
[] = { "self", NULL
};
4026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_ToUserString",_kwnames
,&_argo0
))
4029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
4031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_ToUserString. Expected _wxNativeFontInfo_p.");
4036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4037 _result
= new wxString (wxNativeFontInfo_ToUserString(_arg0
));
4039 wxPyEndAllowThreads(__tstate
);
4040 if (PyErr_Occurred()) return NULL
;
4043 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
4045 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4054 #define new_wxFontMapper() (new wxFontMapper())
4055 static PyObject
*_wrap_new_wxFontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4056 PyObject
* _resultobj
;
4057 wxFontMapper
* _result
;
4058 char *_kwnames
[] = { NULL
};
4062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFontMapper",_kwnames
))
4065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4066 _result
= (wxFontMapper
*)new_wxFontMapper();
4068 wxPyEndAllowThreads(__tstate
);
4069 if (PyErr_Occurred()) return NULL
;
4071 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFontMapper_p");
4072 _resultobj
= Py_BuildValue("s",_ptemp
);
4075 _resultobj
= Py_None
;
4080 #define delete_wxFontMapper(_swigobj) (delete _swigobj)
4081 static PyObject
*_wrap_delete_wxFontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4082 PyObject
* _resultobj
;
4083 wxFontMapper
* _arg0
;
4084 PyObject
* _argo0
= 0;
4085 char *_kwnames
[] = { "self", NULL
};
4088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFontMapper",_kwnames
,&_argo0
))
4091 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4092 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
4093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFontMapper. Expected _wxFontMapper_p.");
4098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4099 delete_wxFontMapper(_arg0
);
4101 wxPyEndAllowThreads(__tstate
);
4102 if (PyErr_Occurred()) return NULL
;
4103 } Py_INCREF(Py_None
);
4104 _resultobj
= Py_None
;
4108 static PyObject
* wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,const wxString
& facename
,bool interactive
) {
4109 wxFontEncoding alt_enc
;
4110 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
4111 return PyInt_FromLong(alt_enc
);
4117 static PyObject
*_wrap_wxFontMapper_GetAltForEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4118 PyObject
* _resultobj
;
4120 wxFontMapper
* _arg0
;
4121 wxFontEncoding _arg1
;
4122 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
4123 bool _arg3
= (bool ) TRUE
;
4124 PyObject
* _argo0
= 0;
4125 PyObject
* _obj2
= 0;
4126 int tempbool3
= (int) TRUE
;
4127 char *_kwnames
[] = { "self","encoding","facename","interactive", NULL
};
4130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|Oi:wxFontMapper_GetAltForEncoding",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&tempbool3
))
4133 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4134 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
4135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_GetAltForEncoding. Expected _wxFontMapper_p.");
4141 _arg2
= wxString_in_helper(_obj2
);
4145 _arg3
= (bool ) tempbool3
;
4147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4148 _result
= (PyObject
*)wxFontMapper_GetAltForEncoding(_arg0
,_arg1
,*_arg2
,_arg3
);
4150 wxPyEndAllowThreads(__tstate
);
4151 if (PyErr_Occurred()) return NULL
;
4153 _resultobj
= _result
;
4162 #define wxFontMapper_IsEncodingAvailable(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsEncodingAvailable(_swigarg0,_swigarg1))
4163 static PyObject
*_wrap_wxFontMapper_IsEncodingAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4164 PyObject
* _resultobj
;
4166 wxFontMapper
* _arg0
;
4167 wxFontEncoding _arg1
;
4168 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
4169 PyObject
* _argo0
= 0;
4170 PyObject
* _obj2
= 0;
4171 char *_kwnames
[] = { "self","encoding","facename", NULL
};
4174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|O:wxFontMapper_IsEncodingAvailable",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
4179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_IsEncodingAvailable. Expected _wxFontMapper_p.");
4185 _arg2
= wxString_in_helper(_obj2
);
4190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4191 _result
= (bool )wxFontMapper_IsEncodingAvailable(_arg0
,_arg1
,*_arg2
);
4193 wxPyEndAllowThreads(__tstate
);
4194 if (PyErr_Occurred()) return NULL
;
4195 } _resultobj
= Py_BuildValue("i",_result
);
4203 #define wxFontMapper_CharsetToEncoding(_swigobj,_swigarg0,_swigarg1) (_swigobj->CharsetToEncoding(_swigarg0,_swigarg1))
4204 static PyObject
*_wrap_wxFontMapper_CharsetToEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4205 PyObject
* _resultobj
;
4206 wxFontEncoding _result
;
4207 wxFontMapper
* _arg0
;
4209 bool _arg2
= (bool ) TRUE
;
4210 PyObject
* _argo0
= 0;
4211 PyObject
* _obj1
= 0;
4212 int tempbool2
= (int) TRUE
;
4213 char *_kwnames
[] = { "self","charset","interactive", NULL
};
4216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFontMapper_CharsetToEncoding",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
4219 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4220 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
4221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_CharsetToEncoding. Expected _wxFontMapper_p.");
4226 _arg1
= wxString_in_helper(_obj1
);
4230 _arg2
= (bool ) tempbool2
;
4232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4233 _result
= (wxFontEncoding
)wxFontMapper_CharsetToEncoding(_arg0
,*_arg1
,_arg2
);
4235 wxPyEndAllowThreads(__tstate
);
4236 if (PyErr_Occurred()) return NULL
;
4237 } _resultobj
= Py_BuildValue("i",_result
);
4245 static PyObject
*_wrap_wxFontMapper_GetEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4246 PyObject
* _resultobj
;
4248 wxFontEncoding _arg0
;
4249 char *_kwnames
[] = { "encoding", NULL
};
4252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxFontMapper_GetEncodingName",_kwnames
,&_arg0
))
4255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4256 _result
= new wxString (wxFontMapper::GetEncodingName(_arg0
));
4258 wxPyEndAllowThreads(__tstate
);
4259 if (PyErr_Occurred()) return NULL
;
4262 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
4264 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4273 static PyObject
*_wrap_wxFontMapper_GetEncodingDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4274 PyObject
* _resultobj
;
4276 wxFontEncoding _arg0
;
4277 char *_kwnames
[] = { "encoding", NULL
};
4280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxFontMapper_GetEncodingDescription",_kwnames
,&_arg0
))
4283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4284 _result
= new wxString (wxFontMapper::GetEncodingDescription(_arg0
));
4286 wxPyEndAllowThreads(__tstate
);
4287 if (PyErr_Occurred()) return NULL
;
4290 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
4292 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4301 #define wxFontMapper_SetDialogParent(_swigobj,_swigarg0) (_swigobj->SetDialogParent(_swigarg0))
4302 static PyObject
*_wrap_wxFontMapper_SetDialogParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4303 PyObject
* _resultobj
;
4304 wxFontMapper
* _arg0
;
4306 PyObject
* _argo0
= 0;
4307 PyObject
* _argo1
= 0;
4308 char *_kwnames
[] = { "self","parent", NULL
};
4311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontMapper_SetDialogParent",_kwnames
,&_argo0
,&_argo1
))
4314 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4315 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
4316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_SetDialogParent. Expected _wxFontMapper_p.");
4321 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4322 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontMapper_SetDialogParent. Expected _wxWindow_p.");
4328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4329 wxFontMapper_SetDialogParent(_arg0
,_arg1
);
4331 wxPyEndAllowThreads(__tstate
);
4332 if (PyErr_Occurred()) return NULL
;
4333 } Py_INCREF(Py_None
);
4334 _resultobj
= Py_None
;
4338 #define wxFontMapper_SetDialogTitle(_swigobj,_swigarg0) (_swigobj->SetDialogTitle(_swigarg0))
4339 static PyObject
*_wrap_wxFontMapper_SetDialogTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4340 PyObject
* _resultobj
;
4341 wxFontMapper
* _arg0
;
4343 PyObject
* _argo0
= 0;
4344 PyObject
* _obj1
= 0;
4345 char *_kwnames
[] = { "self","title", NULL
};
4348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontMapper_SetDialogTitle",_kwnames
,&_argo0
,&_obj1
))
4351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
4353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_SetDialogTitle. Expected _wxFontMapper_p.");
4358 _arg1
= wxString_in_helper(_obj1
);
4363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4364 wxFontMapper_SetDialogTitle(_arg0
,*_arg1
);
4366 wxPyEndAllowThreads(__tstate
);
4367 if (PyErr_Occurred()) return NULL
;
4368 } Py_INCREF(Py_None
);
4369 _resultobj
= Py_None
;
4377 #define wxFontMapper_SetConfig(_swigobj,_swigarg0) (_swigobj->SetConfig(_swigarg0))
4378 static PyObject
*_wrap_wxFontMapper_SetConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4379 PyObject
* _resultobj
;
4380 wxFontMapper
* _arg0
;
4381 wxConfigBase
* _arg1
;
4382 PyObject
* _argo0
= 0;
4383 PyObject
* _argo1
= 0;
4384 char *_kwnames
[] = { "self","config", NULL
};
4387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontMapper_SetConfig",_kwnames
,&_argo0
,&_argo1
))
4390 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4391 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
4392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_SetConfig. Expected _wxFontMapper_p.");
4397 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4398 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
4399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontMapper_SetConfig. Expected _wxConfigBase_p.");
4404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4405 wxFontMapper_SetConfig(_arg0
,_arg1
);
4407 wxPyEndAllowThreads(__tstate
);
4408 if (PyErr_Occurred()) return NULL
;
4409 } Py_INCREF(Py_None
);
4410 _resultobj
= Py_None
;
4414 #define wxFontMapper_SetConfigPath(_swigobj,_swigarg0) (_swigobj->SetConfigPath(_swigarg0))
4415 static PyObject
*_wrap_wxFontMapper_SetConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4416 PyObject
* _resultobj
;
4417 wxFontMapper
* _arg0
;
4419 PyObject
* _argo0
= 0;
4420 PyObject
* _obj1
= 0;
4421 char *_kwnames
[] = { "self","prefix", NULL
};
4424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontMapper_SetConfigPath",_kwnames
,&_argo0
,&_obj1
))
4427 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4428 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
4429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_SetConfigPath. Expected _wxFontMapper_p.");
4434 _arg1
= wxString_in_helper(_obj1
);
4439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4440 wxFontMapper_SetConfigPath(_arg0
,*_arg1
);
4442 wxPyEndAllowThreads(__tstate
);
4443 if (PyErr_Occurred()) return NULL
;
4444 } Py_INCREF(Py_None
);
4445 _resultobj
= Py_None
;
4453 static PyObject
*_wrap_wxFontMapper_GetDefaultConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4454 PyObject
* _resultobj
;
4456 char *_kwnames
[] = { NULL
};
4459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxFontMapper_GetDefaultConfigPath",_kwnames
))
4462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4463 _result
= new wxString (wxFontMapper::GetDefaultConfigPath());
4465 wxPyEndAllowThreads(__tstate
);
4466 if (PyErr_Occurred()) return NULL
;
4469 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
4471 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4480 static void *SwigwxFontTowxGDIObject(void *ptr
) {
4483 src
= (wxFont
*) ptr
;
4484 dest
= (wxGDIObject
*) src
;
4485 return (void *) dest
;
4488 static void *SwigwxFontTowxObject(void *ptr
) {
4491 src
= (wxFont
*) ptr
;
4492 dest
= (wxObject
*) src
;
4493 return (void *) dest
;
4496 #define new_wxFont(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxFont(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4497 static PyObject
*_wrap_new_wxFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4498 PyObject
* _resultobj
;
4504 int _arg4
= (int ) FALSE
;
4505 wxString
* _arg5
= (wxString
*) &wxPyEmptyString
;
4506 wxFontEncoding _arg6
= (wxFontEncoding
) (wxFONTENCODING_DEFAULT
);
4507 PyObject
* _obj5
= 0;
4508 char *_kwnames
[] = { "pointSize","family","style","weight","underline","faceName","encoding", NULL
};
4512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiii|iOi:new_wxFont",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
,&_arg6
))
4516 _arg5
= wxString_in_helper(_obj5
);
4521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4522 _result
= (wxFont
*)new_wxFont(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,*_arg5
,_arg6
);
4524 wxPyEndAllowThreads(__tstate
);
4525 if (PyErr_Occurred()) return NULL
;
4527 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
4528 _resultobj
= Py_BuildValue("s",_ptemp
);
4531 _resultobj
= Py_None
;
4540 #define new_wxFontFromNativeInfo(_swigarg0) (new wxFont(_swigarg0))
4541 static PyObject
*_wrap_new_wxFontFromNativeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4542 PyObject
* _resultobj
;
4544 wxNativeFontInfo
* _arg0
;
4545 PyObject
* _argo0
= 0;
4546 char *_kwnames
[] = { "info", NULL
};
4550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFontFromNativeInfo",_kwnames
,&_argo0
))
4553 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4554 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
4555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFontFromNativeInfo. Expected _wxNativeFontInfo_p.");
4560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4561 _result
= (wxFont
*)new_wxFontFromNativeInfo(*_arg0
);
4563 wxPyEndAllowThreads(__tstate
);
4564 if (PyErr_Occurred()) return NULL
;
4566 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
4567 _resultobj
= Py_BuildValue("s",_ptemp
);
4570 _resultobj
= Py_None
;
4575 #define delete_wxFont(_swigobj) (delete _swigobj)
4576 static PyObject
*_wrap_delete_wxFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4577 PyObject
* _resultobj
;
4579 PyObject
* _argo0
= 0;
4580 char *_kwnames
[] = { "self", NULL
};
4583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFont",_kwnames
,&_argo0
))
4586 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4587 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFont. Expected _wxFont_p.");
4593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4594 delete_wxFont(_arg0
);
4596 wxPyEndAllowThreads(__tstate
);
4597 if (PyErr_Occurred()) return NULL
;
4598 } Py_INCREF(Py_None
);
4599 _resultobj
= Py_None
;
4603 #define wxFont_Ok(_swigobj) (_swigobj->Ok())
4604 static PyObject
*_wrap_wxFont_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4605 PyObject
* _resultobj
;
4608 PyObject
* _argo0
= 0;
4609 char *_kwnames
[] = { "self", NULL
};
4612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_Ok",_kwnames
,&_argo0
))
4615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_Ok. Expected _wxFont_p.");
4622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4623 _result
= (bool )wxFont_Ok(_arg0
);
4625 wxPyEndAllowThreads(__tstate
);
4626 if (PyErr_Occurred()) return NULL
;
4627 } _resultobj
= Py_BuildValue("i",_result
);
4631 #define wxFont_GetPointSize(_swigobj) (_swigobj->GetPointSize())
4632 static PyObject
*_wrap_wxFont_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4633 PyObject
* _resultobj
;
4636 PyObject
* _argo0
= 0;
4637 char *_kwnames
[] = { "self", NULL
};
4640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetPointSize",_kwnames
,&_argo0
))
4643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetPointSize. Expected _wxFont_p.");
4650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4651 _result
= (int )wxFont_GetPointSize(_arg0
);
4653 wxPyEndAllowThreads(__tstate
);
4654 if (PyErr_Occurred()) return NULL
;
4655 } _resultobj
= Py_BuildValue("i",_result
);
4659 #define wxFont_GetFamily(_swigobj) (_swigobj->GetFamily())
4660 static PyObject
*_wrap_wxFont_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4661 PyObject
* _resultobj
;
4664 PyObject
* _argo0
= 0;
4665 char *_kwnames
[] = { "self", NULL
};
4668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFamily",_kwnames
,&_argo0
))
4671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFamily. Expected _wxFont_p.");
4678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4679 _result
= (int )wxFont_GetFamily(_arg0
);
4681 wxPyEndAllowThreads(__tstate
);
4682 if (PyErr_Occurred()) return NULL
;
4683 } _resultobj
= Py_BuildValue("i",_result
);
4687 #define wxFont_GetStyle(_swigobj) (_swigobj->GetStyle())
4688 static PyObject
*_wrap_wxFont_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4689 PyObject
* _resultobj
;
4692 PyObject
* _argo0
= 0;
4693 char *_kwnames
[] = { "self", NULL
};
4696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetStyle",_kwnames
,&_argo0
))
4699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetStyle. Expected _wxFont_p.");
4706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4707 _result
= (int )wxFont_GetStyle(_arg0
);
4709 wxPyEndAllowThreads(__tstate
);
4710 if (PyErr_Occurred()) return NULL
;
4711 } _resultobj
= Py_BuildValue("i",_result
);
4715 #define wxFont_GetWeight(_swigobj) (_swigobj->GetWeight())
4716 static PyObject
*_wrap_wxFont_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4717 PyObject
* _resultobj
;
4720 PyObject
* _argo0
= 0;
4721 char *_kwnames
[] = { "self", NULL
};
4724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetWeight",_kwnames
,&_argo0
))
4727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetWeight. Expected _wxFont_p.");
4734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4735 _result
= (int )wxFont_GetWeight(_arg0
);
4737 wxPyEndAllowThreads(__tstate
);
4738 if (PyErr_Occurred()) return NULL
;
4739 } _resultobj
= Py_BuildValue("i",_result
);
4743 #define wxFont_GetUnderlined(_swigobj) (_swigobj->GetUnderlined())
4744 static PyObject
*_wrap_wxFont_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4745 PyObject
* _resultobj
;
4748 PyObject
* _argo0
= 0;
4749 char *_kwnames
[] = { "self", NULL
};
4752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetUnderlined",_kwnames
,&_argo0
))
4755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetUnderlined. Expected _wxFont_p.");
4762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4763 _result
= (bool )wxFont_GetUnderlined(_arg0
);
4765 wxPyEndAllowThreads(__tstate
);
4766 if (PyErr_Occurred()) return NULL
;
4767 } _resultobj
= Py_BuildValue("i",_result
);
4771 #define wxFont_GetFaceName(_swigobj) (_swigobj->GetFaceName())
4772 static PyObject
*_wrap_wxFont_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4773 PyObject
* _resultobj
;
4776 PyObject
* _argo0
= 0;
4777 char *_kwnames
[] = { "self", NULL
};
4780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFaceName",_kwnames
,&_argo0
))
4783 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4784 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFaceName. Expected _wxFont_p.");
4790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4791 _result
= new wxString (wxFont_GetFaceName(_arg0
));
4793 wxPyEndAllowThreads(__tstate
);
4794 if (PyErr_Occurred()) return NULL
;
4797 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
4799 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4808 #define wxFont_GetEncoding(_swigobj) (_swigobj->GetEncoding())
4809 static PyObject
*_wrap_wxFont_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4810 PyObject
* _resultobj
;
4811 wxFontEncoding _result
;
4813 PyObject
* _argo0
= 0;
4814 char *_kwnames
[] = { "self", NULL
};
4817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetEncoding",_kwnames
,&_argo0
))
4820 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4821 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetEncoding. Expected _wxFont_p.");
4827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4828 _result
= (wxFontEncoding
)wxFont_GetEncoding(_arg0
);
4830 wxPyEndAllowThreads(__tstate
);
4831 if (PyErr_Occurred()) return NULL
;
4832 } _resultobj
= Py_BuildValue("i",_result
);
4836 #define wxFont_IsFixedWidth(_swigobj) (_swigobj->IsFixedWidth())
4837 static PyObject
*_wrap_wxFont_IsFixedWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4838 PyObject
* _resultobj
;
4841 PyObject
* _argo0
= 0;
4842 char *_kwnames
[] = { "self", NULL
};
4845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_IsFixedWidth",_kwnames
,&_argo0
))
4848 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4849 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_IsFixedWidth. Expected _wxFont_p.");
4855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4856 _result
= (bool )wxFont_IsFixedWidth(_arg0
);
4858 wxPyEndAllowThreads(__tstate
);
4859 if (PyErr_Occurred()) return NULL
;
4860 } _resultobj
= Py_BuildValue("i",_result
);
4864 #define wxFont_GetNativeFontInfo(_swigobj) (_swigobj->GetNativeFontInfo())
4865 static PyObject
*_wrap_wxFont_GetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4866 PyObject
* _resultobj
;
4867 wxNativeFontInfo
* _result
;
4869 PyObject
* _argo0
= 0;
4870 char *_kwnames
[] = { "self", NULL
};
4874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetNativeFontInfo",_kwnames
,&_argo0
))
4877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetNativeFontInfo. Expected _wxFont_p.");
4884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4885 _result
= (wxNativeFontInfo
*)wxFont_GetNativeFontInfo(_arg0
);
4887 wxPyEndAllowThreads(__tstate
);
4888 if (PyErr_Occurred()) return NULL
;
4890 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNativeFontInfo_p");
4891 _resultobj
= Py_BuildValue("s",_ptemp
);
4894 _resultobj
= Py_None
;
4899 #define wxFont_GetNativeFontInfoDesc(_swigobj) (_swigobj->GetNativeFontInfoDesc())
4900 static PyObject
*_wrap_wxFont_GetNativeFontInfoDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4901 PyObject
* _resultobj
;
4904 PyObject
* _argo0
= 0;
4905 char *_kwnames
[] = { "self", NULL
};
4908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetNativeFontInfoDesc",_kwnames
,&_argo0
))
4911 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4912 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetNativeFontInfoDesc. Expected _wxFont_p.");
4918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4919 _result
= new wxString (wxFont_GetNativeFontInfoDesc(_arg0
));
4921 wxPyEndAllowThreads(__tstate
);
4922 if (PyErr_Occurred()) return NULL
;
4925 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
4927 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4936 #define wxFont_GetNativeFontInfoUserDesc(_swigobj) (_swigobj->GetNativeFontInfoUserDesc())
4937 static PyObject
*_wrap_wxFont_GetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4938 PyObject
* _resultobj
;
4941 PyObject
* _argo0
= 0;
4942 char *_kwnames
[] = { "self", NULL
};
4945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetNativeFontInfoUserDesc",_kwnames
,&_argo0
))
4948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetNativeFontInfoUserDesc. Expected _wxFont_p.");
4955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4956 _result
= new wxString (wxFont_GetNativeFontInfoUserDesc(_arg0
));
4958 wxPyEndAllowThreads(__tstate
);
4959 if (PyErr_Occurred()) return NULL
;
4962 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
4964 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4973 #define wxFont_SetPointSize(_swigobj,_swigarg0) (_swigobj->SetPointSize(_swigarg0))
4974 static PyObject
*_wrap_wxFont_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4975 PyObject
* _resultobj
;
4978 PyObject
* _argo0
= 0;
4979 char *_kwnames
[] = { "self","pointSize", NULL
};
4982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetPointSize",_kwnames
,&_argo0
,&_arg1
))
4985 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4986 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetPointSize. Expected _wxFont_p.");
4992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4993 wxFont_SetPointSize(_arg0
,_arg1
);
4995 wxPyEndAllowThreads(__tstate
);
4996 if (PyErr_Occurred()) return NULL
;
4997 } Py_INCREF(Py_None
);
4998 _resultobj
= Py_None
;
5002 #define wxFont_SetFamily(_swigobj,_swigarg0) (_swigobj->SetFamily(_swigarg0))
5003 static PyObject
*_wrap_wxFont_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5004 PyObject
* _resultobj
;
5007 PyObject
* _argo0
= 0;
5008 char *_kwnames
[] = { "self","family", NULL
};
5011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetFamily",_kwnames
,&_argo0
,&_arg1
))
5014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
5016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetFamily. Expected _wxFont_p.");
5021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5022 wxFont_SetFamily(_arg0
,_arg1
);
5024 wxPyEndAllowThreads(__tstate
);
5025 if (PyErr_Occurred()) return NULL
;
5026 } Py_INCREF(Py_None
);
5027 _resultobj
= Py_None
;
5031 #define wxFont_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
5032 static PyObject
*_wrap_wxFont_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5033 PyObject
* _resultobj
;
5036 PyObject
* _argo0
= 0;
5037 char *_kwnames
[] = { "self","style", NULL
};
5040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetStyle",_kwnames
,&_argo0
,&_arg1
))
5043 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5044 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
5045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetStyle. Expected _wxFont_p.");
5050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5051 wxFont_SetStyle(_arg0
,_arg1
);
5053 wxPyEndAllowThreads(__tstate
);
5054 if (PyErr_Occurred()) return NULL
;
5055 } Py_INCREF(Py_None
);
5056 _resultobj
= Py_None
;
5060 #define wxFont_SetWeight(_swigobj,_swigarg0) (_swigobj->SetWeight(_swigarg0))
5061 static PyObject
*_wrap_wxFont_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5062 PyObject
* _resultobj
;
5065 PyObject
* _argo0
= 0;
5066 char *_kwnames
[] = { "self","weight", NULL
};
5069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetWeight",_kwnames
,&_argo0
,&_arg1
))
5072 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5073 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
5074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetWeight. Expected _wxFont_p.");
5079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5080 wxFont_SetWeight(_arg0
,_arg1
);
5082 wxPyEndAllowThreads(__tstate
);
5083 if (PyErr_Occurred()) return NULL
;
5084 } Py_INCREF(Py_None
);
5085 _resultobj
= Py_None
;
5089 #define wxFont_SetFaceName(_swigobj,_swigarg0) (_swigobj->SetFaceName(_swigarg0))
5090 static PyObject
*_wrap_wxFont_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5091 PyObject
* _resultobj
;
5094 PyObject
* _argo0
= 0;
5095 PyObject
* _obj1
= 0;
5096 char *_kwnames
[] = { "self","faceName", NULL
};
5099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFont_SetFaceName",_kwnames
,&_argo0
,&_obj1
))
5102 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5103 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
5104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetFaceName. Expected _wxFont_p.");
5109 _arg1
= wxString_in_helper(_obj1
);
5114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5115 wxFont_SetFaceName(_arg0
,*_arg1
);
5117 wxPyEndAllowThreads(__tstate
);
5118 if (PyErr_Occurred()) return NULL
;
5119 } Py_INCREF(Py_None
);
5120 _resultobj
= Py_None
;
5128 #define wxFont_SetUnderlined(_swigobj,_swigarg0) (_swigobj->SetUnderlined(_swigarg0))
5129 static PyObject
*_wrap_wxFont_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5130 PyObject
* _resultobj
;
5133 PyObject
* _argo0
= 0;
5135 char *_kwnames
[] = { "self","underlined", NULL
};
5138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetUnderlined",_kwnames
,&_argo0
,&tempbool1
))
5141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
5143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetUnderlined. Expected _wxFont_p.");
5147 _arg1
= (bool ) tempbool1
;
5149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5150 wxFont_SetUnderlined(_arg0
,_arg1
);
5152 wxPyEndAllowThreads(__tstate
);
5153 if (PyErr_Occurred()) return NULL
;
5154 } Py_INCREF(Py_None
);
5155 _resultobj
= Py_None
;
5159 #define wxFont_SetEncoding(_swigobj,_swigarg0) (_swigobj->SetEncoding(_swigarg0))
5160 static PyObject
*_wrap_wxFont_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5161 PyObject
* _resultobj
;
5163 wxFontEncoding _arg1
;
5164 PyObject
* _argo0
= 0;
5165 char *_kwnames
[] = { "self","encoding", NULL
};
5168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetEncoding",_kwnames
,&_argo0
,&_arg1
))
5171 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5172 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
5173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetEncoding. Expected _wxFont_p.");
5178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5179 wxFont_SetEncoding(_arg0
,_arg1
);
5181 wxPyEndAllowThreads(__tstate
);
5182 if (PyErr_Occurred()) return NULL
;
5183 } Py_INCREF(Py_None
);
5184 _resultobj
= Py_None
;
5188 #define wxFont_SetNativeFontInfo(_swigobj,_swigarg0) (_swigobj->SetNativeFontInfo(_swigarg0))
5189 static PyObject
*_wrap_wxFont_SetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5190 PyObject
* _resultobj
;
5192 wxNativeFontInfo
* _arg1
;
5193 PyObject
* _argo0
= 0;
5194 PyObject
* _argo1
= 0;
5195 char *_kwnames
[] = { "self","info", NULL
};
5198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFont_SetNativeFontInfo",_kwnames
,&_argo0
,&_argo1
))
5201 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5202 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
5203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetNativeFontInfo. Expected _wxFont_p.");
5208 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5209 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxNativeFontInfo_p")) {
5210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFont_SetNativeFontInfo. Expected _wxNativeFontInfo_p.");
5215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5216 wxFont_SetNativeFontInfo(_arg0
,*_arg1
);
5218 wxPyEndAllowThreads(__tstate
);
5219 if (PyErr_Occurred()) return NULL
;
5220 } Py_INCREF(Py_None
);
5221 _resultobj
= Py_None
;
5225 #define wxFont_SetNativeFontInfoUserDesc(_swigobj,_swigarg0) (_swigobj->SetNativeFontInfoUserDesc(_swigarg0))
5226 static PyObject
*_wrap_wxFont_SetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5227 PyObject
* _resultobj
;
5230 PyObject
* _argo0
= 0;
5231 PyObject
* _obj1
= 0;
5232 char *_kwnames
[] = { "self","info", NULL
};
5235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFont_SetNativeFontInfoUserDesc",_kwnames
,&_argo0
,&_obj1
))
5238 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5239 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
5240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetNativeFontInfoUserDesc. Expected _wxFont_p.");
5245 _arg1
= wxString_in_helper(_obj1
);
5250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5251 wxFont_SetNativeFontInfoUserDesc(_arg0
,*_arg1
);
5253 wxPyEndAllowThreads(__tstate
);
5254 if (PyErr_Occurred()) return NULL
;
5255 } Py_INCREF(Py_None
);
5256 _resultobj
= Py_None
;
5264 #define wxFont_GetFamilyString(_swigobj) (_swigobj->GetFamilyString())
5265 static PyObject
*_wrap_wxFont_GetFamilyString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5266 PyObject
* _resultobj
;
5269 PyObject
* _argo0
= 0;
5270 char *_kwnames
[] = { "self", NULL
};
5273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFamilyString",_kwnames
,&_argo0
))
5276 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5277 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
5278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFamilyString. Expected _wxFont_p.");
5283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5284 _result
= new wxString (wxFont_GetFamilyString(_arg0
));
5286 wxPyEndAllowThreads(__tstate
);
5287 if (PyErr_Occurred()) return NULL
;
5290 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5292 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5301 #define wxFont_GetStyleString(_swigobj) (_swigobj->GetStyleString())
5302 static PyObject
*_wrap_wxFont_GetStyleString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5303 PyObject
* _resultobj
;
5306 PyObject
* _argo0
= 0;
5307 char *_kwnames
[] = { "self", NULL
};
5310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetStyleString",_kwnames
,&_argo0
))
5313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
5315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetStyleString. Expected _wxFont_p.");
5320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5321 _result
= new wxString (wxFont_GetStyleString(_arg0
));
5323 wxPyEndAllowThreads(__tstate
);
5324 if (PyErr_Occurred()) return NULL
;
5327 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5329 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5338 #define wxFont_GetWeightString(_swigobj) (_swigobj->GetWeightString())
5339 static PyObject
*_wrap_wxFont_GetWeightString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5340 PyObject
* _resultobj
;
5343 PyObject
* _argo0
= 0;
5344 char *_kwnames
[] = { "self", NULL
};
5347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetWeightString",_kwnames
,&_argo0
))
5350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
5352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetWeightString. Expected _wxFont_p.");
5357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5358 _result
= new wxString (wxFont_GetWeightString(_arg0
));
5360 wxPyEndAllowThreads(__tstate
);
5361 if (PyErr_Occurred()) return NULL
;
5364 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5366 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5375 static PyObject
*_wrap_wxFont_GetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5376 PyObject
* _resultobj
;
5377 wxFontEncoding _result
;
5378 char *_kwnames
[] = { NULL
};
5381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxFont_GetDefaultEncoding",_kwnames
))
5384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5385 _result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
5387 wxPyEndAllowThreads(__tstate
);
5388 if (PyErr_Occurred()) return NULL
;
5389 } _resultobj
= Py_BuildValue("i",_result
);
5393 static PyObject
*_wrap_wxFont_SetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5394 PyObject
* _resultobj
;
5395 wxFontEncoding _arg0
;
5396 char *_kwnames
[] = { "encoding", NULL
};
5399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxFont_SetDefaultEncoding",_kwnames
,&_arg0
))
5402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5403 wxFont::SetDefaultEncoding(_arg0
);
5405 wxPyEndAllowThreads(__tstate
);
5406 if (PyErr_Occurred()) return NULL
;
5407 } Py_INCREF(Py_None
);
5408 _resultobj
= Py_None
;
5412 static void *SwigwxFontListTowxObject(void *ptr
) {
5415 src
= (wxFontList
*) ptr
;
5416 dest
= (wxObject
*) src
;
5417 return (void *) dest
;
5420 #define wxFontList_AddFont(_swigobj,_swigarg0) (_swigobj->AddFont(_swigarg0))
5421 static PyObject
*_wrap_wxFontList_AddFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5422 PyObject
* _resultobj
;
5425 PyObject
* _argo0
= 0;
5426 PyObject
* _argo1
= 0;
5427 char *_kwnames
[] = { "self","font", NULL
};
5430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontList_AddFont",_kwnames
,&_argo0
,&_argo1
))
5433 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5434 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontList_p")) {
5435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontList_AddFont. Expected _wxFontList_p.");
5440 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5441 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
5442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontList_AddFont. Expected _wxFont_p.");
5447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5448 wxFontList_AddFont(_arg0
,_arg1
);
5450 wxPyEndAllowThreads(__tstate
);
5451 if (PyErr_Occurred()) return NULL
;
5452 } Py_INCREF(Py_None
);
5453 _resultobj
= Py_None
;
5457 #define wxFontList_FindOrCreateFont(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->FindOrCreateFont(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5458 static PyObject
*_wrap_wxFontList_FindOrCreateFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5459 PyObject
* _resultobj
;
5466 bool _arg5
= (bool ) FALSE
;
5467 wxString
* _arg6
= (wxString
*) &wxPyEmptyString
;
5468 wxFontEncoding _arg7
= (wxFontEncoding
) (wxFONTENCODING_DEFAULT
);
5469 PyObject
* _argo0
= 0;
5470 int tempbool5
= (int) FALSE
;
5471 PyObject
* _obj6
= 0;
5472 char *_kwnames
[] = { "self","point_size","family","style","weight","underline","facename","encoding", NULL
};
5476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|iOi:wxFontList_FindOrCreateFont",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
,&_obj6
,&_arg7
))
5479 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5480 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontList_p")) {
5481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontList_FindOrCreateFont. Expected _wxFontList_p.");
5485 _arg5
= (bool ) tempbool5
;
5488 _arg6
= wxString_in_helper(_obj6
);
5493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5494 _result
= (wxFont
*)wxFontList_FindOrCreateFont(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,*_arg6
,_arg7
);
5496 wxPyEndAllowThreads(__tstate
);
5497 if (PyErr_Occurred()) return NULL
;
5499 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
5500 _resultobj
= Py_BuildValue("s",_ptemp
);
5503 _resultobj
= Py_None
;
5512 #define wxFontList_RemoveFont(_swigobj,_swigarg0) (_swigobj->RemoveFont(_swigarg0))
5513 static PyObject
*_wrap_wxFontList_RemoveFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5514 PyObject
* _resultobj
;
5517 PyObject
* _argo0
= 0;
5518 PyObject
* _argo1
= 0;
5519 char *_kwnames
[] = { "self","font", NULL
};
5522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontList_RemoveFont",_kwnames
,&_argo0
,&_argo1
))
5525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontList_p")) {
5527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontList_RemoveFont. Expected _wxFontList_p.");
5532 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5533 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
5534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontList_RemoveFont. Expected _wxFont_p.");
5539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5540 wxFontList_RemoveFont(_arg0
,_arg1
);
5542 wxPyEndAllowThreads(__tstate
);
5543 if (PyErr_Occurred()) return NULL
;
5544 } Py_INCREF(Py_None
);
5545 _resultobj
= Py_None
;
5549 #define wxFontList_GetCount(_swigobj) (_swigobj->GetCount())
5550 static PyObject
*_wrap_wxFontList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5551 PyObject
* _resultobj
;
5554 PyObject
* _argo0
= 0;
5555 char *_kwnames
[] = { "self", NULL
};
5558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontList_GetCount",_kwnames
,&_argo0
))
5561 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5562 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontList_p")) {
5563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontList_GetCount. Expected _wxFontList_p.");
5568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5569 _result
= (int )wxFontList_GetCount(_arg0
);
5571 wxPyEndAllowThreads(__tstate
);
5572 if (PyErr_Occurred()) return NULL
;
5573 } _resultobj
= Py_BuildValue("i",_result
);
5577 static void *SwigwxColourTowxObject(void *ptr
) {
5580 src
= (wxColour
*) ptr
;
5581 dest
= (wxObject
*) src
;
5582 return (void *) dest
;
5585 #define new_wxColour(_swigarg0,_swigarg1,_swigarg2) (new wxColour(_swigarg0,_swigarg1,_swigarg2))
5586 static PyObject
*_wrap_new_wxColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5587 PyObject
* _resultobj
;
5589 unsigned char _arg0
= (unsigned char ) 0;
5590 unsigned char _arg1
= (unsigned char ) 0;
5591 unsigned char _arg2
= (unsigned char ) 0;
5592 char *_kwnames
[] = { "red","green","blue", NULL
};
5596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|bbb:new_wxColour",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
5599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5600 _result
= (wxColour
*)new_wxColour(_arg0
,_arg1
,_arg2
);
5602 wxPyEndAllowThreads(__tstate
);
5603 if (PyErr_Occurred()) return NULL
;
5605 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
5606 _resultobj
= Py_BuildValue("s",_ptemp
);
5609 _resultobj
= Py_None
;
5614 #define delete_wxColour(_swigobj) (delete _swigobj)
5615 static PyObject
*_wrap_delete_wxColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5616 PyObject
* _resultobj
;
5619 PyObject
* _obj0
= 0;
5620 char *_kwnames
[] = { "self", NULL
};
5623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxColour",_kwnames
,&_obj0
))
5627 if (! wxColour_helper(_obj0
, &_arg0
))
5631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5632 delete_wxColour(_arg0
);
5634 wxPyEndAllowThreads(__tstate
);
5635 if (PyErr_Occurred()) return NULL
;
5636 } Py_INCREF(Py_None
);
5637 _resultobj
= Py_None
;
5641 #define wxColour_Red(_swigobj) (_swigobj->Red())
5642 static PyObject
*_wrap_wxColour_Red(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5643 PyObject
* _resultobj
;
5644 unsigned char _result
;
5647 PyObject
* _obj0
= 0;
5648 char *_kwnames
[] = { "self", NULL
};
5651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Red",_kwnames
,&_obj0
))
5655 if (! wxColour_helper(_obj0
, &_arg0
))
5659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5660 _result
= (unsigned char )wxColour_Red(_arg0
);
5662 wxPyEndAllowThreads(__tstate
);
5663 if (PyErr_Occurred()) return NULL
;
5664 } _resultobj
= Py_BuildValue("b",_result
);
5668 #define wxColour_Green(_swigobj) (_swigobj->Green())
5669 static PyObject
*_wrap_wxColour_Green(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5670 PyObject
* _resultobj
;
5671 unsigned char _result
;
5674 PyObject
* _obj0
= 0;
5675 char *_kwnames
[] = { "self", NULL
};
5678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Green",_kwnames
,&_obj0
))
5682 if (! wxColour_helper(_obj0
, &_arg0
))
5686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5687 _result
= (unsigned char )wxColour_Green(_arg0
);
5689 wxPyEndAllowThreads(__tstate
);
5690 if (PyErr_Occurred()) return NULL
;
5691 } _resultobj
= Py_BuildValue("b",_result
);
5695 #define wxColour_Blue(_swigobj) (_swigobj->Blue())
5696 static PyObject
*_wrap_wxColour_Blue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5697 PyObject
* _resultobj
;
5698 unsigned char _result
;
5701 PyObject
* _obj0
= 0;
5702 char *_kwnames
[] = { "self", NULL
};
5705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Blue",_kwnames
,&_obj0
))
5709 if (! wxColour_helper(_obj0
, &_arg0
))
5713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5714 _result
= (unsigned char )wxColour_Blue(_arg0
);
5716 wxPyEndAllowThreads(__tstate
);
5717 if (PyErr_Occurred()) return NULL
;
5718 } _resultobj
= Py_BuildValue("b",_result
);
5722 #define wxColour_Ok(_swigobj) (_swigobj->Ok())
5723 static PyObject
*_wrap_wxColour_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5724 PyObject
* _resultobj
;
5728 PyObject
* _obj0
= 0;
5729 char *_kwnames
[] = { "self", NULL
};
5732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Ok",_kwnames
,&_obj0
))
5736 if (! wxColour_helper(_obj0
, &_arg0
))
5740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5741 _result
= (bool )wxColour_Ok(_arg0
);
5743 wxPyEndAllowThreads(__tstate
);
5744 if (PyErr_Occurred()) return NULL
;
5745 } _resultobj
= Py_BuildValue("i",_result
);
5749 #define wxColour_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
5750 static PyObject
*_wrap_wxColour_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5751 PyObject
* _resultobj
;
5753 unsigned char _arg1
;
5754 unsigned char _arg2
;
5755 unsigned char _arg3
;
5757 PyObject
* _obj0
= 0;
5758 char *_kwnames
[] = { "self","red","green","blue", NULL
};
5761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Obbb:wxColour_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_arg3
))
5765 if (! wxColour_helper(_obj0
, &_arg0
))
5769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5770 wxColour_Set(_arg0
,_arg1
,_arg2
,_arg3
);
5772 wxPyEndAllowThreads(__tstate
);
5773 if (PyErr_Occurred()) return NULL
;
5774 } Py_INCREF(Py_None
);
5775 _resultobj
= Py_None
;
5779 static PyObject
* wxColour_Get(wxColour
*self
) {
5780 PyObject
* rv
= PyTuple_New(3);
5781 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
5782 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
5783 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
5786 static PyObject
*_wrap_wxColour_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5787 PyObject
* _resultobj
;
5791 PyObject
* _obj0
= 0;
5792 char *_kwnames
[] = { "self", NULL
};
5795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Get",_kwnames
,&_obj0
))
5799 if (! wxColour_helper(_obj0
, &_arg0
))
5803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5804 _result
= (PyObject
*)wxColour_Get(_arg0
);
5806 wxPyEndAllowThreads(__tstate
);
5807 if (PyErr_Occurred()) return NULL
;
5809 _resultobj
= _result
;
5814 static void *SwigwxColourDatabaseTowxObject(void *ptr
) {
5815 wxColourDatabase
*src
;
5817 src
= (wxColourDatabase
*) ptr
;
5818 dest
= (wxObject
*) src
;
5819 return (void *) dest
;
5822 #define wxColourDatabase_FindColour(_swigobj,_swigarg0) (_swigobj->FindColour(_swigarg0))
5823 static PyObject
*_wrap_wxColourDatabase_FindColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5824 PyObject
* _resultobj
;
5826 wxColourDatabase
* _arg0
;
5828 PyObject
* _argo0
= 0;
5829 PyObject
* _obj1
= 0;
5830 char *_kwnames
[] = { "self","colour", NULL
};
5834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxColourDatabase_FindColour",_kwnames
,&_argo0
,&_obj1
))
5837 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5838 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDatabase_p")) {
5839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDatabase_FindColour. Expected _wxColourDatabase_p.");
5844 _arg1
= wxString_in_helper(_obj1
);
5849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5850 _result
= (wxColour
*)wxColourDatabase_FindColour(_arg0
,*_arg1
);
5852 wxPyEndAllowThreads(__tstate
);
5853 if (PyErr_Occurred()) return NULL
;
5855 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
5856 _resultobj
= Py_BuildValue("s",_ptemp
);
5859 _resultobj
= Py_None
;
5868 #define wxColourDatabase_FindName(_swigobj,_swigarg0) (_swigobj->FindName(_swigarg0))
5869 static PyObject
*_wrap_wxColourDatabase_FindName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5870 PyObject
* _resultobj
;
5872 wxColourDatabase
* _arg0
;
5874 PyObject
* _argo0
= 0;
5876 PyObject
* _obj1
= 0;
5877 char *_kwnames
[] = { "self","colour", NULL
};
5880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxColourDatabase_FindName",_kwnames
,&_argo0
,&_obj1
))
5883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDatabase_p")) {
5885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDatabase_FindName. Expected _wxColourDatabase_p.");
5891 if (! wxColour_helper(_obj1
, &_arg1
))
5895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5896 _result
= new wxString (wxColourDatabase_FindName(_arg0
,*_arg1
));
5898 wxPyEndAllowThreads(__tstate
);
5899 if (PyErr_Occurred()) return NULL
;
5902 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5904 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5913 static void wxColourDatabase_Append(wxColourDatabase
*self
,const wxString
& name
,int red
,int green
,int blue
) {
5914 // first see if the name is already there
5915 wxString cName
= name
;
5917 wxString cName2
= cName
;
5918 if ( !cName2
.Replace(wxT("GRAY"), wxT("GREY")) )
5921 wxNode
*node
= self
->First();
5923 const wxChar
*key
= node
->GetKeyString();
5924 if ( cName
== key
|| cName2
== key
) {
5925 wxColour
* c
= (wxColour
*)node
->Data();
5926 c
->Set(red
, green
, blue
);
5929 node
= node
->Next();
5932 // otherwise append the new colour
5933 self
->Append(name
.c_str(), new wxColour(red
, green
, blue
));
5935 static PyObject
*_wrap_wxColourDatabase_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5936 PyObject
* _resultobj
;
5937 wxColourDatabase
* _arg0
;
5942 PyObject
* _argo0
= 0;
5943 PyObject
* _obj1
= 0;
5944 char *_kwnames
[] = { "self","name","red","green","blue", NULL
};
5947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiii:wxColourDatabase_Append",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_arg4
))
5950 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5951 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDatabase_p")) {
5952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDatabase_Append. Expected _wxColourDatabase_p.");
5957 _arg1
= wxString_in_helper(_obj1
);
5962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5963 wxColourDatabase_Append(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
5965 wxPyEndAllowThreads(__tstate
);
5966 if (PyErr_Occurred()) return NULL
;
5967 } Py_INCREF(Py_None
);
5968 _resultobj
= Py_None
;
5976 static void *SwigwxPenTowxGDIObject(void *ptr
) {
5979 src
= (wxPen
*) ptr
;
5980 dest
= (wxGDIObject
*) src
;
5981 return (void *) dest
;
5984 static void *SwigwxPenTowxObject(void *ptr
) {
5987 src
= (wxPen
*) ptr
;
5988 dest
= (wxObject
*) src
;
5989 return (void *) dest
;
5992 #define new_wxPen(_swigarg0,_swigarg1,_swigarg2) (new wxPen(_swigarg0,_swigarg1,_swigarg2))
5993 static PyObject
*_wrap_new_wxPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5994 PyObject
* _resultobj
;
5997 int _arg1
= (int ) 1;
5998 int _arg2
= (int ) wxSOLID
;
6000 PyObject
* _obj0
= 0;
6001 char *_kwnames
[] = { "colour","width","style", NULL
};
6005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:new_wxPen",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
6009 if (! wxColour_helper(_obj0
, &_arg0
))
6013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6014 _result
= (wxPen
*)new_wxPen(*_arg0
,_arg1
,_arg2
);
6016 wxPyEndAllowThreads(__tstate
);
6017 if (PyErr_Occurred()) return NULL
;
6019 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
6020 _resultobj
= Py_BuildValue("s",_ptemp
);
6023 _resultobj
= Py_None
;
6028 #define delete_wxPen(_swigobj) (delete _swigobj)
6029 static PyObject
*_wrap_delete_wxPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6030 PyObject
* _resultobj
;
6032 PyObject
* _argo0
= 0;
6033 char *_kwnames
[] = { "self", NULL
};
6036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPen",_kwnames
,&_argo0
))
6039 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6040 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
6041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPen. Expected _wxPen_p.");
6046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6047 delete_wxPen(_arg0
);
6049 wxPyEndAllowThreads(__tstate
);
6050 if (PyErr_Occurred()) return NULL
;
6051 } Py_INCREF(Py_None
);
6052 _resultobj
= Py_None
;
6056 #define wxPen_GetCap(_swigobj) (_swigobj->GetCap())
6057 static PyObject
*_wrap_wxPen_GetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6058 PyObject
* _resultobj
;
6061 PyObject
* _argo0
= 0;
6062 char *_kwnames
[] = { "self", NULL
};
6065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetCap",_kwnames
,&_argo0
))
6068 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6069 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
6070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetCap. Expected _wxPen_p.");
6075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6076 _result
= (int )wxPen_GetCap(_arg0
);
6078 wxPyEndAllowThreads(__tstate
);
6079 if (PyErr_Occurred()) return NULL
;
6080 } _resultobj
= Py_BuildValue("i",_result
);
6084 #define wxPen_GetColour(_swigobj) (_swigobj->GetColour())
6085 static PyObject
*_wrap_wxPen_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6086 PyObject
* _resultobj
;
6089 PyObject
* _argo0
= 0;
6090 char *_kwnames
[] = { "self", NULL
};
6094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetColour",_kwnames
,&_argo0
))
6097 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6098 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
6099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetColour. Expected _wxPen_p.");
6104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6105 _result
= new wxColour (wxPen_GetColour(_arg0
));
6107 wxPyEndAllowThreads(__tstate
);
6108 if (PyErr_Occurred()) return NULL
;
6109 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
6110 _resultobj
= Py_BuildValue("s",_ptemp
);
6114 #define wxPen_GetJoin(_swigobj) (_swigobj->GetJoin())
6115 static PyObject
*_wrap_wxPen_GetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6116 PyObject
* _resultobj
;
6119 PyObject
* _argo0
= 0;
6120 char *_kwnames
[] = { "self", NULL
};
6123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetJoin",_kwnames
,&_argo0
))
6126 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6127 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
6128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetJoin. Expected _wxPen_p.");
6133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6134 _result
= (int )wxPen_GetJoin(_arg0
);
6136 wxPyEndAllowThreads(__tstate
);
6137 if (PyErr_Occurred()) return NULL
;
6138 } _resultobj
= Py_BuildValue("i",_result
);
6142 #define wxPen_GetStyle(_swigobj) (_swigobj->GetStyle())
6143 static PyObject
*_wrap_wxPen_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6144 PyObject
* _resultobj
;
6147 PyObject
* _argo0
= 0;
6148 char *_kwnames
[] = { "self", NULL
};
6151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetStyle",_kwnames
,&_argo0
))
6154 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6155 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
6156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetStyle. Expected _wxPen_p.");
6161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6162 _result
= (int )wxPen_GetStyle(_arg0
);
6164 wxPyEndAllowThreads(__tstate
);
6165 if (PyErr_Occurred()) return NULL
;
6166 } _resultobj
= Py_BuildValue("i",_result
);
6170 #define wxPen_GetWidth(_swigobj) (_swigobj->GetWidth())
6171 static PyObject
*_wrap_wxPen_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6172 PyObject
* _resultobj
;
6175 PyObject
* _argo0
= 0;
6176 char *_kwnames
[] = { "self", NULL
};
6179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetWidth",_kwnames
,&_argo0
))
6182 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6183 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
6184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetWidth. Expected _wxPen_p.");
6189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6190 _result
= (int )wxPen_GetWidth(_arg0
);
6192 wxPyEndAllowThreads(__tstate
);
6193 if (PyErr_Occurred()) return NULL
;
6194 } _resultobj
= Py_BuildValue("i",_result
);
6198 #define wxPen_Ok(_swigobj) (_swigobj->Ok())
6199 static PyObject
*_wrap_wxPen_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6200 PyObject
* _resultobj
;
6203 PyObject
* _argo0
= 0;
6204 char *_kwnames
[] = { "self", NULL
};
6207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_Ok",_kwnames
,&_argo0
))
6210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
6212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_Ok. Expected _wxPen_p.");
6217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6218 _result
= (bool )wxPen_Ok(_arg0
);
6220 wxPyEndAllowThreads(__tstate
);
6221 if (PyErr_Occurred()) return NULL
;
6222 } _resultobj
= Py_BuildValue("i",_result
);
6226 #define wxPen_SetCap(_swigobj,_swigarg0) (_swigobj->SetCap(_swigarg0))
6227 static PyObject
*_wrap_wxPen_SetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6228 PyObject
* _resultobj
;
6231 PyObject
* _argo0
= 0;
6232 char *_kwnames
[] = { "self","cap_style", NULL
};
6235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetCap",_kwnames
,&_argo0
,&_arg1
))
6238 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6239 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
6240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetCap. Expected _wxPen_p.");
6245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6246 wxPen_SetCap(_arg0
,_arg1
);
6248 wxPyEndAllowThreads(__tstate
);
6249 if (PyErr_Occurred()) return NULL
;
6250 } Py_INCREF(Py_None
);
6251 _resultobj
= Py_None
;
6255 #define wxPen_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
6256 static PyObject
*_wrap_wxPen_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6257 PyObject
* _resultobj
;
6260 PyObject
* _argo0
= 0;
6262 PyObject
* _obj1
= 0;
6263 char *_kwnames
[] = { "self","colour", NULL
};
6266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_SetColour",_kwnames
,&_argo0
,&_obj1
))
6269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
6271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetColour. Expected _wxPen_p.");
6277 if (! wxColour_helper(_obj1
, &_arg1
))
6281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6282 wxPen_SetColour(_arg0
,*_arg1
);
6284 wxPyEndAllowThreads(__tstate
);
6285 if (PyErr_Occurred()) return NULL
;
6286 } Py_INCREF(Py_None
);
6287 _resultobj
= Py_None
;
6291 #define wxPen_SetJoin(_swigobj,_swigarg0) (_swigobj->SetJoin(_swigarg0))
6292 static PyObject
*_wrap_wxPen_SetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6293 PyObject
* _resultobj
;
6296 PyObject
* _argo0
= 0;
6297 char *_kwnames
[] = { "self","join_style", NULL
};
6300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetJoin",_kwnames
,&_argo0
,&_arg1
))
6303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
6305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetJoin. Expected _wxPen_p.");
6310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6311 wxPen_SetJoin(_arg0
,_arg1
);
6313 wxPyEndAllowThreads(__tstate
);
6314 if (PyErr_Occurred()) return NULL
;
6315 } Py_INCREF(Py_None
);
6316 _resultobj
= Py_None
;
6320 #define wxPen_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
6321 static PyObject
*_wrap_wxPen_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6322 PyObject
* _resultobj
;
6325 PyObject
* _argo0
= 0;
6326 char *_kwnames
[] = { "self","style", NULL
};
6329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetStyle",_kwnames
,&_argo0
,&_arg1
))
6332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
6334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetStyle. Expected _wxPen_p.");
6339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6340 wxPen_SetStyle(_arg0
,_arg1
);
6342 wxPyEndAllowThreads(__tstate
);
6343 if (PyErr_Occurred()) return NULL
;
6344 } Py_INCREF(Py_None
);
6345 _resultobj
= Py_None
;
6349 #define wxPen_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
6350 static PyObject
*_wrap_wxPen_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6351 PyObject
* _resultobj
;
6354 PyObject
* _argo0
= 0;
6355 char *_kwnames
[] = { "self","width", NULL
};
6358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetWidth",_kwnames
,&_argo0
,&_arg1
))
6361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
6363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetWidth. Expected _wxPen_p.");
6368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6369 wxPen_SetWidth(_arg0
,_arg1
);
6371 wxPyEndAllowThreads(__tstate
);
6372 if (PyErr_Occurred()) return NULL
;
6373 } Py_INCREF(Py_None
);
6374 _resultobj
= Py_None
;
6378 #define wxPen_SetDashes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDashes(_swigarg0,_swigarg1))
6379 static PyObject
*_wrap_wxPen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6380 PyObject
* _resultobj
;
6384 PyObject
* _argo0
= 0;
6385 PyObject
* _obj2
= 0;
6386 char *_kwnames
[] = { "self","choices", NULL
};
6389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_SetDashes",_kwnames
,&_argo0
,&_obj2
))
6392 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6393 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
6394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetDashes. Expected _wxPen_p.");
6400 _arg2
= (wxDash
*)byte_LIST_helper(_obj2
);
6401 if (_arg2
== NULL
) {
6407 _arg1
= PyList_Size(_obj2
);
6414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6415 wxPen_SetDashes(_arg0
,_arg1
,_arg2
);
6417 wxPyEndAllowThreads(__tstate
);
6418 if (PyErr_Occurred()) return NULL
;
6419 } Py_INCREF(Py_None
);
6420 _resultobj
= Py_None
;
6427 #define wxPen_GetStipple(_swigobj) (_swigobj->GetStipple())
6428 static PyObject
*_wrap_wxPen_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6429 PyObject
* _resultobj
;
6432 PyObject
* _argo0
= 0;
6433 char *_kwnames
[] = { "self", NULL
};
6437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetStipple",_kwnames
,&_argo0
))
6440 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6441 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
6442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetStipple. Expected _wxPen_p.");
6447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6448 _result
= (wxBitmap
*)wxPen_GetStipple(_arg0
);
6450 wxPyEndAllowThreads(__tstate
);
6451 if (PyErr_Occurred()) return NULL
;
6453 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
6454 _resultobj
= Py_BuildValue("s",_ptemp
);
6457 _resultobj
= Py_None
;
6462 #define wxPen_SetStipple(_swigobj,_swigarg0) (_swigobj->SetStipple(_swigarg0))
6463 static PyObject
*_wrap_wxPen_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6464 PyObject
* _resultobj
;
6467 PyObject
* _argo0
= 0;
6468 PyObject
* _argo1
= 0;
6469 char *_kwnames
[] = { "self","stipple", NULL
};
6472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_SetStipple",_kwnames
,&_argo0
,&_argo1
))
6475 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6476 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
6477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetStipple. Expected _wxPen_p.");
6482 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6483 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
6484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPen_SetStipple. Expected _wxBitmap_p.");
6489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6490 wxPen_SetStipple(_arg0
,*_arg1
);
6492 wxPyEndAllowThreads(__tstate
);
6493 if (PyErr_Occurred()) return NULL
;
6494 } Py_INCREF(Py_None
);
6495 _resultobj
= Py_None
;
6499 static void *SwigwxPyPenTowxPen(void *ptr
) {
6502 src
= (wxPyPen
*) ptr
;
6503 dest
= (wxPen
*) src
;
6504 return (void *) dest
;
6507 static void *SwigwxPyPenTowxGDIObject(void *ptr
) {
6510 src
= (wxPyPen
*) ptr
;
6511 dest
= (wxGDIObject
*) src
;
6512 return (void *) dest
;
6515 static void *SwigwxPyPenTowxObject(void *ptr
) {
6518 src
= (wxPyPen
*) ptr
;
6519 dest
= (wxObject
*) src
;
6520 return (void *) dest
;
6523 #define new_wxPyPen(_swigarg0,_swigarg1,_swigarg2) (new wxPyPen(_swigarg0,_swigarg1,_swigarg2))
6524 static PyObject
*_wrap_new_wxPyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6525 PyObject
* _resultobj
;
6528 int _arg1
= (int ) 1;
6529 int _arg2
= (int ) wxSOLID
;
6531 PyObject
* _obj0
= 0;
6532 char *_kwnames
[] = { "colour","width","style", NULL
};
6536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:new_wxPyPen",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
6540 if (! wxColour_helper(_obj0
, &_arg0
))
6544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6545 _result
= (wxPyPen
*)new_wxPyPen(*_arg0
,_arg1
,_arg2
);
6547 wxPyEndAllowThreads(__tstate
);
6548 if (PyErr_Occurred()) return NULL
;
6550 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPen_p");
6551 _resultobj
= Py_BuildValue("s",_ptemp
);
6554 _resultobj
= Py_None
;
6559 #define delete_wxPyPen(_swigobj) (delete _swigobj)
6560 static PyObject
*_wrap_delete_wxPyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6561 PyObject
* _resultobj
;
6563 PyObject
* _argo0
= 0;
6564 char *_kwnames
[] = { "self", NULL
};
6567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyPen",_kwnames
,&_argo0
))
6570 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6571 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPen_p")) {
6572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyPen. Expected _wxPyPen_p.");
6577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6578 delete_wxPyPen(_arg0
);
6580 wxPyEndAllowThreads(__tstate
);
6581 if (PyErr_Occurred()) return NULL
;
6582 } Py_INCREF(Py_None
);
6583 _resultobj
= Py_None
;
6587 #define wxPyPen_SetDashes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDashes(_swigarg0,_swigarg1))
6588 static PyObject
*_wrap_wxPyPen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6589 PyObject
* _resultobj
;
6593 PyObject
* _argo0
= 0;
6594 PyObject
* _obj2
= 0;
6595 char *_kwnames
[] = { "self","choices", NULL
};
6598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyPen_SetDashes",_kwnames
,&_argo0
,&_obj2
))
6601 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6602 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPen_p")) {
6603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPen_SetDashes. Expected _wxPyPen_p.");
6609 _arg2
= (wxDash
*)byte_LIST_helper(_obj2
);
6610 if (_arg2
== NULL
) {
6616 _arg1
= PyList_Size(_obj2
);
6623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6624 wxPyPen_SetDashes(_arg0
,_arg1
,_arg2
);
6626 wxPyEndAllowThreads(__tstate
);
6627 if (PyErr_Occurred()) return NULL
;
6628 } Py_INCREF(Py_None
);
6629 _resultobj
= Py_None
;
6636 static void *SwigwxPenListTowxObject(void *ptr
) {
6639 src
= (wxPenList
*) ptr
;
6640 dest
= (wxObject
*) src
;
6641 return (void *) dest
;
6644 #define wxPenList_AddPen(_swigobj,_swigarg0) (_swigobj->AddPen(_swigarg0))
6645 static PyObject
*_wrap_wxPenList_AddPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6646 PyObject
* _resultobj
;
6649 PyObject
* _argo0
= 0;
6650 PyObject
* _argo1
= 0;
6651 char *_kwnames
[] = { "self","pen", NULL
};
6654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPenList_AddPen",_kwnames
,&_argo0
,&_argo1
))
6657 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6658 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
6659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_AddPen. Expected _wxPenList_p.");
6664 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6665 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
6666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPenList_AddPen. Expected _wxPen_p.");
6671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6672 wxPenList_AddPen(_arg0
,_arg1
);
6674 wxPyEndAllowThreads(__tstate
);
6675 if (PyErr_Occurred()) return NULL
;
6676 } Py_INCREF(Py_None
);
6677 _resultobj
= Py_None
;
6681 #define wxPenList_FindOrCreatePen(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindOrCreatePen(_swigarg0,_swigarg1,_swigarg2))
6682 static PyObject
*_wrap_wxPenList_FindOrCreatePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6683 PyObject
* _resultobj
;
6689 PyObject
* _argo0
= 0;
6691 PyObject
* _obj1
= 0;
6692 char *_kwnames
[] = { "self","colour","width","style", NULL
};
6696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxPenList_FindOrCreatePen",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
))
6699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
6701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_FindOrCreatePen. Expected _wxPenList_p.");
6707 if (! wxColour_helper(_obj1
, &_arg1
))
6711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6712 _result
= (wxPen
*)wxPenList_FindOrCreatePen(_arg0
,*_arg1
,_arg2
,_arg3
);
6714 wxPyEndAllowThreads(__tstate
);
6715 if (PyErr_Occurred()) return NULL
;
6717 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
6718 _resultobj
= Py_BuildValue("s",_ptemp
);
6721 _resultobj
= Py_None
;
6726 #define wxPenList_RemovePen(_swigobj,_swigarg0) (_swigobj->RemovePen(_swigarg0))
6727 static PyObject
*_wrap_wxPenList_RemovePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6728 PyObject
* _resultobj
;
6731 PyObject
* _argo0
= 0;
6732 PyObject
* _argo1
= 0;
6733 char *_kwnames
[] = { "self","pen", NULL
};
6736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPenList_RemovePen",_kwnames
,&_argo0
,&_argo1
))
6739 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6740 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
6741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_RemovePen. Expected _wxPenList_p.");
6746 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6747 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
6748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPenList_RemovePen. Expected _wxPen_p.");
6753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6754 wxPenList_RemovePen(_arg0
,_arg1
);
6756 wxPyEndAllowThreads(__tstate
);
6757 if (PyErr_Occurred()) return NULL
;
6758 } Py_INCREF(Py_None
);
6759 _resultobj
= Py_None
;
6763 #define wxPenList_GetCount(_swigobj) (_swigobj->GetCount())
6764 static PyObject
*_wrap_wxPenList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6765 PyObject
* _resultobj
;
6768 PyObject
* _argo0
= 0;
6769 char *_kwnames
[] = { "self", NULL
};
6772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPenList_GetCount",_kwnames
,&_argo0
))
6775 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6776 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
6777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_GetCount. Expected _wxPenList_p.");
6782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6783 _result
= (int )wxPenList_GetCount(_arg0
);
6785 wxPyEndAllowThreads(__tstate
);
6786 if (PyErr_Occurred()) return NULL
;
6787 } _resultobj
= Py_BuildValue("i",_result
);
6791 static void *SwigwxBrushTowxGDIObject(void *ptr
) {
6794 src
= (wxBrush
*) ptr
;
6795 dest
= (wxGDIObject
*) src
;
6796 return (void *) dest
;
6799 static void *SwigwxBrushTowxObject(void *ptr
) {
6802 src
= (wxBrush
*) ptr
;
6803 dest
= (wxObject
*) src
;
6804 return (void *) dest
;
6807 #define new_wxBrush(_swigarg0,_swigarg1) (new wxBrush(_swigarg0,_swigarg1))
6808 static PyObject
*_wrap_new_wxBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6809 PyObject
* _resultobj
;
6812 int _arg1
= (int ) wxSOLID
;
6814 PyObject
* _obj0
= 0;
6815 char *_kwnames
[] = { "colour","style", NULL
};
6819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxBrush",_kwnames
,&_obj0
,&_arg1
))
6823 if (! wxColour_helper(_obj0
, &_arg0
))
6827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6828 _result
= (wxBrush
*)new_wxBrush(*_arg0
,_arg1
);
6830 wxPyEndAllowThreads(__tstate
);
6831 if (PyErr_Occurred()) return NULL
;
6833 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
6834 _resultobj
= Py_BuildValue("s",_ptemp
);
6837 _resultobj
= Py_None
;
6842 #define delete_wxBrush(_swigobj) (delete _swigobj)
6843 static PyObject
*_wrap_delete_wxBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6844 PyObject
* _resultobj
;
6846 PyObject
* _argo0
= 0;
6847 char *_kwnames
[] = { "self", NULL
};
6850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBrush",_kwnames
,&_argo0
))
6853 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6854 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
6855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBrush. Expected _wxBrush_p.");
6860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6861 delete_wxBrush(_arg0
);
6863 wxPyEndAllowThreads(__tstate
);
6864 if (PyErr_Occurred()) return NULL
;
6865 } Py_INCREF(Py_None
);
6866 _resultobj
= Py_None
;
6870 #define wxBrush_GetColour(_swigobj) (_swigobj->GetColour())
6871 static PyObject
*_wrap_wxBrush_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6872 PyObject
* _resultobj
;
6875 PyObject
* _argo0
= 0;
6876 char *_kwnames
[] = { "self", NULL
};
6880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetColour",_kwnames
,&_argo0
))
6883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
6885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetColour. Expected _wxBrush_p.");
6890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6891 _result
= new wxColour (wxBrush_GetColour(_arg0
));
6893 wxPyEndAllowThreads(__tstate
);
6894 if (PyErr_Occurred()) return NULL
;
6895 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
6896 _resultobj
= Py_BuildValue("s",_ptemp
);
6900 #define wxBrush_GetStipple(_swigobj) (_swigobj->GetStipple())
6901 static PyObject
*_wrap_wxBrush_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6902 PyObject
* _resultobj
;
6905 PyObject
* _argo0
= 0;
6906 char *_kwnames
[] = { "self", NULL
};
6910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetStipple",_kwnames
,&_argo0
))
6913 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6914 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
6915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStipple. Expected _wxBrush_p.");
6920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6921 _result
= (wxBitmap
*)wxBrush_GetStipple(_arg0
);
6923 wxPyEndAllowThreads(__tstate
);
6924 if (PyErr_Occurred()) return NULL
;
6926 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
6927 _resultobj
= Py_BuildValue("s",_ptemp
);
6930 _resultobj
= Py_None
;
6935 #define wxBrush_GetStyle(_swigobj) (_swigobj->GetStyle())
6936 static PyObject
*_wrap_wxBrush_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6937 PyObject
* _resultobj
;
6940 PyObject
* _argo0
= 0;
6941 char *_kwnames
[] = { "self", NULL
};
6944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetStyle",_kwnames
,&_argo0
))
6947 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6948 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
6949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStyle. Expected _wxBrush_p.");
6954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6955 _result
= (int )wxBrush_GetStyle(_arg0
);
6957 wxPyEndAllowThreads(__tstate
);
6958 if (PyErr_Occurred()) return NULL
;
6959 } _resultobj
= Py_BuildValue("i",_result
);
6963 #define wxBrush_Ok(_swigobj) (_swigobj->Ok())
6964 static PyObject
*_wrap_wxBrush_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6965 PyObject
* _resultobj
;
6968 PyObject
* _argo0
= 0;
6969 char *_kwnames
[] = { "self", NULL
};
6972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_Ok",_kwnames
,&_argo0
))
6975 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6976 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
6977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_Ok. Expected _wxBrush_p.");
6982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6983 _result
= (bool )wxBrush_Ok(_arg0
);
6985 wxPyEndAllowThreads(__tstate
);
6986 if (PyErr_Occurred()) return NULL
;
6987 } _resultobj
= Py_BuildValue("i",_result
);
6991 #define wxBrush_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
6992 static PyObject
*_wrap_wxBrush_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6993 PyObject
* _resultobj
;
6996 PyObject
* _argo0
= 0;
6998 PyObject
* _obj1
= 0;
6999 char *_kwnames
[] = { "self","colour", NULL
};
7002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrush_SetColour",_kwnames
,&_argo0
,&_obj1
))
7005 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7006 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
7007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetColour. Expected _wxBrush_p.");
7013 if (! wxColour_helper(_obj1
, &_arg1
))
7017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7018 wxBrush_SetColour(_arg0
,*_arg1
);
7020 wxPyEndAllowThreads(__tstate
);
7021 if (PyErr_Occurred()) return NULL
;
7022 } Py_INCREF(Py_None
);
7023 _resultobj
= Py_None
;
7027 #define wxBrush_SetStipple(_swigobj,_swigarg0) (_swigobj->SetStipple(_swigarg0))
7028 static PyObject
*_wrap_wxBrush_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7029 PyObject
* _resultobj
;
7032 PyObject
* _argo0
= 0;
7033 PyObject
* _argo1
= 0;
7034 char *_kwnames
[] = { "self","bitmap", NULL
};
7037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrush_SetStipple",_kwnames
,&_argo0
,&_argo1
))
7040 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7041 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
7042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStipple. Expected _wxBrush_p.");
7047 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7048 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
7049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrush_SetStipple. Expected _wxBitmap_p.");
7054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7055 wxBrush_SetStipple(_arg0
,*_arg1
);
7057 wxPyEndAllowThreads(__tstate
);
7058 if (PyErr_Occurred()) return NULL
;
7059 } Py_INCREF(Py_None
);
7060 _resultobj
= Py_None
;
7064 #define wxBrush_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
7065 static PyObject
*_wrap_wxBrush_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7066 PyObject
* _resultobj
;
7069 PyObject
* _argo0
= 0;
7070 char *_kwnames
[] = { "self","style", NULL
};
7073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBrush_SetStyle",_kwnames
,&_argo0
,&_arg1
))
7076 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7077 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
7078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStyle. Expected _wxBrush_p.");
7083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7084 wxBrush_SetStyle(_arg0
,_arg1
);
7086 wxPyEndAllowThreads(__tstate
);
7087 if (PyErr_Occurred()) return NULL
;
7088 } Py_INCREF(Py_None
);
7089 _resultobj
= Py_None
;
7093 static void *SwigwxBrushListTowxObject(void *ptr
) {
7096 src
= (wxBrushList
*) ptr
;
7097 dest
= (wxObject
*) src
;
7098 return (void *) dest
;
7101 #define wxBrushList_AddBrush(_swigobj,_swigarg0) (_swigobj->AddBrush(_swigarg0))
7102 static PyObject
*_wrap_wxBrushList_AddBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7103 PyObject
* _resultobj
;
7104 wxBrushList
* _arg0
;
7106 PyObject
* _argo0
= 0;
7107 PyObject
* _argo1
= 0;
7108 char *_kwnames
[] = { "self","brush", NULL
};
7111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrushList_AddBrush",_kwnames
,&_argo0
,&_argo1
))
7114 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7115 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
7116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_AddBrush. Expected _wxBrushList_p.");
7121 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7122 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
7123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrushList_AddBrush. Expected _wxBrush_p.");
7128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7129 wxBrushList_AddBrush(_arg0
,_arg1
);
7131 wxPyEndAllowThreads(__tstate
);
7132 if (PyErr_Occurred()) return NULL
;
7133 } Py_INCREF(Py_None
);
7134 _resultobj
= Py_None
;
7138 #define wxBrushList_FindOrCreateBrush(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindOrCreateBrush(_swigarg0,_swigarg1))
7139 static PyObject
*_wrap_wxBrushList_FindOrCreateBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7140 PyObject
* _resultobj
;
7142 wxBrushList
* _arg0
;
7145 PyObject
* _argo0
= 0;
7147 PyObject
* _obj1
= 0;
7148 char *_kwnames
[] = { "self","colour","style", NULL
};
7152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxBrushList_FindOrCreateBrush",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
7155 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7156 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
7157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_FindOrCreateBrush. Expected _wxBrushList_p.");
7163 if (! wxColour_helper(_obj1
, &_arg1
))
7167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7168 _result
= (wxBrush
*)wxBrushList_FindOrCreateBrush(_arg0
,*_arg1
,_arg2
);
7170 wxPyEndAllowThreads(__tstate
);
7171 if (PyErr_Occurred()) return NULL
;
7173 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
7174 _resultobj
= Py_BuildValue("s",_ptemp
);
7177 _resultobj
= Py_None
;
7182 #define wxBrushList_RemoveBrush(_swigobj,_swigarg0) (_swigobj->RemoveBrush(_swigarg0))
7183 static PyObject
*_wrap_wxBrushList_RemoveBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7184 PyObject
* _resultobj
;
7185 wxBrushList
* _arg0
;
7187 PyObject
* _argo0
= 0;
7188 PyObject
* _argo1
= 0;
7189 char *_kwnames
[] = { "self","brush", NULL
};
7192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrushList_RemoveBrush",_kwnames
,&_argo0
,&_argo1
))
7195 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7196 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
7197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_RemoveBrush. Expected _wxBrushList_p.");
7202 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7203 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
7204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrushList_RemoveBrush. Expected _wxBrush_p.");
7209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7210 wxBrushList_RemoveBrush(_arg0
,_arg1
);
7212 wxPyEndAllowThreads(__tstate
);
7213 if (PyErr_Occurred()) return NULL
;
7214 } Py_INCREF(Py_None
);
7215 _resultobj
= Py_None
;
7219 #define wxBrushList_GetCount(_swigobj) (_swigobj->GetCount())
7220 static PyObject
*_wrap_wxBrushList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7221 PyObject
* _resultobj
;
7223 wxBrushList
* _arg0
;
7224 PyObject
* _argo0
= 0;
7225 char *_kwnames
[] = { "self", NULL
};
7228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrushList_GetCount",_kwnames
,&_argo0
))
7231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
7233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_GetCount. Expected _wxBrushList_p.");
7238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7239 _result
= (int )wxBrushList_GetCount(_arg0
);
7241 wxPyEndAllowThreads(__tstate
);
7242 if (PyErr_Occurred()) return NULL
;
7243 } _resultobj
= Py_BuildValue("i",_result
);
7247 static void *SwigwxDCTowxObject(void *ptr
) {
7251 dest
= (wxObject
*) src
;
7252 return (void *) dest
;
7255 #define delete_wxDC(_swigobj) (delete _swigobj)
7256 static PyObject
*_wrap_delete_wxDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7257 PyObject
* _resultobj
;
7259 PyObject
* _argo0
= 0;
7260 char *_kwnames
[] = { "self", NULL
};
7263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDC",_kwnames
,&_argo0
))
7266 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7267 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDC. Expected _wxDC_p.");
7273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7276 wxPyEndAllowThreads(__tstate
);
7277 if (PyErr_Occurred()) return NULL
;
7278 } Py_INCREF(Py_None
);
7279 _resultobj
= Py_None
;
7283 #define wxDC_BeginDrawing(_swigobj) (_swigobj->BeginDrawing())
7284 static PyObject
*_wrap_wxDC_BeginDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7285 PyObject
* _resultobj
;
7287 PyObject
* _argo0
= 0;
7288 char *_kwnames
[] = { "self", NULL
};
7291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_BeginDrawing",_kwnames
,&_argo0
))
7294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_BeginDrawing. Expected _wxDC_p.");
7301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7302 wxDC_BeginDrawing(_arg0
);
7304 wxPyEndAllowThreads(__tstate
);
7305 if (PyErr_Occurred()) return NULL
;
7306 } Py_INCREF(Py_None
);
7307 _resultobj
= Py_None
;
7311 #define wxDC_Blit(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Blit(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
7312 static PyObject
*_wrap_wxDC_Blit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7313 PyObject
* _resultobj
;
7323 int _arg8
= (int ) wxCOPY
;
7324 int _arg9
= (int ) FALSE
;
7325 PyObject
* _argo0
= 0;
7326 PyObject
* _argo5
= 0;
7327 char *_kwnames
[] = { "self","xdest","ydest","width","height","source","xsrc","ysrc","logicalFunc","useMask", NULL
};
7330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllllOll|ii:wxDC_Blit",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_argo5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
))
7333 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7334 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Blit. Expected _wxDC_p.");
7340 if (_argo5
== Py_None
) { _arg5
= NULL
; }
7341 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxDC_p")) {
7342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxDC_Blit. Expected _wxDC_p.");
7347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7348 _result
= (bool )wxDC_Blit(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
7350 wxPyEndAllowThreads(__tstate
);
7351 if (PyErr_Occurred()) return NULL
;
7352 } _resultobj
= Py_BuildValue("i",_result
);
7356 #define wxDC_Clear(_swigobj) (_swigobj->Clear())
7357 static PyObject
*_wrap_wxDC_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7358 PyObject
* _resultobj
;
7360 PyObject
* _argo0
= 0;
7361 char *_kwnames
[] = { "self", NULL
};
7364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_Clear",_kwnames
,&_argo0
))
7367 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7368 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Clear. Expected _wxDC_p.");
7374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7377 wxPyEndAllowThreads(__tstate
);
7378 if (PyErr_Occurred()) return NULL
;
7379 } Py_INCREF(Py_None
);
7380 _resultobj
= Py_None
;
7384 #define wxDC_CrossHair(_swigobj,_swigarg0,_swigarg1) (_swigobj->CrossHair(_swigarg0,_swigarg1))
7385 static PyObject
*_wrap_wxDC_CrossHair(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7386 PyObject
* _resultobj
;
7390 PyObject
* _argo0
= 0;
7391 char *_kwnames
[] = { "self","x","y", NULL
};
7394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_CrossHair",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CrossHair. Expected _wxDC_p.");
7404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7405 wxDC_CrossHair(_arg0
,_arg1
,_arg2
);
7407 wxPyEndAllowThreads(__tstate
);
7408 if (PyErr_Occurred()) return NULL
;
7409 } Py_INCREF(Py_None
);
7410 _resultobj
= Py_None
;
7414 #define wxDC_DestroyClippingRegion(_swigobj) (_swigobj->DestroyClippingRegion())
7415 static PyObject
*_wrap_wxDC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7416 PyObject
* _resultobj
;
7418 PyObject
* _argo0
= 0;
7419 char *_kwnames
[] = { "self", NULL
};
7422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_DestroyClippingRegion",_kwnames
,&_argo0
))
7425 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7426 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DestroyClippingRegion. Expected _wxDC_p.");
7432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7433 wxDC_DestroyClippingRegion(_arg0
);
7435 wxPyEndAllowThreads(__tstate
);
7436 if (PyErr_Occurred()) return NULL
;
7437 } Py_INCREF(Py_None
);
7438 _resultobj
= Py_None
;
7442 #define wxDC_DeviceToLogicalX(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalX(_swigarg0))
7443 static PyObject
*_wrap_wxDC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7444 PyObject
* _resultobj
;
7448 PyObject
* _argo0
= 0;
7449 char *_kwnames
[] = { "self","x", NULL
};
7452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalX",_kwnames
,&_argo0
,&_arg1
))
7455 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7456 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalX. Expected _wxDC_p.");
7462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7463 _result
= (long )wxDC_DeviceToLogicalX(_arg0
,_arg1
);
7465 wxPyEndAllowThreads(__tstate
);
7466 if (PyErr_Occurred()) return NULL
;
7467 } _resultobj
= Py_BuildValue("l",_result
);
7471 #define wxDC_DeviceToLogicalXRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalXRel(_swigarg0))
7472 static PyObject
*_wrap_wxDC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7473 PyObject
* _resultobj
;
7477 PyObject
* _argo0
= 0;
7478 char *_kwnames
[] = { "self","x", NULL
};
7481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalXRel",_kwnames
,&_argo0
,&_arg1
))
7484 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7485 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalXRel. Expected _wxDC_p.");
7491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7492 _result
= (long )wxDC_DeviceToLogicalXRel(_arg0
,_arg1
);
7494 wxPyEndAllowThreads(__tstate
);
7495 if (PyErr_Occurred()) return NULL
;
7496 } _resultobj
= Py_BuildValue("l",_result
);
7500 #define wxDC_DeviceToLogicalY(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalY(_swigarg0))
7501 static PyObject
*_wrap_wxDC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7502 PyObject
* _resultobj
;
7506 PyObject
* _argo0
= 0;
7507 char *_kwnames
[] = { "self","y", NULL
};
7510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalY",_kwnames
,&_argo0
,&_arg1
))
7513 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7514 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalY. Expected _wxDC_p.");
7520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7521 _result
= (long )wxDC_DeviceToLogicalY(_arg0
,_arg1
);
7523 wxPyEndAllowThreads(__tstate
);
7524 if (PyErr_Occurred()) return NULL
;
7525 } _resultobj
= Py_BuildValue("l",_result
);
7529 #define wxDC_DeviceToLogicalYRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalYRel(_swigarg0))
7530 static PyObject
*_wrap_wxDC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7531 PyObject
* _resultobj
;
7535 PyObject
* _argo0
= 0;
7536 char *_kwnames
[] = { "self","y", NULL
};
7539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalYRel",_kwnames
,&_argo0
,&_arg1
))
7542 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7543 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalYRel. Expected _wxDC_p.");
7549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7550 _result
= (long )wxDC_DeviceToLogicalYRel(_arg0
,_arg1
);
7552 wxPyEndAllowThreads(__tstate
);
7553 if (PyErr_Occurred()) return NULL
;
7554 } _resultobj
= Py_BuildValue("l",_result
);
7558 #define wxDC_DrawArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7559 static PyObject
*_wrap_wxDC_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7560 PyObject
* _resultobj
;
7568 PyObject
* _argo0
= 0;
7569 char *_kwnames
[] = { "self","x1","y1","x2","y2","xc","yc", NULL
};
7572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollllll:wxDC_DrawArc",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
7575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawArc. Expected _wxDC_p.");
7582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7583 wxDC_DrawArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
7585 wxPyEndAllowThreads(__tstate
);
7586 if (PyErr_Occurred()) return NULL
;
7587 } Py_INCREF(Py_None
);
7588 _resultobj
= Py_None
;
7592 #define wxDC_DrawCircle(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawCircle(_swigarg0,_swigarg1,_swigarg2))
7593 static PyObject
*_wrap_wxDC_DrawCircle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7594 PyObject
* _resultobj
;
7599 PyObject
* _argo0
= 0;
7600 char *_kwnames
[] = { "self","x","y","radius", NULL
};
7603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olll:wxDC_DrawCircle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
7606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawCircle. Expected _wxDC_p.");
7613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7614 wxDC_DrawCircle(_arg0
,_arg1
,_arg2
,_arg3
);
7616 wxPyEndAllowThreads(__tstate
);
7617 if (PyErr_Occurred()) return NULL
;
7618 } Py_INCREF(Py_None
);
7619 _resultobj
= Py_None
;
7623 #define wxDC_DrawEllipse(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawEllipse(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7624 static PyObject
*_wrap_wxDC_DrawEllipse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7625 PyObject
* _resultobj
;
7631 PyObject
* _argo0
= 0;
7632 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
7635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_DrawEllipse",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7638 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7639 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipse. Expected _wxDC_p.");
7645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7646 wxDC_DrawEllipse(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7648 wxPyEndAllowThreads(__tstate
);
7649 if (PyErr_Occurred()) return NULL
;
7650 } Py_INCREF(Py_None
);
7651 _resultobj
= Py_None
;
7655 #define wxDC_DrawEllipticArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawEllipticArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7656 static PyObject
*_wrap_wxDC_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7657 PyObject
* _resultobj
;
7665 PyObject
* _argo0
= 0;
7666 char *_kwnames
[] = { "self","x","y","width","height","start","end", NULL
};
7669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollllll:wxDC_DrawEllipticArc",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
7672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipticArc. Expected _wxDC_p.");
7679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7680 wxDC_DrawEllipticArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
7682 wxPyEndAllowThreads(__tstate
);
7683 if (PyErr_Occurred()) return NULL
;
7684 } Py_INCREF(Py_None
);
7685 _resultobj
= Py_None
;
7689 #define wxDC_DrawIcon(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawIcon(_swigarg0,_swigarg1,_swigarg2))
7690 static PyObject
*_wrap_wxDC_DrawIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7691 PyObject
* _resultobj
;
7696 PyObject
* _argo0
= 0;
7697 PyObject
* _argo1
= 0;
7698 char *_kwnames
[] = { "self","icon","x","y", NULL
};
7701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOll:wxDC_DrawIcon",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
7704 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7705 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawIcon. Expected _wxDC_p.");
7711 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7712 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
7713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawIcon. Expected _wxIcon_p.");
7718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7719 wxDC_DrawIcon(_arg0
,*_arg1
,_arg2
,_arg3
);
7721 wxPyEndAllowThreads(__tstate
);
7722 if (PyErr_Occurred()) return NULL
;
7723 } Py_INCREF(Py_None
);
7724 _resultobj
= Py_None
;
7728 #define wxDC_DrawLabel(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLabel(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7729 static PyObject
*_wrap_wxDC_DrawLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7730 PyObject
* _resultobj
;
7734 int _arg3
= (int ) wxALIGN_LEFT
|wxALIGN_TOP
;
7735 int _arg4
= (int ) -1;
7736 PyObject
* _argo0
= 0;
7737 PyObject
* _obj1
= 0;
7739 PyObject
* _obj2
= 0;
7740 char *_kwnames
[] = { "self","text","rect","alignment","indexAccel", NULL
};
7743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|ii:wxDC_DrawLabel",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_arg3
,&_arg4
))
7746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLabel. Expected _wxDC_p.");
7753 _arg1
= wxString_in_helper(_obj1
);
7759 if (! wxRect_helper(_obj2
, &_arg2
))
7763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7764 wxDC_DrawLabel(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
7766 wxPyEndAllowThreads(__tstate
);
7767 if (PyErr_Occurred()) return NULL
;
7768 } Py_INCREF(Py_None
);
7769 _resultobj
= Py_None
;
7777 static wxRect
wxDC_DrawImageLabel(wxDC
*self
,const wxString
& text
,const wxBitmap
& image
,const wxRect
& rect
,int alignment
,int indexAccel
) {
7779 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
7782 static PyObject
*_wrap_wxDC_DrawImageLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7783 PyObject
* _resultobj
;
7789 int _arg4
= (int ) wxALIGN_LEFT
|wxALIGN_TOP
;
7790 int _arg5
= (int ) -1;
7791 PyObject
* _argo0
= 0;
7792 PyObject
* _obj1
= 0;
7793 PyObject
* _argo2
= 0;
7795 PyObject
* _obj3
= 0;
7796 char *_kwnames
[] = { "self","text","image","rect","alignment","indexAccel", NULL
};
7800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|ii:wxDC_DrawImageLabel",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_obj3
,&_arg4
,&_arg5
))
7803 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7804 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawImageLabel. Expected _wxDC_p.");
7810 _arg1
= wxString_in_helper(_obj1
);
7815 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7816 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
7817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDC_DrawImageLabel. Expected _wxBitmap_p.");
7823 if (! wxRect_helper(_obj3
, &_arg3
))
7827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7828 _result
= new wxRect (wxDC_DrawImageLabel(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
));
7830 wxPyEndAllowThreads(__tstate
);
7831 if (PyErr_Occurred()) return NULL
;
7832 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
7833 _resultobj
= Py_BuildValue("s",_ptemp
);
7841 #define wxDC_DrawLine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7842 static PyObject
*_wrap_wxDC_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7843 PyObject
* _resultobj
;
7849 PyObject
* _argo0
= 0;
7850 char *_kwnames
[] = { "self","x1","y1","x2","y2", NULL
};
7853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_DrawLine",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLine. Expected _wxDC_p.");
7863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7864 wxDC_DrawLine(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7866 wxPyEndAllowThreads(__tstate
);
7867 if (PyErr_Occurred()) return NULL
;
7868 } Py_INCREF(Py_None
);
7869 _resultobj
= Py_None
;
7873 #define wxDC_DrawLines(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLines(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7874 static PyObject
*_wrap_wxDC_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7875 PyObject
* _resultobj
;
7879 long _arg3
= (long ) 0;
7880 long _arg4
= (long ) 0;
7881 PyObject
* _argo0
= 0;
7883 PyObject
* _obj2
= 0;
7884 char *_kwnames
[] = { "self","points","xoffset","yoffset", NULL
};
7887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ll:wxDC_DrawLines",_kwnames
,&_argo0
,&_obj2
,&_arg3
,&_arg4
))
7890 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7891 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLines. Expected _wxDC_p.");
7898 _arg2
= wxPoint_LIST_helper(_obj2
, &NPOINTS
);
7899 if (_arg2
== NULL
) {
7907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7908 wxDC_DrawLines(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7910 wxPyEndAllowThreads(__tstate
);
7911 if (PyErr_Occurred()) return NULL
;
7912 } Py_INCREF(Py_None
);
7913 _resultobj
= Py_None
;
7920 #define wxDC_DrawPolygon(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawPolygon(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7921 static PyObject
*_wrap_wxDC_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7922 PyObject
* _resultobj
;
7926 long _arg3
= (long ) 0;
7927 long _arg4
= (long ) 0;
7928 int _arg5
= (int ) wxODDEVEN_RULE
;
7929 PyObject
* _argo0
= 0;
7931 PyObject
* _obj2
= 0;
7932 char *_kwnames
[] = { "self","points","xoffset","yoffset","fill_style", NULL
};
7935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|lli:wxDC_DrawPolygon",_kwnames
,&_argo0
,&_obj2
,&_arg3
,&_arg4
,&_arg5
))
7938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPolygon. Expected _wxDC_p.");
7946 _arg2
= wxPoint_LIST_helper(_obj2
, &NPOINTS
);
7947 if (_arg2
== NULL
) {
7955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7956 wxDC_DrawPolygon(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
7958 wxPyEndAllowThreads(__tstate
);
7959 if (PyErr_Occurred()) return NULL
;
7960 } Py_INCREF(Py_None
);
7961 _resultobj
= Py_None
;
7968 #define wxDC_DrawPoint(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawPoint(_swigarg0,_swigarg1))
7969 static PyObject
*_wrap_wxDC_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7970 PyObject
* _resultobj
;
7974 PyObject
* _argo0
= 0;
7975 char *_kwnames
[] = { "self","x","y", NULL
};
7978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_DrawPoint",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPoint. Expected _wxDC_p.");
7988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7989 wxDC_DrawPoint(_arg0
,_arg1
,_arg2
);
7991 wxPyEndAllowThreads(__tstate
);
7992 if (PyErr_Occurred()) return NULL
;
7993 } Py_INCREF(Py_None
);
7994 _resultobj
= Py_None
;
7998 #define wxDC_DrawRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7999 static PyObject
*_wrap_wxDC_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8000 PyObject
* _resultobj
;
8006 PyObject
* _argo0
= 0;
8007 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
8010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_DrawRectangle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
8013 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8014 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRectangle. Expected _wxDC_p.");
8020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8021 wxDC_DrawRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
8023 wxPyEndAllowThreads(__tstate
);
8024 if (PyErr_Occurred()) return NULL
;
8025 } Py_INCREF(Py_None
);
8026 _resultobj
= Py_None
;
8030 #define wxDC_DrawRotatedText(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRotatedText(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8031 static PyObject
*_wrap_wxDC_DrawRotatedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8032 PyObject
* _resultobj
;
8038 PyObject
* _argo0
= 0;
8039 PyObject
* _obj1
= 0;
8040 char *_kwnames
[] = { "self","text","x","y","angle", NULL
};
8043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiid:wxDC_DrawRotatedText",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_arg4
))
8046 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8047 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRotatedText. Expected _wxDC_p.");
8053 _arg1
= wxString_in_helper(_obj1
);
8058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8059 wxDC_DrawRotatedText(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
8061 wxPyEndAllowThreads(__tstate
);
8062 if (PyErr_Occurred()) return NULL
;
8063 } Py_INCREF(Py_None
);
8064 _resultobj
= Py_None
;
8072 #define wxDC_DrawRoundedRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawRoundedRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8073 static PyObject
*_wrap_wxDC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8074 PyObject
* _resultobj
;
8080 long _arg5
= (long ) 20;
8081 PyObject
* _argo0
= 0;
8082 char *_kwnames
[] = { "self","x","y","width","height","radius", NULL
};
8085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll|l:wxDC_DrawRoundedRectangle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
8088 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8089 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRoundedRectangle. Expected _wxDC_p.");
8095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8096 wxDC_DrawRoundedRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
8098 wxPyEndAllowThreads(__tstate
);
8099 if (PyErr_Occurred()) return NULL
;
8100 } Py_INCREF(Py_None
);
8101 _resultobj
= Py_None
;
8105 #define wxDC_DrawSpline(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawSpline(_swigarg0,_swigarg1))
8106 static PyObject
*_wrap_wxDC_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8107 PyObject
* _resultobj
;
8111 PyObject
* _argo0
= 0;
8113 PyObject
* _obj2
= 0;
8114 char *_kwnames
[] = { "self","points", NULL
};
8117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_DrawSpline",_kwnames
,&_argo0
,&_obj2
))
8120 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8121 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawSpline. Expected _wxDC_p.");
8128 _arg2
= wxPoint_LIST_helper(_obj2
, &NPOINTS
);
8129 if (_arg2
== NULL
) {
8137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8138 wxDC_DrawSpline(_arg0
,_arg1
,_arg2
);
8140 wxPyEndAllowThreads(__tstate
);
8141 if (PyErr_Occurred()) return NULL
;
8142 } Py_INCREF(Py_None
);
8143 _resultobj
= Py_None
;
8150 #define wxDC_DrawText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawText(_swigarg0,_swigarg1,_swigarg2))
8151 static PyObject
*_wrap_wxDC_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8152 PyObject
* _resultobj
;
8157 PyObject
* _argo0
= 0;
8158 PyObject
* _obj1
= 0;
8159 char *_kwnames
[] = { "self","text","x","y", NULL
};
8162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOll:wxDC_DrawText",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
))
8165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawText. Expected _wxDC_p.");
8172 _arg1
= wxString_in_helper(_obj1
);
8177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8178 wxDC_DrawText(_arg0
,*_arg1
,_arg2
,_arg3
);
8180 wxPyEndAllowThreads(__tstate
);
8181 if (PyErr_Occurred()) return NULL
;
8182 } Py_INCREF(Py_None
);
8183 _resultobj
= Py_None
;
8191 #define wxDC_EndDoc(_swigobj) (_swigobj->EndDoc())
8192 static PyObject
*_wrap_wxDC_EndDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8193 PyObject
* _resultobj
;
8195 PyObject
* _argo0
= 0;
8196 char *_kwnames
[] = { "self", NULL
};
8199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndDoc",_kwnames
,&_argo0
))
8202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDoc. Expected _wxDC_p.");
8209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8212 wxPyEndAllowThreads(__tstate
);
8213 if (PyErr_Occurred()) return NULL
;
8214 } Py_INCREF(Py_None
);
8215 _resultobj
= Py_None
;
8219 #define wxDC_EndDrawing(_swigobj) (_swigobj->EndDrawing())
8220 static PyObject
*_wrap_wxDC_EndDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8221 PyObject
* _resultobj
;
8223 PyObject
* _argo0
= 0;
8224 char *_kwnames
[] = { "self", NULL
};
8227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndDrawing",_kwnames
,&_argo0
))
8230 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8231 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDrawing. Expected _wxDC_p.");
8237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8238 wxDC_EndDrawing(_arg0
);
8240 wxPyEndAllowThreads(__tstate
);
8241 if (PyErr_Occurred()) return NULL
;
8242 } Py_INCREF(Py_None
);
8243 _resultobj
= Py_None
;
8247 #define wxDC_EndPage(_swigobj) (_swigobj->EndPage())
8248 static PyObject
*_wrap_wxDC_EndPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8249 PyObject
* _resultobj
;
8251 PyObject
* _argo0
= 0;
8252 char *_kwnames
[] = { "self", NULL
};
8255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndPage",_kwnames
,&_argo0
))
8258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndPage. Expected _wxDC_p.");
8265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8266 wxDC_EndPage(_arg0
);
8268 wxPyEndAllowThreads(__tstate
);
8269 if (PyErr_Occurred()) return NULL
;
8270 } Py_INCREF(Py_None
);
8271 _resultobj
= Py_None
;
8275 #define wxDC_FloodFill(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->FloodFill(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8276 static PyObject
*_wrap_wxDC_FloodFill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8277 PyObject
* _resultobj
;
8282 int _arg4
= (int ) wxFLOOD_SURFACE
;
8283 PyObject
* _argo0
= 0;
8285 PyObject
* _obj3
= 0;
8286 char *_kwnames
[] = { "self","x","y","colour","style", NULL
};
8289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO|i:wxDC_FloodFill",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_arg4
))
8292 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8293 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_FloodFill. Expected _wxDC_p.");
8300 if (! wxColour_helper(_obj3
, &_arg3
))
8304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8305 wxDC_FloodFill(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
8307 wxPyEndAllowThreads(__tstate
);
8308 if (PyErr_Occurred()) return NULL
;
8309 } Py_INCREF(Py_None
);
8310 _resultobj
= Py_None
;
8314 #define wxDC_GetBackground(_swigobj) (_swigobj->GetBackground())
8315 static PyObject
*_wrap_wxDC_GetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8316 PyObject
* _resultobj
;
8319 PyObject
* _argo0
= 0;
8320 char *_kwnames
[] = { "self", NULL
};
8324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBackground",_kwnames
,&_argo0
))
8327 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8328 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBackground. Expected _wxDC_p.");
8334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8335 _result
= new wxBrush (wxDC_GetBackground(_arg0
));
8337 wxPyEndAllowThreads(__tstate
);
8338 if (PyErr_Occurred()) return NULL
;
8339 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBrush_p");
8340 _resultobj
= Py_BuildValue("s",_ptemp
);
8344 #define wxDC_GetBrush(_swigobj) (_swigobj->GetBrush())
8345 static PyObject
*_wrap_wxDC_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8346 PyObject
* _resultobj
;
8349 PyObject
* _argo0
= 0;
8350 char *_kwnames
[] = { "self", NULL
};
8354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBrush",_kwnames
,&_argo0
))
8357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBrush. Expected _wxDC_p.");
8364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8365 _result
= new wxBrush (wxDC_GetBrush(_arg0
));
8367 wxPyEndAllowThreads(__tstate
);
8368 if (PyErr_Occurred()) return NULL
;
8369 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBrush_p");
8370 _resultobj
= Py_BuildValue("s",_ptemp
);
8374 #define wxDC_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
8375 static PyObject
*_wrap_wxDC_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8376 PyObject
* _resultobj
;
8379 PyObject
* _argo0
= 0;
8380 char *_kwnames
[] = { "self", NULL
};
8383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetCharHeight",_kwnames
,&_argo0
))
8386 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8387 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharHeight. Expected _wxDC_p.");
8393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8394 _result
= (long )wxDC_GetCharHeight(_arg0
);
8396 wxPyEndAllowThreads(__tstate
);
8397 if (PyErr_Occurred()) return NULL
;
8398 } _resultobj
= Py_BuildValue("l",_result
);
8402 #define wxDC_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
8403 static PyObject
*_wrap_wxDC_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8404 PyObject
* _resultobj
;
8407 PyObject
* _argo0
= 0;
8408 char *_kwnames
[] = { "self", NULL
};
8411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetCharWidth",_kwnames
,&_argo0
))
8414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharWidth. Expected _wxDC_p.");
8421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8422 _result
= (long )wxDC_GetCharWidth(_arg0
);
8424 wxPyEndAllowThreads(__tstate
);
8425 if (PyErr_Occurred()) return NULL
;
8426 } _resultobj
= Py_BuildValue("l",_result
);
8430 #define wxDC_GetClippingBox(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetClippingBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8431 static PyObject
*_wrap_wxDC_GetClippingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8432 PyObject
* _resultobj
;
8442 PyObject
* _argo0
= 0;
8443 char *_kwnames
[] = { "self", NULL
};
8458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetClippingBox",_kwnames
,&_argo0
))
8461 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8462 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetClippingBox. Expected _wxDC_p.");
8468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8469 wxDC_GetClippingBox(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
8471 wxPyEndAllowThreads(__tstate
);
8472 if (PyErr_Occurred()) return NULL
;
8473 } Py_INCREF(Py_None
);
8474 _resultobj
= Py_None
;
8477 o
= PyInt_FromLong((long) (*_arg1
));
8478 _resultobj
= t_output_helper(_resultobj
, o
);
8482 o
= PyInt_FromLong((long) (*_arg2
));
8483 _resultobj
= t_output_helper(_resultobj
, o
);
8487 o
= PyInt_FromLong((long) (*_arg3
));
8488 _resultobj
= t_output_helper(_resultobj
, o
);
8492 o
= PyInt_FromLong((long) (*_arg4
));
8493 _resultobj
= t_output_helper(_resultobj
, o
);
8498 #define wxDC_GetFont(_swigobj) (_swigobj->GetFont())
8499 static PyObject
*_wrap_wxDC_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8500 PyObject
* _resultobj
;
8503 PyObject
* _argo0
= 0;
8504 char *_kwnames
[] = { "self", NULL
};
8508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetFont",_kwnames
,&_argo0
))
8511 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8512 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFont. Expected _wxDC_p.");
8518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8519 _result
= new wxFont (wxDC_GetFont(_arg0
));
8521 wxPyEndAllowThreads(__tstate
);
8522 if (PyErr_Occurred()) return NULL
;
8523 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
8524 _resultobj
= Py_BuildValue("s",_ptemp
);
8528 #define wxDC_GetLogicalFunction(_swigobj) (_swigobj->GetLogicalFunction())
8529 static PyObject
*_wrap_wxDC_GetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8530 PyObject
* _resultobj
;
8533 PyObject
* _argo0
= 0;
8534 char *_kwnames
[] = { "self", NULL
};
8537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalFunction",_kwnames
,&_argo0
))
8540 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8541 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalFunction. Expected _wxDC_p.");
8547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8548 _result
= (int )wxDC_GetLogicalFunction(_arg0
);
8550 wxPyEndAllowThreads(__tstate
);
8551 if (PyErr_Occurred()) return NULL
;
8552 } _resultobj
= Py_BuildValue("i",_result
);
8556 #define wxDC_GetLogicalScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLogicalScale(_swigarg0,_swigarg1))
8557 static PyObject
*_wrap_wxDC_GetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8558 PyObject
* _resultobj
;
8564 PyObject
* _argo0
= 0;
8565 char *_kwnames
[] = { "self", NULL
};
8574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalScale",_kwnames
,&_argo0
))
8577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalScale. Expected _wxDC_p.");
8584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8585 wxDC_GetLogicalScale(_arg0
,_arg1
,_arg2
);
8587 wxPyEndAllowThreads(__tstate
);
8588 if (PyErr_Occurred()) return NULL
;
8589 } Py_INCREF(Py_None
);
8590 _resultobj
= Py_None
;
8593 o
= PyFloat_FromDouble((double) (*_arg1
));
8594 _resultobj
= t_output_helper(_resultobj
, o
);
8598 o
= PyFloat_FromDouble((double) (*_arg2
));
8599 _resultobj
= t_output_helper(_resultobj
, o
);
8604 #define wxDC_GetMapMode(_swigobj) (_swigobj->GetMapMode())
8605 static PyObject
*_wrap_wxDC_GetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8606 PyObject
* _resultobj
;
8609 PyObject
* _argo0
= 0;
8610 char *_kwnames
[] = { "self", NULL
};
8613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetMapMode",_kwnames
,&_argo0
))
8616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetMapMode. Expected _wxDC_p.");
8623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8624 _result
= (int )wxDC_GetMapMode(_arg0
);
8626 wxPyEndAllowThreads(__tstate
);
8627 if (PyErr_Occurred()) return NULL
;
8628 } _resultobj
= Py_BuildValue("i",_result
);
8632 #define wxDC_GetOptimization(_swigobj) (_swigobj->GetOptimization())
8633 static PyObject
*_wrap_wxDC_GetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8634 PyObject
* _resultobj
;
8637 PyObject
* _argo0
= 0;
8638 char *_kwnames
[] = { "self", NULL
};
8641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetOptimization",_kwnames
,&_argo0
))
8644 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8645 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetOptimization. Expected _wxDC_p.");
8651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8652 _result
= (bool )wxDC_GetOptimization(_arg0
);
8654 wxPyEndAllowThreads(__tstate
);
8655 if (PyErr_Occurred()) return NULL
;
8656 } _resultobj
= Py_BuildValue("i",_result
);
8660 #define wxDC_GetPen(_swigobj) (_swigobj->GetPen())
8661 static PyObject
*_wrap_wxDC_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8662 PyObject
* _resultobj
;
8665 PyObject
* _argo0
= 0;
8666 char *_kwnames
[] = { "self", NULL
};
8670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetPen",_kwnames
,&_argo0
))
8673 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8674 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPen. Expected _wxDC_p.");
8680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8681 _result
= new wxPen (wxDC_GetPen(_arg0
));
8683 wxPyEndAllowThreads(__tstate
);
8684 if (PyErr_Occurred()) return NULL
;
8685 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPen_p");
8686 _resultobj
= Py_BuildValue("s",_ptemp
);
8690 static wxColour
* wxDC_GetPixel(wxDC
*self
,long x
,long y
) {
8691 wxColour
* wc
= new wxColour();
8692 self
->GetPixel(x
, y
, wc
);
8695 static PyObject
*_wrap_wxDC_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8696 PyObject
* _resultobj
;
8701 PyObject
* _argo0
= 0;
8702 char *_kwnames
[] = { "self","x","y", NULL
};
8706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_GetPixel",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8709 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8710 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPixel. Expected _wxDC_p.");
8716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8717 _result
= (wxColour
*)wxDC_GetPixel(_arg0
,_arg1
,_arg2
);
8719 wxPyEndAllowThreads(__tstate
);
8720 if (PyErr_Occurred()) return NULL
;
8722 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
8723 _resultobj
= Py_BuildValue("s",_ptemp
);
8726 _resultobj
= Py_None
;
8731 #define wxDC_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
8732 static PyObject
*_wrap_wxDC_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8733 PyObject
* _resultobj
;
8739 PyObject
* _argo0
= 0;
8740 char *_kwnames
[] = { "self", NULL
};
8749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSizeTuple",_kwnames
,&_argo0
))
8752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSizeTuple. Expected _wxDC_p.");
8759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8760 wxDC_GetSizeTuple(_arg0
,_arg1
,_arg2
);
8762 wxPyEndAllowThreads(__tstate
);
8763 if (PyErr_Occurred()) return NULL
;
8764 } Py_INCREF(Py_None
);
8765 _resultobj
= Py_None
;
8768 o
= PyInt_FromLong((long) (*_arg1
));
8769 _resultobj
= t_output_helper(_resultobj
, o
);
8773 o
= PyInt_FromLong((long) (*_arg2
));
8774 _resultobj
= t_output_helper(_resultobj
, o
);
8779 #define wxDC_GetSize(_swigobj) (_swigobj->GetSize())
8780 static PyObject
*_wrap_wxDC_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8781 PyObject
* _resultobj
;
8784 PyObject
* _argo0
= 0;
8785 char *_kwnames
[] = { "self", NULL
};
8789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSize",_kwnames
,&_argo0
))
8792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSize. Expected _wxDC_p.");
8799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8800 _result
= new wxSize (wxDC_GetSize(_arg0
));
8802 wxPyEndAllowThreads(__tstate
);
8803 if (PyErr_Occurred()) return NULL
;
8804 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
8805 _resultobj
= Py_BuildValue("s",_ptemp
);
8809 #define wxDC_GetSizeMM(_swigobj) (_swigobj->GetSizeMM())
8810 static PyObject
*_wrap_wxDC_GetSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8811 PyObject
* _resultobj
;
8814 PyObject
* _argo0
= 0;
8815 char *_kwnames
[] = { "self", NULL
};
8819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSizeMM",_kwnames
,&_argo0
))
8822 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8823 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSizeMM. Expected _wxDC_p.");
8829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8830 _result
= new wxSize (wxDC_GetSizeMM(_arg0
));
8832 wxPyEndAllowThreads(__tstate
);
8833 if (PyErr_Occurred()) return NULL
;
8834 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
8835 _resultobj
= Py_BuildValue("s",_ptemp
);
8839 #define wxDC_GetTextBackground(_swigobj) (_swigobj->GetTextBackground())
8840 static PyObject
*_wrap_wxDC_GetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8841 PyObject
* _resultobj
;
8844 PyObject
* _argo0
= 0;
8845 char *_kwnames
[] = { "self", NULL
};
8849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetTextBackground",_kwnames
,&_argo0
))
8852 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8853 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextBackground. Expected _wxDC_p.");
8859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8860 _result
= new wxColour (wxDC_GetTextBackground(_arg0
));
8862 wxPyEndAllowThreads(__tstate
);
8863 if (PyErr_Occurred()) return NULL
;
8864 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
8865 _resultobj
= Py_BuildValue("s",_ptemp
);
8869 #define wxDC_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
8870 static PyObject
*_wrap_wxDC_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8871 PyObject
* _resultobj
;
8878 PyObject
* _argo0
= 0;
8879 PyObject
* _obj1
= 0;
8880 char *_kwnames
[] = { "self","string", NULL
};
8889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_GetTextExtent",_kwnames
,&_argo0
,&_obj1
))
8892 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8893 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextExtent. Expected _wxDC_p.");
8899 _arg1
= wxString_in_helper(_obj1
);
8904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8905 wxDC_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
8907 wxPyEndAllowThreads(__tstate
);
8908 if (PyErr_Occurred()) return NULL
;
8909 } Py_INCREF(Py_None
);
8910 _resultobj
= Py_None
;
8913 o
= PyInt_FromLong((long) (*_arg2
));
8914 _resultobj
= t_output_helper(_resultobj
, o
);
8918 o
= PyInt_FromLong((long) (*_arg3
));
8919 _resultobj
= t_output_helper(_resultobj
, o
);
8928 #define wxDC_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8929 static PyObject
*_wrap_wxDC_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8930 PyObject
* _resultobj
;
8941 wxFont
* _arg6
= (wxFont
*) NULL
;
8942 PyObject
* _argo0
= 0;
8943 PyObject
* _obj1
= 0;
8944 PyObject
* _argo6
= 0;
8945 char *_kwnames
[] = { "self","string","font", NULL
};
8960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxDC_GetFullTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo6
))
8963 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8964 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFullTextExtent. Expected _wxDC_p.");
8970 _arg1
= wxString_in_helper(_obj1
);
8975 if (_argo6
== Py_None
) { _arg6
= NULL
; }
8976 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
8977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxDC_GetFullTextExtent. Expected _wxFont_p.");
8982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8983 wxDC_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
8985 wxPyEndAllowThreads(__tstate
);
8986 if (PyErr_Occurred()) return NULL
;
8987 } Py_INCREF(Py_None
);
8988 _resultobj
= Py_None
;
8991 o
= PyInt_FromLong((long) (*_arg2
));
8992 _resultobj
= t_output_helper(_resultobj
, o
);
8996 o
= PyInt_FromLong((long) (*_arg3
));
8997 _resultobj
= t_output_helper(_resultobj
, o
);
9001 o
= PyInt_FromLong((long) (*_arg4
));
9002 _resultobj
= t_output_helper(_resultobj
, o
);
9006 o
= PyInt_FromLong((long) (*_arg5
));
9007 _resultobj
= t_output_helper(_resultobj
, o
);
9016 #define wxDC_GetTextForeground(_swigobj) (_swigobj->GetTextForeground())
9017 static PyObject
*_wrap_wxDC_GetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9018 PyObject
* _resultobj
;
9021 PyObject
* _argo0
= 0;
9022 char *_kwnames
[] = { "self", NULL
};
9026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetTextForeground",_kwnames
,&_argo0
))
9029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextForeground. Expected _wxDC_p.");
9036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9037 _result
= new wxColour (wxDC_GetTextForeground(_arg0
));
9039 wxPyEndAllowThreads(__tstate
);
9040 if (PyErr_Occurred()) return NULL
;
9041 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
9042 _resultobj
= Py_BuildValue("s",_ptemp
);
9046 #define wxDC_GetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetUserScale(_swigarg0,_swigarg1))
9047 static PyObject
*_wrap_wxDC_GetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9048 PyObject
* _resultobj
;
9054 PyObject
* _argo0
= 0;
9055 char *_kwnames
[] = { "self", NULL
};
9064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetUserScale",_kwnames
,&_argo0
))
9067 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9068 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetUserScale. Expected _wxDC_p.");
9074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9075 wxDC_GetUserScale(_arg0
,_arg1
,_arg2
);
9077 wxPyEndAllowThreads(__tstate
);
9078 if (PyErr_Occurred()) return NULL
;
9079 } Py_INCREF(Py_None
);
9080 _resultobj
= Py_None
;
9083 o
= PyFloat_FromDouble((double) (*_arg1
));
9084 _resultobj
= t_output_helper(_resultobj
, o
);
9088 o
= PyFloat_FromDouble((double) (*_arg2
));
9089 _resultobj
= t_output_helper(_resultobj
, o
);
9094 #define wxDC_LogicalToDeviceX(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceX(_swigarg0))
9095 static PyObject
*_wrap_wxDC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9096 PyObject
* _resultobj
;
9100 PyObject
* _argo0
= 0;
9101 char *_kwnames
[] = { "self","x", NULL
};
9104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceX",_kwnames
,&_argo0
,&_arg1
))
9107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceX. Expected _wxDC_p.");
9114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9115 _result
= (long )wxDC_LogicalToDeviceX(_arg0
,_arg1
);
9117 wxPyEndAllowThreads(__tstate
);
9118 if (PyErr_Occurred()) return NULL
;
9119 } _resultobj
= Py_BuildValue("l",_result
);
9123 #define wxDC_LogicalToDeviceXRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceXRel(_swigarg0))
9124 static PyObject
*_wrap_wxDC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9125 PyObject
* _resultobj
;
9129 PyObject
* _argo0
= 0;
9130 char *_kwnames
[] = { "self","x", NULL
};
9133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceXRel",_kwnames
,&_argo0
,&_arg1
))
9136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceXRel. Expected _wxDC_p.");
9143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9144 _result
= (long )wxDC_LogicalToDeviceXRel(_arg0
,_arg1
);
9146 wxPyEndAllowThreads(__tstate
);
9147 if (PyErr_Occurred()) return NULL
;
9148 } _resultobj
= Py_BuildValue("l",_result
);
9152 #define wxDC_LogicalToDeviceY(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceY(_swigarg0))
9153 static PyObject
*_wrap_wxDC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9154 PyObject
* _resultobj
;
9158 PyObject
* _argo0
= 0;
9159 char *_kwnames
[] = { "self","y", NULL
};
9162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceY",_kwnames
,&_argo0
,&_arg1
))
9165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceY. Expected _wxDC_p.");
9172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9173 _result
= (long )wxDC_LogicalToDeviceY(_arg0
,_arg1
);
9175 wxPyEndAllowThreads(__tstate
);
9176 if (PyErr_Occurred()) return NULL
;
9177 } _resultobj
= Py_BuildValue("l",_result
);
9181 #define wxDC_LogicalToDeviceYRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceYRel(_swigarg0))
9182 static PyObject
*_wrap_wxDC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9183 PyObject
* _resultobj
;
9187 PyObject
* _argo0
= 0;
9188 char *_kwnames
[] = { "self","y", NULL
};
9191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceYRel",_kwnames
,&_argo0
,&_arg1
))
9194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceYRel. Expected _wxDC_p.");
9201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9202 _result
= (long )wxDC_LogicalToDeviceYRel(_arg0
,_arg1
);
9204 wxPyEndAllowThreads(__tstate
);
9205 if (PyErr_Occurred()) return NULL
;
9206 } _resultobj
= Py_BuildValue("l",_result
);
9210 #define wxDC_MaxX(_swigobj) (_swigobj->MaxX())
9211 static PyObject
*_wrap_wxDC_MaxX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9212 PyObject
* _resultobj
;
9215 PyObject
* _argo0
= 0;
9216 char *_kwnames
[] = { "self", NULL
};
9219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MaxX",_kwnames
,&_argo0
))
9222 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9223 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxX. Expected _wxDC_p.");
9229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9230 _result
= (long )wxDC_MaxX(_arg0
);
9232 wxPyEndAllowThreads(__tstate
);
9233 if (PyErr_Occurred()) return NULL
;
9234 } _resultobj
= Py_BuildValue("l",_result
);
9238 #define wxDC_MaxY(_swigobj) (_swigobj->MaxY())
9239 static PyObject
*_wrap_wxDC_MaxY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9240 PyObject
* _resultobj
;
9243 PyObject
* _argo0
= 0;
9244 char *_kwnames
[] = { "self", NULL
};
9247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MaxY",_kwnames
,&_argo0
))
9250 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9251 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxY. Expected _wxDC_p.");
9257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9258 _result
= (long )wxDC_MaxY(_arg0
);
9260 wxPyEndAllowThreads(__tstate
);
9261 if (PyErr_Occurred()) return NULL
;
9262 } _resultobj
= Py_BuildValue("l",_result
);
9266 #define wxDC_MinX(_swigobj) (_swigobj->MinX())
9267 static PyObject
*_wrap_wxDC_MinX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9268 PyObject
* _resultobj
;
9271 PyObject
* _argo0
= 0;
9272 char *_kwnames
[] = { "self", NULL
};
9275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MinX",_kwnames
,&_argo0
))
9278 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9279 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinX. Expected _wxDC_p.");
9285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9286 _result
= (long )wxDC_MinX(_arg0
);
9288 wxPyEndAllowThreads(__tstate
);
9289 if (PyErr_Occurred()) return NULL
;
9290 } _resultobj
= Py_BuildValue("l",_result
);
9294 #define wxDC_MinY(_swigobj) (_swigobj->MinY())
9295 static PyObject
*_wrap_wxDC_MinY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9296 PyObject
* _resultobj
;
9299 PyObject
* _argo0
= 0;
9300 char *_kwnames
[] = { "self", NULL
};
9303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MinY",_kwnames
,&_argo0
))
9306 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9307 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinY. Expected _wxDC_p.");
9313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9314 _result
= (long )wxDC_MinY(_arg0
);
9316 wxPyEndAllowThreads(__tstate
);
9317 if (PyErr_Occurred()) return NULL
;
9318 } _resultobj
= Py_BuildValue("l",_result
);
9322 #define wxDC_Ok(_swigobj) (_swigobj->Ok())
9323 static PyObject
*_wrap_wxDC_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9324 PyObject
* _resultobj
;
9327 PyObject
* _argo0
= 0;
9328 char *_kwnames
[] = { "self", NULL
};
9331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_Ok",_kwnames
,&_argo0
))
9334 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9335 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Ok. Expected _wxDC_p.");
9341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9342 _result
= (bool )wxDC_Ok(_arg0
);
9344 wxPyEndAllowThreads(__tstate
);
9345 if (PyErr_Occurred()) return NULL
;
9346 } _resultobj
= Py_BuildValue("i",_result
);
9350 #define wxDC_SetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDeviceOrigin(_swigarg0,_swigarg1))
9351 static PyObject
*_wrap_wxDC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9352 PyObject
* _resultobj
;
9356 PyObject
* _argo0
= 0;
9357 char *_kwnames
[] = { "self","x","y", NULL
};
9360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_SetDeviceOrigin",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetDeviceOrigin. Expected _wxDC_p.");
9370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9371 wxDC_SetDeviceOrigin(_arg0
,_arg1
,_arg2
);
9373 wxPyEndAllowThreads(__tstate
);
9374 if (PyErr_Occurred()) return NULL
;
9375 } Py_INCREF(Py_None
);
9376 _resultobj
= Py_None
;
9380 #define wxDC_SetBackground(_swigobj,_swigarg0) (_swigobj->SetBackground(_swigarg0))
9381 static PyObject
*_wrap_wxDC_SetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9382 PyObject
* _resultobj
;
9385 PyObject
* _argo0
= 0;
9386 PyObject
* _argo1
= 0;
9387 char *_kwnames
[] = { "self","brush", NULL
};
9390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetBackground",_kwnames
,&_argo0
,&_argo1
))
9393 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9394 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackground. Expected _wxDC_p.");
9400 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9401 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
9402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBackground. Expected _wxBrush_p.");
9407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9408 wxDC_SetBackground(_arg0
,*_arg1
);
9410 wxPyEndAllowThreads(__tstate
);
9411 if (PyErr_Occurred()) return NULL
;
9412 } Py_INCREF(Py_None
);
9413 _resultobj
= Py_None
;
9417 #define wxDC_SetBackgroundMode(_swigobj,_swigarg0) (_swigobj->SetBackgroundMode(_swigarg0))
9418 static PyObject
*_wrap_wxDC_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9419 PyObject
* _resultobj
;
9422 PyObject
* _argo0
= 0;
9423 char *_kwnames
[] = { "self","mode", NULL
};
9426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetBackgroundMode",_kwnames
,&_argo0
,&_arg1
))
9429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackgroundMode. Expected _wxDC_p.");
9436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9437 wxDC_SetBackgroundMode(_arg0
,_arg1
);
9439 wxPyEndAllowThreads(__tstate
);
9440 if (PyErr_Occurred()) return NULL
;
9441 } Py_INCREF(Py_None
);
9442 _resultobj
= Py_None
;
9446 #define wxDC_SetClippingRegion(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetClippingRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9447 static PyObject
*_wrap_wxDC_SetClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9448 PyObject
* _resultobj
;
9454 PyObject
* _argo0
= 0;
9455 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
9458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_SetClippingRegion",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
9461 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9462 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetClippingRegion. Expected _wxDC_p.");
9468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9469 wxDC_SetClippingRegion(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
9471 wxPyEndAllowThreads(__tstate
);
9472 if (PyErr_Occurred()) return NULL
;
9473 } Py_INCREF(Py_None
);
9474 _resultobj
= Py_None
;
9478 #define wxDC_SetClippingRegionAsRegion(_swigobj,_swigarg0) (_swigobj->SetClippingRegion(_swigarg0))
9479 static PyObject
*_wrap_wxDC_SetClippingRegionAsRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9480 PyObject
* _resultobj
;
9483 PyObject
* _argo0
= 0;
9484 PyObject
* _argo1
= 0;
9485 char *_kwnames
[] = { "self","region", NULL
};
9488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetClippingRegionAsRegion",_kwnames
,&_argo0
,&_argo1
))
9491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetClippingRegionAsRegion. Expected _wxDC_p.");
9498 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9499 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
9500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetClippingRegionAsRegion. Expected _wxRegion_p.");
9505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9506 wxDC_SetClippingRegionAsRegion(_arg0
,*_arg1
);
9508 wxPyEndAllowThreads(__tstate
);
9509 if (PyErr_Occurred()) return NULL
;
9510 } Py_INCREF(Py_None
);
9511 _resultobj
= Py_None
;
9515 #define wxDC_SetPalette(_swigobj,_swigarg0) (_swigobj->SetPalette(_swigarg0))
9516 static PyObject
*_wrap_wxDC_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9517 PyObject
* _resultobj
;
9520 PyObject
* _argo0
= 0;
9521 PyObject
* _argo1
= 0;
9522 char *_kwnames
[] = { "self","colourMap", NULL
};
9525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetPalette",_kwnames
,&_argo0
,&_argo1
))
9528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPalette. Expected _wxDC_p.");
9535 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9536 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPalette_p")) {
9537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPalette. Expected _wxPalette_p.");
9542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9543 wxDC_SetPalette(_arg0
,*_arg1
);
9545 wxPyEndAllowThreads(__tstate
);
9546 if (PyErr_Occurred()) return NULL
;
9547 } Py_INCREF(Py_None
);
9548 _resultobj
= Py_None
;
9552 #define wxDC_SetBrush(_swigobj,_swigarg0) (_swigobj->SetBrush(_swigarg0))
9553 static PyObject
*_wrap_wxDC_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9554 PyObject
* _resultobj
;
9557 PyObject
* _argo0
= 0;
9558 PyObject
* _argo1
= 0;
9559 char *_kwnames
[] = { "self","brush", NULL
};
9562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetBrush",_kwnames
,&_argo0
,&_argo1
))
9565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBrush. Expected _wxDC_p.");
9572 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9573 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
9574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBrush. Expected _wxBrush_p.");
9579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9580 wxDC_SetBrush(_arg0
,*_arg1
);
9582 wxPyEndAllowThreads(__tstate
);
9583 if (PyErr_Occurred()) return NULL
;
9584 } Py_INCREF(Py_None
);
9585 _resultobj
= Py_None
;
9589 #define wxDC_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
9590 static PyObject
*_wrap_wxDC_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9591 PyObject
* _resultobj
;
9594 PyObject
* _argo0
= 0;
9595 PyObject
* _argo1
= 0;
9596 char *_kwnames
[] = { "self","font", NULL
};
9599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetFont",_kwnames
,&_argo0
,&_argo1
))
9602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetFont. Expected _wxDC_p.");
9609 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9610 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
9611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetFont. Expected _wxFont_p.");
9616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9617 wxDC_SetFont(_arg0
,*_arg1
);
9619 wxPyEndAllowThreads(__tstate
);
9620 if (PyErr_Occurred()) return NULL
;
9621 } Py_INCREF(Py_None
);
9622 _resultobj
= Py_None
;
9626 #define wxDC_SetLogicalFunction(_swigobj,_swigarg0) (_swigobj->SetLogicalFunction(_swigarg0))
9627 static PyObject
*_wrap_wxDC_SetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9628 PyObject
* _resultobj
;
9631 PyObject
* _argo0
= 0;
9632 char *_kwnames
[] = { "self","function", NULL
};
9635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetLogicalFunction",_kwnames
,&_argo0
,&_arg1
))
9638 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9639 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalFunction. Expected _wxDC_p.");
9645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9646 wxDC_SetLogicalFunction(_arg0
,_arg1
);
9648 wxPyEndAllowThreads(__tstate
);
9649 if (PyErr_Occurred()) return NULL
;
9650 } Py_INCREF(Py_None
);
9651 _resultobj
= Py_None
;
9655 #define wxDC_SetLogicalScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLogicalScale(_swigarg0,_swigarg1))
9656 static PyObject
*_wrap_wxDC_SetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9657 PyObject
* _resultobj
;
9661 PyObject
* _argo0
= 0;
9662 char *_kwnames
[] = { "self","x","y", NULL
};
9665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxDC_SetLogicalScale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9668 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9669 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalScale. Expected _wxDC_p.");
9675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9676 wxDC_SetLogicalScale(_arg0
,_arg1
,_arg2
);
9678 wxPyEndAllowThreads(__tstate
);
9679 if (PyErr_Occurred()) return NULL
;
9680 } Py_INCREF(Py_None
);
9681 _resultobj
= Py_None
;
9685 #define wxDC_SetMapMode(_swigobj,_swigarg0) (_swigobj->SetMapMode(_swigarg0))
9686 static PyObject
*_wrap_wxDC_SetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9687 PyObject
* _resultobj
;
9690 PyObject
* _argo0
= 0;
9691 char *_kwnames
[] = { "self","mode", NULL
};
9694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetMapMode",_kwnames
,&_argo0
,&_arg1
))
9697 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9698 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetMapMode. Expected _wxDC_p.");
9704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9705 wxDC_SetMapMode(_arg0
,_arg1
);
9707 wxPyEndAllowThreads(__tstate
);
9708 if (PyErr_Occurred()) return NULL
;
9709 } Py_INCREF(Py_None
);
9710 _resultobj
= Py_None
;
9714 #define wxDC_SetOptimization(_swigobj,_swigarg0) (_swigobj->SetOptimization(_swigarg0))
9715 static PyObject
*_wrap_wxDC_SetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9716 PyObject
* _resultobj
;
9719 PyObject
* _argo0
= 0;
9721 char *_kwnames
[] = { "self","optimize", NULL
};
9724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetOptimization",_kwnames
,&_argo0
,&tempbool1
))
9727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetOptimization. Expected _wxDC_p.");
9733 _arg1
= (bool ) tempbool1
;
9735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9736 wxDC_SetOptimization(_arg0
,_arg1
);
9738 wxPyEndAllowThreads(__tstate
);
9739 if (PyErr_Occurred()) return NULL
;
9740 } Py_INCREF(Py_None
);
9741 _resultobj
= Py_None
;
9745 #define wxDC_SetPen(_swigobj,_swigarg0) (_swigobj->SetPen(_swigarg0))
9746 static PyObject
*_wrap_wxDC_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9747 PyObject
* _resultobj
;
9750 PyObject
* _argo0
= 0;
9751 PyObject
* _argo1
= 0;
9752 char *_kwnames
[] = { "self","pen", NULL
};
9755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetPen",_kwnames
,&_argo0
,&_argo1
))
9758 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9759 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9760 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPen. Expected _wxDC_p.");
9765 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9766 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
9767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPen. Expected _wxPen_p.");
9772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9773 wxDC_SetPen(_arg0
,*_arg1
);
9775 wxPyEndAllowThreads(__tstate
);
9776 if (PyErr_Occurred()) return NULL
;
9777 } Py_INCREF(Py_None
);
9778 _resultobj
= Py_None
;
9782 #define wxDC_SetTextBackground(_swigobj,_swigarg0) (_swigobj->SetTextBackground(_swigarg0))
9783 static PyObject
*_wrap_wxDC_SetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9784 PyObject
* _resultobj
;
9787 PyObject
* _argo0
= 0;
9789 PyObject
* _obj1
= 0;
9790 char *_kwnames
[] = { "self","colour", NULL
};
9793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetTextBackground",_kwnames
,&_argo0
,&_obj1
))
9796 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9797 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextBackground. Expected _wxDC_p.");
9804 if (! wxColour_helper(_obj1
, &_arg1
))
9808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9809 wxDC_SetTextBackground(_arg0
,*_arg1
);
9811 wxPyEndAllowThreads(__tstate
);
9812 if (PyErr_Occurred()) return NULL
;
9813 } Py_INCREF(Py_None
);
9814 _resultobj
= Py_None
;
9818 #define wxDC_SetTextForeground(_swigobj,_swigarg0) (_swigobj->SetTextForeground(_swigarg0))
9819 static PyObject
*_wrap_wxDC_SetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9820 PyObject
* _resultobj
;
9823 PyObject
* _argo0
= 0;
9825 PyObject
* _obj1
= 0;
9826 char *_kwnames
[] = { "self","colour", NULL
};
9829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetTextForeground",_kwnames
,&_argo0
,&_obj1
))
9832 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9833 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextForeground. Expected _wxDC_p.");
9840 if (! wxColour_helper(_obj1
, &_arg1
))
9844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9845 wxDC_SetTextForeground(_arg0
,*_arg1
);
9847 wxPyEndAllowThreads(__tstate
);
9848 if (PyErr_Occurred()) return NULL
;
9849 } Py_INCREF(Py_None
);
9850 _resultobj
= Py_None
;
9854 #define wxDC_SetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetUserScale(_swigarg0,_swigarg1))
9855 static PyObject
*_wrap_wxDC_SetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9856 PyObject
* _resultobj
;
9860 PyObject
* _argo0
= 0;
9861 char *_kwnames
[] = { "self","x_scale","y_scale", NULL
};
9864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxDC_SetUserScale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9867 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9868 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetUserScale. Expected _wxDC_p.");
9874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9875 wxDC_SetUserScale(_arg0
,_arg1
,_arg2
);
9877 wxPyEndAllowThreads(__tstate
);
9878 if (PyErr_Occurred()) return NULL
;
9879 } Py_INCREF(Py_None
);
9880 _resultobj
= Py_None
;
9884 #define wxDC_StartDoc(_swigobj,_swigarg0) (_swigobj->StartDoc(_swigarg0))
9885 static PyObject
*_wrap_wxDC_StartDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9886 PyObject
* _resultobj
;
9890 PyObject
* _argo0
= 0;
9891 PyObject
* _obj1
= 0;
9892 char *_kwnames
[] = { "self","message", NULL
};
9895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_StartDoc",_kwnames
,&_argo0
,&_obj1
))
9898 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9899 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartDoc. Expected _wxDC_p.");
9905 _arg1
= wxString_in_helper(_obj1
);
9910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9911 _result
= (bool )wxDC_StartDoc(_arg0
,*_arg1
);
9913 wxPyEndAllowThreads(__tstate
);
9914 if (PyErr_Occurred()) return NULL
;
9915 } _resultobj
= Py_BuildValue("i",_result
);
9923 #define wxDC_StartPage(_swigobj) (_swigobj->StartPage())
9924 static PyObject
*_wrap_wxDC_StartPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9925 PyObject
* _resultobj
;
9927 PyObject
* _argo0
= 0;
9928 char *_kwnames
[] = { "self", NULL
};
9931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_StartPage",_kwnames
,&_argo0
))
9934 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9935 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartPage. Expected _wxDC_p.");
9941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9942 wxDC_StartPage(_arg0
);
9944 wxPyEndAllowThreads(__tstate
);
9945 if (PyErr_Occurred()) return NULL
;
9946 } Py_INCREF(Py_None
);
9947 _resultobj
= Py_None
;
9951 #define wxDC_DrawBitmap(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9952 static PyObject
*_wrap_wxDC_DrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9953 PyObject
* _resultobj
;
9958 int _arg4
= (int ) FALSE
;
9959 PyObject
* _argo0
= 0;
9960 PyObject
* _argo1
= 0;
9961 char *_kwnames
[] = { "self","bitmap","x","y","useMask", NULL
};
9964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOll|i:wxDC_DrawBitmap",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
))
9967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawBitmap. Expected _wxDC_p.");
9974 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9975 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
9976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawBitmap. Expected _wxBitmap_p.");
9981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9982 wxDC_DrawBitmap(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
9984 wxPyEndAllowThreads(__tstate
);
9985 if (PyErr_Occurred()) return NULL
;
9986 } Py_INCREF(Py_None
);
9987 _resultobj
= Py_None
;
9991 #define wxDC_CanDrawBitmap(_swigobj) (_swigobj->CanDrawBitmap())
9992 static PyObject
*_wrap_wxDC_CanDrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9993 PyObject
* _resultobj
;
9996 PyObject
* _argo0
= 0;
9997 char *_kwnames
[] = { "self", NULL
};
10000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_CanDrawBitmap",_kwnames
,&_argo0
))
10003 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10004 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
10005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CanDrawBitmap. Expected _wxDC_p.");
10010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10011 _result
= (bool )wxDC_CanDrawBitmap(_arg0
);
10013 wxPyEndAllowThreads(__tstate
);
10014 if (PyErr_Occurred()) return NULL
;
10015 } _resultobj
= Py_BuildValue("i",_result
);
10019 #define wxDC_CanGetTextExtent(_swigobj) (_swigobj->CanGetTextExtent())
10020 static PyObject
*_wrap_wxDC_CanGetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10021 PyObject
* _resultobj
;
10024 PyObject
* _argo0
= 0;
10025 char *_kwnames
[] = { "self", NULL
};
10028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_CanGetTextExtent",_kwnames
,&_argo0
))
10031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
10033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CanGetTextExtent. Expected _wxDC_p.");
10038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10039 _result
= (bool )wxDC_CanGetTextExtent(_arg0
);
10041 wxPyEndAllowThreads(__tstate
);
10042 if (PyErr_Occurred()) return NULL
;
10043 } _resultobj
= Py_BuildValue("i",_result
);
10047 #define wxDC_GetDepth(_swigobj) (_swigobj->GetDepth())
10048 static PyObject
*_wrap_wxDC_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10049 PyObject
* _resultobj
;
10052 PyObject
* _argo0
= 0;
10053 char *_kwnames
[] = { "self", NULL
};
10056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetDepth",_kwnames
,&_argo0
))
10059 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10060 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
10061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetDepth. Expected _wxDC_p.");
10066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10067 _result
= (int )wxDC_GetDepth(_arg0
);
10069 wxPyEndAllowThreads(__tstate
);
10070 if (PyErr_Occurred()) return NULL
;
10071 } _resultobj
= Py_BuildValue("i",_result
);
10075 #define wxDC_GetPPI(_swigobj) (_swigobj->GetPPI())
10076 static PyObject
*_wrap_wxDC_GetPPI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10077 PyObject
* _resultobj
;
10080 PyObject
* _argo0
= 0;
10081 char *_kwnames
[] = { "self", NULL
};
10085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetPPI",_kwnames
,&_argo0
))
10088 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10089 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
10090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPPI. Expected _wxDC_p.");
10095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10096 _result
= new wxSize (wxDC_GetPPI(_arg0
));
10098 wxPyEndAllowThreads(__tstate
);
10099 if (PyErr_Occurred()) return NULL
;
10100 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
10101 _resultobj
= Py_BuildValue("s",_ptemp
);
10105 #define wxDC_GetLogicalOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLogicalOrigin(_swigarg0,_swigarg1))
10106 static PyObject
*_wrap_wxDC_GetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10107 PyObject
* _resultobj
;
10113 PyObject
* _argo0
= 0;
10114 char *_kwnames
[] = { "self", NULL
};
10123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalOrigin",_kwnames
,&_argo0
))
10126 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10127 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
10128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalOrigin. Expected _wxDC_p.");
10133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10134 wxDC_GetLogicalOrigin(_arg0
,_arg1
,_arg2
);
10136 wxPyEndAllowThreads(__tstate
);
10137 if (PyErr_Occurred()) return NULL
;
10138 } Py_INCREF(Py_None
);
10139 _resultobj
= Py_None
;
10142 o
= PyInt_FromLong((long) (*_arg1
));
10143 _resultobj
= t_output_helper(_resultobj
, o
);
10147 o
= PyInt_FromLong((long) (*_arg2
));
10148 _resultobj
= t_output_helper(_resultobj
, o
);
10153 #define wxDC_SetLogicalOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLogicalOrigin(_swigarg0,_swigarg1))
10154 static PyObject
*_wrap_wxDC_SetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10155 PyObject
* _resultobj
;
10159 PyObject
* _argo0
= 0;
10160 char *_kwnames
[] = { "self","x","y", NULL
};
10163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_SetLogicalOrigin",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10166 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10167 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
10168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalOrigin. Expected _wxDC_p.");
10173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10174 wxDC_SetLogicalOrigin(_arg0
,_arg1
,_arg2
);
10176 wxPyEndAllowThreads(__tstate
);
10177 if (PyErr_Occurred()) return NULL
;
10178 } Py_INCREF(Py_None
);
10179 _resultobj
= Py_None
;
10183 #define wxDC_GetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDeviceOrigin(_swigarg0,_swigarg1))
10184 static PyObject
*_wrap_wxDC_GetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10185 PyObject
* _resultobj
;
10191 PyObject
* _argo0
= 0;
10192 char *_kwnames
[] = { "self", NULL
};
10201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetDeviceOrigin",_kwnames
,&_argo0
))
10204 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10205 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
10206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetDeviceOrigin. Expected _wxDC_p.");
10211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10212 wxDC_GetDeviceOrigin(_arg0
,_arg1
,_arg2
);
10214 wxPyEndAllowThreads(__tstate
);
10215 if (PyErr_Occurred()) return NULL
;
10216 } Py_INCREF(Py_None
);
10217 _resultobj
= Py_None
;
10220 o
= PyInt_FromLong((long) (*_arg1
));
10221 _resultobj
= t_output_helper(_resultobj
, o
);
10225 o
= PyInt_FromLong((long) (*_arg2
));
10226 _resultobj
= t_output_helper(_resultobj
, o
);
10231 #define wxDC_SetAxisOrientation(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAxisOrientation(_swigarg0,_swigarg1))
10232 static PyObject
*_wrap_wxDC_SetAxisOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10233 PyObject
* _resultobj
;
10237 PyObject
* _argo0
= 0;
10240 char *_kwnames
[] = { "self","xLeftRight","yBottomUp", NULL
};
10243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_SetAxisOrientation",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
10246 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10247 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
10248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetAxisOrientation. Expected _wxDC_p.");
10252 _arg1
= (bool ) tempbool1
;
10253 _arg2
= (bool ) tempbool2
;
10255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10256 wxDC_SetAxisOrientation(_arg0
,_arg1
,_arg2
);
10258 wxPyEndAllowThreads(__tstate
);
10259 if (PyErr_Occurred()) return NULL
;
10260 } Py_INCREF(Py_None
);
10261 _resultobj
= Py_None
;
10265 #define wxDC_CalcBoundingBox(_swigobj,_swigarg0,_swigarg1) (_swigobj->CalcBoundingBox(_swigarg0,_swigarg1))
10266 static PyObject
*_wrap_wxDC_CalcBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10267 PyObject
* _resultobj
;
10271 PyObject
* _argo0
= 0;
10272 char *_kwnames
[] = { "self","x","y", NULL
};
10275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_CalcBoundingBox",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10278 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10279 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
10280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CalcBoundingBox. Expected _wxDC_p.");
10285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10286 wxDC_CalcBoundingBox(_arg0
,_arg1
,_arg2
);
10288 wxPyEndAllowThreads(__tstate
);
10289 if (PyErr_Occurred()) return NULL
;
10290 } Py_INCREF(Py_None
);
10291 _resultobj
= Py_None
;
10295 #define wxDC_ResetBoundingBox(_swigobj) (_swigobj->ResetBoundingBox())
10296 static PyObject
*_wrap_wxDC_ResetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10297 PyObject
* _resultobj
;
10299 PyObject
* _argo0
= 0;
10300 char *_kwnames
[] = { "self", NULL
};
10303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_ResetBoundingBox",_kwnames
,&_argo0
))
10306 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10307 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
10308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_ResetBoundingBox. Expected _wxDC_p.");
10313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10314 wxDC_ResetBoundingBox(_arg0
);
10316 wxPyEndAllowThreads(__tstate
);
10317 if (PyErr_Occurred()) return NULL
;
10318 } Py_INCREF(Py_None
);
10319 _resultobj
= Py_None
;
10323 static PyObject
*_wrap_wxDC_GetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10324 PyObject
* _resultobj
;
10334 PyObject
* _argo0
= 0;
10335 char *_kwnames
[] = { "self", NULL
};
10350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBoundingBox",_kwnames
,&_argo0
))
10353 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10354 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
10355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBoundingBox. Expected _wxDC_p.");
10360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10361 wxDC_GetBoundingBox(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
10363 wxPyEndAllowThreads(__tstate
);
10364 if (PyErr_Occurred()) return NULL
;
10365 } Py_INCREF(Py_None
);
10366 _resultobj
= Py_None
;
10369 o
= PyInt_FromLong((long) (*_arg1
));
10370 _resultobj
= t_output_helper(_resultobj
, o
);
10374 o
= PyInt_FromLong((long) (*_arg2
));
10375 _resultobj
= t_output_helper(_resultobj
, o
);
10379 o
= PyInt_FromLong((long) (*_arg3
));
10380 _resultobj
= t_output_helper(_resultobj
, o
);
10384 o
= PyInt_FromLong((long) (*_arg4
));
10385 _resultobj
= t_output_helper(_resultobj
, o
);
10390 #define wxDC_GetHDC(_swigobj) (_swigobj->GetHDC())
10391 static PyObject
*_wrap_wxDC_GetHDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10392 PyObject
* _resultobj
;
10395 PyObject
* _argo0
= 0;
10396 char *_kwnames
[] = { "self", NULL
};
10399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetHDC",_kwnames
,&_argo0
))
10402 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10403 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
10404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetHDC. Expected _wxDC_p.");
10409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10410 _result
= (long )wxDC_GetHDC(_arg0
);
10412 wxPyEndAllowThreads(__tstate
);
10413 if (PyErr_Occurred()) return NULL
;
10414 } _resultobj
= Py_BuildValue("l",_result
);
10418 static PyObject
* wxDC__DrawPointList(wxDC
*self
,PyObject
* pyPoints
,PyObject
* pyPens
) {
10419 bool isFastSeq
= PyList_Check(pyPoints
) || PyTuple_Check(pyPoints
);
10420 bool isFastPens
= PyList_Check(pyPens
) || PyTuple_Check(pyPens
);
10428 if (!PySequence_Check(pyPoints
)) {
10431 if (!PySequence_Check(pyPens
)) {
10434 numObjs
= PySequence_Length(pyPoints
);
10435 numPens
= PySequence_Length(pyPens
);
10437 for (i
= 0; i
< numObjs
; i
++) {
10441 obj
= PySequence_Fast_GET_ITEM(pyPens
, i
);
10444 obj
= PySequence_GetItem(pyPens
, i
);
10446 if (SWIG_GetPtrObj(obj
, (void **) &pen
, "_wxPen_p")) {
10452 self
->SetPen(*pen
);
10457 // Get the point coordinants
10459 obj
= PySequence_Fast_GET_ITEM(pyPoints
, i
);
10462 obj
= PySequence_GetItem(pyPoints
, i
);
10464 if (! _2int_seq_helper(obj
, &x1
, &y1
)) {
10470 // Now draw the point
10471 self
->DrawPoint(x1
, y1
);
10477 Py_INCREF(Py_None
);
10481 PyErr_SetString(PyExc_TypeError
, "Expected a sequence of wxPens");
10484 PyErr_SetString(PyExc_TypeError
, "Expected a sequence of (x,y) sequences.");
10487 static PyObject
*_wrap_wxDC__DrawPointList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10488 PyObject
* _resultobj
;
10489 PyObject
* _result
;
10493 PyObject
* _argo0
= 0;
10494 PyObject
* _obj1
= 0;
10495 PyObject
* _obj2
= 0;
10496 char *_kwnames
[] = { "self","pyPoints","pyPens", NULL
};
10499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDC__DrawPointList",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
10502 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10503 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
10504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC__DrawPointList. Expected _wxDC_p.");
10515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10516 _result
= (PyObject
*)wxDC__DrawPointList(_arg0
,_arg1
,_arg2
);
10518 wxPyEndAllowThreads(__tstate
);
10519 if (PyErr_Occurred()) return NULL
;
10521 _resultobj
= _result
;
10526 static PyObject
* wxDC__DrawLineList(wxDC
*self
,PyObject
* pyLines
,PyObject
* pyPens
) {
10527 bool isFastSeq
= PyList_Check(pyLines
) || PyTuple_Check(pyLines
);
10528 bool isFastPens
= PyList_Check(pyPens
) || PyTuple_Check(pyPens
);
10533 int x1
, y1
, x2
, y2
;
10536 if (!PySequence_Check(pyLines
)) {
10539 if (!PySequence_Check(pyPens
)) {
10542 numObjs
= PySequence_Length(pyLines
);
10543 numPens
= PySequence_Length(pyPens
);
10545 for (i
= 0; i
< numObjs
; i
++) {
10549 obj
= PySequence_Fast_GET_ITEM(pyPens
, i
);
10552 obj
= PySequence_GetItem(pyPens
, i
);
10554 if (SWIG_GetPtrObj(obj
, (void **) &pen
, "_wxPen_p")) {
10560 self
->SetPen(*pen
);
10565 // Get the line coordinants
10567 obj
= PySequence_Fast_GET_ITEM(pyLines
, i
);
10570 obj
= PySequence_GetItem(pyLines
, i
);
10572 if (! _4int_seq_helper(obj
, &x1
, &y1
, &x2
, &y2
)) {
10578 // Now draw the line
10579 self
->DrawLine(x1
, y1
, x2
, y2
);
10585 Py_INCREF(Py_None
);
10589 PyErr_SetString(PyExc_TypeError
, "Expected a sequence of wxPens");
10592 PyErr_SetString(PyExc_TypeError
, "Expected a sequence of (x1,y1, x2,y2) sequences.");
10595 static PyObject
*_wrap_wxDC__DrawLineList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10596 PyObject
* _resultobj
;
10597 PyObject
* _result
;
10601 PyObject
* _argo0
= 0;
10602 PyObject
* _obj1
= 0;
10603 PyObject
* _obj2
= 0;
10604 char *_kwnames
[] = { "self","pyLines","pyPens", NULL
};
10607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDC__DrawLineList",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
10610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
10612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC__DrawLineList. Expected _wxDC_p.");
10623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10624 _result
= (PyObject
*)wxDC__DrawLineList(_arg0
,_arg1
,_arg2
);
10626 wxPyEndAllowThreads(__tstate
);
10627 if (PyErr_Occurred()) return NULL
;
10629 _resultobj
= _result
;
10634 static void *SwigwxMemoryDCTowxDC(void *ptr
) {
10637 src
= (wxMemoryDC
*) ptr
;
10638 dest
= (wxDC
*) src
;
10639 return (void *) dest
;
10642 static void *SwigwxMemoryDCTowxObject(void *ptr
) {
10645 src
= (wxMemoryDC
*) ptr
;
10646 dest
= (wxObject
*) src
;
10647 return (void *) dest
;
10650 #define new_wxMemoryDC() (new wxMemoryDC())
10651 static PyObject
*_wrap_new_wxMemoryDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10652 PyObject
* _resultobj
;
10653 wxMemoryDC
* _result
;
10654 char *_kwnames
[] = { NULL
};
10658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMemoryDC",_kwnames
))
10661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10662 _result
= (wxMemoryDC
*)new_wxMemoryDC();
10664 wxPyEndAllowThreads(__tstate
);
10665 if (PyErr_Occurred()) return NULL
;
10667 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
10668 _resultobj
= Py_BuildValue("s",_ptemp
);
10670 Py_INCREF(Py_None
);
10671 _resultobj
= Py_None
;
10676 #define wxMemoryDC_SelectObject(_swigobj,_swigarg0) (_swigobj->SelectObject(_swigarg0))
10677 static PyObject
*_wrap_wxMemoryDC_SelectObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10678 PyObject
* _resultobj
;
10679 wxMemoryDC
* _arg0
;
10681 PyObject
* _argo0
= 0;
10682 PyObject
* _argo1
= 0;
10683 char *_kwnames
[] = { "self","bitmap", NULL
};
10686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMemoryDC_SelectObject",_kwnames
,&_argo0
,&_argo1
))
10689 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10690 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMemoryDC_p")) {
10691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDC_SelectObject. Expected _wxMemoryDC_p.");
10696 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10697 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
10698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMemoryDC_SelectObject. Expected _wxBitmap_p.");
10703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10704 wxMemoryDC_SelectObject(_arg0
,*_arg1
);
10706 wxPyEndAllowThreads(__tstate
);
10707 if (PyErr_Occurred()) return NULL
;
10708 } Py_INCREF(Py_None
);
10709 _resultobj
= Py_None
;
10713 static void *SwigwxBufferedDCTowxMemoryDC(void *ptr
) {
10716 src
= (wxBufferedDC
*) ptr
;
10717 dest
= (wxMemoryDC
*) src
;
10718 return (void *) dest
;
10721 static void *SwigwxBufferedDCTowxDC(void *ptr
) {
10724 src
= (wxBufferedDC
*) ptr
;
10725 dest
= (wxDC
*) src
;
10726 return (void *) dest
;
10729 static void *SwigwxBufferedDCTowxObject(void *ptr
) {
10732 src
= (wxBufferedDC
*) ptr
;
10733 dest
= (wxObject
*) src
;
10734 return (void *) dest
;
10737 #define new_wxBufferedDC(_swigarg0,_swigarg1) (new wxBufferedDC(_swigarg0,_swigarg1))
10738 static PyObject
*_wrap_new_wxBufferedDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10739 PyObject
* _resultobj
;
10740 wxBufferedDC
* _result
;
10743 PyObject
* _argo0
= 0;
10744 PyObject
* _argo1
= 0;
10745 char *_kwnames
[] = { "dc","buffer", NULL
};
10749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxBufferedDC",_kwnames
,&_argo0
,&_argo1
))
10752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
10754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBufferedDC. Expected _wxDC_p.");
10759 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10760 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
10761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxBufferedDC. Expected _wxBitmap_p.");
10766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10767 _result
= (wxBufferedDC
*)new_wxBufferedDC(_arg0
,*_arg1
);
10769 wxPyEndAllowThreads(__tstate
);
10770 if (PyErr_Occurred()) return NULL
;
10772 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBufferedDC_p");
10773 _resultobj
= Py_BuildValue("s",_ptemp
);
10775 Py_INCREF(Py_None
);
10776 _resultobj
= Py_None
;
10781 #define new_wxBufferedDCInternalBuffer(_swigarg0,_swigarg1) (new wxBufferedDC(_swigarg0,_swigarg1))
10782 static PyObject
*_wrap_new_wxBufferedDCInternalBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10783 PyObject
* _resultobj
;
10784 wxBufferedDC
* _result
;
10787 PyObject
* _argo0
= 0;
10789 PyObject
* _obj1
= 0;
10790 char *_kwnames
[] = { "dc","area", NULL
};
10794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxBufferedDCInternalBuffer",_kwnames
,&_argo0
,&_obj1
))
10797 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10798 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
10799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBufferedDCInternalBuffer. Expected _wxDC_p.");
10805 if (! wxSize_helper(_obj1
, &_arg1
))
10809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10810 _result
= (wxBufferedDC
*)new_wxBufferedDCInternalBuffer(_arg0
,*_arg1
);
10812 wxPyEndAllowThreads(__tstate
);
10813 if (PyErr_Occurred()) return NULL
;
10815 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBufferedDC_p");
10816 _resultobj
= Py_BuildValue("s",_ptemp
);
10818 Py_INCREF(Py_None
);
10819 _resultobj
= Py_None
;
10824 static void *SwigwxBufferedPaintDCTowxBufferedDC(void *ptr
) {
10825 wxBufferedPaintDC
*src
;
10826 wxBufferedDC
*dest
;
10827 src
= (wxBufferedPaintDC
*) ptr
;
10828 dest
= (wxBufferedDC
*) src
;
10829 return (void *) dest
;
10832 static void *SwigwxBufferedPaintDCTowxMemoryDC(void *ptr
) {
10833 wxBufferedPaintDC
*src
;
10835 src
= (wxBufferedPaintDC
*) ptr
;
10836 dest
= (wxMemoryDC
*) src
;
10837 return (void *) dest
;
10840 static void *SwigwxBufferedPaintDCTowxDC(void *ptr
) {
10841 wxBufferedPaintDC
*src
;
10843 src
= (wxBufferedPaintDC
*) ptr
;
10844 dest
= (wxDC
*) src
;
10845 return (void *) dest
;
10848 static void *SwigwxBufferedPaintDCTowxObject(void *ptr
) {
10849 wxBufferedPaintDC
*src
;
10851 src
= (wxBufferedPaintDC
*) ptr
;
10852 dest
= (wxObject
*) src
;
10853 return (void *) dest
;
10856 #define new_wxBufferedPaintDC(_swigarg0,_swigarg1) (new wxBufferedPaintDC(_swigarg0,_swigarg1))
10857 static PyObject
*_wrap_new_wxBufferedPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10858 PyObject
* _resultobj
;
10859 wxBufferedPaintDC
* _result
;
10861 wxBitmap
* _arg1
= (wxBitmap
*) &wxNullBitmap
;
10862 PyObject
* _argo0
= 0;
10863 PyObject
* _argo1
= 0;
10864 char *_kwnames
[] = { "window","buffer", NULL
};
10868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxBufferedPaintDC",_kwnames
,&_argo0
,&_argo1
))
10871 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10872 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
10873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBufferedPaintDC. Expected _wxWindow_p.");
10878 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10879 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
10880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxBufferedPaintDC. Expected _wxBitmap_p.");
10885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10886 _result
= (wxBufferedPaintDC
*)new_wxBufferedPaintDC(_arg0
,*_arg1
);
10888 wxPyEndAllowThreads(__tstate
);
10889 if (PyErr_Occurred()) return NULL
;
10891 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBufferedPaintDC_p");
10892 _resultobj
= Py_BuildValue("s",_ptemp
);
10894 Py_INCREF(Py_None
);
10895 _resultobj
= Py_None
;
10900 static void *SwigwxScreenDCTowxDC(void *ptr
) {
10903 src
= (wxScreenDC
*) ptr
;
10904 dest
= (wxDC
*) src
;
10905 return (void *) dest
;
10908 static void *SwigwxScreenDCTowxObject(void *ptr
) {
10911 src
= (wxScreenDC
*) ptr
;
10912 dest
= (wxObject
*) src
;
10913 return (void *) dest
;
10916 #define new_wxScreenDC() (new wxScreenDC())
10917 static PyObject
*_wrap_new_wxScreenDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10918 PyObject
* _resultobj
;
10919 wxScreenDC
* _result
;
10920 char *_kwnames
[] = { NULL
};
10924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxScreenDC",_kwnames
))
10927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10928 _result
= (wxScreenDC
*)new_wxScreenDC();
10930 wxPyEndAllowThreads(__tstate
);
10931 if (PyErr_Occurred()) return NULL
;
10933 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScreenDC_p");
10934 _resultobj
= Py_BuildValue("s",_ptemp
);
10936 Py_INCREF(Py_None
);
10937 _resultobj
= Py_None
;
10942 #define wxScreenDC_StartDrawingOnTopWin(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
10943 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTopWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10944 PyObject
* _resultobj
;
10946 wxScreenDC
* _arg0
;
10948 PyObject
* _argo0
= 0;
10949 PyObject
* _argo1
= 0;
10950 char *_kwnames
[] = { "self","window", NULL
};
10953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScreenDC_StartDrawingOnTopWin",_kwnames
,&_argo0
,&_argo1
))
10956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
10958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTopWin. Expected _wxScreenDC_p.");
10963 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10964 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
10965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScreenDC_StartDrawingOnTopWin. Expected _wxWindow_p.");
10970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10971 _result
= (bool )wxScreenDC_StartDrawingOnTopWin(_arg0
,_arg1
);
10973 wxPyEndAllowThreads(__tstate
);
10974 if (PyErr_Occurred()) return NULL
;
10975 } _resultobj
= Py_BuildValue("i",_result
);
10979 #define wxScreenDC_StartDrawingOnTop(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
10980 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10981 PyObject
* _resultobj
;
10983 wxScreenDC
* _arg0
;
10984 wxRect
* _arg1
= (wxRect
*) NULL
;
10985 PyObject
* _argo0
= 0;
10987 PyObject
* _obj1
= 0;
10988 char *_kwnames
[] = { "self","rect", NULL
};
10991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxScreenDC_StartDrawingOnTop",_kwnames
,&_argo0
,&_obj1
))
10994 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10995 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
10996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTop. Expected _wxScreenDC_p.");
11003 if (! wxRect_helper(_obj1
, &_arg1
))
11007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11008 _result
= (bool )wxScreenDC_StartDrawingOnTop(_arg0
,_arg1
);
11010 wxPyEndAllowThreads(__tstate
);
11011 if (PyErr_Occurred()) return NULL
;
11012 } _resultobj
= Py_BuildValue("i",_result
);
11016 #define wxScreenDC_EndDrawingOnTop(_swigobj) (_swigobj->EndDrawingOnTop())
11017 static PyObject
*_wrap_wxScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11018 PyObject
* _resultobj
;
11020 wxScreenDC
* _arg0
;
11021 PyObject
* _argo0
= 0;
11022 char *_kwnames
[] = { "self", NULL
};
11025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScreenDC_EndDrawingOnTop",_kwnames
,&_argo0
))
11028 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11029 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
11030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_EndDrawingOnTop. Expected _wxScreenDC_p.");
11035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11036 _result
= (bool )wxScreenDC_EndDrawingOnTop(_arg0
);
11038 wxPyEndAllowThreads(__tstate
);
11039 if (PyErr_Occurred()) return NULL
;
11040 } _resultobj
= Py_BuildValue("i",_result
);
11044 static void *SwigwxClientDCTowxDC(void *ptr
) {
11047 src
= (wxClientDC
*) ptr
;
11048 dest
= (wxDC
*) src
;
11049 return (void *) dest
;
11052 static void *SwigwxClientDCTowxObject(void *ptr
) {
11055 src
= (wxClientDC
*) ptr
;
11056 dest
= (wxObject
*) src
;
11057 return (void *) dest
;
11060 #define new_wxClientDC(_swigarg0) (new wxClientDC(_swigarg0))
11061 static PyObject
*_wrap_new_wxClientDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11062 PyObject
* _resultobj
;
11063 wxClientDC
* _result
;
11065 PyObject
* _argo0
= 0;
11066 char *_kwnames
[] = { "win", NULL
};
11070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxClientDC",_kwnames
,&_argo0
))
11073 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11074 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
11075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxClientDC. Expected _wxWindow_p.");
11080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11081 _result
= (wxClientDC
*)new_wxClientDC(_arg0
);
11083 wxPyEndAllowThreads(__tstate
);
11084 if (PyErr_Occurred()) return NULL
;
11086 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxClientDC_p");
11087 _resultobj
= Py_BuildValue("s",_ptemp
);
11089 Py_INCREF(Py_None
);
11090 _resultobj
= Py_None
;
11095 static void *SwigwxPaintDCTowxDC(void *ptr
) {
11098 src
= (wxPaintDC
*) ptr
;
11099 dest
= (wxDC
*) src
;
11100 return (void *) dest
;
11103 static void *SwigwxPaintDCTowxObject(void *ptr
) {
11106 src
= (wxPaintDC
*) ptr
;
11107 dest
= (wxObject
*) src
;
11108 return (void *) dest
;
11111 #define new_wxPaintDC(_swigarg0) (new wxPaintDC(_swigarg0))
11112 static PyObject
*_wrap_new_wxPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11113 PyObject
* _resultobj
;
11114 wxPaintDC
* _result
;
11116 PyObject
* _argo0
= 0;
11117 char *_kwnames
[] = { "win", NULL
};
11121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPaintDC",_kwnames
,&_argo0
))
11124 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11125 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
11126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPaintDC. Expected _wxWindow_p.");
11131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11132 _result
= (wxPaintDC
*)new_wxPaintDC(_arg0
);
11134 wxPyEndAllowThreads(__tstate
);
11135 if (PyErr_Occurred()) return NULL
;
11137 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPaintDC_p");
11138 _resultobj
= Py_BuildValue("s",_ptemp
);
11140 Py_INCREF(Py_None
);
11141 _resultobj
= Py_None
;
11146 static void *SwigwxWindowDCTowxDC(void *ptr
) {
11149 src
= (wxWindowDC
*) ptr
;
11150 dest
= (wxDC
*) src
;
11151 return (void *) dest
;
11154 static void *SwigwxWindowDCTowxObject(void *ptr
) {
11157 src
= (wxWindowDC
*) ptr
;
11158 dest
= (wxObject
*) src
;
11159 return (void *) dest
;
11162 #define new_wxWindowDC(_swigarg0) (new wxWindowDC(_swigarg0))
11163 static PyObject
*_wrap_new_wxWindowDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11164 PyObject
* _resultobj
;
11165 wxWindowDC
* _result
;
11167 PyObject
* _argo0
= 0;
11168 char *_kwnames
[] = { "win", NULL
};
11172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxWindowDC",_kwnames
,&_argo0
))
11175 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11176 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
11177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDC. Expected _wxWindow_p.");
11182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11183 _result
= (wxWindowDC
*)new_wxWindowDC(_arg0
);
11185 wxPyEndAllowThreads(__tstate
);
11186 if (PyErr_Occurred()) return NULL
;
11188 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDC_p");
11189 _resultobj
= Py_BuildValue("s",_ptemp
);
11191 Py_INCREF(Py_None
);
11192 _resultobj
= Py_None
;
11197 static void *SwigwxMetaFileTowxObject(void *ptr
) {
11200 src
= (wxMetaFile
*) ptr
;
11201 dest
= (wxObject
*) src
;
11202 return (void *) dest
;
11205 #define new_wxMetaFile(_swigarg0) (new wxMetaFile(_swigarg0))
11206 static PyObject
*_wrap_new_wxMetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11207 PyObject
* _resultobj
;
11208 wxMetaFile
* _result
;
11209 wxString
* _arg0
= (wxString
*) &wxPyEmptyString
;
11210 PyObject
* _obj0
= 0;
11211 char *_kwnames
[] = { "filename", NULL
};
11215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxMetaFile",_kwnames
,&_obj0
))
11219 _arg0
= wxString_in_helper(_obj0
);
11224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11225 _result
= (wxMetaFile
*)new_wxMetaFile(*_arg0
);
11227 wxPyEndAllowThreads(__tstate
);
11228 if (PyErr_Occurred()) return NULL
;
11230 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMetaFile_p");
11231 _resultobj
= Py_BuildValue("s",_ptemp
);
11233 Py_INCREF(Py_None
);
11234 _resultobj
= Py_None
;
11243 #define delete_wxMetaFile(_swigobj) (delete _swigobj)
11244 static PyObject
*_wrap_delete_wxMetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11245 PyObject
* _resultobj
;
11246 wxMetaFile
* _arg0
;
11247 PyObject
* _argo0
= 0;
11248 char *_kwnames
[] = { "self", NULL
};
11251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMetaFile",_kwnames
,&_argo0
))
11254 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11255 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMetaFile_p")) {
11256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMetaFile. Expected _wxMetaFile_p.");
11261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11262 delete_wxMetaFile(_arg0
);
11264 wxPyEndAllowThreads(__tstate
);
11265 if (PyErr_Occurred()) return NULL
;
11266 } Py_INCREF(Py_None
);
11267 _resultobj
= Py_None
;
11271 #define wxMetaFile_Ok(_swigobj) (_swigobj->Ok())
11272 static PyObject
*_wrap_wxMetaFile_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11273 PyObject
* _resultobj
;
11275 wxMetaFile
* _arg0
;
11276 PyObject
* _argo0
= 0;
11277 char *_kwnames
[] = { "self", NULL
};
11280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMetaFile_Ok",_kwnames
,&_argo0
))
11283 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11284 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMetaFile_p")) {
11285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMetaFile_Ok. Expected _wxMetaFile_p.");
11290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11291 _result
= (bool )wxMetaFile_Ok(_arg0
);
11293 wxPyEndAllowThreads(__tstate
);
11294 if (PyErr_Occurred()) return NULL
;
11295 } _resultobj
= Py_BuildValue("i",_result
);
11299 #define wxMetaFile_SetClipboard(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClipboard(_swigarg0,_swigarg1))
11300 static PyObject
*_wrap_wxMetaFile_SetClipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11301 PyObject
* _resultobj
;
11303 wxMetaFile
* _arg0
;
11304 int _arg1
= (int ) 0;
11305 int _arg2
= (int ) 0;
11306 PyObject
* _argo0
= 0;
11307 char *_kwnames
[] = { "self","width","height", NULL
};
11310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxMetaFile_SetClipboard",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMetaFile_p")) {
11315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMetaFile_SetClipboard. Expected _wxMetaFile_p.");
11320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11321 _result
= (bool )wxMetaFile_SetClipboard(_arg0
,_arg1
,_arg2
);
11323 wxPyEndAllowThreads(__tstate
);
11324 if (PyErr_Occurred()) return NULL
;
11325 } _resultobj
= Py_BuildValue("i",_result
);
11329 #define wxMetaFile_GetSize(_swigobj) (_swigobj->GetSize())
11330 static PyObject
*_wrap_wxMetaFile_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11331 PyObject
* _resultobj
;
11333 wxMetaFile
* _arg0
;
11334 PyObject
* _argo0
= 0;
11335 char *_kwnames
[] = { "self", NULL
};
11339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMetaFile_GetSize",_kwnames
,&_argo0
))
11342 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11343 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMetaFile_p")) {
11344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMetaFile_GetSize. Expected _wxMetaFile_p.");
11349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11350 _result
= new wxSize (wxMetaFile_GetSize(_arg0
));
11352 wxPyEndAllowThreads(__tstate
);
11353 if (PyErr_Occurred()) return NULL
;
11354 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
11355 _resultobj
= Py_BuildValue("s",_ptemp
);
11359 #define wxMetaFile_GetWidth(_swigobj) (_swigobj->GetWidth())
11360 static PyObject
*_wrap_wxMetaFile_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11361 PyObject
* _resultobj
;
11363 wxMetaFile
* _arg0
;
11364 PyObject
* _argo0
= 0;
11365 char *_kwnames
[] = { "self", NULL
};
11368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMetaFile_GetWidth",_kwnames
,&_argo0
))
11371 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11372 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMetaFile_p")) {
11373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMetaFile_GetWidth. Expected _wxMetaFile_p.");
11378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11379 _result
= (int )wxMetaFile_GetWidth(_arg0
);
11381 wxPyEndAllowThreads(__tstate
);
11382 if (PyErr_Occurred()) return NULL
;
11383 } _resultobj
= Py_BuildValue("i",_result
);
11387 #define wxMetaFile_GetHeight(_swigobj) (_swigobj->GetHeight())
11388 static PyObject
*_wrap_wxMetaFile_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11389 PyObject
* _resultobj
;
11391 wxMetaFile
* _arg0
;
11392 PyObject
* _argo0
= 0;
11393 char *_kwnames
[] = { "self", NULL
};
11396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMetaFile_GetHeight",_kwnames
,&_argo0
))
11399 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11400 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMetaFile_p")) {
11401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMetaFile_GetHeight. Expected _wxMetaFile_p.");
11406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11407 _result
= (int )wxMetaFile_GetHeight(_arg0
);
11409 wxPyEndAllowThreads(__tstate
);
11410 if (PyErr_Occurred()) return NULL
;
11411 } _resultobj
= Py_BuildValue("i",_result
);
11415 #define wxMetaFile_GetFileName(_swigobj) (_swigobj->GetFileName())
11416 static PyObject
*_wrap_wxMetaFile_GetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11417 PyObject
* _resultobj
;
11418 wxString
* _result
;
11419 wxMetaFile
* _arg0
;
11420 PyObject
* _argo0
= 0;
11421 char *_kwnames
[] = { "self", NULL
};
11424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMetaFile_GetFileName",_kwnames
,&_argo0
))
11427 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11428 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMetaFile_p")) {
11429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMetaFile_GetFileName. Expected _wxMetaFile_p.");
11434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11435 const wxString
& _result_ref
= wxMetaFile_GetFileName(_arg0
);
11436 _result
= (wxString
*) &_result_ref
;
11438 wxPyEndAllowThreads(__tstate
);
11439 if (PyErr_Occurred()) return NULL
;
11442 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
11444 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
11450 static void *SwigwxMetaFileDCTowxDC(void *ptr
) {
11453 src
= (wxMetaFileDC
*) ptr
;
11454 dest
= (wxDC
*) src
;
11455 return (void *) dest
;
11458 static void *SwigwxMetaFileDCTowxObject(void *ptr
) {
11461 src
= (wxMetaFileDC
*) ptr
;
11462 dest
= (wxObject
*) src
;
11463 return (void *) dest
;
11466 #define new_wxMetaFileDC(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxMetaFileDC(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11467 static PyObject
*_wrap_new_wxMetaFileDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11468 PyObject
* _resultobj
;
11469 wxMetaFileDC
* _result
;
11470 wxString
* _arg0
= (wxString
*) &wxPyEmptyString
;
11471 int _arg1
= (int ) 0;
11472 int _arg2
= (int ) 0;
11473 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
11474 PyObject
* _obj0
= 0;
11475 PyObject
* _obj3
= 0;
11476 char *_kwnames
[] = { "filename","width","height","description", NULL
};
11480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OiiO:new_wxMetaFileDC",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_obj3
))
11484 _arg0
= wxString_in_helper(_obj0
);
11490 _arg3
= wxString_in_helper(_obj3
);
11495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11496 _result
= (wxMetaFileDC
*)new_wxMetaFileDC(*_arg0
,_arg1
,_arg2
,*_arg3
);
11498 wxPyEndAllowThreads(__tstate
);
11499 if (PyErr_Occurred()) return NULL
;
11501 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMetaFileDC_p");
11502 _resultobj
= Py_BuildValue("s",_ptemp
);
11504 Py_INCREF(Py_None
);
11505 _resultobj
= Py_None
;
11518 #define wxMetaFileDC_Close(_swigobj) (_swigobj->Close())
11519 static PyObject
*_wrap_wxMetaFileDC_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11520 PyObject
* _resultobj
;
11521 wxMetaFile
* _result
;
11522 wxMetaFileDC
* _arg0
;
11523 PyObject
* _argo0
= 0;
11524 char *_kwnames
[] = { "self", NULL
};
11528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMetaFileDC_Close",_kwnames
,&_argo0
))
11531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMetaFileDC_p")) {
11533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMetaFileDC_Close. Expected _wxMetaFileDC_p.");
11538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11539 _result
= (wxMetaFile
*)wxMetaFileDC_Close(_arg0
);
11541 wxPyEndAllowThreads(__tstate
);
11542 if (PyErr_Occurred()) return NULL
;
11544 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMetaFile_p");
11545 _resultobj
= Py_BuildValue("s",_ptemp
);
11547 Py_INCREF(Py_None
);
11548 _resultobj
= Py_None
;
11553 static void *SwigwxPaletteTowxGDIObject(void *ptr
) {
11556 src
= (wxPalette
*) ptr
;
11557 dest
= (wxGDIObject
*) src
;
11558 return (void *) dest
;
11561 static void *SwigwxPaletteTowxObject(void *ptr
) {
11564 src
= (wxPalette
*) ptr
;
11565 dest
= (wxObject
*) src
;
11566 return (void *) dest
;
11569 #define new_wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11570 static PyObject
*_wrap_new_wxPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11571 PyObject
* _resultobj
;
11572 wxPalette
* _result
;
11577 PyObject
* _obj1
= 0;
11578 PyObject
* _obj2
= 0;
11579 PyObject
* _obj3
= 0;
11580 char *_kwnames
[] = { "choices","choices","choices", NULL
};
11584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:new_wxPalette",_kwnames
,&_obj1
,&_obj2
,&_obj3
))
11587 _arg1
= byte_LIST_helper(_obj1
);
11588 if (_arg1
== NULL
) {
11593 _arg2
= byte_LIST_helper(_obj2
);
11594 if (_arg2
== NULL
) {
11600 _arg3
= byte_LIST_helper(_obj3
);
11601 if (_arg3
== NULL
) {
11607 _arg0
= PyList_Size(_obj1
);
11614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11615 _result
= (wxPalette
*)new_wxPalette(_arg0
,_arg1
,_arg2
,_arg3
);
11617 wxPyEndAllowThreads(__tstate
);
11618 if (PyErr_Occurred()) return NULL
;
11620 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPalette_p");
11621 _resultobj
= Py_BuildValue("s",_ptemp
);
11623 Py_INCREF(Py_None
);
11624 _resultobj
= Py_None
;
11638 #define delete_wxPalette(_swigobj) (delete _swigobj)
11639 static PyObject
*_wrap_delete_wxPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11640 PyObject
* _resultobj
;
11642 PyObject
* _argo0
= 0;
11643 char *_kwnames
[] = { "self", NULL
};
11646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPalette",_kwnames
,&_argo0
))
11649 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11650 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
11651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPalette. Expected _wxPalette_p.");
11656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11657 delete_wxPalette(_arg0
);
11659 wxPyEndAllowThreads(__tstate
);
11660 if (PyErr_Occurred()) return NULL
;
11661 } Py_INCREF(Py_None
);
11662 _resultobj
= Py_None
;
11666 #define wxPalette_GetPixel(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetPixel(_swigarg0,_swigarg1,_swigarg2))
11667 static PyObject
*_wrap_wxPalette_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11668 PyObject
* _resultobj
;
11674 PyObject
* _argo0
= 0;
11675 char *_kwnames
[] = { "self","red","green","blue", NULL
};
11678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Obbb:wxPalette_GetPixel",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
11681 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11682 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
11683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetPixel. Expected _wxPalette_p.");
11688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11689 _result
= (int )wxPalette_GetPixel(_arg0
,_arg1
,_arg2
,_arg3
);
11691 wxPyEndAllowThreads(__tstate
);
11692 if (PyErr_Occurred()) return NULL
;
11693 } _resultobj
= Py_BuildValue("i",_result
);
11697 #define wxPalette_GetRGB(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetRGB(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11698 static PyObject
*_wrap_wxPalette_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11699 PyObject
* _resultobj
;
11709 PyObject
* _argo0
= 0;
11710 char *_kwnames
[] = { "self","pixel", NULL
};
11714 _arg2
= (byte
*)&temp
;
11717 _arg3
= (byte
*)&temp0
;
11720 _arg4
= (byte
*)&temp1
;
11722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPalette_GetRGB",_kwnames
,&_argo0
,&_arg1
))
11725 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11726 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
11727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetRGB. Expected _wxPalette_p.");
11732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11733 _result
= (bool )wxPalette_GetRGB(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
11735 wxPyEndAllowThreads(__tstate
);
11736 if (PyErr_Occurred()) return NULL
;
11737 } _resultobj
= Py_BuildValue("i",_result
);
11740 o
= PyInt_FromLong((long) (*_arg2
));
11741 _resultobj
= t_output_helper(_resultobj
, o
);
11745 o
= PyInt_FromLong((long) (*_arg3
));
11746 _resultobj
= t_output_helper(_resultobj
, o
);
11750 o
= PyInt_FromLong((long) (*_arg4
));
11751 _resultobj
= t_output_helper(_resultobj
, o
);
11756 #define wxPalette_Ok(_swigobj) (_swigobj->Ok())
11757 static PyObject
*_wrap_wxPalette_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11758 PyObject
* _resultobj
;
11761 PyObject
* _argo0
= 0;
11762 char *_kwnames
[] = { "self", NULL
};
11765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPalette_Ok",_kwnames
,&_argo0
))
11768 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11769 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
11770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_Ok. Expected _wxPalette_p.");
11775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11776 _result
= (bool )wxPalette_Ok(_arg0
);
11778 wxPyEndAllowThreads(__tstate
);
11779 if (PyErr_Occurred()) return NULL
;
11780 } _resultobj
= Py_BuildValue("i",_result
);
11784 static void *SwigwxImageListTowxObject(void *ptr
) {
11787 src
= (wxImageList
*) ptr
;
11788 dest
= (wxObject
*) src
;
11789 return (void *) dest
;
11792 #define new_wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11793 static PyObject
*_wrap_new_wxImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11794 PyObject
* _resultobj
;
11795 wxImageList
* _result
;
11798 int _arg2
= (int ) TRUE
;
11799 int _arg3
= (int ) 1;
11800 char *_kwnames
[] = { "width","height","mask","initialCount", NULL
};
11804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ii|ii:new_wxImageList",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
11807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11808 _result
= (wxImageList
*)new_wxImageList(_arg0
,_arg1
,_arg2
,_arg3
);
11810 wxPyEndAllowThreads(__tstate
);
11811 if (PyErr_Occurred()) return NULL
;
11813 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
11814 _resultobj
= Py_BuildValue("s",_ptemp
);
11816 Py_INCREF(Py_None
);
11817 _resultobj
= Py_None
;
11822 #define delete_wxImageList(_swigobj) (delete _swigobj)
11823 static PyObject
*_wrap_delete_wxImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11824 PyObject
* _resultobj
;
11825 wxImageList
* _arg0
;
11826 PyObject
* _argo0
= 0;
11827 char *_kwnames
[] = { "self", NULL
};
11830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxImageList",_kwnames
,&_argo0
))
11833 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11834 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
11835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxImageList. Expected _wxImageList_p.");
11840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11841 delete_wxImageList(_arg0
);
11843 wxPyEndAllowThreads(__tstate
);
11844 if (PyErr_Occurred()) return NULL
;
11845 } Py_INCREF(Py_None
);
11846 _resultobj
= Py_None
;
11850 #define wxImageList_Add(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
11851 static PyObject
*_wrap_wxImageList_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11852 PyObject
* _resultobj
;
11854 wxImageList
* _arg0
;
11856 wxBitmap
* _arg2
= (wxBitmap
*) &wxNullBitmap
;
11857 PyObject
* _argo0
= 0;
11858 PyObject
* _argo1
= 0;
11859 PyObject
* _argo2
= 0;
11860 char *_kwnames
[] = { "self","bitmap","mask", NULL
};
11863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxImageList_Add",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
11866 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11867 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
11868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Add. Expected _wxImageList_p.");
11873 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11874 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
11875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_Add. Expected _wxBitmap_p.");
11880 if (_argo2
== Py_None
) { _arg2
= NULL
; }
11881 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
11882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Add. Expected _wxBitmap_p.");
11887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11888 _result
= (int )wxImageList_Add(_arg0
,*_arg1
,*_arg2
);
11890 wxPyEndAllowThreads(__tstate
);
11891 if (PyErr_Occurred()) return NULL
;
11892 } _resultobj
= Py_BuildValue("i",_result
);
11896 #define wxImageList_AddWithColourMask(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
11897 static PyObject
*_wrap_wxImageList_AddWithColourMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11898 PyObject
* _resultobj
;
11900 wxImageList
* _arg0
;
11903 PyObject
* _argo0
= 0;
11904 PyObject
* _argo1
= 0;
11906 PyObject
* _obj2
= 0;
11907 char *_kwnames
[] = { "self","bitmap","maskColour", NULL
};
11910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxImageList_AddWithColourMask",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
11913 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11914 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
11915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_AddWithColourMask. Expected _wxImageList_p.");
11920 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11921 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
11922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_AddWithColourMask. Expected _wxBitmap_p.");
11928 if (! wxColour_helper(_obj2
, &_arg2
))
11932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11933 _result
= (int )wxImageList_AddWithColourMask(_arg0
,*_arg1
,*_arg2
);
11935 wxPyEndAllowThreads(__tstate
);
11936 if (PyErr_Occurred()) return NULL
;
11937 } _resultobj
= Py_BuildValue("i",_result
);
11941 #define wxImageList_AddIcon(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
11942 static PyObject
*_wrap_wxImageList_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11943 PyObject
* _resultobj
;
11945 wxImageList
* _arg0
;
11947 PyObject
* _argo0
= 0;
11948 PyObject
* _argo1
= 0;
11949 char *_kwnames
[] = { "self","icon", NULL
};
11952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxImageList_AddIcon",_kwnames
,&_argo0
,&_argo1
))
11955 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11956 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
11957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_AddIcon. Expected _wxImageList_p.");
11962 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11963 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
11964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_AddIcon. Expected _wxIcon_p.");
11969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11970 _result
= (int )wxImageList_AddIcon(_arg0
,*_arg1
);
11972 wxPyEndAllowThreads(__tstate
);
11973 if (PyErr_Occurred()) return NULL
;
11974 } _resultobj
= Py_BuildValue("i",_result
);
11978 #define wxImageList_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
11979 static PyObject
*_wrap_wxImageList_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11980 PyObject
* _resultobj
;
11982 wxImageList
* _arg0
;
11985 wxBitmap
* _arg3
= (wxBitmap
*) &wxNullBitmap
;
11986 PyObject
* _argo0
= 0;
11987 PyObject
* _argo2
= 0;
11988 PyObject
* _argo3
= 0;
11989 char *_kwnames
[] = { "self","index","bitmap","mask", NULL
};
11992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|O:wxImageList_Replace",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_argo3
))
11995 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11996 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
11997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Replace. Expected _wxImageList_p.");
12002 if (_argo2
== Py_None
) { _arg2
= NULL
; }
12003 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
12004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Replace. Expected _wxBitmap_p.");
12009 if (_argo3
== Py_None
) { _arg3
= NULL
; }
12010 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
12011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxImageList_Replace. Expected _wxBitmap_p.");
12016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12017 _result
= (bool )wxImageList_Replace(_arg0
,_arg1
,*_arg2
,*_arg3
);
12019 wxPyEndAllowThreads(__tstate
);
12020 if (PyErr_Occurred()) return NULL
;
12021 } _resultobj
= Py_BuildValue("i",_result
);
12025 #define wxImageList_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
12026 static PyObject
*_wrap_wxImageList_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12027 PyObject
* _resultobj
;
12029 wxImageList
* _arg0
;
12034 int _arg5
= (int ) (wxIMAGELIST_DRAW_NORMAL
);
12035 bool _arg6
= (bool ) FALSE
;
12036 PyObject
* _argo0
= 0;
12037 PyObject
* _argo2
= 0;
12038 int tempbool6
= (int) FALSE
;
12039 char *_kwnames
[] = { "self","index","dc","x","x","flags","solidBackground", NULL
};
12042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOii|ii:wxImageList_Draw",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
12045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
12047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Draw. Expected _wxImageList_p.");
12052 if (_argo2
== Py_None
) { _arg2
= NULL
; }
12053 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDC_p")) {
12054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Draw. Expected _wxDC_p.");
12058 _arg6
= (bool ) tempbool6
;
12060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12061 _result
= (bool )wxImageList_Draw(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
12063 wxPyEndAllowThreads(__tstate
);
12064 if (PyErr_Occurred()) return NULL
;
12065 } _resultobj
= Py_BuildValue("i",_result
);
12069 #define wxImageList_GetImageCount(_swigobj) (_swigobj->GetImageCount())
12070 static PyObject
*_wrap_wxImageList_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12071 PyObject
* _resultobj
;
12073 wxImageList
* _arg0
;
12074 PyObject
* _argo0
= 0;
12075 char *_kwnames
[] = { "self", NULL
};
12078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxImageList_GetImageCount",_kwnames
,&_argo0
))
12081 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12082 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
12083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_GetImageCount. Expected _wxImageList_p.");
12088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12089 _result
= (int )wxImageList_GetImageCount(_arg0
);
12091 wxPyEndAllowThreads(__tstate
);
12092 if (PyErr_Occurred()) return NULL
;
12093 } _resultobj
= Py_BuildValue("i",_result
);
12097 #define wxImageList_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
12098 static PyObject
*_wrap_wxImageList_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12099 PyObject
* _resultobj
;
12101 wxImageList
* _arg0
;
12103 PyObject
* _argo0
= 0;
12104 char *_kwnames
[] = { "self","index", NULL
};
12107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxImageList_Remove",_kwnames
,&_argo0
,&_arg1
))
12110 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12111 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
12112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Remove. Expected _wxImageList_p.");
12117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12118 _result
= (bool )wxImageList_Remove(_arg0
,_arg1
);
12120 wxPyEndAllowThreads(__tstate
);
12121 if (PyErr_Occurred()) return NULL
;
12122 } _resultobj
= Py_BuildValue("i",_result
);
12126 #define wxImageList_RemoveAll(_swigobj) (_swigobj->RemoveAll())
12127 static PyObject
*_wrap_wxImageList_RemoveAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12128 PyObject
* _resultobj
;
12130 wxImageList
* _arg0
;
12131 PyObject
* _argo0
= 0;
12132 char *_kwnames
[] = { "self", NULL
};
12135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxImageList_RemoveAll",_kwnames
,&_argo0
))
12138 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12139 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
12140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_RemoveAll. Expected _wxImageList_p.");
12145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12146 _result
= (bool )wxImageList_RemoveAll(_arg0
);
12148 wxPyEndAllowThreads(__tstate
);
12149 if (PyErr_Occurred()) return NULL
;
12150 } _resultobj
= Py_BuildValue("i",_result
);
12154 #define wxImageList_GetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetSize(_swigarg0,_swigarg1,_swigarg2))
12155 static PyObject
*_wrap_wxImageList_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12156 PyObject
* _resultobj
;
12157 wxImageList
* _arg0
;
12163 PyObject
* _argo0
= 0;
12164 char *_kwnames
[] = { "self","index", NULL
};
12173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxImageList_GetSize",_kwnames
,&_argo0
,&_arg1
))
12176 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12177 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
12178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_GetSize. Expected _wxImageList_p.");
12183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12184 wxImageList_GetSize(_arg0
,_arg1
,*_arg2
,*_arg3
);
12186 wxPyEndAllowThreads(__tstate
);
12187 if (PyErr_Occurred()) return NULL
;
12188 } Py_INCREF(Py_None
);
12189 _resultobj
= Py_None
;
12192 o
= PyInt_FromLong((long) (*_arg2
));
12193 _resultobj
= t_output_helper(_resultobj
, o
);
12197 o
= PyInt_FromLong((long) (*_arg3
));
12198 _resultobj
= t_output_helper(_resultobj
, o
);
12203 static void *SwigwxRegionTowxGDIObject(void *ptr
) {
12206 src
= (wxRegion
*) ptr
;
12207 dest
= (wxGDIObject
*) src
;
12208 return (void *) dest
;
12211 static void *SwigwxRegionTowxObject(void *ptr
) {
12214 src
= (wxRegion
*) ptr
;
12215 dest
= (wxObject
*) src
;
12216 return (void *) dest
;
12219 #define new_wxRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
12220 static PyObject
*_wrap_new_wxRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12221 PyObject
* _resultobj
;
12222 wxRegion
* _result
;
12223 long _arg0
= (long ) 0;
12224 long _arg1
= (long ) 0;
12225 long _arg2
= (long ) 0;
12226 long _arg3
= (long ) 0;
12227 char *_kwnames
[] = { "x","y","width","height", NULL
};
12231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|llll:new_wxRegion",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
12234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12235 _result
= (wxRegion
*)new_wxRegion(_arg0
,_arg1
,_arg2
,_arg3
);
12237 wxPyEndAllowThreads(__tstate
);
12238 if (PyErr_Occurred()) return NULL
;
12240 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegion_p");
12241 _resultobj
= Py_BuildValue("s",_ptemp
);
12243 Py_INCREF(Py_None
);
12244 _resultobj
= Py_None
;
12249 #define delete_wxRegion(_swigobj) (delete _swigobj)
12250 static PyObject
*_wrap_delete_wxRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12251 PyObject
* _resultobj
;
12253 PyObject
* _argo0
= 0;
12254 char *_kwnames
[] = { "self", NULL
};
12257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRegion",_kwnames
,&_argo0
))
12260 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12261 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
12262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegion. Expected _wxRegion_p.");
12267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12268 delete_wxRegion(_arg0
);
12270 wxPyEndAllowThreads(__tstate
);
12271 if (PyErr_Occurred()) return NULL
;
12272 } Py_INCREF(Py_None
);
12273 _resultobj
= Py_None
;
12277 #define wxRegion_Clear(_swigobj) (_swigobj->Clear())
12278 static PyObject
*_wrap_wxRegion_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12279 PyObject
* _resultobj
;
12281 PyObject
* _argo0
= 0;
12282 char *_kwnames
[] = { "self", NULL
};
12285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_Clear",_kwnames
,&_argo0
))
12288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
12290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Clear. Expected _wxRegion_p.");
12295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12296 wxRegion_Clear(_arg0
);
12298 wxPyEndAllowThreads(__tstate
);
12299 if (PyErr_Occurred()) return NULL
;
12300 } Py_INCREF(Py_None
);
12301 _resultobj
= Py_None
;
12305 #define wxRegion_Offset(_swigobj,_swigarg0,_swigarg1) (_swigobj->Offset(_swigarg0,_swigarg1))
12306 static PyObject
*_wrap_wxRegion_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12307 PyObject
* _resultobj
;
12312 PyObject
* _argo0
= 0;
12313 char *_kwnames
[] = { "self","x","y", NULL
};
12316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRegion_Offset",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
12319 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12320 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
12321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Offset. Expected _wxRegion_p.");
12326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12327 _result
= (bool )wxRegion_Offset(_arg0
,_arg1
,_arg2
);
12329 wxPyEndAllowThreads(__tstate
);
12330 if (PyErr_Occurred()) return NULL
;
12331 } _resultobj
= Py_BuildValue("i",_result
);
12335 #define wxRegion_Contains(_swigobj,_swigarg0,_swigarg1) (_swigobj->Contains(_swigarg0,_swigarg1))
12336 static PyObject
*_wrap_wxRegion_Contains(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12337 PyObject
* _resultobj
;
12338 wxRegionContain _result
;
12342 PyObject
* _argo0
= 0;
12343 char *_kwnames
[] = { "self","x","y", NULL
};
12346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxRegion_Contains",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
12349 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12350 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
12351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Contains. Expected _wxRegion_p.");
12356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12357 _result
= (wxRegionContain
)wxRegion_Contains(_arg0
,_arg1
,_arg2
);
12359 wxPyEndAllowThreads(__tstate
);
12360 if (PyErr_Occurred()) return NULL
;
12361 } _resultobj
= Py_BuildValue("i",_result
);
12365 #define wxRegion_ContainsPoint(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
12366 static PyObject
*_wrap_wxRegion_ContainsPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12367 PyObject
* _resultobj
;
12368 wxRegionContain _result
;
12371 PyObject
* _argo0
= 0;
12373 PyObject
* _obj1
= 0;
12374 char *_kwnames
[] = { "self","pt", NULL
};
12377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_ContainsPoint",_kwnames
,&_argo0
,&_obj1
))
12380 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12381 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
12382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsPoint. Expected _wxRegion_p.");
12388 if (! wxPoint_helper(_obj1
, &_arg1
))
12392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12393 _result
= (wxRegionContain
)wxRegion_ContainsPoint(_arg0
,*_arg1
);
12395 wxPyEndAllowThreads(__tstate
);
12396 if (PyErr_Occurred()) return NULL
;
12397 } _resultobj
= Py_BuildValue("i",_result
);
12401 #define wxRegion_ContainsRect(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
12402 static PyObject
*_wrap_wxRegion_ContainsRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12403 PyObject
* _resultobj
;
12404 wxRegionContain _result
;
12407 PyObject
* _argo0
= 0;
12409 PyObject
* _obj1
= 0;
12410 char *_kwnames
[] = { "self","rect", NULL
};
12413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_ContainsRect",_kwnames
,&_argo0
,&_obj1
))
12416 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12417 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
12418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsRect. Expected _wxRegion_p.");
12424 if (! wxRect_helper(_obj1
, &_arg1
))
12428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12429 _result
= (wxRegionContain
)wxRegion_ContainsRect(_arg0
,*_arg1
);
12431 wxPyEndAllowThreads(__tstate
);
12432 if (PyErr_Occurred()) return NULL
;
12433 } _resultobj
= Py_BuildValue("i",_result
);
12437 #define wxRegion_ContainsRectDim(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Contains(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
12438 static PyObject
*_wrap_wxRegion_ContainsRectDim(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12439 PyObject
* _resultobj
;
12440 wxRegionContain _result
;
12446 PyObject
* _argo0
= 0;
12447 char *_kwnames
[] = { "self","x","y","w","h", NULL
};
12450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_ContainsRectDim",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
12453 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12454 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
12455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsRectDim. Expected _wxRegion_p.");
12460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12461 _result
= (wxRegionContain
)wxRegion_ContainsRectDim(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
12463 wxPyEndAllowThreads(__tstate
);
12464 if (PyErr_Occurred()) return NULL
;
12465 } _resultobj
= Py_BuildValue("i",_result
);
12469 #define wxRegion_GetBox(_swigobj) (_swigobj->GetBox())
12470 static PyObject
*_wrap_wxRegion_GetBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12471 PyObject
* _resultobj
;
12474 PyObject
* _argo0
= 0;
12475 char *_kwnames
[] = { "self", NULL
};
12479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_GetBox",_kwnames
,&_argo0
))
12482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
12484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_GetBox. Expected _wxRegion_p.");
12489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12490 _result
= new wxRect (wxRegion_GetBox(_arg0
));
12492 wxPyEndAllowThreads(__tstate
);
12493 if (PyErr_Occurred()) return NULL
;
12494 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
12495 _resultobj
= Py_BuildValue("s",_ptemp
);
12499 #define wxRegion_Intersect(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Intersect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
12500 static PyObject
*_wrap_wxRegion_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12501 PyObject
* _resultobj
;
12508 PyObject
* _argo0
= 0;
12509 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
12512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Intersect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
12515 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12516 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
12517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Intersect. Expected _wxRegion_p.");
12522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12523 _result
= (bool )wxRegion_Intersect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
12525 wxPyEndAllowThreads(__tstate
);
12526 if (PyErr_Occurred()) return NULL
;
12527 } _resultobj
= Py_BuildValue("i",_result
);
12531 #define wxRegion_IntersectRect(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
12532 static PyObject
*_wrap_wxRegion_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12533 PyObject
* _resultobj
;
12537 PyObject
* _argo0
= 0;
12539 PyObject
* _obj1
= 0;
12540 char *_kwnames
[] = { "self","rect", NULL
};
12543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_IntersectRect",_kwnames
,&_argo0
,&_obj1
))
12546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
12548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IntersectRect. Expected _wxRegion_p.");
12554 if (! wxRect_helper(_obj1
, &_arg1
))
12558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12559 _result
= (bool )wxRegion_IntersectRect(_arg0
,*_arg1
);
12561 wxPyEndAllowThreads(__tstate
);
12562 if (PyErr_Occurred()) return NULL
;
12563 } _resultobj
= Py_BuildValue("i",_result
);
12567 #define wxRegion_IntersectRegion(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
12568 static PyObject
*_wrap_wxRegion_IntersectRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12569 PyObject
* _resultobj
;
12573 PyObject
* _argo0
= 0;
12574 PyObject
* _argo1
= 0;
12575 char *_kwnames
[] = { "self","region", NULL
};
12578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_IntersectRegion",_kwnames
,&_argo0
,&_argo1
))
12581 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12582 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
12583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IntersectRegion. Expected _wxRegion_p.");
12588 if (_argo1
== Py_None
) { _arg1
= NULL
; }
12589 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
12590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_IntersectRegion. Expected _wxRegion_p.");
12595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12596 _result
= (bool )wxRegion_IntersectRegion(_arg0
,*_arg1
);
12598 wxPyEndAllowThreads(__tstate
);
12599 if (PyErr_Occurred()) return NULL
;
12600 } _resultobj
= Py_BuildValue("i",_result
);
12604 #define wxRegion_IsEmpty(_swigobj) (_swigobj->IsEmpty())
12605 static PyObject
*_wrap_wxRegion_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12606 PyObject
* _resultobj
;
12609 PyObject
* _argo0
= 0;
12610 char *_kwnames
[] = { "self", NULL
};
12613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_IsEmpty",_kwnames
,&_argo0
))
12616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
12618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IsEmpty. Expected _wxRegion_p.");
12623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12624 _result
= (bool )wxRegion_IsEmpty(_arg0
);
12626 wxPyEndAllowThreads(__tstate
);
12627 if (PyErr_Occurred()) return NULL
;
12628 } _resultobj
= Py_BuildValue("i",_result
);
12632 #define wxRegion_Union(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Union(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
12633 static PyObject
*_wrap_wxRegion_Union(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12634 PyObject
* _resultobj
;
12641 PyObject
* _argo0
= 0;
12642 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
12645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Union",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
12648 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12649 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
12650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Union. Expected _wxRegion_p.");
12655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12656 _result
= (bool )wxRegion_Union(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
12658 wxPyEndAllowThreads(__tstate
);
12659 if (PyErr_Occurred()) return NULL
;
12660 } _resultobj
= Py_BuildValue("i",_result
);
12664 #define wxRegion_UnionRect(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
12665 static PyObject
*_wrap_wxRegion_UnionRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12666 PyObject
* _resultobj
;
12670 PyObject
* _argo0
= 0;
12672 PyObject
* _obj1
= 0;
12673 char *_kwnames
[] = { "self","rect", NULL
};
12676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_UnionRect",_kwnames
,&_argo0
,&_obj1
))
12679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
12681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_UnionRect. Expected _wxRegion_p.");
12687 if (! wxRect_helper(_obj1
, &_arg1
))
12691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12692 _result
= (bool )wxRegion_UnionRect(_arg0
,*_arg1
);
12694 wxPyEndAllowThreads(__tstate
);
12695 if (PyErr_Occurred()) return NULL
;
12696 } _resultobj
= Py_BuildValue("i",_result
);
12700 #define wxRegion_UnionRegion(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
12701 static PyObject
*_wrap_wxRegion_UnionRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12702 PyObject
* _resultobj
;
12706 PyObject
* _argo0
= 0;
12707 PyObject
* _argo1
= 0;
12708 char *_kwnames
[] = { "self","region", NULL
};
12711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_UnionRegion",_kwnames
,&_argo0
,&_argo1
))
12714 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12715 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
12716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_UnionRegion. Expected _wxRegion_p.");
12721 if (_argo1
== Py_None
) { _arg1
= NULL
; }
12722 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
12723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_UnionRegion. Expected _wxRegion_p.");
12728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12729 _result
= (bool )wxRegion_UnionRegion(_arg0
,*_arg1
);
12731 wxPyEndAllowThreads(__tstate
);
12732 if (PyErr_Occurred()) return NULL
;
12733 } _resultobj
= Py_BuildValue("i",_result
);
12737 #define wxRegion_Subtract(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Subtract(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
12738 static PyObject
*_wrap_wxRegion_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12739 PyObject
* _resultobj
;
12746 PyObject
* _argo0
= 0;
12747 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
12750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Subtract",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
12753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
12755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Subtract. Expected _wxRegion_p.");
12760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12761 _result
= (bool )wxRegion_Subtract(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
12763 wxPyEndAllowThreads(__tstate
);
12764 if (PyErr_Occurred()) return NULL
;
12765 } _resultobj
= Py_BuildValue("i",_result
);
12769 #define wxRegion_SubtractRect(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
12770 static PyObject
*_wrap_wxRegion_SubtractRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12771 PyObject
* _resultobj
;
12775 PyObject
* _argo0
= 0;
12777 PyObject
* _obj1
= 0;
12778 char *_kwnames
[] = { "self","rect", NULL
};
12781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_SubtractRect",_kwnames
,&_argo0
,&_obj1
))
12784 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12785 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
12786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_SubtractRect. Expected _wxRegion_p.");
12792 if (! wxRect_helper(_obj1
, &_arg1
))
12796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12797 _result
= (bool )wxRegion_SubtractRect(_arg0
,*_arg1
);
12799 wxPyEndAllowThreads(__tstate
);
12800 if (PyErr_Occurred()) return NULL
;
12801 } _resultobj
= Py_BuildValue("i",_result
);
12805 #define wxRegion_SubtractRegion(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
12806 static PyObject
*_wrap_wxRegion_SubtractRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12807 PyObject
* _resultobj
;
12811 PyObject
* _argo0
= 0;
12812 PyObject
* _argo1
= 0;
12813 char *_kwnames
[] = { "self","region", NULL
};
12816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_SubtractRegion",_kwnames
,&_argo0
,&_argo1
))
12819 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12820 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
12821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_SubtractRegion. Expected _wxRegion_p.");
12826 if (_argo1
== Py_None
) { _arg1
= NULL
; }
12827 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
12828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_SubtractRegion. Expected _wxRegion_p.");
12833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12834 _result
= (bool )wxRegion_SubtractRegion(_arg0
,*_arg1
);
12836 wxPyEndAllowThreads(__tstate
);
12837 if (PyErr_Occurred()) return NULL
;
12838 } _resultobj
= Py_BuildValue("i",_result
);
12842 #define wxRegion_Xor(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Xor(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
12843 static PyObject
*_wrap_wxRegion_Xor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12844 PyObject
* _resultobj
;
12851 PyObject
* _argo0
= 0;
12852 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
12855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Xor",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
12858 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12859 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
12860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Xor. Expected _wxRegion_p.");
12865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12866 _result
= (bool )wxRegion_Xor(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
12868 wxPyEndAllowThreads(__tstate
);
12869 if (PyErr_Occurred()) return NULL
;
12870 } _resultobj
= Py_BuildValue("i",_result
);
12874 #define wxRegion_XorRect(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
12875 static PyObject
*_wrap_wxRegion_XorRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12876 PyObject
* _resultobj
;
12880 PyObject
* _argo0
= 0;
12882 PyObject
* _obj1
= 0;
12883 char *_kwnames
[] = { "self","rect", NULL
};
12886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_XorRect",_kwnames
,&_argo0
,&_obj1
))
12889 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12890 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
12891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_XorRect. Expected _wxRegion_p.");
12897 if (! wxRect_helper(_obj1
, &_arg1
))
12901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12902 _result
= (bool )wxRegion_XorRect(_arg0
,*_arg1
);
12904 wxPyEndAllowThreads(__tstate
);
12905 if (PyErr_Occurred()) return NULL
;
12906 } _resultobj
= Py_BuildValue("i",_result
);
12910 #define wxRegion_XorRegion(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
12911 static PyObject
*_wrap_wxRegion_XorRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12912 PyObject
* _resultobj
;
12916 PyObject
* _argo0
= 0;
12917 PyObject
* _argo1
= 0;
12918 char *_kwnames
[] = { "self","region", NULL
};
12921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_XorRegion",_kwnames
,&_argo0
,&_argo1
))
12924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
12926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_XorRegion. Expected _wxRegion_p.");
12931 if (_argo1
== Py_None
) { _arg1
= NULL
; }
12932 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
12933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_XorRegion. Expected _wxRegion_p.");
12938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12939 _result
= (bool )wxRegion_XorRegion(_arg0
,*_arg1
);
12941 wxPyEndAllowThreads(__tstate
);
12942 if (PyErr_Occurred()) return NULL
;
12943 } _resultobj
= Py_BuildValue("i",_result
);
12947 static void *SwigwxRegionIteratorTowxObject(void *ptr
) {
12948 wxRegionIterator
*src
;
12950 src
= (wxRegionIterator
*) ptr
;
12951 dest
= (wxObject
*) src
;
12952 return (void *) dest
;
12955 #define new_wxRegionIterator(_swigarg0) (new wxRegionIterator(_swigarg0))
12956 static PyObject
*_wrap_new_wxRegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12957 PyObject
* _resultobj
;
12958 wxRegionIterator
* _result
;
12960 PyObject
* _argo0
= 0;
12961 char *_kwnames
[] = { "region", NULL
};
12965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxRegionIterator",_kwnames
,&_argo0
))
12968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
12970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRegionIterator. Expected _wxRegion_p.");
12975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12976 _result
= (wxRegionIterator
*)new_wxRegionIterator(*_arg0
);
12978 wxPyEndAllowThreads(__tstate
);
12979 if (PyErr_Occurred()) return NULL
;
12981 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegionIterator_p");
12982 _resultobj
= Py_BuildValue("s",_ptemp
);
12984 Py_INCREF(Py_None
);
12985 _resultobj
= Py_None
;
12990 #define delete_wxRegionIterator(_swigobj) (delete _swigobj)
12991 static PyObject
*_wrap_delete_wxRegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12992 PyObject
* _resultobj
;
12993 wxRegionIterator
* _arg0
;
12994 PyObject
* _argo0
= 0;
12995 char *_kwnames
[] = { "self", NULL
};
12998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRegionIterator",_kwnames
,&_argo0
))
13001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
13003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegionIterator. Expected _wxRegionIterator_p.");
13008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13009 delete_wxRegionIterator(_arg0
);
13011 wxPyEndAllowThreads(__tstate
);
13012 if (PyErr_Occurred()) return NULL
;
13013 } Py_INCREF(Py_None
);
13014 _resultobj
= Py_None
;
13018 #define wxRegionIterator_GetX(_swigobj) (_swigobj->GetX())
13019 static PyObject
*_wrap_wxRegionIterator_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13020 PyObject
* _resultobj
;
13022 wxRegionIterator
* _arg0
;
13023 PyObject
* _argo0
= 0;
13024 char *_kwnames
[] = { "self", NULL
};
13027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetX",_kwnames
,&_argo0
))
13030 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13031 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
13032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetX. Expected _wxRegionIterator_p.");
13037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13038 _result
= (long )wxRegionIterator_GetX(_arg0
);
13040 wxPyEndAllowThreads(__tstate
);
13041 if (PyErr_Occurred()) return NULL
;
13042 } _resultobj
= Py_BuildValue("l",_result
);
13046 #define wxRegionIterator_GetY(_swigobj) (_swigobj->GetY())
13047 static PyObject
*_wrap_wxRegionIterator_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13048 PyObject
* _resultobj
;
13050 wxRegionIterator
* _arg0
;
13051 PyObject
* _argo0
= 0;
13052 char *_kwnames
[] = { "self", NULL
};
13055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetY",_kwnames
,&_argo0
))
13058 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13059 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
13060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetY. Expected _wxRegionIterator_p.");
13065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13066 _result
= (long )wxRegionIterator_GetY(_arg0
);
13068 wxPyEndAllowThreads(__tstate
);
13069 if (PyErr_Occurred()) return NULL
;
13070 } _resultobj
= Py_BuildValue("l",_result
);
13074 #define wxRegionIterator_GetW(_swigobj) (_swigobj->GetW())
13075 static PyObject
*_wrap_wxRegionIterator_GetW(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13076 PyObject
* _resultobj
;
13078 wxRegionIterator
* _arg0
;
13079 PyObject
* _argo0
= 0;
13080 char *_kwnames
[] = { "self", NULL
};
13083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetW",_kwnames
,&_argo0
))
13086 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13087 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
13088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetW. Expected _wxRegionIterator_p.");
13093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13094 _result
= (long )wxRegionIterator_GetW(_arg0
);
13096 wxPyEndAllowThreads(__tstate
);
13097 if (PyErr_Occurred()) return NULL
;
13098 } _resultobj
= Py_BuildValue("l",_result
);
13102 #define wxRegionIterator_GetWidth(_swigobj) (_swigobj->GetWidth())
13103 static PyObject
*_wrap_wxRegionIterator_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13104 PyObject
* _resultobj
;
13106 wxRegionIterator
* _arg0
;
13107 PyObject
* _argo0
= 0;
13108 char *_kwnames
[] = { "self", NULL
};
13111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetWidth",_kwnames
,&_argo0
))
13114 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13115 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
13116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetWidth. Expected _wxRegionIterator_p.");
13121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13122 _result
= (long )wxRegionIterator_GetWidth(_arg0
);
13124 wxPyEndAllowThreads(__tstate
);
13125 if (PyErr_Occurred()) return NULL
;
13126 } _resultobj
= Py_BuildValue("l",_result
);
13130 #define wxRegionIterator_GetH(_swigobj) (_swigobj->GetH())
13131 static PyObject
*_wrap_wxRegionIterator_GetH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13132 PyObject
* _resultobj
;
13134 wxRegionIterator
* _arg0
;
13135 PyObject
* _argo0
= 0;
13136 char *_kwnames
[] = { "self", NULL
};
13139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetH",_kwnames
,&_argo0
))
13142 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13143 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
13144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetH. Expected _wxRegionIterator_p.");
13149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13150 _result
= (long )wxRegionIterator_GetH(_arg0
);
13152 wxPyEndAllowThreads(__tstate
);
13153 if (PyErr_Occurred()) return NULL
;
13154 } _resultobj
= Py_BuildValue("l",_result
);
13158 #define wxRegionIterator_GetHeight(_swigobj) (_swigobj->GetHeight())
13159 static PyObject
*_wrap_wxRegionIterator_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13160 PyObject
* _resultobj
;
13162 wxRegionIterator
* _arg0
;
13163 PyObject
* _argo0
= 0;
13164 char *_kwnames
[] = { "self", NULL
};
13167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetHeight",_kwnames
,&_argo0
))
13170 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13171 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
13172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetHeight. Expected _wxRegionIterator_p.");
13177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13178 _result
= (long )wxRegionIterator_GetHeight(_arg0
);
13180 wxPyEndAllowThreads(__tstate
);
13181 if (PyErr_Occurred()) return NULL
;
13182 } _resultobj
= Py_BuildValue("l",_result
);
13186 #define wxRegionIterator_GetRect(_swigobj) (_swigobj->GetRect())
13187 static PyObject
*_wrap_wxRegionIterator_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13188 PyObject
* _resultobj
;
13190 wxRegionIterator
* _arg0
;
13191 PyObject
* _argo0
= 0;
13192 char *_kwnames
[] = { "self", NULL
};
13196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetRect",_kwnames
,&_argo0
))
13199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
13201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetRect. Expected _wxRegionIterator_p.");
13206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13207 _result
= new wxRect (wxRegionIterator_GetRect(_arg0
));
13209 wxPyEndAllowThreads(__tstate
);
13210 if (PyErr_Occurred()) return NULL
;
13211 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
13212 _resultobj
= Py_BuildValue("s",_ptemp
);
13216 #define wxRegionIterator_HaveRects(_swigobj) (_swigobj->HaveRects())
13217 static PyObject
*_wrap_wxRegionIterator_HaveRects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13218 PyObject
* _resultobj
;
13220 wxRegionIterator
* _arg0
;
13221 PyObject
* _argo0
= 0;
13222 char *_kwnames
[] = { "self", NULL
};
13225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_HaveRects",_kwnames
,&_argo0
))
13228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
13230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_HaveRects. Expected _wxRegionIterator_p.");
13235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13236 _result
= (bool )wxRegionIterator_HaveRects(_arg0
);
13238 wxPyEndAllowThreads(__tstate
);
13239 if (PyErr_Occurred()) return NULL
;
13240 } _resultobj
= Py_BuildValue("i",_result
);
13244 #define wxRegionIterator_Reset(_swigobj) (_swigobj->Reset())
13245 static PyObject
*_wrap_wxRegionIterator_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13246 PyObject
* _resultobj
;
13247 wxRegionIterator
* _arg0
;
13248 PyObject
* _argo0
= 0;
13249 char *_kwnames
[] = { "self", NULL
};
13252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_Reset",_kwnames
,&_argo0
))
13255 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13256 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
13257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Reset. Expected _wxRegionIterator_p.");
13262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13263 wxRegionIterator_Reset(_arg0
);
13265 wxPyEndAllowThreads(__tstate
);
13266 if (PyErr_Occurred()) return NULL
;
13267 } Py_INCREF(Py_None
);
13268 _resultobj
= Py_None
;
13272 static void wxRegionIterator_Next(wxRegionIterator
*self
) {
13275 static PyObject
*_wrap_wxRegionIterator_Next(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13276 PyObject
* _resultobj
;
13277 wxRegionIterator
* _arg0
;
13278 PyObject
* _argo0
= 0;
13279 char *_kwnames
[] = { "self", NULL
};
13282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_Next",_kwnames
,&_argo0
))
13285 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13286 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
13287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Next. Expected _wxRegionIterator_p.");
13292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13293 wxRegionIterator_Next(_arg0
);
13295 wxPyEndAllowThreads(__tstate
);
13296 if (PyErr_Occurred()) return NULL
;
13297 } Py_INCREF(Py_None
);
13298 _resultobj
= Py_None
;
13302 static PyMethodDef gdicMethods
[] = {
13303 { "wxRegionIterator_Next", (PyCFunction
) _wrap_wxRegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
},
13304 { "wxRegionIterator_Reset", (PyCFunction
) _wrap_wxRegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
},
13305 { "wxRegionIterator_HaveRects", (PyCFunction
) _wrap_wxRegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
},
13306 { "wxRegionIterator_GetRect", (PyCFunction
) _wrap_wxRegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
13307 { "wxRegionIterator_GetHeight", (PyCFunction
) _wrap_wxRegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
13308 { "wxRegionIterator_GetH", (PyCFunction
) _wrap_wxRegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
},
13309 { "wxRegionIterator_GetWidth", (PyCFunction
) _wrap_wxRegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
13310 { "wxRegionIterator_GetW", (PyCFunction
) _wrap_wxRegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
},
13311 { "wxRegionIterator_GetY", (PyCFunction
) _wrap_wxRegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
},
13312 { "wxRegionIterator_GetX", (PyCFunction
) _wrap_wxRegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
},
13313 { "delete_wxRegionIterator", (PyCFunction
) _wrap_delete_wxRegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
13314 { "new_wxRegionIterator", (PyCFunction
) _wrap_new_wxRegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
13315 { "wxRegion_XorRegion", (PyCFunction
) _wrap_wxRegion_XorRegion
, METH_VARARGS
| METH_KEYWORDS
},
13316 { "wxRegion_XorRect", (PyCFunction
) _wrap_wxRegion_XorRect
, METH_VARARGS
| METH_KEYWORDS
},
13317 { "wxRegion_Xor", (PyCFunction
) _wrap_wxRegion_Xor
, METH_VARARGS
| METH_KEYWORDS
},
13318 { "wxRegion_SubtractRegion", (PyCFunction
) _wrap_wxRegion_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
},
13319 { "wxRegion_SubtractRect", (PyCFunction
) _wrap_wxRegion_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
},
13320 { "wxRegion_Subtract", (PyCFunction
) _wrap_wxRegion_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
13321 { "wxRegion_UnionRegion", (PyCFunction
) _wrap_wxRegion_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
},
13322 { "wxRegion_UnionRect", (PyCFunction
) _wrap_wxRegion_UnionRect
, METH_VARARGS
| METH_KEYWORDS
},
13323 { "wxRegion_Union", (PyCFunction
) _wrap_wxRegion_Union
, METH_VARARGS
| METH_KEYWORDS
},
13324 { "wxRegion_IsEmpty", (PyCFunction
) _wrap_wxRegion_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
13325 { "wxRegion_IntersectRegion", (PyCFunction
) _wrap_wxRegion_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
},
13326 { "wxRegion_IntersectRect", (PyCFunction
) _wrap_wxRegion_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
13327 { "wxRegion_Intersect", (PyCFunction
) _wrap_wxRegion_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
13328 { "wxRegion_GetBox", (PyCFunction
) _wrap_wxRegion_GetBox
, METH_VARARGS
| METH_KEYWORDS
},
13329 { "wxRegion_ContainsRectDim", (PyCFunction
) _wrap_wxRegion_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
},
13330 { "wxRegion_ContainsRect", (PyCFunction
) _wrap_wxRegion_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
},
13331 { "wxRegion_ContainsPoint", (PyCFunction
) _wrap_wxRegion_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
},
13332 { "wxRegion_Contains", (PyCFunction
) _wrap_wxRegion_Contains
, METH_VARARGS
| METH_KEYWORDS
},
13333 { "wxRegion_Offset", (PyCFunction
) _wrap_wxRegion_Offset
, METH_VARARGS
| METH_KEYWORDS
},
13334 { "wxRegion_Clear", (PyCFunction
) _wrap_wxRegion_Clear
, METH_VARARGS
| METH_KEYWORDS
},
13335 { "delete_wxRegion", (PyCFunction
) _wrap_delete_wxRegion
, METH_VARARGS
| METH_KEYWORDS
},
13336 { "new_wxRegion", (PyCFunction
) _wrap_new_wxRegion
, METH_VARARGS
| METH_KEYWORDS
},
13337 { "wxImageList_GetSize", (PyCFunction
) _wrap_wxImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
13338 { "wxImageList_RemoveAll", (PyCFunction
) _wrap_wxImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
},
13339 { "wxImageList_Remove", (PyCFunction
) _wrap_wxImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
},
13340 { "wxImageList_GetImageCount", (PyCFunction
) _wrap_wxImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
13341 { "wxImageList_Draw", (PyCFunction
) _wrap_wxImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
},
13342 { "wxImageList_Replace", (PyCFunction
) _wrap_wxImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
},
13343 { "wxImageList_AddIcon", (PyCFunction
) _wrap_wxImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
13344 { "wxImageList_AddWithColourMask", (PyCFunction
) _wrap_wxImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
},
13345 { "wxImageList_Add", (PyCFunction
) _wrap_wxImageList_Add
, METH_VARARGS
| METH_KEYWORDS
},
13346 { "delete_wxImageList", (PyCFunction
) _wrap_delete_wxImageList
, METH_VARARGS
| METH_KEYWORDS
},
13347 { "new_wxImageList", (PyCFunction
) _wrap_new_wxImageList
, METH_VARARGS
| METH_KEYWORDS
},
13348 { "wxPalette_Ok", (PyCFunction
) _wrap_wxPalette_Ok
, METH_VARARGS
| METH_KEYWORDS
},
13349 { "wxPalette_GetRGB", (PyCFunction
) _wrap_wxPalette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
13350 { "wxPalette_GetPixel", (PyCFunction
) _wrap_wxPalette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
13351 { "delete_wxPalette", (PyCFunction
) _wrap_delete_wxPalette
, METH_VARARGS
| METH_KEYWORDS
},
13352 { "new_wxPalette", (PyCFunction
) _wrap_new_wxPalette
, METH_VARARGS
| METH_KEYWORDS
},
13353 { "wxMetaFileDC_Close", (PyCFunction
) _wrap_wxMetaFileDC_Close
, METH_VARARGS
| METH_KEYWORDS
},
13354 { "new_wxMetaFileDC", (PyCFunction
) _wrap_new_wxMetaFileDC
, METH_VARARGS
| METH_KEYWORDS
},
13355 { "wxMetaFile_GetFileName", (PyCFunction
) _wrap_wxMetaFile_GetFileName
, METH_VARARGS
| METH_KEYWORDS
},
13356 { "wxMetaFile_GetHeight", (PyCFunction
) _wrap_wxMetaFile_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
13357 { "wxMetaFile_GetWidth", (PyCFunction
) _wrap_wxMetaFile_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
13358 { "wxMetaFile_GetSize", (PyCFunction
) _wrap_wxMetaFile_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
13359 { "wxMetaFile_SetClipboard", (PyCFunction
) _wrap_wxMetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
},
13360 { "wxMetaFile_Ok", (PyCFunction
) _wrap_wxMetaFile_Ok
, METH_VARARGS
| METH_KEYWORDS
},
13361 { "delete_wxMetaFile", (PyCFunction
) _wrap_delete_wxMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
13362 { "new_wxMetaFile", (PyCFunction
) _wrap_new_wxMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
13363 { "new_wxWindowDC", (PyCFunction
) _wrap_new_wxWindowDC
, METH_VARARGS
| METH_KEYWORDS
},
13364 { "new_wxPaintDC", (PyCFunction
) _wrap_new_wxPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
13365 { "new_wxClientDC", (PyCFunction
) _wrap_new_wxClientDC
, METH_VARARGS
| METH_KEYWORDS
},
13366 { "wxScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_wxScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
13367 { "wxScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_wxScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
13368 { "wxScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_wxScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
},
13369 { "new_wxScreenDC", (PyCFunction
) _wrap_new_wxScreenDC
, METH_VARARGS
| METH_KEYWORDS
},
13370 { "new_wxBufferedPaintDC", (PyCFunction
) _wrap_new_wxBufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
13371 { "new_wxBufferedDCInternalBuffer", (PyCFunction
) _wrap_new_wxBufferedDCInternalBuffer
, METH_VARARGS
| METH_KEYWORDS
},
13372 { "new_wxBufferedDC", (PyCFunction
) _wrap_new_wxBufferedDC
, METH_VARARGS
| METH_KEYWORDS
},
13373 { "wxMemoryDC_SelectObject", (PyCFunction
) _wrap_wxMemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
},
13374 { "new_wxMemoryDC", (PyCFunction
) _wrap_new_wxMemoryDC
, METH_VARARGS
| METH_KEYWORDS
},
13375 { "wxDC__DrawLineList", (PyCFunction
) _wrap_wxDC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
},
13376 { "wxDC__DrawPointList", (PyCFunction
) _wrap_wxDC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
},
13377 { "wxDC_GetHDC", (PyCFunction
) _wrap_wxDC_GetHDC
, METH_VARARGS
| METH_KEYWORDS
},
13378 { "wxDC_GetBoundingBox", (PyCFunction
) _wrap_wxDC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
13379 { "wxDC_ResetBoundingBox", (PyCFunction
) _wrap_wxDC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
13380 { "wxDC_CalcBoundingBox", (PyCFunction
) _wrap_wxDC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
13381 { "wxDC_SetAxisOrientation", (PyCFunction
) _wrap_wxDC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
},
13382 { "wxDC_GetDeviceOrigin", (PyCFunction
) _wrap_wxDC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
13383 { "wxDC_SetLogicalOrigin", (PyCFunction
) _wrap_wxDC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
13384 { "wxDC_GetLogicalOrigin", (PyCFunction
) _wrap_wxDC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
13385 { "wxDC_GetPPI", (PyCFunction
) _wrap_wxDC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
},
13386 { "wxDC_GetDepth", (PyCFunction
) _wrap_wxDC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
13387 { "wxDC_CanGetTextExtent", (PyCFunction
) _wrap_wxDC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
13388 { "wxDC_CanDrawBitmap", (PyCFunction
) _wrap_wxDC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
13389 { "wxDC_DrawBitmap", (PyCFunction
) _wrap_wxDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
13390 { "wxDC_StartPage", (PyCFunction
) _wrap_wxDC_StartPage
, METH_VARARGS
| METH_KEYWORDS
},
13391 { "wxDC_StartDoc", (PyCFunction
) _wrap_wxDC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
},
13392 { "wxDC_SetUserScale", (PyCFunction
) _wrap_wxDC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
13393 { "wxDC_SetTextForeground", (PyCFunction
) _wrap_wxDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
13394 { "wxDC_SetTextBackground", (PyCFunction
) _wrap_wxDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
13395 { "wxDC_SetPen", (PyCFunction
) _wrap_wxDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
13396 { "wxDC_SetOptimization", (PyCFunction
) _wrap_wxDC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
13397 { "wxDC_SetMapMode", (PyCFunction
) _wrap_wxDC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
13398 { "wxDC_SetLogicalScale", (PyCFunction
) _wrap_wxDC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
13399 { "wxDC_SetLogicalFunction", (PyCFunction
) _wrap_wxDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
13400 { "wxDC_SetFont", (PyCFunction
) _wrap_wxDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
13401 { "wxDC_SetBrush", (PyCFunction
) _wrap_wxDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
13402 { "wxDC_SetPalette", (PyCFunction
) _wrap_wxDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
13403 { "wxDC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_wxDC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
},
13404 { "wxDC_SetClippingRegion", (PyCFunction
) _wrap_wxDC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
13405 { "wxDC_SetBackgroundMode", (PyCFunction
) _wrap_wxDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
13406 { "wxDC_SetBackground", (PyCFunction
) _wrap_wxDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
},
13407 { "wxDC_SetDeviceOrigin", (PyCFunction
) _wrap_wxDC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
13408 { "wxDC_Ok", (PyCFunction
) _wrap_wxDC_Ok
, METH_VARARGS
| METH_KEYWORDS
},
13409 { "wxDC_MinY", (PyCFunction
) _wrap_wxDC_MinY
, METH_VARARGS
| METH_KEYWORDS
},
13410 { "wxDC_MinX", (PyCFunction
) _wrap_wxDC_MinX
, METH_VARARGS
| METH_KEYWORDS
},
13411 { "wxDC_MaxY", (PyCFunction
) _wrap_wxDC_MaxY
, METH_VARARGS
| METH_KEYWORDS
},
13412 { "wxDC_MaxX", (PyCFunction
) _wrap_wxDC_MaxX
, METH_VARARGS
| METH_KEYWORDS
},
13413 { "wxDC_LogicalToDeviceYRel", (PyCFunction
) _wrap_wxDC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
},
13414 { "wxDC_LogicalToDeviceY", (PyCFunction
) _wrap_wxDC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
},
13415 { "wxDC_LogicalToDeviceXRel", (PyCFunction
) _wrap_wxDC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
},
13416 { "wxDC_LogicalToDeviceX", (PyCFunction
) _wrap_wxDC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
},
13417 { "wxDC_GetUserScale", (PyCFunction
) _wrap_wxDC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
13418 { "wxDC_GetTextForeground", (PyCFunction
) _wrap_wxDC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
13419 { "wxDC_GetFullTextExtent", (PyCFunction
) _wrap_wxDC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
13420 { "wxDC_GetTextExtent", (PyCFunction
) _wrap_wxDC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
13421 { "wxDC_GetTextBackground", (PyCFunction
) _wrap_wxDC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
13422 { "wxDC_GetSizeMM", (PyCFunction
) _wrap_wxDC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
13423 { "wxDC_GetSize", (PyCFunction
) _wrap_wxDC_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
13424 { "wxDC_GetSizeTuple", (PyCFunction
) _wrap_wxDC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
13425 { "wxDC_GetPixel", (PyCFunction
) _wrap_wxDC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
13426 { "wxDC_GetPen", (PyCFunction
) _wrap_wxDC_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
13427 { "wxDC_GetOptimization", (PyCFunction
) _wrap_wxDC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
13428 { "wxDC_GetMapMode", (PyCFunction
) _wrap_wxDC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
13429 { "wxDC_GetLogicalScale", (PyCFunction
) _wrap_wxDC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
13430 { "wxDC_GetLogicalFunction", (PyCFunction
) _wrap_wxDC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
13431 { "wxDC_GetFont", (PyCFunction
) _wrap_wxDC_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
13432 { "wxDC_GetClippingBox", (PyCFunction
) _wrap_wxDC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
},
13433 { "wxDC_GetCharWidth", (PyCFunction
) _wrap_wxDC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
13434 { "wxDC_GetCharHeight", (PyCFunction
) _wrap_wxDC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
13435 { "wxDC_GetBrush", (PyCFunction
) _wrap_wxDC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
13436 { "wxDC_GetBackground", (PyCFunction
) _wrap_wxDC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
},
13437 { "wxDC_FloodFill", (PyCFunction
) _wrap_wxDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
},
13438 { "wxDC_EndPage", (PyCFunction
) _wrap_wxDC_EndPage
, METH_VARARGS
| METH_KEYWORDS
},
13439 { "wxDC_EndDrawing", (PyCFunction
) _wrap_wxDC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
},
13440 { "wxDC_EndDoc", (PyCFunction
) _wrap_wxDC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
},
13441 { "wxDC_DrawText", (PyCFunction
) _wrap_wxDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
13442 { "wxDC_DrawSpline", (PyCFunction
) _wrap_wxDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
13443 { "wxDC_DrawRoundedRectangle", (PyCFunction
) _wrap_wxDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
13444 { "wxDC_DrawRotatedText", (PyCFunction
) _wrap_wxDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
},
13445 { "wxDC_DrawRectangle", (PyCFunction
) _wrap_wxDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
13446 { "wxDC_DrawPoint", (PyCFunction
) _wrap_wxDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
13447 { "wxDC_DrawPolygon", (PyCFunction
) _wrap_wxDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
13448 { "wxDC_DrawLines", (PyCFunction
) _wrap_wxDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
13449 { "wxDC_DrawLine", (PyCFunction
) _wrap_wxDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
13450 { "wxDC_DrawImageLabel", (PyCFunction
) _wrap_wxDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
},
13451 { "wxDC_DrawLabel", (PyCFunction
) _wrap_wxDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
},
13452 { "wxDC_DrawIcon", (PyCFunction
) _wrap_wxDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
},
13453 { "wxDC_DrawEllipticArc", (PyCFunction
) _wrap_wxDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
13454 { "wxDC_DrawEllipse", (PyCFunction
) _wrap_wxDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
13455 { "wxDC_DrawCircle", (PyCFunction
) _wrap_wxDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
},
13456 { "wxDC_DrawArc", (PyCFunction
) _wrap_wxDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
13457 { "wxDC_DeviceToLogicalYRel", (PyCFunction
) _wrap_wxDC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
},
13458 { "wxDC_DeviceToLogicalY", (PyCFunction
) _wrap_wxDC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
},
13459 { "wxDC_DeviceToLogicalXRel", (PyCFunction
) _wrap_wxDC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
},
13460 { "wxDC_DeviceToLogicalX", (PyCFunction
) _wrap_wxDC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
},
13461 { "wxDC_DestroyClippingRegion", (PyCFunction
) _wrap_wxDC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
13462 { "wxDC_CrossHair", (PyCFunction
) _wrap_wxDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
},
13463 { "wxDC_Clear", (PyCFunction
) _wrap_wxDC_Clear
, METH_VARARGS
| METH_KEYWORDS
},
13464 { "wxDC_Blit", (PyCFunction
) _wrap_wxDC_Blit
, METH_VARARGS
| METH_KEYWORDS
},
13465 { "wxDC_BeginDrawing", (PyCFunction
) _wrap_wxDC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
},
13466 { "delete_wxDC", (PyCFunction
) _wrap_delete_wxDC
, METH_VARARGS
| METH_KEYWORDS
},
13467 { "wxBrushList_GetCount", (PyCFunction
) _wrap_wxBrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
13468 { "wxBrushList_RemoveBrush", (PyCFunction
) _wrap_wxBrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
},
13469 { "wxBrushList_FindOrCreateBrush", (PyCFunction
) _wrap_wxBrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
},
13470 { "wxBrushList_AddBrush", (PyCFunction
) _wrap_wxBrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
},
13471 { "wxBrush_SetStyle", (PyCFunction
) _wrap_wxBrush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
13472 { "wxBrush_SetStipple", (PyCFunction
) _wrap_wxBrush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
13473 { "wxBrush_SetColour", (PyCFunction
) _wrap_wxBrush_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
13474 { "wxBrush_Ok", (PyCFunction
) _wrap_wxBrush_Ok
, METH_VARARGS
| METH_KEYWORDS
},
13475 { "wxBrush_GetStyle", (PyCFunction
) _wrap_wxBrush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
13476 { "wxBrush_GetStipple", (PyCFunction
) _wrap_wxBrush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
13477 { "wxBrush_GetColour", (PyCFunction
) _wrap_wxBrush_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
13478 { "delete_wxBrush", (PyCFunction
) _wrap_delete_wxBrush
, METH_VARARGS
| METH_KEYWORDS
},
13479 { "new_wxBrush", (PyCFunction
) _wrap_new_wxBrush
, METH_VARARGS
| METH_KEYWORDS
},
13480 { "wxPenList_GetCount", (PyCFunction
) _wrap_wxPenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
13481 { "wxPenList_RemovePen", (PyCFunction
) _wrap_wxPenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
},
13482 { "wxPenList_FindOrCreatePen", (PyCFunction
) _wrap_wxPenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
},
13483 { "wxPenList_AddPen", (PyCFunction
) _wrap_wxPenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
},
13484 { "wxPyPen_SetDashes", (PyCFunction
) _wrap_wxPyPen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
13485 { "delete_wxPyPen", (PyCFunction
) _wrap_delete_wxPyPen
, METH_VARARGS
| METH_KEYWORDS
},
13486 { "new_wxPyPen", (PyCFunction
) _wrap_new_wxPyPen
, METH_VARARGS
| METH_KEYWORDS
},
13487 { "wxPen_SetStipple", (PyCFunction
) _wrap_wxPen_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
13488 { "wxPen_GetStipple", (PyCFunction
) _wrap_wxPen_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
13489 { "wxPen_SetDashes", (PyCFunction
) _wrap_wxPen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
13490 { "wxPen_SetWidth", (PyCFunction
) _wrap_wxPen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
13491 { "wxPen_SetStyle", (PyCFunction
) _wrap_wxPen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
13492 { "wxPen_SetJoin", (PyCFunction
) _wrap_wxPen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
},
13493 { "wxPen_SetColour", (PyCFunction
) _wrap_wxPen_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
13494 { "wxPen_SetCap", (PyCFunction
) _wrap_wxPen_SetCap
, METH_VARARGS
| METH_KEYWORDS
},
13495 { "wxPen_Ok", (PyCFunction
) _wrap_wxPen_Ok
, METH_VARARGS
| METH_KEYWORDS
},
13496 { "wxPen_GetWidth", (PyCFunction
) _wrap_wxPen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
13497 { "wxPen_GetStyle", (PyCFunction
) _wrap_wxPen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
13498 { "wxPen_GetJoin", (PyCFunction
) _wrap_wxPen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
},
13499 { "wxPen_GetColour", (PyCFunction
) _wrap_wxPen_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
13500 { "wxPen_GetCap", (PyCFunction
) _wrap_wxPen_GetCap
, METH_VARARGS
| METH_KEYWORDS
},
13501 { "delete_wxPen", (PyCFunction
) _wrap_delete_wxPen
, METH_VARARGS
| METH_KEYWORDS
},
13502 { "new_wxPen", (PyCFunction
) _wrap_new_wxPen
, METH_VARARGS
| METH_KEYWORDS
},
13503 { "wxColourDatabase_Append", (PyCFunction
) _wrap_wxColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
},
13504 { "wxColourDatabase_FindName", (PyCFunction
) _wrap_wxColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
},
13505 { "wxColourDatabase_FindColour", (PyCFunction
) _wrap_wxColourDatabase_FindColour
, METH_VARARGS
| METH_KEYWORDS
},
13506 { "wxColour_Get", (PyCFunction
) _wrap_wxColour_Get
, METH_VARARGS
| METH_KEYWORDS
},
13507 { "wxColour_Set", (PyCFunction
) _wrap_wxColour_Set
, METH_VARARGS
| METH_KEYWORDS
},
13508 { "wxColour_Ok", (PyCFunction
) _wrap_wxColour_Ok
, METH_VARARGS
| METH_KEYWORDS
},
13509 { "wxColour_Blue", (PyCFunction
) _wrap_wxColour_Blue
, METH_VARARGS
| METH_KEYWORDS
},
13510 { "wxColour_Green", (PyCFunction
) _wrap_wxColour_Green
, METH_VARARGS
| METH_KEYWORDS
},
13511 { "wxColour_Red", (PyCFunction
) _wrap_wxColour_Red
, METH_VARARGS
| METH_KEYWORDS
},
13512 { "delete_wxColour", (PyCFunction
) _wrap_delete_wxColour
, METH_VARARGS
| METH_KEYWORDS
},
13513 { "new_wxColour", (PyCFunction
) _wrap_new_wxColour
, METH_VARARGS
| METH_KEYWORDS
},
13514 { "wxFontList_GetCount", (PyCFunction
) _wrap_wxFontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
13515 { "wxFontList_RemoveFont", (PyCFunction
) _wrap_wxFontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
},
13516 { "wxFontList_FindOrCreateFont", (PyCFunction
) _wrap_wxFontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
},
13517 { "wxFontList_AddFont", (PyCFunction
) _wrap_wxFontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
},
13518 { "wxFont_SetDefaultEncoding", (PyCFunction
) _wrap_wxFont_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
13519 { "wxFont_GetDefaultEncoding", (PyCFunction
) _wrap_wxFont_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
13520 { "wxFont_GetWeightString", (PyCFunction
) _wrap_wxFont_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
},
13521 { "wxFont_GetStyleString", (PyCFunction
) _wrap_wxFont_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
},
13522 { "wxFont_GetFamilyString", (PyCFunction
) _wrap_wxFont_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
},
13523 { "wxFont_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_wxFont_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
13524 { "wxFont_SetNativeFontInfo", (PyCFunction
) _wrap_wxFont_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
13525 { "wxFont_SetEncoding", (PyCFunction
) _wrap_wxFont_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
13526 { "wxFont_SetUnderlined", (PyCFunction
) _wrap_wxFont_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
13527 { "wxFont_SetFaceName", (PyCFunction
) _wrap_wxFont_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
13528 { "wxFont_SetWeight", (PyCFunction
) _wrap_wxFont_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
13529 { "wxFont_SetStyle", (PyCFunction
) _wrap_wxFont_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
13530 { "wxFont_SetFamily", (PyCFunction
) _wrap_wxFont_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
13531 { "wxFont_SetPointSize", (PyCFunction
) _wrap_wxFont_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
13532 { "wxFont_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_wxFont_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
13533 { "wxFont_GetNativeFontInfoDesc", (PyCFunction
) _wrap_wxFont_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
},
13534 { "wxFont_GetNativeFontInfo", (PyCFunction
) _wrap_wxFont_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
13535 { "wxFont_IsFixedWidth", (PyCFunction
) _wrap_wxFont_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
},
13536 { "wxFont_GetEncoding", (PyCFunction
) _wrap_wxFont_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
13537 { "wxFont_GetFaceName", (PyCFunction
) _wrap_wxFont_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
13538 { "wxFont_GetUnderlined", (PyCFunction
) _wrap_wxFont_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
13539 { "wxFont_GetWeight", (PyCFunction
) _wrap_wxFont_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
13540 { "wxFont_GetStyle", (PyCFunction
) _wrap_wxFont_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
13541 { "wxFont_GetFamily", (PyCFunction
) _wrap_wxFont_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
13542 { "wxFont_GetPointSize", (PyCFunction
) _wrap_wxFont_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
13543 { "wxFont_Ok", (PyCFunction
) _wrap_wxFont_Ok
, METH_VARARGS
| METH_KEYWORDS
},
13544 { "delete_wxFont", (PyCFunction
) _wrap_delete_wxFont
, METH_VARARGS
| METH_KEYWORDS
},
13545 { "new_wxFontFromNativeInfo", (PyCFunction
) _wrap_new_wxFontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
},
13546 { "new_wxFont", (PyCFunction
) _wrap_new_wxFont
, METH_VARARGS
| METH_KEYWORDS
},
13547 { "wxFontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_wxFontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
13548 { "wxFontMapper_SetConfigPath", (PyCFunction
) _wrap_wxFontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
13549 { "wxFontMapper_SetConfig", (PyCFunction
) _wrap_wxFontMapper_SetConfig
, METH_VARARGS
| METH_KEYWORDS
},
13550 { "wxFontMapper_SetDialogTitle", (PyCFunction
) _wrap_wxFontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
},
13551 { "wxFontMapper_SetDialogParent", (PyCFunction
) _wrap_wxFontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
},
13552 { "wxFontMapper_GetEncodingDescription", (PyCFunction
) _wrap_wxFontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
},
13553 { "wxFontMapper_GetEncodingName", (PyCFunction
) _wrap_wxFontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
13554 { "wxFontMapper_CharsetToEncoding", (PyCFunction
) _wrap_wxFontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
},
13555 { "wxFontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_wxFontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
},
13556 { "wxFontMapper_GetAltForEncoding", (PyCFunction
) _wrap_wxFontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
},
13557 { "delete_wxFontMapper", (PyCFunction
) _wrap_delete_wxFontMapper
, METH_VARARGS
| METH_KEYWORDS
},
13558 { "new_wxFontMapper", (PyCFunction
) _wrap_new_wxFontMapper
, METH_VARARGS
| METH_KEYWORDS
},
13559 { "wxNativeFontInfo_ToUserString", (PyCFunction
) _wrap_wxNativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
},
13560 { "wxNativeFontInfo_FromUserString", (PyCFunction
) _wrap_wxNativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
},
13561 { "wxNativeFontInfo___str__", (PyCFunction
) _wrap_wxNativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
},
13562 { "wxNativeFontInfo_ToString", (PyCFunction
) _wrap_wxNativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
13563 { "wxNativeFontInfo_FromString", (PyCFunction
) _wrap_wxNativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
13564 { "wxNativeFontInfo_SetEncoding", (PyCFunction
) _wrap_wxNativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
13565 { "wxNativeFontInfo_SetFamily", (PyCFunction
) _wrap_wxNativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
13566 { "wxNativeFontInfo_SetFaceName", (PyCFunction
) _wrap_wxNativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
13567 { "wxNativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_wxNativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
13568 { "wxNativeFontInfo_SetWeight", (PyCFunction
) _wrap_wxNativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
13569 { "wxNativeFontInfo_SetStyle", (PyCFunction
) _wrap_wxNativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
13570 { "wxNativeFontInfo_SetPointSize", (PyCFunction
) _wrap_wxNativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
13571 { "wxNativeFontInfo_GetEncoding", (PyCFunction
) _wrap_wxNativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
13572 { "wxNativeFontInfo_GetFamily", (PyCFunction
) _wrap_wxNativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
13573 { "wxNativeFontInfo_GetFaceName", (PyCFunction
) _wrap_wxNativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
13574 { "wxNativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_wxNativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
13575 { "wxNativeFontInfo_GetWeight", (PyCFunction
) _wrap_wxNativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
13576 { "wxNativeFontInfo_GetStyle", (PyCFunction
) _wrap_wxNativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
13577 { "wxNativeFontInfo_GetPointSize", (PyCFunction
) _wrap_wxNativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
13578 { "wxNativeFontInfo_Init", (PyCFunction
) _wrap_wxNativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
},
13579 { "new_wxNativeFontInfo", (PyCFunction
) _wrap_new_wxNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
13580 { "wxCursor_SetSize", (PyCFunction
) _wrap_wxCursor_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
13581 { "wxCursor_SetDepth", (PyCFunction
) _wrap_wxCursor_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
13582 { "wxCursor_SetHeight", (PyCFunction
) _wrap_wxCursor_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
13583 { "wxCursor_SetWidth", (PyCFunction
) _wrap_wxCursor_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
13584 { "wxCursor_GetDepth", (PyCFunction
) _wrap_wxCursor_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
13585 { "wxCursor_GetHeight", (PyCFunction
) _wrap_wxCursor_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
13586 { "wxCursor_GetWidth", (PyCFunction
) _wrap_wxCursor_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
13587 { "wxCursor_Ok", (PyCFunction
) _wrap_wxCursor_Ok
, METH_VARARGS
| METH_KEYWORDS
},
13588 { "wxCursor_SetHandle", (PyCFunction
) _wrap_wxCursor_SetHandle
, METH_VARARGS
| METH_KEYWORDS
},
13589 { "wxCursor_GetHandle", (PyCFunction
) _wrap_wxCursor_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
13590 { "delete_wxCursor", (PyCFunction
) _wrap_delete_wxCursor
, METH_VARARGS
| METH_KEYWORDS
},
13591 { "new_wxCursor", (PyCFunction
) _wrap_new_wxCursor
, METH_VARARGS
| METH_KEYWORDS
},
13592 { "wxIconBundle_GetIcon", (PyCFunction
) _wrap_wxIconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
13593 { "wxIconBundle_AddIconFromFile", (PyCFunction
) _wrap_wxIconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
},
13594 { "wxIconBundle_AddIcon", (PyCFunction
) _wrap_wxIconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
13595 { "delete_wxIconBundle", (PyCFunction
) _wrap_delete_wxIconBundle
, METH_VARARGS
| METH_KEYWORDS
},
13596 { "new_wxIconBundleFromIcon", (PyCFunction
) _wrap_new_wxIconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
13597 { "new_wxIconBundleFromFile", (PyCFunction
) _wrap_new_wxIconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
},
13598 { "new_wxIconBundle", (PyCFunction
) _wrap_new_wxIconBundle
, METH_VARARGS
| METH_KEYWORDS
},
13599 { "wxIcon_CopyFromBitmap", (PyCFunction
) _wrap_wxIcon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
13600 { "wxIcon_SetSize", (PyCFunction
) _wrap_wxIcon_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
13601 { "wxIcon_SetDepth", (PyCFunction
) _wrap_wxIcon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
13602 { "wxIcon_SetHeight", (PyCFunction
) _wrap_wxIcon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
13603 { "wxIcon_SetWidth", (PyCFunction
) _wrap_wxIcon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
13604 { "wxIcon_GetDepth", (PyCFunction
) _wrap_wxIcon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
13605 { "wxIcon_GetHeight", (PyCFunction
) _wrap_wxIcon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
13606 { "wxIcon_GetWidth", (PyCFunction
) _wrap_wxIcon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
13607 { "wxIcon_Ok", (PyCFunction
) _wrap_wxIcon_Ok
, METH_VARARGS
| METH_KEYWORDS
},
13608 { "wxIcon_SetHandle", (PyCFunction
) _wrap_wxIcon_SetHandle
, METH_VARARGS
| METH_KEYWORDS
},
13609 { "wxIcon_GetHandle", (PyCFunction
) _wrap_wxIcon_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
13610 { "wxIcon_LoadFile", (PyCFunction
) _wrap_wxIcon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
13611 { "delete_wxIcon", (PyCFunction
) _wrap_delete_wxIcon
, METH_VARARGS
| METH_KEYWORDS
},
13612 { "new_wxIcon", (PyCFunction
) _wrap_new_wxIcon
, METH_VARARGS
| METH_KEYWORDS
},
13613 { "wxMask_Destroy", (PyCFunction
) _wrap_wxMask_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
13614 { "new_wxMask", (PyCFunction
) _wrap_new_wxMask
, METH_VARARGS
| METH_KEYWORDS
},
13615 { "wxBitmap_SetQuality", (PyCFunction
) _wrap_wxBitmap_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
13616 { "wxBitmap_GetQuality", (PyCFunction
) _wrap_wxBitmap_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
13617 { "wxBitmap_CopyFromCursor", (PyCFunction
) _wrap_wxBitmap_CopyFromCursor
, METH_VARARGS
| METH_KEYWORDS
},
13618 { "wxBitmap_CopyFromIcon", (PyCFunction
) _wrap_wxBitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
13619 { "wxBitmap_GetSubBitmap", (PyCFunction
) _wrap_wxBitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
},
13620 { "wxBitmap_SetSize", (PyCFunction
) _wrap_wxBitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
13621 { "wxBitmap_SetDepth", (PyCFunction
) _wrap_wxBitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
13622 { "wxBitmap_SetHeight", (PyCFunction
) _wrap_wxBitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
13623 { "wxBitmap_SetWidth", (PyCFunction
) _wrap_wxBitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
13624 { "wxBitmap_GetDepth", (PyCFunction
) _wrap_wxBitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
13625 { "wxBitmap_GetHeight", (PyCFunction
) _wrap_wxBitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
13626 { "wxBitmap_GetWidth", (PyCFunction
) _wrap_wxBitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
13627 { "wxBitmap_Ok", (PyCFunction
) _wrap_wxBitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
},
13628 { "wxBitmap_SetHandle", (PyCFunction
) _wrap_wxBitmap_SetHandle
, METH_VARARGS
| METH_KEYWORDS
},
13629 { "wxBitmap_GetHandle", (PyCFunction
) _wrap_wxBitmap_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
13630 { "wxBitmap_SetPalette", (PyCFunction
) _wrap_wxBitmap_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
13631 { "wxBitmap_SetMask", (PyCFunction
) _wrap_wxBitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
13632 { "wxBitmap_SaveFile", (PyCFunction
) _wrap_wxBitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
13633 { "wxBitmap_LoadFile", (PyCFunction
) _wrap_wxBitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
13634 { "wxBitmap_GetMask", (PyCFunction
) _wrap_wxBitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
13635 { "wxBitmap_GetPalette", (PyCFunction
) _wrap_wxBitmap_GetPalette
, METH_VARARGS
| METH_KEYWORDS
},
13636 { "delete_wxBitmap", (PyCFunction
) _wrap_delete_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
13637 { "new_wxBitmap", (PyCFunction
) _wrap_new_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
13638 { "wxGDIObject_IsNull", (PyCFunction
) _wrap_wxGDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
13639 { "wxGDIObject_SetVisible", (PyCFunction
) _wrap_wxGDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
},
13640 { "wxGDIObject_GetVisible", (PyCFunction
) _wrap_wxGDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
},
13641 { "delete_wxGDIObject", (PyCFunction
) _wrap_delete_wxGDIObject
, METH_VARARGS
| METH_KEYWORDS
},
13642 { "new_wxGDIObject", (PyCFunction
) _wrap_new_wxGDIObject
, METH_VARARGS
| METH_KEYWORDS
},
13643 { "wxMemoryDCFromDC", (PyCFunction
) _wrap_wxMemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
},
13644 { "wxNamedColour", (PyCFunction
) _wrap_wxNamedColour
, METH_VARARGS
| METH_KEYWORDS
},
13645 { "wxStockCursor", (PyCFunction
) _wrap_wxStockCursor
, METH_VARARGS
| METH_KEYWORDS
},
13646 { "wxIconFromBitmap", (PyCFunction
) _wrap_wxIconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
13647 { "wxIconFromXPMData", (PyCFunction
) _wrap_wxIconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
13648 { "wxEmptyIcon", (PyCFunction
) _wrap_wxEmptyIcon
, METH_VARARGS
| METH_KEYWORDS
},
13649 { "wxMaskColour", (PyCFunction
) _wrap_wxMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
13650 { "wxBitmapFromBits", (PyCFunction
) _wrap_wxBitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
},
13651 { "wxBitmapFromIcon", (PyCFunction
) _wrap_wxBitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
13652 { "wxBitmapFromXPMData", (PyCFunction
) _wrap_wxBitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
13653 { "wxEmptyBitmap", (PyCFunction
) _wrap_wxEmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
},
13660 * This table is used by the pointer type-checker
13662 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
13663 { "_signed_long","_long",0},
13664 { "_wxPrintQuality","_wxCoord",0},
13665 { "_wxPrintQuality","_int",0},
13666 { "_wxPrintQuality","_signed_int",0},
13667 { "_wxPrintQuality","_unsigned_int",0},
13668 { "_wxPrintQuality","_wxWindowID",0},
13669 { "_wxPrintQuality","_uint",0},
13670 { "_wxPrintQuality","_EBool",0},
13671 { "_wxPrintQuality","_size_t",0},
13672 { "_wxPrintQuality","_time_t",0},
13673 { "_wxPen","_wxPyPen",SwigwxPyPenTowxPen
},
13674 { "_byte","_unsigned_char",0},
13675 { "_long","_unsigned_long",0},
13676 { "_long","_signed_long",0},
13677 { "_wxGDIObject","_wxRegion",SwigwxRegionTowxGDIObject
},
13678 { "_wxGDIObject","_wxPalette",SwigwxPaletteTowxGDIObject
},
13679 { "_wxGDIObject","_wxBrush",SwigwxBrushTowxGDIObject
},
13680 { "_wxGDIObject","_wxPyPen",SwigwxPyPenTowxGDIObject
},
13681 { "_wxGDIObject","_wxPen",SwigwxPenTowxGDIObject
},
13682 { "_wxGDIObject","_wxFont",SwigwxFontTowxGDIObject
},
13683 { "_wxGDIObject","_wxCursor",SwigwxCursorTowxGDIObject
},
13684 { "_wxGDIObject","_wxIcon",SwigwxIconTowxGDIObject
},
13685 { "_wxGDIObject","_wxBitmap",SwigwxBitmapTowxGDIObject
},
13686 { "_wxDC","_wxMetaFileDC",SwigwxMetaFileDCTowxDC
},
13687 { "_wxDC","_wxWindowDC",SwigwxWindowDCTowxDC
},
13688 { "_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC
},
13689 { "_wxDC","_wxClientDC",SwigwxClientDCTowxDC
},
13690 { "_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC
},
13691 { "_wxDC","_wxBufferedPaintDC",SwigwxBufferedPaintDCTowxDC
},
13692 { "_wxDC","_wxBufferedDC",SwigwxBufferedDCTowxDC
},
13693 { "_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC
},
13694 { "_size_t","_wxCoord",0},
13695 { "_size_t","_wxPrintQuality",0},
13696 { "_size_t","_time_t",0},
13697 { "_size_t","_unsigned_int",0},
13698 { "_size_t","_int",0},
13699 { "_size_t","_wxWindowID",0},
13700 { "_size_t","_uint",0},
13701 { "_uint","_wxCoord",0},
13702 { "_uint","_wxPrintQuality",0},
13703 { "_uint","_time_t",0},
13704 { "_uint","_size_t",0},
13705 { "_uint","_unsigned_int",0},
13706 { "_uint","_int",0},
13707 { "_uint","_wxWindowID",0},
13708 { "_wxChar","_char",0},
13709 { "_char","_wxChar",0},
13710 { "_wxBufferedDC","_wxBufferedPaintDC",SwigwxBufferedPaintDCTowxBufferedDC
},
13711 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
13712 { "_EBool","_wxCoord",0},
13713 { "_EBool","_wxPrintQuality",0},
13714 { "_EBool","_signed_int",0},
13715 { "_EBool","_int",0},
13716 { "_EBool","_wxWindowID",0},
13717 { "_unsigned_long","_long",0},
13718 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
13719 { "_signed_int","_wxCoord",0},
13720 { "_signed_int","_wxPrintQuality",0},
13721 { "_signed_int","_EBool",0},
13722 { "_signed_int","_wxWindowID",0},
13723 { "_signed_int","_int",0},
13724 { "_WXTYPE","_short",0},
13725 { "_WXTYPE","_signed_short",0},
13726 { "_WXTYPE","_unsigned_short",0},
13727 { "_unsigned_short","_WXTYPE",0},
13728 { "_unsigned_short","_short",0},
13729 { "_wxObject","_wxRegionIterator",SwigwxRegionIteratorTowxObject
},
13730 { "_wxObject","_wxRegion",SwigwxRegionTowxObject
},
13731 { "_wxObject","_wxImageList",SwigwxImageListTowxObject
},
13732 { "_wxObject","_wxPalette",SwigwxPaletteTowxObject
},
13733 { "_wxObject","_wxMetaFileDC",SwigwxMetaFileDCTowxObject
},
13734 { "_wxObject","_wxMetaFile",SwigwxMetaFileTowxObject
},
13735 { "_wxObject","_wxWindowDC",SwigwxWindowDCTowxObject
},
13736 { "_wxObject","_wxPaintDC",SwigwxPaintDCTowxObject
},
13737 { "_wxObject","_wxClientDC",SwigwxClientDCTowxObject
},
13738 { "_wxObject","_wxScreenDC",SwigwxScreenDCTowxObject
},
13739 { "_wxObject","_wxBufferedPaintDC",SwigwxBufferedPaintDCTowxObject
},
13740 { "_wxObject","_wxBufferedDC",SwigwxBufferedDCTowxObject
},
13741 { "_wxObject","_wxMemoryDC",SwigwxMemoryDCTowxObject
},
13742 { "_wxObject","_wxDC",SwigwxDCTowxObject
},
13743 { "_wxObject","_wxBrushList",SwigwxBrushListTowxObject
},
13744 { "_wxObject","_wxBrush",SwigwxBrushTowxObject
},
13745 { "_wxObject","_wxPenList",SwigwxPenListTowxObject
},
13746 { "_wxObject","_wxPyPen",SwigwxPyPenTowxObject
},
13747 { "_wxObject","_wxPen",SwigwxPenTowxObject
},
13748 { "_wxObject","_wxColourDatabase",SwigwxColourDatabaseTowxObject
},
13749 { "_wxObject","_wxColour",SwigwxColourTowxObject
},
13750 { "_wxObject","_wxFontList",SwigwxFontListTowxObject
},
13751 { "_wxObject","_wxFont",SwigwxFontTowxObject
},
13752 { "_wxObject","_wxCursor",SwigwxCursorTowxObject
},
13753 { "_wxObject","_wxIcon",SwigwxIconTowxObject
},
13754 { "_wxObject","_wxMask",SwigwxMaskTowxObject
},
13755 { "_wxObject","_wxBitmap",SwigwxBitmapTowxObject
},
13756 { "_wxObject","_wxGDIObject",SwigwxGDIObjectTowxObject
},
13757 { "_signed_short","_WXTYPE",0},
13758 { "_signed_short","_short",0},
13759 { "_wxMemoryDC","_wxBufferedPaintDC",SwigwxBufferedPaintDCTowxMemoryDC
},
13760 { "_wxMemoryDC","_wxBufferedDC",SwigwxBufferedDCTowxMemoryDC
},
13761 { "_unsigned_char","_byte",0},
13762 { "_unsigned_int","_wxCoord",0},
13763 { "_unsigned_int","_wxPrintQuality",0},
13764 { "_unsigned_int","_time_t",0},
13765 { "_unsigned_int","_size_t",0},
13766 { "_unsigned_int","_uint",0},
13767 { "_unsigned_int","_wxWindowID",0},
13768 { "_unsigned_int","_int",0},
13769 { "_short","_WXTYPE",0},
13770 { "_short","_unsigned_short",0},
13771 { "_short","_signed_short",0},
13772 { "_wxWindowID","_wxCoord",0},
13773 { "_wxWindowID","_wxPrintQuality",0},
13774 { "_wxWindowID","_time_t",0},
13775 { "_wxWindowID","_size_t",0},
13776 { "_wxWindowID","_EBool",0},
13777 { "_wxWindowID","_uint",0},
13778 { "_wxWindowID","_int",0},
13779 { "_wxWindowID","_signed_int",0},
13780 { "_wxWindowID","_unsigned_int",0},
13781 { "_int","_wxCoord",0},
13782 { "_int","_wxPrintQuality",0},
13783 { "_int","_time_t",0},
13784 { "_int","_size_t",0},
13785 { "_int","_EBool",0},
13786 { "_int","_uint",0},
13787 { "_int","_wxWindowID",0},
13788 { "_int","_unsigned_int",0},
13789 { "_int","_signed_int",0},
13790 { "_time_t","_wxCoord",0},
13791 { "_time_t","_wxPrintQuality",0},
13792 { "_time_t","_unsigned_int",0},
13793 { "_time_t","_int",0},
13794 { "_time_t","_wxWindowID",0},
13795 { "_time_t","_uint",0},
13796 { "_time_t","_size_t",0},
13797 { "_wxCoord","_int",0},
13798 { "_wxCoord","_signed_int",0},
13799 { "_wxCoord","_unsigned_int",0},
13800 { "_wxCoord","_wxWindowID",0},
13801 { "_wxCoord","_uint",0},
13802 { "_wxCoord","_EBool",0},
13803 { "_wxCoord","_size_t",0},
13804 { "_wxCoord","_time_t",0},
13805 { "_wxCoord","_wxPrintQuality",0},
13808 static PyObject
*SWIG_globals
;
13812 SWIGEXPORT(void) initgdic() {
13814 SWIG_globals
= SWIG_newvarlink();
13815 m
= Py_InitModule("gdic", gdicMethods
);
13816 d
= PyModule_GetDict(m
);
13817 PyDict_SetItemString(d
,"wxFONTFAMILY_DEFAULT", PyInt_FromLong((long) wxFONTFAMILY_DEFAULT
));
13818 PyDict_SetItemString(d
,"wxFONTFAMILY_DECORATIVE", PyInt_FromLong((long) wxFONTFAMILY_DECORATIVE
));
13819 PyDict_SetItemString(d
,"wxFONTFAMILY_ROMAN", PyInt_FromLong((long) wxFONTFAMILY_ROMAN
));
13820 PyDict_SetItemString(d
,"wxFONTFAMILY_SCRIPT", PyInt_FromLong((long) wxFONTFAMILY_SCRIPT
));
13821 PyDict_SetItemString(d
,"wxFONTFAMILY_SWISS", PyInt_FromLong((long) wxFONTFAMILY_SWISS
));
13822 PyDict_SetItemString(d
,"wxFONTFAMILY_MODERN", PyInt_FromLong((long) wxFONTFAMILY_MODERN
));
13823 PyDict_SetItemString(d
,"wxFONTFAMILY_TELETYPE", PyInt_FromLong((long) wxFONTFAMILY_TELETYPE
));
13824 PyDict_SetItemString(d
,"wxFONTFAMILY_MAX", PyInt_FromLong((long) wxFONTFAMILY_MAX
));
13825 PyDict_SetItemString(d
,"wxFONTFAMILY_UNKNOWN", PyInt_FromLong((long) wxFONTFAMILY_UNKNOWN
));
13826 PyDict_SetItemString(d
,"wxFONTSTYLE_NORMAL", PyInt_FromLong((long) wxFONTSTYLE_NORMAL
));
13827 PyDict_SetItemString(d
,"wxFONTSTYLE_ITALIC", PyInt_FromLong((long) wxFONTSTYLE_ITALIC
));
13828 PyDict_SetItemString(d
,"wxFONTSTYLE_SLANT", PyInt_FromLong((long) wxFONTSTYLE_SLANT
));
13829 PyDict_SetItemString(d
,"wxFONTSTYLE_MAX", PyInt_FromLong((long) wxFONTSTYLE_MAX
));
13830 PyDict_SetItemString(d
,"wxFONTWEIGHT_NORMAL", PyInt_FromLong((long) wxFONTWEIGHT_NORMAL
));
13831 PyDict_SetItemString(d
,"wxFONTWEIGHT_LIGHT", PyInt_FromLong((long) wxFONTWEIGHT_LIGHT
));
13832 PyDict_SetItemString(d
,"wxFONTWEIGHT_BOLD", PyInt_FromLong((long) wxFONTWEIGHT_BOLD
));
13833 PyDict_SetItemString(d
,"wxFONTWEIGHT_MAX", PyInt_FromLong((long) wxFONTWEIGHT_MAX
));
13834 PyDict_SetItemString(d
,"wxFONTENCODING_SYSTEM", PyInt_FromLong((long) wxFONTENCODING_SYSTEM
));
13835 PyDict_SetItemString(d
,"wxFONTENCODING_DEFAULT", PyInt_FromLong((long) wxFONTENCODING_DEFAULT
));
13836 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_1", PyInt_FromLong((long) wxFONTENCODING_ISO8859_1
));
13837 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_2", PyInt_FromLong((long) wxFONTENCODING_ISO8859_2
));
13838 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_3", PyInt_FromLong((long) wxFONTENCODING_ISO8859_3
));
13839 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_4", PyInt_FromLong((long) wxFONTENCODING_ISO8859_4
));
13840 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_5", PyInt_FromLong((long) wxFONTENCODING_ISO8859_5
));
13841 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_6", PyInt_FromLong((long) wxFONTENCODING_ISO8859_6
));
13842 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_7", PyInt_FromLong((long) wxFONTENCODING_ISO8859_7
));
13843 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_8", PyInt_FromLong((long) wxFONTENCODING_ISO8859_8
));
13844 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_9", PyInt_FromLong((long) wxFONTENCODING_ISO8859_9
));
13845 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_10", PyInt_FromLong((long) wxFONTENCODING_ISO8859_10
));
13846 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_11", PyInt_FromLong((long) wxFONTENCODING_ISO8859_11
));
13847 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_12", PyInt_FromLong((long) wxFONTENCODING_ISO8859_12
));
13848 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_13", PyInt_FromLong((long) wxFONTENCODING_ISO8859_13
));
13849 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_14", PyInt_FromLong((long) wxFONTENCODING_ISO8859_14
));
13850 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_15", PyInt_FromLong((long) wxFONTENCODING_ISO8859_15
));
13851 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_MAX", PyInt_FromLong((long) wxFONTENCODING_ISO8859_MAX
));
13852 PyDict_SetItemString(d
,"wxFONTENCODING_KOI8", PyInt_FromLong((long) wxFONTENCODING_KOI8
));
13853 PyDict_SetItemString(d
,"wxFONTENCODING_ALTERNATIVE", PyInt_FromLong((long) wxFONTENCODING_ALTERNATIVE
));
13854 PyDict_SetItemString(d
,"wxFONTENCODING_BULGARIAN", PyInt_FromLong((long) wxFONTENCODING_BULGARIAN
));
13855 PyDict_SetItemString(d
,"wxFONTENCODING_CP437", PyInt_FromLong((long) wxFONTENCODING_CP437
));
13856 PyDict_SetItemString(d
,"wxFONTENCODING_CP850", PyInt_FromLong((long) wxFONTENCODING_CP850
));
13857 PyDict_SetItemString(d
,"wxFONTENCODING_CP852", PyInt_FromLong((long) wxFONTENCODING_CP852
));
13858 PyDict_SetItemString(d
,"wxFONTENCODING_CP855", PyInt_FromLong((long) wxFONTENCODING_CP855
));
13859 PyDict_SetItemString(d
,"wxFONTENCODING_CP866", PyInt_FromLong((long) wxFONTENCODING_CP866
));
13860 PyDict_SetItemString(d
,"wxFONTENCODING_CP874", PyInt_FromLong((long) wxFONTENCODING_CP874
));
13861 PyDict_SetItemString(d
,"wxFONTENCODING_CP932", PyInt_FromLong((long) wxFONTENCODING_CP932
));
13862 PyDict_SetItemString(d
,"wxFONTENCODING_CP936", PyInt_FromLong((long) wxFONTENCODING_CP936
));
13863 PyDict_SetItemString(d
,"wxFONTENCODING_CP949", PyInt_FromLong((long) wxFONTENCODING_CP949
));
13864 PyDict_SetItemString(d
,"wxFONTENCODING_CP950", PyInt_FromLong((long) wxFONTENCODING_CP950
));
13865 PyDict_SetItemString(d
,"wxFONTENCODING_CP1250", PyInt_FromLong((long) wxFONTENCODING_CP1250
));
13866 PyDict_SetItemString(d
,"wxFONTENCODING_CP1251", PyInt_FromLong((long) wxFONTENCODING_CP1251
));
13867 PyDict_SetItemString(d
,"wxFONTENCODING_CP1252", PyInt_FromLong((long) wxFONTENCODING_CP1252
));
13868 PyDict_SetItemString(d
,"wxFONTENCODING_CP1253", PyInt_FromLong((long) wxFONTENCODING_CP1253
));
13869 PyDict_SetItemString(d
,"wxFONTENCODING_CP1254", PyInt_FromLong((long) wxFONTENCODING_CP1254
));
13870 PyDict_SetItemString(d
,"wxFONTENCODING_CP1255", PyInt_FromLong((long) wxFONTENCODING_CP1255
));
13871 PyDict_SetItemString(d
,"wxFONTENCODING_CP1256", PyInt_FromLong((long) wxFONTENCODING_CP1256
));
13872 PyDict_SetItemString(d
,"wxFONTENCODING_CP1257", PyInt_FromLong((long) wxFONTENCODING_CP1257
));
13873 PyDict_SetItemString(d
,"wxFONTENCODING_CP12_MAX", PyInt_FromLong((long) wxFONTENCODING_CP12_MAX
));
13874 PyDict_SetItemString(d
,"wxFONTENCODING_UTF7", PyInt_FromLong((long) wxFONTENCODING_UTF7
));
13875 PyDict_SetItemString(d
,"wxFONTENCODING_UTF8", PyInt_FromLong((long) wxFONTENCODING_UTF8
));
13876 PyDict_SetItemString(d
,"wxFONTENCODING_UNICODE", PyInt_FromLong((long) wxFONTENCODING_UNICODE
));
13877 PyDict_SetItemString(d
,"wxFONTENCODING_MAX", PyInt_FromLong((long) wxFONTENCODING_MAX
));
13878 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_NORMAL", PyInt_FromLong((long) wxIMAGELIST_DRAW_NORMAL
));
13879 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_TRANSPARENT", PyInt_FromLong((long) wxIMAGELIST_DRAW_TRANSPARENT
));
13880 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_SELECTED", PyInt_FromLong((long) wxIMAGELIST_DRAW_SELECTED
));
13881 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_FOCUSED", PyInt_FromLong((long) wxIMAGELIST_DRAW_FOCUSED
));
13882 PyDict_SetItemString(d
,"wxIMAGE_LIST_NORMAL", PyInt_FromLong((long) wxIMAGE_LIST_NORMAL
));
13883 PyDict_SetItemString(d
,"wxIMAGE_LIST_SMALL", PyInt_FromLong((long) wxIMAGE_LIST_SMALL
));
13884 PyDict_SetItemString(d
,"wxIMAGE_LIST_STATE", PyInt_FromLong((long) wxIMAGE_LIST_STATE
));
13885 PyDict_SetItemString(d
,"wxOutRegion", PyInt_FromLong((long) wxOutRegion
));
13886 PyDict_SetItemString(d
,"wxPartRegion", PyInt_FromLong((long) wxPartRegion
));
13887 PyDict_SetItemString(d
,"wxInRegion", PyInt_FromLong((long) wxInRegion
));
13888 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
13889 SWIG_addvarlink(SWIG_globals
,"wxNORMAL_FONT",_wrap_wxNORMAL_FONT_get
, _wrap_wxNORMAL_FONT_set
);
13890 SWIG_addvarlink(SWIG_globals
,"wxSMALL_FONT",_wrap_wxSMALL_FONT_get
, _wrap_wxSMALL_FONT_set
);
13891 SWIG_addvarlink(SWIG_globals
,"wxITALIC_FONT",_wrap_wxITALIC_FONT_get
, _wrap_wxITALIC_FONT_set
);
13892 SWIG_addvarlink(SWIG_globals
,"wxSWISS_FONT",_wrap_wxSWISS_FONT_get
, _wrap_wxSWISS_FONT_set
);
13893 SWIG_addvarlink(SWIG_globals
,"wxRED_PEN",_wrap_wxRED_PEN_get
, _wrap_wxRED_PEN_set
);
13894 SWIG_addvarlink(SWIG_globals
,"wxCYAN_PEN",_wrap_wxCYAN_PEN_get
, _wrap_wxCYAN_PEN_set
);
13895 SWIG_addvarlink(SWIG_globals
,"wxGREEN_PEN",_wrap_wxGREEN_PEN_get
, _wrap_wxGREEN_PEN_set
);
13896 SWIG_addvarlink(SWIG_globals
,"wxBLACK_PEN",_wrap_wxBLACK_PEN_get
, _wrap_wxBLACK_PEN_set
);
13897 SWIG_addvarlink(SWIG_globals
,"wxWHITE_PEN",_wrap_wxWHITE_PEN_get
, _wrap_wxWHITE_PEN_set
);
13898 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_PEN",_wrap_wxTRANSPARENT_PEN_get
, _wrap_wxTRANSPARENT_PEN_set
);
13899 SWIG_addvarlink(SWIG_globals
,"wxBLACK_DASHED_PEN",_wrap_wxBLACK_DASHED_PEN_get
, _wrap_wxBLACK_DASHED_PEN_set
);
13900 SWIG_addvarlink(SWIG_globals
,"wxGREY_PEN",_wrap_wxGREY_PEN_get
, _wrap_wxGREY_PEN_set
);
13901 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_PEN",_wrap_wxMEDIUM_GREY_PEN_get
, _wrap_wxMEDIUM_GREY_PEN_set
);
13902 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_PEN",_wrap_wxLIGHT_GREY_PEN_get
, _wrap_wxLIGHT_GREY_PEN_set
);
13903 SWIG_addvarlink(SWIG_globals
,"wxBLUE_BRUSH",_wrap_wxBLUE_BRUSH_get
, _wrap_wxBLUE_BRUSH_set
);
13904 SWIG_addvarlink(SWIG_globals
,"wxGREEN_BRUSH",_wrap_wxGREEN_BRUSH_get
, _wrap_wxGREEN_BRUSH_set
);
13905 SWIG_addvarlink(SWIG_globals
,"wxWHITE_BRUSH",_wrap_wxWHITE_BRUSH_get
, _wrap_wxWHITE_BRUSH_set
);
13906 SWIG_addvarlink(SWIG_globals
,"wxBLACK_BRUSH",_wrap_wxBLACK_BRUSH_get
, _wrap_wxBLACK_BRUSH_set
);
13907 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_BRUSH",_wrap_wxTRANSPARENT_BRUSH_get
, _wrap_wxTRANSPARENT_BRUSH_set
);
13908 SWIG_addvarlink(SWIG_globals
,"wxCYAN_BRUSH",_wrap_wxCYAN_BRUSH_get
, _wrap_wxCYAN_BRUSH_set
);
13909 SWIG_addvarlink(SWIG_globals
,"wxRED_BRUSH",_wrap_wxRED_BRUSH_get
, _wrap_wxRED_BRUSH_set
);
13910 SWIG_addvarlink(SWIG_globals
,"wxGREY_BRUSH",_wrap_wxGREY_BRUSH_get
, _wrap_wxGREY_BRUSH_set
);
13911 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_BRUSH",_wrap_wxMEDIUM_GREY_BRUSH_get
, _wrap_wxMEDIUM_GREY_BRUSH_set
);
13912 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_BRUSH",_wrap_wxLIGHT_GREY_BRUSH_get
, _wrap_wxLIGHT_GREY_BRUSH_set
);
13913 SWIG_addvarlink(SWIG_globals
,"wxBLACK",_wrap_wxBLACK_get
, _wrap_wxBLACK_set
);
13914 SWIG_addvarlink(SWIG_globals
,"wxWHITE",_wrap_wxWHITE_get
, _wrap_wxWHITE_set
);
13915 SWIG_addvarlink(SWIG_globals
,"wxRED",_wrap_wxRED_get
, _wrap_wxRED_set
);
13916 SWIG_addvarlink(SWIG_globals
,"wxBLUE",_wrap_wxBLUE_get
, _wrap_wxBLUE_set
);
13917 SWIG_addvarlink(SWIG_globals
,"wxGREEN",_wrap_wxGREEN_get
, _wrap_wxGREEN_set
);
13918 SWIG_addvarlink(SWIG_globals
,"wxCYAN",_wrap_wxCYAN_get
, _wrap_wxCYAN_set
);
13919 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY",_wrap_wxLIGHT_GREY_get
, _wrap_wxLIGHT_GREY_set
);
13920 SWIG_addvarlink(SWIG_globals
,"wxSTANDARD_CURSOR",_wrap_wxSTANDARD_CURSOR_get
, _wrap_wxSTANDARD_CURSOR_set
);
13921 SWIG_addvarlink(SWIG_globals
,"wxHOURGLASS_CURSOR",_wrap_wxHOURGLASS_CURSOR_get
, _wrap_wxHOURGLASS_CURSOR_set
);
13922 SWIG_addvarlink(SWIG_globals
,"wxCROSS_CURSOR",_wrap_wxCROSS_CURSOR_get
, _wrap_wxCROSS_CURSOR_set
);
13923 SWIG_addvarlink(SWIG_globals
,"wxNullBitmap",_wrap_wxNullBitmap_get
, _wrap_wxNullBitmap_set
);
13924 SWIG_addvarlink(SWIG_globals
,"wxNullIcon",_wrap_wxNullIcon_get
, _wrap_wxNullIcon_set
);
13925 SWIG_addvarlink(SWIG_globals
,"wxNullCursor",_wrap_wxNullCursor_get
, _wrap_wxNullCursor_set
);
13926 SWIG_addvarlink(SWIG_globals
,"wxNullPen",_wrap_wxNullPen_get
, _wrap_wxNullPen_set
);
13927 SWIG_addvarlink(SWIG_globals
,"wxNullBrush",_wrap_wxNullBrush_get
, _wrap_wxNullBrush_set
);
13928 SWIG_addvarlink(SWIG_globals
,"wxNullPalette",_wrap_wxNullPalette_get
, _wrap_wxNullPalette_set
);
13929 SWIG_addvarlink(SWIG_globals
,"wxNullFont",_wrap_wxNullFont_get
, _wrap_wxNullFont_set
);
13930 SWIG_addvarlink(SWIG_globals
,"wxNullColour",_wrap_wxNullColour_get
, _wrap_wxNullColour_set
);
13931 SWIG_addvarlink(SWIG_globals
,"wxTheFontList",_wrap_wxTheFontList_get
, _wrap_wxTheFontList_set
);
13932 SWIG_addvarlink(SWIG_globals
,"wxThePenList",_wrap_wxThePenList_get
, _wrap_wxThePenList_set
);
13933 SWIG_addvarlink(SWIG_globals
,"wxTheBrushList",_wrap_wxTheBrushList_get
, _wrap_wxTheBrushList_set
);
13934 SWIG_addvarlink(SWIG_globals
,"wxTheColourDatabase",_wrap_wxTheColourDatabase_get
, _wrap_wxTheColourDatabase_set
);
13937 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
13938 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);