2 * FILE : src/gtk/gdi.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initgdic
56 #define SWIG_name "gdic"
59 #include <wx/imaglist.h>
60 #include <wx/fontmap.h>
61 #include <wx/fontenc.h>
62 #include <wx/fontmap.h>
63 #include <wx/fontutil.h>
64 #include <wx/dcbuffer.h>
67 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
73 } else if (target
== Py_None
) {
77 if (!PyTuple_Check(target
)) {
79 target
= PyTuple_New(1);
80 PyTuple_SetItem(target
, 0, o2
);
83 PyTuple_SetItem(o3
, 0, o
);
86 target
= PySequence_Concat(o2
, o3
);
92 // Implementations of some alternate "constructors"
94 wxBitmap
* wxEmptyBitmap(int width
, int height
, int depth
=-1) {
95 return new wxBitmap(width
, height
, depth
);
98 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
102 if (!PyList_Check(listOfStrings
)) {
103 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
106 count
= PyList_Size(listOfStrings
);
107 cArray
= new char*[count
];
109 for(int x
=0; x
<count
; x
++) {
110 // TODO: Need some validation and error checking here
111 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
117 wxBitmap
* wxBitmapFromXPMData(PyObject
* listOfStrings
) {
118 char** cArray
= NULL
;
121 cArray
= ConvertListOfStrings(listOfStrings
);
124 bmp
= new wxBitmap(cArray
);
130 wxBitmap
* wxBitmapFromIcon(const wxIcon
& icon
) {
131 return new wxBitmap(icon
);
135 wxBitmap
* wxBitmapFromBits(char* bits
, int width
, int height
, int depth
= 1 ) {
136 return new wxBitmap(bits
, width
, height
, depth
);
141 // wxBitmap* wxBitmapFromData(PyObject* data, long type,
142 // int width, int height, int depth = 1) {
143 // if (! PyString_Check(data)) {
144 // PyErr_SetString(PyExc_TypeError, "Expected string object");
147 // return new wxBitmap((void*)PyString_AsString(data), type, width, height, depth);
151 wxMask
* wxMaskColour(const wxBitmap
& bitmap
, const wxColour
& colour
) {
152 return new wxMask(bitmap
, colour
);
154 // Implementations of some alternate "constructors"
155 wxIcon
* wxEmptyIcon() {
159 wxIcon
* wxIconFromXPMData(PyObject
* listOfStrings
) {
160 char** cArray
= NULL
;
163 cArray
= ConvertListOfStrings(listOfStrings
);
166 icon
= new wxIcon(cArray
);
171 wxIcon
* wxIconFromBitmap(const wxBitmap
& bmp
) {
172 wxIcon
* icon
= new wxIcon();
173 icon
->CopyFromBitmap(bmp
);
176 // Alternate 'constructor'
177 wxCursor
* wxPyStockCursor(int id
) {
178 return new wxCursor(id
);
180 // Alternate 'constructor'
181 wxColour
* wxNamedColour(const wxString
& colorName
) {
182 return new wxColour(colorName
);
185 class wxPyPen
: public wxPen
{
187 wxPyPen(wxColour
& colour
, int width
=1, int style
=wxSOLID
)
188 : wxPen(colour
, width
, style
)
195 void SetDashes(int nb_dashes
, const wxDash
*dash
) {
198 m_dash
= new wxDash
[nb_dashes
];
199 for (int i
=0; i
<nb_dashes
; i
++) {
202 wxPen::SetDashes(nb_dashes
, m_dash
);
209 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
215 // Alternate 'constructor'
216 wxMemoryDC
* wxMemoryDCFromDC(wxDC
* oldDC
) {
217 return new wxMemoryDC(oldDC
);
221 extern wxFont
* wxNORMAL_FONT
;
222 extern wxFont
* wxSMALL_FONT
;
223 extern wxFont
* wxITALIC_FONT
;
224 extern wxFont
* wxSWISS_FONT
;
225 extern wxPen
* wxRED_PEN
;
226 extern wxPen
* wxCYAN_PEN
;
227 extern wxPen
* wxGREEN_PEN
;
228 extern wxPen
* wxBLACK_PEN
;
229 extern wxPen
* wxWHITE_PEN
;
230 extern wxPen
* wxTRANSPARENT_PEN
;
231 extern wxPen
* wxBLACK_DASHED_PEN
;
232 extern wxPen
* wxGREY_PEN
;
233 extern wxPen
* wxMEDIUM_GREY_PEN
;
234 extern wxPen
* wxLIGHT_GREY_PEN
;
235 extern wxBrush
* wxBLUE_BRUSH
;
236 extern wxBrush
* wxGREEN_BRUSH
;
237 extern wxBrush
* wxWHITE_BRUSH
;
238 extern wxBrush
* wxBLACK_BRUSH
;
239 extern wxBrush
* wxTRANSPARENT_BRUSH
;
240 extern wxBrush
* wxCYAN_BRUSH
;
241 extern wxBrush
* wxRED_BRUSH
;
242 extern wxBrush
* wxGREY_BRUSH
;
243 extern wxBrush
* wxMEDIUM_GREY_BRUSH
;
244 extern wxBrush
* wxLIGHT_GREY_BRUSH
;
245 extern wxColour
* wxBLACK
;
246 extern wxColour
* wxWHITE
;
247 extern wxColour
* wxRED
;
248 extern wxColour
* wxBLUE
;
249 extern wxColour
* wxGREEN
;
250 extern wxColour
* wxCYAN
;
251 extern wxColour
* wxLIGHT_GREY
;
252 extern wxCursor
* wxSTANDARD_CURSOR
;
253 extern wxCursor
* wxHOURGLASS_CURSOR
;
254 extern wxCursor
* wxCROSS_CURSOR
;
255 extern wxBitmap wxNullBitmap
;
256 extern wxIcon wxNullIcon
;
257 extern wxCursor wxNullCursor
;
258 extern wxPen wxNullPen
;
259 extern wxBrush wxNullBrush
;
260 extern wxPalette wxNullPalette
;
261 extern wxFont wxNullFont
;
262 extern wxColour wxNullColour
;
263 extern wxFontList
* wxTheFontList
;
264 extern wxPenList
* wxThePenList
;
265 extern wxBrushList
* wxTheBrushList
;
266 extern wxColourDatabase
* wxTheColourDatabase
;
272 static PyObject
*_wrap_wxEmptyBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
273 PyObject
* _resultobj
;
277 int _arg2
= (int ) -1;
278 char *_kwnames
[] = { "width","height","depth", NULL
};
282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ii|i:wxEmptyBitmap",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
286 _result
= (wxBitmap
*)wxEmptyBitmap(_arg0
,_arg1
,_arg2
);
288 wxPyEndAllowThreads(__tstate
);
289 if (PyErr_Occurred()) return NULL
;
291 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
292 _resultobj
= Py_BuildValue("s",_ptemp
);
295 _resultobj
= Py_None
;
300 static PyObject
*_wrap_wxBitmapFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
301 PyObject
* _resultobj
;
304 PyObject
* _obj0
= 0;
305 char *_kwnames
[] = { "listOfStrings", NULL
};
309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapFromXPMData",_kwnames
,&_obj0
))
315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
316 _result
= (wxBitmap
*)wxBitmapFromXPMData(_arg0
);
318 wxPyEndAllowThreads(__tstate
);
319 if (PyErr_Occurred()) return NULL
;
321 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
322 _resultobj
= Py_BuildValue("s",_ptemp
);
325 _resultobj
= Py_None
;
330 static PyObject
*_wrap_wxBitmapFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
331 PyObject
* _resultobj
;
334 PyObject
* _argo0
= 0;
335 char *_kwnames
[] = { "icon", NULL
};
339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapFromIcon",_kwnames
,&_argo0
))
342 if (_argo0
== Py_None
) { _arg0
= NULL
; }
343 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapFromIcon. Expected _wxIcon_p.");
349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
350 _result
= (wxBitmap
*)wxBitmapFromIcon(*_arg0
);
352 wxPyEndAllowThreads(__tstate
);
353 if (PyErr_Occurred()) return NULL
;
355 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
356 _resultobj
= Py_BuildValue("s",_ptemp
);
359 _resultobj
= Py_None
;
364 static PyObject
*_wrap_wxBitmapFromBits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
365 PyObject
* _resultobj
;
370 int _arg3
= (int ) 1;
371 char *_kwnames
[] = { "bits","width","height","depth", NULL
};
375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"sii|i:wxBitmapFromBits",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
379 _result
= (wxBitmap
*)wxBitmapFromBits(_arg0
,_arg1
,_arg2
,_arg3
);
381 wxPyEndAllowThreads(__tstate
);
382 if (PyErr_Occurred()) return NULL
;
384 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
385 _resultobj
= Py_BuildValue("s",_ptemp
);
388 _resultobj
= Py_None
;
393 static PyObject
*_wrap_wxMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
394 PyObject
* _resultobj
;
398 PyObject
* _argo0
= 0;
400 PyObject
* _obj1
= 0;
401 char *_kwnames
[] = { "bitmap","colour", NULL
};
405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMaskColour",_kwnames
,&_argo0
,&_obj1
))
408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMaskColour. Expected _wxBitmap_p.");
416 if (! wxColour_helper(_obj1
, &_arg1
))
420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
421 _result
= (wxMask
*)wxMaskColour(*_arg0
,*_arg1
);
423 wxPyEndAllowThreads(__tstate
);
424 if (PyErr_Occurred()) return NULL
;
426 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
427 _resultobj
= Py_BuildValue("s",_ptemp
);
430 _resultobj
= Py_None
;
435 static PyObject
*_wrap_wxEmptyIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
436 PyObject
* _resultobj
;
438 char *_kwnames
[] = { NULL
};
442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxEmptyIcon",_kwnames
))
445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
446 _result
= (wxIcon
*)wxEmptyIcon();
448 wxPyEndAllowThreads(__tstate
);
449 if (PyErr_Occurred()) return NULL
;
451 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
452 _resultobj
= Py_BuildValue("s",_ptemp
);
455 _resultobj
= Py_None
;
460 static PyObject
*_wrap_wxIconFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
461 PyObject
* _resultobj
;
464 PyObject
* _obj0
= 0;
465 char *_kwnames
[] = { "listOfStrings", NULL
};
469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIconFromXPMData",_kwnames
,&_obj0
))
475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
476 _result
= (wxIcon
*)wxIconFromXPMData(_arg0
);
478 wxPyEndAllowThreads(__tstate
);
479 if (PyErr_Occurred()) return NULL
;
481 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
482 _resultobj
= Py_BuildValue("s",_ptemp
);
485 _resultobj
= Py_None
;
490 static PyObject
*_wrap_wxIconFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
491 PyObject
* _resultobj
;
494 PyObject
* _argo0
= 0;
495 char *_kwnames
[] = { "bmp", NULL
};
499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIconFromBitmap",_kwnames
,&_argo0
))
502 if (_argo0
== Py_None
) { _arg0
= NULL
; }
503 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIconFromBitmap. Expected _wxBitmap_p.");
509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
510 _result
= (wxIcon
*)wxIconFromBitmap(*_arg0
);
512 wxPyEndAllowThreads(__tstate
);
513 if (PyErr_Occurred()) return NULL
;
515 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
516 _resultobj
= Py_BuildValue("s",_ptemp
);
519 _resultobj
= Py_None
;
524 static PyObject
*_wrap_wxStockCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
525 PyObject
* _resultobj
;
528 char *_kwnames
[] = { "id", NULL
};
532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxStockCursor",_kwnames
,&_arg0
))
535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
536 _result
= (wxCursor
*)wxPyStockCursor(_arg0
);
538 wxPyEndAllowThreads(__tstate
);
539 if (PyErr_Occurred()) return NULL
;
541 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCursor_p");
542 _resultobj
= Py_BuildValue("s",_ptemp
);
545 _resultobj
= Py_None
;
550 static PyObject
*_wrap_wxNamedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
551 PyObject
* _resultobj
;
554 PyObject
* _obj0
= 0;
555 char *_kwnames
[] = { "colorName", NULL
};
559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNamedColour",_kwnames
,&_obj0
))
562 _arg0
= wxString_in_helper(_obj0
);
567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
568 _result
= (wxColour
*)wxNamedColour(*_arg0
);
570 wxPyEndAllowThreads(__tstate
);
571 if (PyErr_Occurred()) return NULL
;
573 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
574 _resultobj
= Py_BuildValue("s",_ptemp
);
577 _resultobj
= Py_None
;
586 static PyObject
*_wrap_wxMemoryDCFromDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
587 PyObject
* _resultobj
;
588 wxMemoryDC
* _result
;
590 PyObject
* _argo0
= 0;
591 char *_kwnames
[] = { "oldDC", NULL
};
595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMemoryDCFromDC",_kwnames
,&_argo0
))
598 if (_argo0
== Py_None
) { _arg0
= NULL
; }
599 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDCFromDC. Expected _wxDC_p.");
605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
606 _result
= (wxMemoryDC
*)wxMemoryDCFromDC(_arg0
);
608 wxPyEndAllowThreads(__tstate
);
609 if (PyErr_Occurred()) return NULL
;
611 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
612 _resultobj
= Py_BuildValue("s",_ptemp
);
615 _resultobj
= Py_None
;
620 static int _wrap_wxNORMAL_FONT_set(PyObject
*val
) {
622 PyErr_SetString(PyExc_TypeError
,"Variable wxNORMAL_FONT is read-only.");
626 static PyObject
*_wrap_wxNORMAL_FONT_get() {
630 SWIG_MakePtr(ptemp
, (char *) wxNORMAL_FONT
,"_wxFont_p");
631 pyobj
= PyString_FromString(ptemp
);
635 static int _wrap_wxSMALL_FONT_set(PyObject
*val
) {
637 PyErr_SetString(PyExc_TypeError
,"Variable wxSMALL_FONT is read-only.");
641 static PyObject
*_wrap_wxSMALL_FONT_get() {
645 SWIG_MakePtr(ptemp
, (char *) wxSMALL_FONT
,"_wxFont_p");
646 pyobj
= PyString_FromString(ptemp
);
650 static int _wrap_wxITALIC_FONT_set(PyObject
*val
) {
652 PyErr_SetString(PyExc_TypeError
,"Variable wxITALIC_FONT is read-only.");
656 static PyObject
*_wrap_wxITALIC_FONT_get() {
660 SWIG_MakePtr(ptemp
, (char *) wxITALIC_FONT
,"_wxFont_p");
661 pyobj
= PyString_FromString(ptemp
);
665 static int _wrap_wxSWISS_FONT_set(PyObject
*val
) {
667 PyErr_SetString(PyExc_TypeError
,"Variable wxSWISS_FONT is read-only.");
671 static PyObject
*_wrap_wxSWISS_FONT_get() {
675 SWIG_MakePtr(ptemp
, (char *) wxSWISS_FONT
,"_wxFont_p");
676 pyobj
= PyString_FromString(ptemp
);
680 static int _wrap_wxRED_PEN_set(PyObject
*val
) {
682 PyErr_SetString(PyExc_TypeError
,"Variable wxRED_PEN is read-only.");
686 static PyObject
*_wrap_wxRED_PEN_get() {
690 SWIG_MakePtr(ptemp
, (char *) wxRED_PEN
,"_wxPen_p");
691 pyobj
= PyString_FromString(ptemp
);
695 static int _wrap_wxCYAN_PEN_set(PyObject
*val
) {
697 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN_PEN is read-only.");
701 static PyObject
*_wrap_wxCYAN_PEN_get() {
705 SWIG_MakePtr(ptemp
, (char *) wxCYAN_PEN
,"_wxPen_p");
706 pyobj
= PyString_FromString(ptemp
);
710 static int _wrap_wxGREEN_PEN_set(PyObject
*val
) {
712 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN_PEN is read-only.");
716 static PyObject
*_wrap_wxGREEN_PEN_get() {
720 SWIG_MakePtr(ptemp
, (char *) wxGREEN_PEN
,"_wxPen_p");
721 pyobj
= PyString_FromString(ptemp
);
725 static int _wrap_wxBLACK_PEN_set(PyObject
*val
) {
727 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_PEN is read-only.");
731 static PyObject
*_wrap_wxBLACK_PEN_get() {
735 SWIG_MakePtr(ptemp
, (char *) wxBLACK_PEN
,"_wxPen_p");
736 pyobj
= PyString_FromString(ptemp
);
740 static int _wrap_wxWHITE_PEN_set(PyObject
*val
) {
742 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE_PEN is read-only.");
746 static PyObject
*_wrap_wxWHITE_PEN_get() {
750 SWIG_MakePtr(ptemp
, (char *) wxWHITE_PEN
,"_wxPen_p");
751 pyobj
= PyString_FromString(ptemp
);
755 static int _wrap_wxTRANSPARENT_PEN_set(PyObject
*val
) {
757 PyErr_SetString(PyExc_TypeError
,"Variable wxTRANSPARENT_PEN is read-only.");
761 static PyObject
*_wrap_wxTRANSPARENT_PEN_get() {
765 SWIG_MakePtr(ptemp
, (char *) wxTRANSPARENT_PEN
,"_wxPen_p");
766 pyobj
= PyString_FromString(ptemp
);
770 static int _wrap_wxBLACK_DASHED_PEN_set(PyObject
*val
) {
772 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_DASHED_PEN is read-only.");
776 static PyObject
*_wrap_wxBLACK_DASHED_PEN_get() {
780 SWIG_MakePtr(ptemp
, (char *) wxBLACK_DASHED_PEN
,"_wxPen_p");
781 pyobj
= PyString_FromString(ptemp
);
785 static int _wrap_wxGREY_PEN_set(PyObject
*val
) {
787 PyErr_SetString(PyExc_TypeError
,"Variable wxGREY_PEN is read-only.");
791 static PyObject
*_wrap_wxGREY_PEN_get() {
795 SWIG_MakePtr(ptemp
, (char *) wxGREY_PEN
,"_wxPen_p");
796 pyobj
= PyString_FromString(ptemp
);
800 static int _wrap_wxMEDIUM_GREY_PEN_set(PyObject
*val
) {
802 PyErr_SetString(PyExc_TypeError
,"Variable wxMEDIUM_GREY_PEN is read-only.");
806 static PyObject
*_wrap_wxMEDIUM_GREY_PEN_get() {
810 SWIG_MakePtr(ptemp
, (char *) wxMEDIUM_GREY_PEN
,"_wxPen_p");
811 pyobj
= PyString_FromString(ptemp
);
815 static int _wrap_wxLIGHT_GREY_PEN_set(PyObject
*val
) {
817 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY_PEN is read-only.");
821 static PyObject
*_wrap_wxLIGHT_GREY_PEN_get() {
825 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY_PEN
,"_wxPen_p");
826 pyobj
= PyString_FromString(ptemp
);
830 static int _wrap_wxBLUE_BRUSH_set(PyObject
*val
) {
832 PyErr_SetString(PyExc_TypeError
,"Variable wxBLUE_BRUSH is read-only.");
836 static PyObject
*_wrap_wxBLUE_BRUSH_get() {
840 SWIG_MakePtr(ptemp
, (char *) wxBLUE_BRUSH
,"_wxBrush_p");
841 pyobj
= PyString_FromString(ptemp
);
845 static int _wrap_wxGREEN_BRUSH_set(PyObject
*val
) {
847 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN_BRUSH is read-only.");
851 static PyObject
*_wrap_wxGREEN_BRUSH_get() {
855 SWIG_MakePtr(ptemp
, (char *) wxGREEN_BRUSH
,"_wxBrush_p");
856 pyobj
= PyString_FromString(ptemp
);
860 static int _wrap_wxWHITE_BRUSH_set(PyObject
*val
) {
862 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE_BRUSH is read-only.");
866 static PyObject
*_wrap_wxWHITE_BRUSH_get() {
870 SWIG_MakePtr(ptemp
, (char *) wxWHITE_BRUSH
,"_wxBrush_p");
871 pyobj
= PyString_FromString(ptemp
);
875 static int _wrap_wxBLACK_BRUSH_set(PyObject
*val
) {
877 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_BRUSH is read-only.");
881 static PyObject
*_wrap_wxBLACK_BRUSH_get() {
885 SWIG_MakePtr(ptemp
, (char *) wxBLACK_BRUSH
,"_wxBrush_p");
886 pyobj
= PyString_FromString(ptemp
);
890 static int _wrap_wxTRANSPARENT_BRUSH_set(PyObject
*val
) {
892 PyErr_SetString(PyExc_TypeError
,"Variable wxTRANSPARENT_BRUSH is read-only.");
896 static PyObject
*_wrap_wxTRANSPARENT_BRUSH_get() {
900 SWIG_MakePtr(ptemp
, (char *) wxTRANSPARENT_BRUSH
,"_wxBrush_p");
901 pyobj
= PyString_FromString(ptemp
);
905 static int _wrap_wxCYAN_BRUSH_set(PyObject
*val
) {
907 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN_BRUSH is read-only.");
911 static PyObject
*_wrap_wxCYAN_BRUSH_get() {
915 SWIG_MakePtr(ptemp
, (char *) wxCYAN_BRUSH
,"_wxBrush_p");
916 pyobj
= PyString_FromString(ptemp
);
920 static int _wrap_wxRED_BRUSH_set(PyObject
*val
) {
922 PyErr_SetString(PyExc_TypeError
,"Variable wxRED_BRUSH is read-only.");
926 static PyObject
*_wrap_wxRED_BRUSH_get() {
930 SWIG_MakePtr(ptemp
, (char *) wxRED_BRUSH
,"_wxBrush_p");
931 pyobj
= PyString_FromString(ptemp
);
935 static int _wrap_wxGREY_BRUSH_set(PyObject
*val
) {
937 PyErr_SetString(PyExc_TypeError
,"Variable wxGREY_BRUSH is read-only.");
941 static PyObject
*_wrap_wxGREY_BRUSH_get() {
945 SWIG_MakePtr(ptemp
, (char *) wxGREY_BRUSH
,"_wxBrush_p");
946 pyobj
= PyString_FromString(ptemp
);
950 static int _wrap_wxMEDIUM_GREY_BRUSH_set(PyObject
*val
) {
952 PyErr_SetString(PyExc_TypeError
,"Variable wxMEDIUM_GREY_BRUSH is read-only.");
956 static PyObject
*_wrap_wxMEDIUM_GREY_BRUSH_get() {
960 SWIG_MakePtr(ptemp
, (char *) wxMEDIUM_GREY_BRUSH
,"_wxBrush_p");
961 pyobj
= PyString_FromString(ptemp
);
965 static int _wrap_wxLIGHT_GREY_BRUSH_set(PyObject
*val
) {
967 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY_BRUSH is read-only.");
971 static PyObject
*_wrap_wxLIGHT_GREY_BRUSH_get() {
975 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY_BRUSH
,"_wxBrush_p");
976 pyobj
= PyString_FromString(ptemp
);
980 static int _wrap_wxBLACK_set(PyObject
*val
) {
982 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK is read-only.");
986 static PyObject
*_wrap_wxBLACK_get() {
990 SWIG_MakePtr(ptemp
, (char *) wxBLACK
,"_wxColour_p");
991 pyobj
= PyString_FromString(ptemp
);
995 static int _wrap_wxWHITE_set(PyObject
*val
) {
997 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE is read-only.");
1001 static PyObject
*_wrap_wxWHITE_get() {
1005 SWIG_MakePtr(ptemp
, (char *) wxWHITE
,"_wxColour_p");
1006 pyobj
= PyString_FromString(ptemp
);
1010 static int _wrap_wxRED_set(PyObject
*val
) {
1012 PyErr_SetString(PyExc_TypeError
,"Variable wxRED is read-only.");
1016 static PyObject
*_wrap_wxRED_get() {
1020 SWIG_MakePtr(ptemp
, (char *) wxRED
,"_wxColour_p");
1021 pyobj
= PyString_FromString(ptemp
);
1025 static int _wrap_wxBLUE_set(PyObject
*val
) {
1027 PyErr_SetString(PyExc_TypeError
,"Variable wxBLUE is read-only.");
1031 static PyObject
*_wrap_wxBLUE_get() {
1035 SWIG_MakePtr(ptemp
, (char *) wxBLUE
,"_wxColour_p");
1036 pyobj
= PyString_FromString(ptemp
);
1040 static int _wrap_wxGREEN_set(PyObject
*val
) {
1042 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN is read-only.");
1046 static PyObject
*_wrap_wxGREEN_get() {
1050 SWIG_MakePtr(ptemp
, (char *) wxGREEN
,"_wxColour_p");
1051 pyobj
= PyString_FromString(ptemp
);
1055 static int _wrap_wxCYAN_set(PyObject
*val
) {
1057 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN is read-only.");
1061 static PyObject
*_wrap_wxCYAN_get() {
1065 SWIG_MakePtr(ptemp
, (char *) wxCYAN
,"_wxColour_p");
1066 pyobj
= PyString_FromString(ptemp
);
1070 static int _wrap_wxLIGHT_GREY_set(PyObject
*val
) {
1072 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY is read-only.");
1076 static PyObject
*_wrap_wxLIGHT_GREY_get() {
1080 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY
,"_wxColour_p");
1081 pyobj
= PyString_FromString(ptemp
);
1085 static int _wrap_wxSTANDARD_CURSOR_set(PyObject
*val
) {
1087 PyErr_SetString(PyExc_TypeError
,"Variable wxSTANDARD_CURSOR is read-only.");
1091 static PyObject
*_wrap_wxSTANDARD_CURSOR_get() {
1095 SWIG_MakePtr(ptemp
, (char *) wxSTANDARD_CURSOR
,"_wxCursor_p");
1096 pyobj
= PyString_FromString(ptemp
);
1100 static int _wrap_wxHOURGLASS_CURSOR_set(PyObject
*val
) {
1102 PyErr_SetString(PyExc_TypeError
,"Variable wxHOURGLASS_CURSOR is read-only.");
1106 static PyObject
*_wrap_wxHOURGLASS_CURSOR_get() {
1110 SWIG_MakePtr(ptemp
, (char *) wxHOURGLASS_CURSOR
,"_wxCursor_p");
1111 pyobj
= PyString_FromString(ptemp
);
1115 static int _wrap_wxCROSS_CURSOR_set(PyObject
*val
) {
1117 PyErr_SetString(PyExc_TypeError
,"Variable wxCROSS_CURSOR is read-only.");
1121 static PyObject
*_wrap_wxCROSS_CURSOR_get() {
1125 SWIG_MakePtr(ptemp
, (char *) wxCROSS_CURSOR
,"_wxCursor_p");
1126 pyobj
= PyString_FromString(ptemp
);
1130 static int _wrap_wxNullBitmap_set(PyObject
*val
) {
1132 PyErr_SetString(PyExc_TypeError
,"Variable wxNullBitmap is read-only.");
1136 static PyObject
*_wrap_wxNullBitmap_get() {
1140 SWIG_MakePtr(ptemp
,(char *) &wxNullBitmap
,"_wxBitmap_p");
1141 pyobj
= PyString_FromString(ptemp
);
1145 static int _wrap_wxNullIcon_set(PyObject
*val
) {
1147 PyErr_SetString(PyExc_TypeError
,"Variable wxNullIcon is read-only.");
1151 static PyObject
*_wrap_wxNullIcon_get() {
1155 SWIG_MakePtr(ptemp
,(char *) &wxNullIcon
,"_wxIcon_p");
1156 pyobj
= PyString_FromString(ptemp
);
1160 static int _wrap_wxNullCursor_set(PyObject
*val
) {
1162 PyErr_SetString(PyExc_TypeError
,"Variable wxNullCursor is read-only.");
1166 static PyObject
*_wrap_wxNullCursor_get() {
1170 SWIG_MakePtr(ptemp
,(char *) &wxNullCursor
,"_wxCursor_p");
1171 pyobj
= PyString_FromString(ptemp
);
1175 static int _wrap_wxNullPen_set(PyObject
*val
) {
1177 PyErr_SetString(PyExc_TypeError
,"Variable wxNullPen is read-only.");
1181 static PyObject
*_wrap_wxNullPen_get() {
1185 SWIG_MakePtr(ptemp
,(char *) &wxNullPen
,"_wxPen_p");
1186 pyobj
= PyString_FromString(ptemp
);
1190 static int _wrap_wxNullBrush_set(PyObject
*val
) {
1192 PyErr_SetString(PyExc_TypeError
,"Variable wxNullBrush is read-only.");
1196 static PyObject
*_wrap_wxNullBrush_get() {
1200 SWIG_MakePtr(ptemp
,(char *) &wxNullBrush
,"_wxBrush_p");
1201 pyobj
= PyString_FromString(ptemp
);
1205 static int _wrap_wxNullPalette_set(PyObject
*val
) {
1207 PyErr_SetString(PyExc_TypeError
,"Variable wxNullPalette is read-only.");
1211 static PyObject
*_wrap_wxNullPalette_get() {
1215 SWIG_MakePtr(ptemp
,(char *) &wxNullPalette
,"_wxPalette_p");
1216 pyobj
= PyString_FromString(ptemp
);
1220 static int _wrap_wxNullFont_set(PyObject
*val
) {
1222 PyErr_SetString(PyExc_TypeError
,"Variable wxNullFont is read-only.");
1226 static PyObject
*_wrap_wxNullFont_get() {
1230 SWIG_MakePtr(ptemp
,(char *) &wxNullFont
,"_wxFont_p");
1231 pyobj
= PyString_FromString(ptemp
);
1235 static int _wrap_wxNullColour_set(PyObject
*val
) {
1237 PyErr_SetString(PyExc_TypeError
,"Variable wxNullColour is read-only.");
1241 static PyObject
*_wrap_wxNullColour_get() {
1245 SWIG_MakePtr(ptemp
,(char *) &wxNullColour
,"_wxColour_p");
1246 pyobj
= PyString_FromString(ptemp
);
1250 static int _wrap_wxTheFontList_set(PyObject
*val
) {
1252 PyErr_SetString(PyExc_TypeError
,"Variable wxTheFontList is read-only.");
1256 static PyObject
*_wrap_wxTheFontList_get() {
1260 SWIG_MakePtr(ptemp
, (char *) wxTheFontList
,"_wxFontList_p");
1261 pyobj
= PyString_FromString(ptemp
);
1265 static int _wrap_wxThePenList_set(PyObject
*val
) {
1267 PyErr_SetString(PyExc_TypeError
,"Variable wxThePenList is read-only.");
1271 static PyObject
*_wrap_wxThePenList_get() {
1275 SWIG_MakePtr(ptemp
, (char *) wxThePenList
,"_wxPenList_p");
1276 pyobj
= PyString_FromString(ptemp
);
1280 static int _wrap_wxTheBrushList_set(PyObject
*val
) {
1282 PyErr_SetString(PyExc_TypeError
,"Variable wxTheBrushList is read-only.");
1286 static PyObject
*_wrap_wxTheBrushList_get() {
1290 SWIG_MakePtr(ptemp
, (char *) wxTheBrushList
,"_wxBrushList_p");
1291 pyobj
= PyString_FromString(ptemp
);
1295 static int _wrap_wxTheColourDatabase_set(PyObject
*val
) {
1297 PyErr_SetString(PyExc_TypeError
,"Variable wxTheColourDatabase is read-only.");
1301 static PyObject
*_wrap_wxTheColourDatabase_get() {
1305 SWIG_MakePtr(ptemp
, (char *) wxTheColourDatabase
,"_wxColourDatabase_p");
1306 pyobj
= PyString_FromString(ptemp
);
1310 static void *SwigwxGDIObjectTowxObject(void *ptr
) {
1313 src
= (wxGDIObject
*) ptr
;
1314 dest
= (wxObject
*) src
;
1315 return (void *) dest
;
1318 #define new_wxGDIObject() (new wxGDIObject())
1319 static PyObject
*_wrap_new_wxGDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1320 PyObject
* _resultobj
;
1321 wxGDIObject
* _result
;
1322 char *_kwnames
[] = { NULL
};
1326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGDIObject",_kwnames
))
1329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1330 _result
= (wxGDIObject
*)new_wxGDIObject();
1332 wxPyEndAllowThreads(__tstate
);
1333 if (PyErr_Occurred()) return NULL
;
1335 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGDIObject_p");
1336 _resultobj
= Py_BuildValue("s",_ptemp
);
1339 _resultobj
= Py_None
;
1344 #define delete_wxGDIObject(_swigobj) (delete _swigobj)
1345 static PyObject
*_wrap_delete_wxGDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1346 PyObject
* _resultobj
;
1347 wxGDIObject
* _arg0
;
1348 PyObject
* _argo0
= 0;
1349 char *_kwnames
[] = { "self", NULL
};
1352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxGDIObject",_kwnames
,&_argo0
))
1355 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1356 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGDIObject_p")) {
1357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxGDIObject. Expected _wxGDIObject_p.");
1362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1363 delete_wxGDIObject(_arg0
);
1365 wxPyEndAllowThreads(__tstate
);
1366 if (PyErr_Occurred()) return NULL
;
1367 } Py_INCREF(Py_None
);
1368 _resultobj
= Py_None
;
1372 #define wxGDIObject_GetVisible(_swigobj) (_swigobj->GetVisible())
1373 static PyObject
*_wrap_wxGDIObject_GetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1374 PyObject
* _resultobj
;
1376 wxGDIObject
* _arg0
;
1377 PyObject
* _argo0
= 0;
1378 char *_kwnames
[] = { "self", NULL
};
1381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGDIObject_GetVisible",_kwnames
,&_argo0
))
1384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGDIObject_p")) {
1386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGDIObject_GetVisible. Expected _wxGDIObject_p.");
1391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1392 _result
= (bool )wxGDIObject_GetVisible(_arg0
);
1394 wxPyEndAllowThreads(__tstate
);
1395 if (PyErr_Occurred()) return NULL
;
1396 } _resultobj
= Py_BuildValue("i",_result
);
1400 #define wxGDIObject_SetVisible(_swigobj,_swigarg0) (_swigobj->SetVisible(_swigarg0))
1401 static PyObject
*_wrap_wxGDIObject_SetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1402 PyObject
* _resultobj
;
1403 wxGDIObject
* _arg0
;
1405 PyObject
* _argo0
= 0;
1407 char *_kwnames
[] = { "self","visible", NULL
};
1410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGDIObject_SetVisible",_kwnames
,&_argo0
,&tempbool1
))
1413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGDIObject_p")) {
1415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGDIObject_SetVisible. Expected _wxGDIObject_p.");
1419 _arg1
= (bool ) tempbool1
;
1421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1422 wxGDIObject_SetVisible(_arg0
,_arg1
);
1424 wxPyEndAllowThreads(__tstate
);
1425 if (PyErr_Occurred()) return NULL
;
1426 } Py_INCREF(Py_None
);
1427 _resultobj
= Py_None
;
1431 #define wxGDIObject_IsNull(_swigobj) (_swigobj->IsNull())
1432 static PyObject
*_wrap_wxGDIObject_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1433 PyObject
* _resultobj
;
1435 wxGDIObject
* _arg0
;
1436 PyObject
* _argo0
= 0;
1437 char *_kwnames
[] = { "self", NULL
};
1440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGDIObject_IsNull",_kwnames
,&_argo0
))
1443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGDIObject_p")) {
1445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGDIObject_IsNull. Expected _wxGDIObject_p.");
1450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1451 _result
= (bool )wxGDIObject_IsNull(_arg0
);
1453 wxPyEndAllowThreads(__tstate
);
1454 if (PyErr_Occurred()) return NULL
;
1455 } _resultobj
= Py_BuildValue("i",_result
);
1459 static void *SwigwxBitmapTowxGDIObject(void *ptr
) {
1462 src
= (wxBitmap
*) ptr
;
1463 dest
= (wxGDIObject
*) src
;
1464 return (void *) dest
;
1467 static void *SwigwxBitmapTowxObject(void *ptr
) {
1470 src
= (wxBitmap
*) ptr
;
1471 dest
= (wxObject
*) src
;
1472 return (void *) dest
;
1475 #define new_wxBitmap(_swigarg0,_swigarg1) (new wxBitmap(_swigarg0,_swigarg1))
1476 static PyObject
*_wrap_new_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1477 PyObject
* _resultobj
;
1480 wxBitmapType _arg1
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
1481 PyObject
* _obj0
= 0;
1482 char *_kwnames
[] = { "name","type", NULL
};
1486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxBitmap",_kwnames
,&_obj0
,&_arg1
))
1489 _arg0
= wxString_in_helper(_obj0
);
1494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1495 _result
= (wxBitmap
*)new_wxBitmap(*_arg0
,_arg1
);
1497 wxPyEndAllowThreads(__tstate
);
1498 if (PyErr_Occurred()) return NULL
;
1500 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1501 _resultobj
= Py_BuildValue("s",_ptemp
);
1504 _resultobj
= Py_None
;
1513 #define delete_wxBitmap(_swigobj) (delete _swigobj)
1514 static PyObject
*_wrap_delete_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1515 PyObject
* _resultobj
;
1517 PyObject
* _argo0
= 0;
1518 char *_kwnames
[] = { "self", NULL
};
1521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBitmap",_kwnames
,&_argo0
))
1524 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1525 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBitmap. Expected _wxBitmap_p.");
1531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1532 delete_wxBitmap(_arg0
);
1534 wxPyEndAllowThreads(__tstate
);
1535 if (PyErr_Occurred()) return NULL
;
1536 } Py_INCREF(Py_None
);
1537 _resultobj
= Py_None
;
1541 #define wxBitmap_GetPalette(_swigobj) (_swigobj->GetPalette())
1542 static PyObject
*_wrap_wxBitmap_GetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1543 PyObject
* _resultobj
;
1544 wxPalette
* _result
;
1546 PyObject
* _argo0
= 0;
1547 char *_kwnames
[] = { "self", NULL
};
1551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetPalette",_kwnames
,&_argo0
))
1554 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1555 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetPalette. Expected _wxBitmap_p.");
1561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1562 _result
= (wxPalette
*)wxBitmap_GetPalette(_arg0
);
1564 wxPyEndAllowThreads(__tstate
);
1565 if (PyErr_Occurred()) return NULL
;
1567 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPalette_p");
1568 _resultobj
= Py_BuildValue("s",_ptemp
);
1571 _resultobj
= Py_None
;
1576 #define wxBitmap_GetMask(_swigobj) (_swigobj->GetMask())
1577 static PyObject
*_wrap_wxBitmap_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1578 PyObject
* _resultobj
;
1581 PyObject
* _argo0
= 0;
1582 char *_kwnames
[] = { "self", NULL
};
1586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetMask",_kwnames
,&_argo0
))
1589 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1590 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetMask. Expected _wxBitmap_p.");
1596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1597 _result
= (wxMask
*)wxBitmap_GetMask(_arg0
);
1599 wxPyEndAllowThreads(__tstate
);
1600 if (PyErr_Occurred()) return NULL
;
1602 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
1603 _resultobj
= Py_BuildValue("s",_ptemp
);
1606 _resultobj
= Py_None
;
1611 #define wxBitmap_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
1612 static PyObject
*_wrap_wxBitmap_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1613 PyObject
* _resultobj
;
1617 wxBitmapType _arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
1618 PyObject
* _argo0
= 0;
1619 PyObject
* _obj1
= 0;
1620 char *_kwnames
[] = { "self","name","type", NULL
};
1623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxBitmap_LoadFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1626 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1627 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_LoadFile. Expected _wxBitmap_p.");
1633 _arg1
= wxString_in_helper(_obj1
);
1638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1639 _result
= (bool )wxBitmap_LoadFile(_arg0
,*_arg1
,_arg2
);
1641 wxPyEndAllowThreads(__tstate
);
1642 if (PyErr_Occurred()) return NULL
;
1643 } _resultobj
= Py_BuildValue("i",_result
);
1651 #define wxBitmap_SaveFile(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SaveFile(_swigarg0,_swigarg1,_swigarg2))
1652 static PyObject
*_wrap_wxBitmap_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1653 PyObject
* _resultobj
;
1658 wxPalette
* _arg3
= (wxPalette
*) NULL
;
1659 PyObject
* _argo0
= 0;
1660 PyObject
* _obj1
= 0;
1661 PyObject
* _argo3
= 0;
1662 char *_kwnames
[] = { "self","name","type","palette", NULL
};
1665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|O:wxBitmap_SaveFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_argo3
))
1668 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1669 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SaveFile. Expected _wxBitmap_p.");
1675 _arg1
= wxString_in_helper(_obj1
);
1680 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1681 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxPalette_p")) {
1682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxBitmap_SaveFile. Expected _wxPalette_p.");
1687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1688 _result
= (bool )wxBitmap_SaveFile(_arg0
,*_arg1
,_arg2
,_arg3
);
1690 wxPyEndAllowThreads(__tstate
);
1691 if (PyErr_Occurred()) return NULL
;
1692 } _resultobj
= Py_BuildValue("i",_result
);
1700 #define wxBitmap_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
1701 static PyObject
*_wrap_wxBitmap_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1702 PyObject
* _resultobj
;
1705 PyObject
* _argo0
= 0;
1706 PyObject
* _argo1
= 0;
1707 char *_kwnames
[] = { "self","mask", NULL
};
1710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_SetMask",_kwnames
,&_argo0
,&_argo1
))
1713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetMask. Expected _wxBitmap_p.");
1720 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1721 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMask_p")) {
1722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmap_SetMask. Expected _wxMask_p.");
1727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1728 wxBitmap_SetMask(_arg0
,_arg1
);
1730 wxPyEndAllowThreads(__tstate
);
1731 if (PyErr_Occurred()) return NULL
;
1732 } Py_INCREF(Py_None
);
1733 _resultobj
= Py_None
;
1737 #define wxBitmap_Ok(_swigobj) (_swigobj->Ok())
1738 static PyObject
*_wrap_wxBitmap_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1739 PyObject
* _resultobj
;
1742 PyObject
* _argo0
= 0;
1743 char *_kwnames
[] = { "self", NULL
};
1746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_Ok",_kwnames
,&_argo0
))
1749 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1750 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_Ok. Expected _wxBitmap_p.");
1756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1757 _result
= (bool )wxBitmap_Ok(_arg0
);
1759 wxPyEndAllowThreads(__tstate
);
1760 if (PyErr_Occurred()) return NULL
;
1761 } _resultobj
= Py_BuildValue("i",_result
);
1765 #define wxBitmap_GetWidth(_swigobj) (_swigobj->GetWidth())
1766 static PyObject
*_wrap_wxBitmap_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1767 PyObject
* _resultobj
;
1770 PyObject
* _argo0
= 0;
1771 char *_kwnames
[] = { "self", NULL
};
1774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetWidth",_kwnames
,&_argo0
))
1777 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1778 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetWidth. Expected _wxBitmap_p.");
1784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1785 _result
= (int )wxBitmap_GetWidth(_arg0
);
1787 wxPyEndAllowThreads(__tstate
);
1788 if (PyErr_Occurred()) return NULL
;
1789 } _resultobj
= Py_BuildValue("i",_result
);
1793 #define wxBitmap_GetHeight(_swigobj) (_swigobj->GetHeight())
1794 static PyObject
*_wrap_wxBitmap_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1795 PyObject
* _resultobj
;
1798 PyObject
* _argo0
= 0;
1799 char *_kwnames
[] = { "self", NULL
};
1802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetHeight",_kwnames
,&_argo0
))
1805 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1806 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetHeight. Expected _wxBitmap_p.");
1812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1813 _result
= (int )wxBitmap_GetHeight(_arg0
);
1815 wxPyEndAllowThreads(__tstate
);
1816 if (PyErr_Occurred()) return NULL
;
1817 } _resultobj
= Py_BuildValue("i",_result
);
1821 #define wxBitmap_GetDepth(_swigobj) (_swigobj->GetDepth())
1822 static PyObject
*_wrap_wxBitmap_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1823 PyObject
* _resultobj
;
1826 PyObject
* _argo0
= 0;
1827 char *_kwnames
[] = { "self", NULL
};
1830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetDepth",_kwnames
,&_argo0
))
1833 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1834 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetDepth. Expected _wxBitmap_p.");
1840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1841 _result
= (int )wxBitmap_GetDepth(_arg0
);
1843 wxPyEndAllowThreads(__tstate
);
1844 if (PyErr_Occurred()) return NULL
;
1845 } _resultobj
= Py_BuildValue("i",_result
);
1849 #define wxBitmap_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1850 static PyObject
*_wrap_wxBitmap_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1851 PyObject
* _resultobj
;
1854 PyObject
* _argo0
= 0;
1855 char *_kwnames
[] = { "self","w", NULL
};
1858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBitmap_SetWidth",_kwnames
,&_argo0
,&_arg1
))
1861 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1862 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1863 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetWidth. Expected _wxBitmap_p.");
1868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1869 wxBitmap_SetWidth(_arg0
,_arg1
);
1871 wxPyEndAllowThreads(__tstate
);
1872 if (PyErr_Occurred()) return NULL
;
1873 } Py_INCREF(Py_None
);
1874 _resultobj
= Py_None
;
1878 #define wxBitmap_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1879 static PyObject
*_wrap_wxBitmap_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1880 PyObject
* _resultobj
;
1883 PyObject
* _argo0
= 0;
1884 char *_kwnames
[] = { "self","h", NULL
};
1887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBitmap_SetHeight",_kwnames
,&_argo0
,&_arg1
))
1890 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1891 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetHeight. Expected _wxBitmap_p.");
1897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1898 wxBitmap_SetHeight(_arg0
,_arg1
);
1900 wxPyEndAllowThreads(__tstate
);
1901 if (PyErr_Occurred()) return NULL
;
1902 } Py_INCREF(Py_None
);
1903 _resultobj
= Py_None
;
1907 #define wxBitmap_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
1908 static PyObject
*_wrap_wxBitmap_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1909 PyObject
* _resultobj
;
1912 PyObject
* _argo0
= 0;
1913 char *_kwnames
[] = { "self","d", NULL
};
1916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBitmap_SetDepth",_kwnames
,&_argo0
,&_arg1
))
1919 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1920 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetDepth. Expected _wxBitmap_p.");
1926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1927 wxBitmap_SetDepth(_arg0
,_arg1
);
1929 wxPyEndAllowThreads(__tstate
);
1930 if (PyErr_Occurred()) return NULL
;
1931 } Py_INCREF(Py_None
);
1932 _resultobj
= Py_None
;
1936 #define wxBitmap_GetSubBitmap(_swigobj,_swigarg0) (_swigobj->GetSubBitmap(_swigarg0))
1937 static PyObject
*_wrap_wxBitmap_GetSubBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1938 PyObject
* _resultobj
;
1942 PyObject
* _argo0
= 0;
1944 PyObject
* _obj1
= 0;
1945 char *_kwnames
[] = { "self","rect", NULL
};
1949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_GetSubBitmap",_kwnames
,&_argo0
,&_obj1
))
1952 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1953 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetSubBitmap. Expected _wxBitmap_p.");
1960 if (! wxRect_helper(_obj1
, &_arg1
))
1964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1965 _result
= new wxBitmap (wxBitmap_GetSubBitmap(_arg0
,*_arg1
));
1967 wxPyEndAllowThreads(__tstate
);
1968 if (PyErr_Occurred()) return NULL
;
1969 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1970 _resultobj
= Py_BuildValue("s",_ptemp
);
1974 #define wxBitmap_CopyFromIcon(_swigobj,_swigarg0) (_swigobj->CopyFromIcon(_swigarg0))
1975 static PyObject
*_wrap_wxBitmap_CopyFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1976 PyObject
* _resultobj
;
1980 PyObject
* _argo0
= 0;
1981 PyObject
* _argo1
= 0;
1982 char *_kwnames
[] = { "self","icon", NULL
};
1985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_CopyFromIcon",_kwnames
,&_argo0
,&_argo1
))
1988 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1989 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_CopyFromIcon. Expected _wxBitmap_p.");
1995 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1996 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
1997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmap_CopyFromIcon. Expected _wxIcon_p.");
2002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2003 _result
= (bool )wxBitmap_CopyFromIcon(_arg0
,*_arg1
);
2005 wxPyEndAllowThreads(__tstate
);
2006 if (PyErr_Occurred()) return NULL
;
2007 } _resultobj
= Py_BuildValue("i",_result
);
2011 static void *SwigwxMaskTowxObject(void *ptr
) {
2014 src
= (wxMask
*) ptr
;
2015 dest
= (wxObject
*) src
;
2016 return (void *) dest
;
2019 #define new_wxMask(_swigarg0) (new wxMask(_swigarg0))
2020 static PyObject
*_wrap_new_wxMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2021 PyObject
* _resultobj
;
2024 PyObject
* _argo0
= 0;
2025 char *_kwnames
[] = { "bitmap", NULL
};
2029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxMask",_kwnames
,&_argo0
))
2032 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2033 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
2034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMask. Expected _wxBitmap_p.");
2039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2040 _result
= (wxMask
*)new_wxMask(*_arg0
);
2042 wxPyEndAllowThreads(__tstate
);
2043 if (PyErr_Occurred()) return NULL
;
2045 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
2046 _resultobj
= Py_BuildValue("s",_ptemp
);
2049 _resultobj
= Py_None
;
2054 static void wxMask_Destroy(wxMask
*self
) { delete self
; }
2055 static PyObject
*_wrap_wxMask_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2056 PyObject
* _resultobj
;
2058 PyObject
* _argo0
= 0;
2059 char *_kwnames
[] = { "self", NULL
};
2062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMask_Destroy",_kwnames
,&_argo0
))
2065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMask_p")) {
2067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMask_Destroy. Expected _wxMask_p.");
2072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2073 wxMask_Destroy(_arg0
);
2075 wxPyEndAllowThreads(__tstate
);
2076 if (PyErr_Occurred()) return NULL
;
2077 } Py_INCREF(Py_None
);
2078 _resultobj
= Py_None
;
2082 static void *SwigwxIconTowxGDIObject(void *ptr
) {
2085 src
= (wxIcon
*) ptr
;
2086 dest
= (wxGDIObject
*) src
;
2087 return (void *) dest
;
2090 static void *SwigwxIconTowxObject(void *ptr
) {
2093 src
= (wxIcon
*) ptr
;
2094 dest
= (wxObject
*) src
;
2095 return (void *) dest
;
2098 #define new_wxIcon(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxIcon(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2099 static PyObject
*_wrap_new_wxIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2100 PyObject
* _resultobj
;
2104 int _arg2
= (int ) -1;
2105 int _arg3
= (int ) -1;
2106 PyObject
* _obj0
= 0;
2107 char *_kwnames
[] = { "name","flags","desiredWidth","desiredHeight", NULL
};
2111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|ii:new_wxIcon",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_arg3
))
2114 _arg0
= wxString_in_helper(_obj0
);
2119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2120 _result
= (wxIcon
*)new_wxIcon(*_arg0
,_arg1
,_arg2
,_arg3
);
2122 wxPyEndAllowThreads(__tstate
);
2123 if (PyErr_Occurred()) return NULL
;
2125 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
2126 _resultobj
= Py_BuildValue("s",_ptemp
);
2129 _resultobj
= Py_None
;
2138 #define delete_wxIcon(_swigobj) (delete _swigobj)
2139 static PyObject
*_wrap_delete_wxIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2140 PyObject
* _resultobj
;
2142 PyObject
* _argo0
= 0;
2143 char *_kwnames
[] = { "self", NULL
};
2146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxIcon",_kwnames
,&_argo0
))
2149 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2150 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxIcon. Expected _wxIcon_p.");
2156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2157 delete_wxIcon(_arg0
);
2159 wxPyEndAllowThreads(__tstate
);
2160 if (PyErr_Occurred()) return NULL
;
2161 } Py_INCREF(Py_None
);
2162 _resultobj
= Py_None
;
2166 #define wxIcon_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
2167 static PyObject
*_wrap_wxIcon_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2168 PyObject
* _resultobj
;
2173 PyObject
* _argo0
= 0;
2174 PyObject
* _obj1
= 0;
2175 char *_kwnames
[] = { "self","name","flags", NULL
};
2178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOl:wxIcon_LoadFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
2181 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2182 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_LoadFile. Expected _wxIcon_p.");
2188 _arg1
= wxString_in_helper(_obj1
);
2193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2194 _result
= (bool )wxIcon_LoadFile(_arg0
,*_arg1
,_arg2
);
2196 wxPyEndAllowThreads(__tstate
);
2197 if (PyErr_Occurred()) return NULL
;
2198 } _resultobj
= Py_BuildValue("i",_result
);
2206 #define wxIcon_Ok(_swigobj) (_swigobj->Ok())
2207 static PyObject
*_wrap_wxIcon_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2208 PyObject
* _resultobj
;
2211 PyObject
* _argo0
= 0;
2212 char *_kwnames
[] = { "self", NULL
};
2215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_Ok",_kwnames
,&_argo0
))
2218 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2219 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_Ok. Expected _wxIcon_p.");
2225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2226 _result
= (bool )wxIcon_Ok(_arg0
);
2228 wxPyEndAllowThreads(__tstate
);
2229 if (PyErr_Occurred()) return NULL
;
2230 } _resultobj
= Py_BuildValue("i",_result
);
2234 #define wxIcon_GetWidth(_swigobj) (_swigobj->GetWidth())
2235 static PyObject
*_wrap_wxIcon_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2236 PyObject
* _resultobj
;
2239 PyObject
* _argo0
= 0;
2240 char *_kwnames
[] = { "self", NULL
};
2243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetWidth",_kwnames
,&_argo0
))
2246 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2247 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetWidth. Expected _wxIcon_p.");
2253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2254 _result
= (int )wxIcon_GetWidth(_arg0
);
2256 wxPyEndAllowThreads(__tstate
);
2257 if (PyErr_Occurred()) return NULL
;
2258 } _resultobj
= Py_BuildValue("i",_result
);
2262 #define wxIcon_GetHeight(_swigobj) (_swigobj->GetHeight())
2263 static PyObject
*_wrap_wxIcon_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2264 PyObject
* _resultobj
;
2267 PyObject
* _argo0
= 0;
2268 char *_kwnames
[] = { "self", NULL
};
2271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetHeight",_kwnames
,&_argo0
))
2274 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2275 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetHeight. Expected _wxIcon_p.");
2281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2282 _result
= (int )wxIcon_GetHeight(_arg0
);
2284 wxPyEndAllowThreads(__tstate
);
2285 if (PyErr_Occurred()) return NULL
;
2286 } _resultobj
= Py_BuildValue("i",_result
);
2290 #define wxIcon_GetDepth(_swigobj) (_swigobj->GetDepth())
2291 static PyObject
*_wrap_wxIcon_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2292 PyObject
* _resultobj
;
2295 PyObject
* _argo0
= 0;
2296 char *_kwnames
[] = { "self", NULL
};
2299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetDepth",_kwnames
,&_argo0
))
2302 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2303 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetDepth. Expected _wxIcon_p.");
2309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2310 _result
= (int )wxIcon_GetDepth(_arg0
);
2312 wxPyEndAllowThreads(__tstate
);
2313 if (PyErr_Occurred()) return NULL
;
2314 } _resultobj
= Py_BuildValue("i",_result
);
2318 #define wxIcon_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2319 static PyObject
*_wrap_wxIcon_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2320 PyObject
* _resultobj
;
2323 PyObject
* _argo0
= 0;
2324 char *_kwnames
[] = { "self","w", NULL
};
2327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetWidth",_kwnames
,&_argo0
,&_arg1
))
2330 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2331 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetWidth. Expected _wxIcon_p.");
2337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2338 wxIcon_SetWidth(_arg0
,_arg1
);
2340 wxPyEndAllowThreads(__tstate
);
2341 if (PyErr_Occurred()) return NULL
;
2342 } Py_INCREF(Py_None
);
2343 _resultobj
= Py_None
;
2347 #define wxIcon_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
2348 static PyObject
*_wrap_wxIcon_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2349 PyObject
* _resultobj
;
2352 PyObject
* _argo0
= 0;
2353 char *_kwnames
[] = { "self","h", NULL
};
2356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetHeight",_kwnames
,&_argo0
,&_arg1
))
2359 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2360 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetHeight. Expected _wxIcon_p.");
2366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2367 wxIcon_SetHeight(_arg0
,_arg1
);
2369 wxPyEndAllowThreads(__tstate
);
2370 if (PyErr_Occurred()) return NULL
;
2371 } Py_INCREF(Py_None
);
2372 _resultobj
= Py_None
;
2376 #define wxIcon_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
2377 static PyObject
*_wrap_wxIcon_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2378 PyObject
* _resultobj
;
2381 PyObject
* _argo0
= 0;
2382 char *_kwnames
[] = { "self","d", NULL
};
2385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetDepth",_kwnames
,&_argo0
,&_arg1
))
2388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetDepth. Expected _wxIcon_p.");
2395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2396 wxIcon_SetDepth(_arg0
,_arg1
);
2398 wxPyEndAllowThreads(__tstate
);
2399 if (PyErr_Occurred()) return NULL
;
2400 } Py_INCREF(Py_None
);
2401 _resultobj
= Py_None
;
2405 #define wxIcon_CopyFromBitmap(_swigobj,_swigarg0) (_swigobj->CopyFromBitmap(_swigarg0))
2406 static PyObject
*_wrap_wxIcon_CopyFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2407 PyObject
* _resultobj
;
2410 PyObject
* _argo0
= 0;
2411 PyObject
* _argo1
= 0;
2412 char *_kwnames
[] = { "self","bmp", NULL
};
2415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxIcon_CopyFromBitmap",_kwnames
,&_argo0
,&_argo1
))
2418 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2419 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_CopyFromBitmap. Expected _wxIcon_p.");
2425 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2426 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
2427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIcon_CopyFromBitmap. Expected _wxBitmap_p.");
2432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2433 wxIcon_CopyFromBitmap(_arg0
,*_arg1
);
2435 wxPyEndAllowThreads(__tstate
);
2436 if (PyErr_Occurred()) return NULL
;
2437 } Py_INCREF(Py_None
);
2438 _resultobj
= Py_None
;
2442 static void *SwigwxCursorTowxGDIObject(void *ptr
) {
2445 src
= (wxCursor
*) ptr
;
2446 dest
= (wxGDIObject
*) src
;
2447 return (void *) dest
;
2450 static void *SwigwxCursorTowxObject(void *ptr
) {
2453 src
= (wxCursor
*) ptr
;
2454 dest
= (wxObject
*) src
;
2455 return (void *) dest
;
2458 #define delete_wxCursor(_swigobj) (delete _swigobj)
2459 static PyObject
*_wrap_delete_wxCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2460 PyObject
* _resultobj
;
2462 PyObject
* _argo0
= 0;
2463 char *_kwnames
[] = { "self", NULL
};
2466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCursor",_kwnames
,&_argo0
))
2469 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2470 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
2471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCursor. Expected _wxCursor_p.");
2476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2477 delete_wxCursor(_arg0
);
2479 wxPyEndAllowThreads(__tstate
);
2480 if (PyErr_Occurred()) return NULL
;
2481 } Py_INCREF(Py_None
);
2482 _resultobj
= Py_None
;
2486 #define wxCursor_Ok(_swigobj) (_swigobj->Ok())
2487 static PyObject
*_wrap_wxCursor_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2488 PyObject
* _resultobj
;
2491 PyObject
* _argo0
= 0;
2492 char *_kwnames
[] = { "self", NULL
};
2495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCursor_Ok",_kwnames
,&_argo0
))
2498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
2500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_Ok. Expected _wxCursor_p.");
2505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2506 _result
= (bool )wxCursor_Ok(_arg0
);
2508 wxPyEndAllowThreads(__tstate
);
2509 if (PyErr_Occurred()) return NULL
;
2510 } _resultobj
= Py_BuildValue("i",_result
);
2514 #define wxNativeFontInfo_FromXFontName(_swigobj,_swigarg0) (_swigobj->FromXFontName(_swigarg0))
2515 static PyObject
*_wrap_wxNativeFontInfo_FromXFontName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2516 PyObject
* _resultobj
;
2518 wxNativeFontInfo
* _arg0
;
2520 PyObject
* _argo0
= 0;
2521 PyObject
* _obj1
= 0;
2522 char *_kwnames
[] = { "self","xFontName", NULL
};
2525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNativeFontInfo_FromXFontName",_kwnames
,&_argo0
,&_obj1
))
2528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_FromXFontName. Expected _wxNativeFontInfo_p.");
2535 _arg1
= wxString_in_helper(_obj1
);
2540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2541 _result
= (bool )wxNativeFontInfo_FromXFontName(_arg0
,*_arg1
);
2543 wxPyEndAllowThreads(__tstate
);
2544 if (PyErr_Occurred()) return NULL
;
2545 } _resultobj
= Py_BuildValue("i",_result
);
2553 #define wxNativeFontInfo_IsDefault(_swigobj) (_swigobj->IsDefault())
2554 static PyObject
*_wrap_wxNativeFontInfo_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2555 PyObject
* _resultobj
;
2557 wxNativeFontInfo
* _arg0
;
2558 PyObject
* _argo0
= 0;
2559 char *_kwnames
[] = { "self", NULL
};
2562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_IsDefault",_kwnames
,&_argo0
))
2565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_IsDefault. Expected _wxNativeFontInfo_p.");
2572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2573 _result
= (bool )wxNativeFontInfo_IsDefault(_arg0
);
2575 wxPyEndAllowThreads(__tstate
);
2576 if (PyErr_Occurred()) return NULL
;
2577 } _resultobj
= Py_BuildValue("i",_result
);
2581 #define wxNativeFontInfo_GetXFontName(_swigobj) (_swigobj->GetXFontName())
2582 static PyObject
*_wrap_wxNativeFontInfo_GetXFontName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2583 PyObject
* _resultobj
;
2585 wxNativeFontInfo
* _arg0
;
2586 PyObject
* _argo0
= 0;
2587 char *_kwnames
[] = { "self", NULL
};
2590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_GetXFontName",_kwnames
,&_argo0
))
2593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_GetXFontName. Expected _wxNativeFontInfo_p.");
2600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2601 _result
= new wxString (wxNativeFontInfo_GetXFontName(_arg0
));
2603 wxPyEndAllowThreads(__tstate
);
2604 if (PyErr_Occurred()) return NULL
;
2607 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2609 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2618 #define wxNativeFontInfo_SetXFontName(_swigobj,_swigarg0) (_swigobj->SetXFontName(_swigarg0))
2619 static PyObject
*_wrap_wxNativeFontInfo_SetXFontName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2620 PyObject
* _resultobj
;
2621 wxNativeFontInfo
* _arg0
;
2623 PyObject
* _argo0
= 0;
2624 PyObject
* _obj1
= 0;
2625 char *_kwnames
[] = { "self","xFontName", NULL
};
2628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNativeFontInfo_SetXFontName",_kwnames
,&_argo0
,&_obj1
))
2631 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2632 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_SetXFontName. Expected _wxNativeFontInfo_p.");
2638 _arg1
= wxString_in_helper(_obj1
);
2643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2644 wxNativeFontInfo_SetXFontName(_arg0
,*_arg1
);
2646 wxPyEndAllowThreads(__tstate
);
2647 if (PyErr_Occurred()) return NULL
;
2648 } Py_INCREF(Py_None
);
2649 _resultobj
= Py_None
;
2657 #define new_wxNativeFontInfo() (new wxNativeFontInfo())
2658 static PyObject
*_wrap_new_wxNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2659 PyObject
* _resultobj
;
2660 wxNativeFontInfo
* _result
;
2661 char *_kwnames
[] = { NULL
};
2665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxNativeFontInfo",_kwnames
))
2668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2669 _result
= (wxNativeFontInfo
*)new_wxNativeFontInfo();
2671 wxPyEndAllowThreads(__tstate
);
2672 if (PyErr_Occurred()) return NULL
;
2674 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNativeFontInfo_p");
2675 _resultobj
= Py_BuildValue("s",_ptemp
);
2678 _resultobj
= Py_None
;
2683 #define wxNativeFontInfo_Init(_swigobj) (_swigobj->Init())
2684 static PyObject
*_wrap_wxNativeFontInfo_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2685 PyObject
* _resultobj
;
2686 wxNativeFontInfo
* _arg0
;
2687 PyObject
* _argo0
= 0;
2688 char *_kwnames
[] = { "self", NULL
};
2691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_Init",_kwnames
,&_argo0
))
2694 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2695 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_Init. Expected _wxNativeFontInfo_p.");
2701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2702 wxNativeFontInfo_Init(_arg0
);
2704 wxPyEndAllowThreads(__tstate
);
2705 if (PyErr_Occurred()) return NULL
;
2706 } Py_INCREF(Py_None
);
2707 _resultobj
= Py_None
;
2711 #define wxNativeFontInfo_FromString(_swigobj,_swigarg0) (_swigobj->FromString(_swigarg0))
2712 static PyObject
*_wrap_wxNativeFontInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2713 PyObject
* _resultobj
;
2715 wxNativeFontInfo
* _arg0
;
2717 PyObject
* _argo0
= 0;
2718 PyObject
* _obj1
= 0;
2719 char *_kwnames
[] = { "self","s", NULL
};
2722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNativeFontInfo_FromString",_kwnames
,&_argo0
,&_obj1
))
2725 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2726 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_FromString. Expected _wxNativeFontInfo_p.");
2732 _arg1
= wxString_in_helper(_obj1
);
2737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2738 _result
= (bool )wxNativeFontInfo_FromString(_arg0
,*_arg1
);
2740 wxPyEndAllowThreads(__tstate
);
2741 if (PyErr_Occurred()) return NULL
;
2742 } _resultobj
= Py_BuildValue("i",_result
);
2750 #define wxNativeFontInfo_ToString(_swigobj) (_swigobj->ToString())
2751 static PyObject
*_wrap_wxNativeFontInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2752 PyObject
* _resultobj
;
2754 wxNativeFontInfo
* _arg0
;
2755 PyObject
* _argo0
= 0;
2756 char *_kwnames
[] = { "self", NULL
};
2759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_ToString",_kwnames
,&_argo0
))
2762 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2763 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_ToString. Expected _wxNativeFontInfo_p.");
2769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2770 _result
= new wxString (wxNativeFontInfo_ToString(_arg0
));
2772 wxPyEndAllowThreads(__tstate
);
2773 if (PyErr_Occurred()) return NULL
;
2776 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2778 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2787 static wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
) {
2788 return self
->ToString();
2790 static PyObject
*_wrap_wxNativeFontInfo___str__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2791 PyObject
* _resultobj
;
2793 wxNativeFontInfo
* _arg0
;
2794 PyObject
* _argo0
= 0;
2795 char *_kwnames
[] = { "self", NULL
};
2798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo___str__",_kwnames
,&_argo0
))
2801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo___str__. Expected _wxNativeFontInfo_p.");
2808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2809 _result
= new wxString (wxNativeFontInfo___str__(_arg0
));
2811 wxPyEndAllowThreads(__tstate
);
2812 if (PyErr_Occurred()) return NULL
;
2815 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2817 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2826 #define wxNativeFontInfo_FromUserString(_swigobj,_swigarg0) (_swigobj->FromUserString(_swigarg0))
2827 static PyObject
*_wrap_wxNativeFontInfo_FromUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2828 PyObject
* _resultobj
;
2830 wxNativeFontInfo
* _arg0
;
2832 PyObject
* _argo0
= 0;
2833 PyObject
* _obj1
= 0;
2834 char *_kwnames
[] = { "self","s", NULL
};
2837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNativeFontInfo_FromUserString",_kwnames
,&_argo0
,&_obj1
))
2840 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2841 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_FromUserString. Expected _wxNativeFontInfo_p.");
2847 _arg1
= wxString_in_helper(_obj1
);
2852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2853 _result
= (bool )wxNativeFontInfo_FromUserString(_arg0
,*_arg1
);
2855 wxPyEndAllowThreads(__tstate
);
2856 if (PyErr_Occurred()) return NULL
;
2857 } _resultobj
= Py_BuildValue("i",_result
);
2865 #define wxNativeFontInfo_ToUserString(_swigobj) (_swigobj->ToUserString())
2866 static PyObject
*_wrap_wxNativeFontInfo_ToUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2867 PyObject
* _resultobj
;
2869 wxNativeFontInfo
* _arg0
;
2870 PyObject
* _argo0
= 0;
2871 char *_kwnames
[] = { "self", NULL
};
2874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_ToUserString",_kwnames
,&_argo0
))
2877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_ToUserString. Expected _wxNativeFontInfo_p.");
2884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2885 _result
= new wxString (wxNativeFontInfo_ToUserString(_arg0
));
2887 wxPyEndAllowThreads(__tstate
);
2888 if (PyErr_Occurred()) return NULL
;
2891 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2893 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2902 #define new_wxFontMapper() (new wxFontMapper())
2903 static PyObject
*_wrap_new_wxFontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2904 PyObject
* _resultobj
;
2905 wxFontMapper
* _result
;
2906 char *_kwnames
[] = { NULL
};
2910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFontMapper",_kwnames
))
2913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2914 _result
= (wxFontMapper
*)new_wxFontMapper();
2916 wxPyEndAllowThreads(__tstate
);
2917 if (PyErr_Occurred()) return NULL
;
2919 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFontMapper_p");
2920 _resultobj
= Py_BuildValue("s",_ptemp
);
2923 _resultobj
= Py_None
;
2928 #define delete_wxFontMapper(_swigobj) (delete _swigobj)
2929 static PyObject
*_wrap_delete_wxFontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2930 PyObject
* _resultobj
;
2931 wxFontMapper
* _arg0
;
2932 PyObject
* _argo0
= 0;
2933 char *_kwnames
[] = { "self", NULL
};
2936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFontMapper",_kwnames
,&_argo0
))
2939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
2941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFontMapper. Expected _wxFontMapper_p.");
2946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2947 delete_wxFontMapper(_arg0
);
2949 wxPyEndAllowThreads(__tstate
);
2950 if (PyErr_Occurred()) return NULL
;
2951 } Py_INCREF(Py_None
);
2952 _resultobj
= Py_None
;
2956 static PyObject
* wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,const wxString
& facename
,bool interactive
) {
2957 wxFontEncoding alt_enc
;
2958 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
2959 return PyInt_FromLong(alt_enc
);
2965 static PyObject
*_wrap_wxFontMapper_GetAltForEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2966 PyObject
* _resultobj
;
2968 wxFontMapper
* _arg0
;
2969 wxFontEncoding _arg1
;
2970 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
2971 bool _arg3
= (bool ) TRUE
;
2972 PyObject
* _argo0
= 0;
2973 PyObject
* _obj2
= 0;
2974 int tempbool3
= (int) TRUE
;
2975 char *_kwnames
[] = { "self","encoding","facename","interactive", NULL
};
2978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|Oi:wxFontMapper_GetAltForEncoding",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&tempbool3
))
2981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
2983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_GetAltForEncoding. Expected _wxFontMapper_p.");
2989 _arg2
= wxString_in_helper(_obj2
);
2993 _arg3
= (bool ) tempbool3
;
2995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2996 _result
= (PyObject
*)wxFontMapper_GetAltForEncoding(_arg0
,_arg1
,*_arg2
,_arg3
);
2998 wxPyEndAllowThreads(__tstate
);
2999 if (PyErr_Occurred()) return NULL
;
3001 _resultobj
= _result
;
3010 #define wxFontMapper_IsEncodingAvailable(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsEncodingAvailable(_swigarg0,_swigarg1))
3011 static PyObject
*_wrap_wxFontMapper_IsEncodingAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3012 PyObject
* _resultobj
;
3014 wxFontMapper
* _arg0
;
3015 wxFontEncoding _arg1
;
3016 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
3017 PyObject
* _argo0
= 0;
3018 PyObject
* _obj2
= 0;
3019 char *_kwnames
[] = { "self","encoding","facename", NULL
};
3022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|O:wxFontMapper_IsEncodingAvailable",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3025 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3026 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
3027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_IsEncodingAvailable. Expected _wxFontMapper_p.");
3033 _arg2
= wxString_in_helper(_obj2
);
3038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3039 _result
= (bool )wxFontMapper_IsEncodingAvailable(_arg0
,_arg1
,*_arg2
);
3041 wxPyEndAllowThreads(__tstate
);
3042 if (PyErr_Occurred()) return NULL
;
3043 } _resultobj
= Py_BuildValue("i",_result
);
3051 #define wxFontMapper_CharsetToEncoding(_swigobj,_swigarg0,_swigarg1) (_swigobj->CharsetToEncoding(_swigarg0,_swigarg1))
3052 static PyObject
*_wrap_wxFontMapper_CharsetToEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3053 PyObject
* _resultobj
;
3054 wxFontEncoding _result
;
3055 wxFontMapper
* _arg0
;
3057 bool _arg2
= (bool ) TRUE
;
3058 PyObject
* _argo0
= 0;
3059 PyObject
* _obj1
= 0;
3060 int tempbool2
= (int) TRUE
;
3061 char *_kwnames
[] = { "self","charset","interactive", NULL
};
3064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFontMapper_CharsetToEncoding",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
3067 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3068 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
3069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_CharsetToEncoding. Expected _wxFontMapper_p.");
3074 _arg1
= wxString_in_helper(_obj1
);
3078 _arg2
= (bool ) tempbool2
;
3080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3081 _result
= (wxFontEncoding
)wxFontMapper_CharsetToEncoding(_arg0
,*_arg1
,_arg2
);
3083 wxPyEndAllowThreads(__tstate
);
3084 if (PyErr_Occurred()) return NULL
;
3085 } _resultobj
= Py_BuildValue("i",_result
);
3093 static PyObject
*_wrap_wxFontMapper_GetEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3094 PyObject
* _resultobj
;
3096 wxFontEncoding _arg0
;
3097 char *_kwnames
[] = { "encoding", NULL
};
3100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxFontMapper_GetEncodingName",_kwnames
,&_arg0
))
3103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3104 _result
= new wxString (wxFontMapper::GetEncodingName(_arg0
));
3106 wxPyEndAllowThreads(__tstate
);
3107 if (PyErr_Occurred()) return NULL
;
3110 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3112 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3121 static PyObject
*_wrap_wxFontMapper_GetEncodingDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3122 PyObject
* _resultobj
;
3124 wxFontEncoding _arg0
;
3125 char *_kwnames
[] = { "encoding", NULL
};
3128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxFontMapper_GetEncodingDescription",_kwnames
,&_arg0
))
3131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3132 _result
= new wxString (wxFontMapper::GetEncodingDescription(_arg0
));
3134 wxPyEndAllowThreads(__tstate
);
3135 if (PyErr_Occurred()) return NULL
;
3138 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3140 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3149 #define wxFontMapper_SetDialogParent(_swigobj,_swigarg0) (_swigobj->SetDialogParent(_swigarg0))
3150 static PyObject
*_wrap_wxFontMapper_SetDialogParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3151 PyObject
* _resultobj
;
3152 wxFontMapper
* _arg0
;
3154 PyObject
* _argo0
= 0;
3155 PyObject
* _argo1
= 0;
3156 char *_kwnames
[] = { "self","parent", NULL
};
3159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontMapper_SetDialogParent",_kwnames
,&_argo0
,&_argo1
))
3162 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3163 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
3164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_SetDialogParent. Expected _wxFontMapper_p.");
3169 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3170 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontMapper_SetDialogParent. Expected _wxWindow_p.");
3176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3177 wxFontMapper_SetDialogParent(_arg0
,_arg1
);
3179 wxPyEndAllowThreads(__tstate
);
3180 if (PyErr_Occurred()) return NULL
;
3181 } Py_INCREF(Py_None
);
3182 _resultobj
= Py_None
;
3186 #define wxFontMapper_SetDialogTitle(_swigobj,_swigarg0) (_swigobj->SetDialogTitle(_swigarg0))
3187 static PyObject
*_wrap_wxFontMapper_SetDialogTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3188 PyObject
* _resultobj
;
3189 wxFontMapper
* _arg0
;
3191 PyObject
* _argo0
= 0;
3192 PyObject
* _obj1
= 0;
3193 char *_kwnames
[] = { "self","title", NULL
};
3196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontMapper_SetDialogTitle",_kwnames
,&_argo0
,&_obj1
))
3199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
3201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_SetDialogTitle. Expected _wxFontMapper_p.");
3206 _arg1
= wxString_in_helper(_obj1
);
3211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3212 wxFontMapper_SetDialogTitle(_arg0
,*_arg1
);
3214 wxPyEndAllowThreads(__tstate
);
3215 if (PyErr_Occurred()) return NULL
;
3216 } Py_INCREF(Py_None
);
3217 _resultobj
= Py_None
;
3225 #define wxFontMapper_SetConfig(_swigobj,_swigarg0) (_swigobj->SetConfig(_swigarg0))
3226 static PyObject
*_wrap_wxFontMapper_SetConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3227 PyObject
* _resultobj
;
3228 wxFontMapper
* _arg0
;
3229 wxConfigBase
* _arg1
;
3230 PyObject
* _argo0
= 0;
3231 PyObject
* _argo1
= 0;
3232 char *_kwnames
[] = { "self","config", NULL
};
3235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontMapper_SetConfig",_kwnames
,&_argo0
,&_argo1
))
3238 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3239 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
3240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_SetConfig. Expected _wxFontMapper_p.");
3245 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3246 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
3247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontMapper_SetConfig. Expected _wxConfigBase_p.");
3252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3253 wxFontMapper_SetConfig(_arg0
,_arg1
);
3255 wxPyEndAllowThreads(__tstate
);
3256 if (PyErr_Occurred()) return NULL
;
3257 } Py_INCREF(Py_None
);
3258 _resultobj
= Py_None
;
3262 #define wxFontMapper_SetConfigPath(_swigobj,_swigarg0) (_swigobj->SetConfigPath(_swigarg0))
3263 static PyObject
*_wrap_wxFontMapper_SetConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3264 PyObject
* _resultobj
;
3265 wxFontMapper
* _arg0
;
3267 PyObject
* _argo0
= 0;
3268 PyObject
* _obj1
= 0;
3269 char *_kwnames
[] = { "self","prefix", NULL
};
3272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontMapper_SetConfigPath",_kwnames
,&_argo0
,&_obj1
))
3275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
3277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_SetConfigPath. Expected _wxFontMapper_p.");
3282 _arg1
= wxString_in_helper(_obj1
);
3287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3288 wxFontMapper_SetConfigPath(_arg0
,*_arg1
);
3290 wxPyEndAllowThreads(__tstate
);
3291 if (PyErr_Occurred()) return NULL
;
3292 } Py_INCREF(Py_None
);
3293 _resultobj
= Py_None
;
3301 static PyObject
*_wrap_wxFontMapper_GetDefaultConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3302 PyObject
* _resultobj
;
3304 char *_kwnames
[] = { NULL
};
3307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxFontMapper_GetDefaultConfigPath",_kwnames
))
3310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3311 _result
= (wxChar
*)wxFontMapper::GetDefaultConfigPath();
3313 wxPyEndAllowThreads(__tstate
);
3314 if (PyErr_Occurred()) return NULL
;
3315 } _resultobj
= Py_BuildValue("s", _result
);
3319 static void *SwigwxFontTowxGDIObject(void *ptr
) {
3322 src
= (wxFont
*) ptr
;
3323 dest
= (wxGDIObject
*) src
;
3324 return (void *) dest
;
3327 static void *SwigwxFontTowxObject(void *ptr
) {
3330 src
= (wxFont
*) ptr
;
3331 dest
= (wxObject
*) src
;
3332 return (void *) dest
;
3335 #define new_wxFont(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxFont(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3336 static PyObject
*_wrap_new_wxFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3337 PyObject
* _resultobj
;
3343 int _arg4
= (int ) FALSE
;
3344 char * _arg5
= (char *) "";
3345 wxFontEncoding _arg6
= (wxFontEncoding
) (wxFONTENCODING_DEFAULT
);
3346 char *_kwnames
[] = { "pointSize","family","style","weight","underline","faceName","encoding", NULL
};
3350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiii|isi:new_wxFont",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
3353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3354 _result
= (wxFont
*)new_wxFont(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
3356 wxPyEndAllowThreads(__tstate
);
3357 if (PyErr_Occurred()) return NULL
;
3359 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
3360 _resultobj
= Py_BuildValue("s",_ptemp
);
3363 _resultobj
= Py_None
;
3368 #define new_wxFontFromNativeInfo(_swigarg0) (new wxFont(_swigarg0))
3369 static PyObject
*_wrap_new_wxFontFromNativeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3370 PyObject
* _resultobj
;
3372 wxNativeFontInfo
* _arg0
;
3373 PyObject
* _argo0
= 0;
3374 char *_kwnames
[] = { "info", NULL
};
3378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFontFromNativeInfo",_kwnames
,&_argo0
))
3381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFontFromNativeInfo. Expected _wxNativeFontInfo_p.");
3388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3389 _result
= (wxFont
*)new_wxFontFromNativeInfo(*_arg0
);
3391 wxPyEndAllowThreads(__tstate
);
3392 if (PyErr_Occurred()) return NULL
;
3394 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
3395 _resultobj
= Py_BuildValue("s",_ptemp
);
3398 _resultobj
= Py_None
;
3403 #define delete_wxFont(_swigobj) (delete _swigobj)
3404 static PyObject
*_wrap_delete_wxFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3405 PyObject
* _resultobj
;
3407 PyObject
* _argo0
= 0;
3408 char *_kwnames
[] = { "self", NULL
};
3411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFont",_kwnames
,&_argo0
))
3414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFont. Expected _wxFont_p.");
3421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3422 delete_wxFont(_arg0
);
3424 wxPyEndAllowThreads(__tstate
);
3425 if (PyErr_Occurred()) return NULL
;
3426 } Py_INCREF(Py_None
);
3427 _resultobj
= Py_None
;
3431 #define wxFont_Ok(_swigobj) (_swigobj->Ok())
3432 static PyObject
*_wrap_wxFont_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3433 PyObject
* _resultobj
;
3436 PyObject
* _argo0
= 0;
3437 char *_kwnames
[] = { "self", NULL
};
3440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_Ok",_kwnames
,&_argo0
))
3443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_Ok. Expected _wxFont_p.");
3450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3451 _result
= (bool )wxFont_Ok(_arg0
);
3453 wxPyEndAllowThreads(__tstate
);
3454 if (PyErr_Occurred()) return NULL
;
3455 } _resultobj
= Py_BuildValue("i",_result
);
3459 #define wxFont_GetPointSize(_swigobj) (_swigobj->GetPointSize())
3460 static PyObject
*_wrap_wxFont_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3461 PyObject
* _resultobj
;
3464 PyObject
* _argo0
= 0;
3465 char *_kwnames
[] = { "self", NULL
};
3468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetPointSize",_kwnames
,&_argo0
))
3471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetPointSize. Expected _wxFont_p.");
3478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3479 _result
= (int )wxFont_GetPointSize(_arg0
);
3481 wxPyEndAllowThreads(__tstate
);
3482 if (PyErr_Occurred()) return NULL
;
3483 } _resultobj
= Py_BuildValue("i",_result
);
3487 #define wxFont_GetFamily(_swigobj) (_swigobj->GetFamily())
3488 static PyObject
*_wrap_wxFont_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3489 PyObject
* _resultobj
;
3492 PyObject
* _argo0
= 0;
3493 char *_kwnames
[] = { "self", NULL
};
3496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFamily",_kwnames
,&_argo0
))
3499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFamily. Expected _wxFont_p.");
3506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3507 _result
= (int )wxFont_GetFamily(_arg0
);
3509 wxPyEndAllowThreads(__tstate
);
3510 if (PyErr_Occurred()) return NULL
;
3511 } _resultobj
= Py_BuildValue("i",_result
);
3515 #define wxFont_GetStyle(_swigobj) (_swigobj->GetStyle())
3516 static PyObject
*_wrap_wxFont_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3517 PyObject
* _resultobj
;
3520 PyObject
* _argo0
= 0;
3521 char *_kwnames
[] = { "self", NULL
};
3524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetStyle",_kwnames
,&_argo0
))
3527 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3528 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetStyle. Expected _wxFont_p.");
3534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3535 _result
= (int )wxFont_GetStyle(_arg0
);
3537 wxPyEndAllowThreads(__tstate
);
3538 if (PyErr_Occurred()) return NULL
;
3539 } _resultobj
= Py_BuildValue("i",_result
);
3543 #define wxFont_GetWeight(_swigobj) (_swigobj->GetWeight())
3544 static PyObject
*_wrap_wxFont_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3545 PyObject
* _resultobj
;
3548 PyObject
* _argo0
= 0;
3549 char *_kwnames
[] = { "self", NULL
};
3552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetWeight",_kwnames
,&_argo0
))
3555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetWeight. Expected _wxFont_p.");
3562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3563 _result
= (int )wxFont_GetWeight(_arg0
);
3565 wxPyEndAllowThreads(__tstate
);
3566 if (PyErr_Occurred()) return NULL
;
3567 } _resultobj
= Py_BuildValue("i",_result
);
3571 #define wxFont_GetUnderlined(_swigobj) (_swigobj->GetUnderlined())
3572 static PyObject
*_wrap_wxFont_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3573 PyObject
* _resultobj
;
3576 PyObject
* _argo0
= 0;
3577 char *_kwnames
[] = { "self", NULL
};
3580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetUnderlined",_kwnames
,&_argo0
))
3583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetUnderlined. Expected _wxFont_p.");
3590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3591 _result
= (bool )wxFont_GetUnderlined(_arg0
);
3593 wxPyEndAllowThreads(__tstate
);
3594 if (PyErr_Occurred()) return NULL
;
3595 } _resultobj
= Py_BuildValue("i",_result
);
3599 #define wxFont_GetFaceName(_swigobj) (_swigobj->GetFaceName())
3600 static PyObject
*_wrap_wxFont_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3601 PyObject
* _resultobj
;
3604 PyObject
* _argo0
= 0;
3605 char *_kwnames
[] = { "self", NULL
};
3608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFaceName",_kwnames
,&_argo0
))
3611 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3612 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFaceName. Expected _wxFont_p.");
3618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3619 _result
= new wxString (wxFont_GetFaceName(_arg0
));
3621 wxPyEndAllowThreads(__tstate
);
3622 if (PyErr_Occurred()) return NULL
;
3625 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3627 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3636 #define wxFont_GetEncoding(_swigobj) (_swigobj->GetEncoding())
3637 static PyObject
*_wrap_wxFont_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3638 PyObject
* _resultobj
;
3639 wxFontEncoding _result
;
3641 PyObject
* _argo0
= 0;
3642 char *_kwnames
[] = { "self", NULL
};
3645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetEncoding",_kwnames
,&_argo0
))
3648 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3649 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetEncoding. Expected _wxFont_p.");
3655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3656 _result
= (wxFontEncoding
)wxFont_GetEncoding(_arg0
);
3658 wxPyEndAllowThreads(__tstate
);
3659 if (PyErr_Occurred()) return NULL
;
3660 } _resultobj
= Py_BuildValue("i",_result
);
3664 #define wxFont_IsFixedWidth(_swigobj) (_swigobj->IsFixedWidth())
3665 static PyObject
*_wrap_wxFont_IsFixedWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3666 PyObject
* _resultobj
;
3669 PyObject
* _argo0
= 0;
3670 char *_kwnames
[] = { "self", NULL
};
3673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_IsFixedWidth",_kwnames
,&_argo0
))
3676 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3677 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_IsFixedWidth. Expected _wxFont_p.");
3683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3684 _result
= (bool )wxFont_IsFixedWidth(_arg0
);
3686 wxPyEndAllowThreads(__tstate
);
3687 if (PyErr_Occurred()) return NULL
;
3688 } _resultobj
= Py_BuildValue("i",_result
);
3692 #define wxFont_GetNativeFontInfo(_swigobj) (_swigobj->GetNativeFontInfo())
3693 static PyObject
*_wrap_wxFont_GetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3694 PyObject
* _resultobj
;
3695 wxNativeFontInfo
* _result
;
3697 PyObject
* _argo0
= 0;
3698 char *_kwnames
[] = { "self", NULL
};
3702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetNativeFontInfo",_kwnames
,&_argo0
))
3705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetNativeFontInfo. Expected _wxFont_p.");
3712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3713 _result
= (wxNativeFontInfo
*)wxFont_GetNativeFontInfo(_arg0
);
3715 wxPyEndAllowThreads(__tstate
);
3716 if (PyErr_Occurred()) return NULL
;
3718 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNativeFontInfo_p");
3719 _resultobj
= Py_BuildValue("s",_ptemp
);
3722 _resultobj
= Py_None
;
3727 #define wxFont_GetNativeFontInfoDesc(_swigobj) (_swigobj->GetNativeFontInfoDesc())
3728 static PyObject
*_wrap_wxFont_GetNativeFontInfoDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3729 PyObject
* _resultobj
;
3732 PyObject
* _argo0
= 0;
3733 char *_kwnames
[] = { "self", NULL
};
3736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetNativeFontInfoDesc",_kwnames
,&_argo0
))
3739 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3740 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetNativeFontInfoDesc. Expected _wxFont_p.");
3746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3747 _result
= new wxString (wxFont_GetNativeFontInfoDesc(_arg0
));
3749 wxPyEndAllowThreads(__tstate
);
3750 if (PyErr_Occurred()) return NULL
;
3753 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3755 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3764 #define wxFont_GetNativeFontInfoUserDesc(_swigobj) (_swigobj->GetNativeFontInfoUserDesc())
3765 static PyObject
*_wrap_wxFont_GetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3766 PyObject
* _resultobj
;
3769 PyObject
* _argo0
= 0;
3770 char *_kwnames
[] = { "self", NULL
};
3773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetNativeFontInfoUserDesc",_kwnames
,&_argo0
))
3776 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3777 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetNativeFontInfoUserDesc. Expected _wxFont_p.");
3783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3784 _result
= new wxString (wxFont_GetNativeFontInfoUserDesc(_arg0
));
3786 wxPyEndAllowThreads(__tstate
);
3787 if (PyErr_Occurred()) return NULL
;
3790 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3792 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3801 #define wxFont_SetPointSize(_swigobj,_swigarg0) (_swigobj->SetPointSize(_swigarg0))
3802 static PyObject
*_wrap_wxFont_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3803 PyObject
* _resultobj
;
3806 PyObject
* _argo0
= 0;
3807 char *_kwnames
[] = { "self","pointSize", NULL
};
3810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetPointSize",_kwnames
,&_argo0
,&_arg1
))
3813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetPointSize. Expected _wxFont_p.");
3820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3821 wxFont_SetPointSize(_arg0
,_arg1
);
3823 wxPyEndAllowThreads(__tstate
);
3824 if (PyErr_Occurred()) return NULL
;
3825 } Py_INCREF(Py_None
);
3826 _resultobj
= Py_None
;
3830 #define wxFont_SetFamily(_swigobj,_swigarg0) (_swigobj->SetFamily(_swigarg0))
3831 static PyObject
*_wrap_wxFont_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3832 PyObject
* _resultobj
;
3835 PyObject
* _argo0
= 0;
3836 char *_kwnames
[] = { "self","family", NULL
};
3839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetFamily",_kwnames
,&_argo0
,&_arg1
))
3842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetFamily. Expected _wxFont_p.");
3849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3850 wxFont_SetFamily(_arg0
,_arg1
);
3852 wxPyEndAllowThreads(__tstate
);
3853 if (PyErr_Occurred()) return NULL
;
3854 } Py_INCREF(Py_None
);
3855 _resultobj
= Py_None
;
3859 #define wxFont_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
3860 static PyObject
*_wrap_wxFont_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3861 PyObject
* _resultobj
;
3864 PyObject
* _argo0
= 0;
3865 char *_kwnames
[] = { "self","style", NULL
};
3868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetStyle",_kwnames
,&_argo0
,&_arg1
))
3871 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3872 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetStyle. Expected _wxFont_p.");
3878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3879 wxFont_SetStyle(_arg0
,_arg1
);
3881 wxPyEndAllowThreads(__tstate
);
3882 if (PyErr_Occurred()) return NULL
;
3883 } Py_INCREF(Py_None
);
3884 _resultobj
= Py_None
;
3888 #define wxFont_SetWeight(_swigobj,_swigarg0) (_swigobj->SetWeight(_swigarg0))
3889 static PyObject
*_wrap_wxFont_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3890 PyObject
* _resultobj
;
3893 PyObject
* _argo0
= 0;
3894 char *_kwnames
[] = { "self","weight", NULL
};
3897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetWeight",_kwnames
,&_argo0
,&_arg1
))
3900 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3901 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetWeight. Expected _wxFont_p.");
3907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3908 wxFont_SetWeight(_arg0
,_arg1
);
3910 wxPyEndAllowThreads(__tstate
);
3911 if (PyErr_Occurred()) return NULL
;
3912 } Py_INCREF(Py_None
);
3913 _resultobj
= Py_None
;
3917 #define wxFont_SetFaceName(_swigobj,_swigarg0) (_swigobj->SetFaceName(_swigarg0))
3918 static PyObject
*_wrap_wxFont_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3919 PyObject
* _resultobj
;
3922 PyObject
* _argo0
= 0;
3923 PyObject
* _obj1
= 0;
3924 char *_kwnames
[] = { "self","faceName", NULL
};
3927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFont_SetFaceName",_kwnames
,&_argo0
,&_obj1
))
3930 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3931 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetFaceName. Expected _wxFont_p.");
3937 _arg1
= wxString_in_helper(_obj1
);
3942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3943 wxFont_SetFaceName(_arg0
,*_arg1
);
3945 wxPyEndAllowThreads(__tstate
);
3946 if (PyErr_Occurred()) return NULL
;
3947 } Py_INCREF(Py_None
);
3948 _resultobj
= Py_None
;
3956 #define wxFont_SetUnderlined(_swigobj,_swigarg0) (_swigobj->SetUnderlined(_swigarg0))
3957 static PyObject
*_wrap_wxFont_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3958 PyObject
* _resultobj
;
3961 PyObject
* _argo0
= 0;
3963 char *_kwnames
[] = { "self","underlined", NULL
};
3966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetUnderlined",_kwnames
,&_argo0
,&tempbool1
))
3969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetUnderlined. Expected _wxFont_p.");
3975 _arg1
= (bool ) tempbool1
;
3977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3978 wxFont_SetUnderlined(_arg0
,_arg1
);
3980 wxPyEndAllowThreads(__tstate
);
3981 if (PyErr_Occurred()) return NULL
;
3982 } Py_INCREF(Py_None
);
3983 _resultobj
= Py_None
;
3987 #define wxFont_SetEncoding(_swigobj,_swigarg0) (_swigobj->SetEncoding(_swigarg0))
3988 static PyObject
*_wrap_wxFont_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3989 PyObject
* _resultobj
;
3991 wxFontEncoding _arg1
;
3992 PyObject
* _argo0
= 0;
3993 char *_kwnames
[] = { "self","encoding", NULL
};
3996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetEncoding",_kwnames
,&_argo0
,&_arg1
))
3999 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4000 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetEncoding. Expected _wxFont_p.");
4006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4007 wxFont_SetEncoding(_arg0
,_arg1
);
4009 wxPyEndAllowThreads(__tstate
);
4010 if (PyErr_Occurred()) return NULL
;
4011 } Py_INCREF(Py_None
);
4012 _resultobj
= Py_None
;
4016 #define wxFont_SetNativeFontInfo(_swigobj,_swigarg0) (_swigobj->SetNativeFontInfo(_swigarg0))
4017 static PyObject
*_wrap_wxFont_SetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4018 PyObject
* _resultobj
;
4020 wxNativeFontInfo
* _arg1
;
4021 PyObject
* _argo0
= 0;
4022 PyObject
* _argo1
= 0;
4023 char *_kwnames
[] = { "self","info", NULL
};
4026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFont_SetNativeFontInfo",_kwnames
,&_argo0
,&_argo1
))
4029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetNativeFontInfo. Expected _wxFont_p.");
4036 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4037 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxNativeFontInfo_p")) {
4038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFont_SetNativeFontInfo. Expected _wxNativeFontInfo_p.");
4043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4044 wxFont_SetNativeFontInfo(_arg0
,*_arg1
);
4046 wxPyEndAllowThreads(__tstate
);
4047 if (PyErr_Occurred()) return NULL
;
4048 } Py_INCREF(Py_None
);
4049 _resultobj
= Py_None
;
4053 #define wxFont_SetNativeFontInfoUserDesc(_swigobj,_swigarg0) (_swigobj->SetNativeFontInfoUserDesc(_swigarg0))
4054 static PyObject
*_wrap_wxFont_SetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4055 PyObject
* _resultobj
;
4058 PyObject
* _argo0
= 0;
4059 PyObject
* _obj1
= 0;
4060 char *_kwnames
[] = { "self","info", NULL
};
4063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFont_SetNativeFontInfoUserDesc",_kwnames
,&_argo0
,&_obj1
))
4066 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4067 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetNativeFontInfoUserDesc. Expected _wxFont_p.");
4073 _arg1
= wxString_in_helper(_obj1
);
4078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4079 wxFont_SetNativeFontInfoUserDesc(_arg0
,*_arg1
);
4081 wxPyEndAllowThreads(__tstate
);
4082 if (PyErr_Occurred()) return NULL
;
4083 } Py_INCREF(Py_None
);
4084 _resultobj
= Py_None
;
4092 #define wxFont_GetFamilyString(_swigobj) (_swigobj->GetFamilyString())
4093 static PyObject
*_wrap_wxFont_GetFamilyString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4094 PyObject
* _resultobj
;
4097 PyObject
* _argo0
= 0;
4098 char *_kwnames
[] = { "self", NULL
};
4101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFamilyString",_kwnames
,&_argo0
))
4104 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4105 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFamilyString. Expected _wxFont_p.");
4111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4112 _result
= new wxString (wxFont_GetFamilyString(_arg0
));
4114 wxPyEndAllowThreads(__tstate
);
4115 if (PyErr_Occurred()) return NULL
;
4118 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
4120 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4129 #define wxFont_GetStyleString(_swigobj) (_swigobj->GetStyleString())
4130 static PyObject
*_wrap_wxFont_GetStyleString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4131 PyObject
* _resultobj
;
4134 PyObject
* _argo0
= 0;
4135 char *_kwnames
[] = { "self", NULL
};
4138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetStyleString",_kwnames
,&_argo0
))
4141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetStyleString. Expected _wxFont_p.");
4148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4149 _result
= new wxString (wxFont_GetStyleString(_arg0
));
4151 wxPyEndAllowThreads(__tstate
);
4152 if (PyErr_Occurred()) return NULL
;
4155 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
4157 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4166 #define wxFont_GetWeightString(_swigobj) (_swigobj->GetWeightString())
4167 static PyObject
*_wrap_wxFont_GetWeightString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4168 PyObject
* _resultobj
;
4171 PyObject
* _argo0
= 0;
4172 char *_kwnames
[] = { "self", NULL
};
4175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetWeightString",_kwnames
,&_argo0
))
4178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetWeightString. Expected _wxFont_p.");
4185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4186 _result
= new wxString (wxFont_GetWeightString(_arg0
));
4188 wxPyEndAllowThreads(__tstate
);
4189 if (PyErr_Occurred()) return NULL
;
4192 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
4194 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4203 static PyObject
*_wrap_wxFont_GetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4204 PyObject
* _resultobj
;
4205 wxFontEncoding _result
;
4206 char *_kwnames
[] = { NULL
};
4209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxFont_GetDefaultEncoding",_kwnames
))
4212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4213 _result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
4215 wxPyEndAllowThreads(__tstate
);
4216 if (PyErr_Occurred()) return NULL
;
4217 } _resultobj
= Py_BuildValue("i",_result
);
4221 static PyObject
*_wrap_wxFont_SetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4222 PyObject
* _resultobj
;
4223 wxFontEncoding _arg0
;
4224 char *_kwnames
[] = { "encoding", NULL
};
4227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxFont_SetDefaultEncoding",_kwnames
,&_arg0
))
4230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4231 wxFont::SetDefaultEncoding(_arg0
);
4233 wxPyEndAllowThreads(__tstate
);
4234 if (PyErr_Occurred()) return NULL
;
4235 } Py_INCREF(Py_None
);
4236 _resultobj
= Py_None
;
4240 static void *SwigwxFontListTowxObject(void *ptr
) {
4243 src
= (wxFontList
*) ptr
;
4244 dest
= (wxObject
*) src
;
4245 return (void *) dest
;
4248 #define wxFontList_AddFont(_swigobj,_swigarg0) (_swigobj->AddFont(_swigarg0))
4249 static PyObject
*_wrap_wxFontList_AddFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4250 PyObject
* _resultobj
;
4253 PyObject
* _argo0
= 0;
4254 PyObject
* _argo1
= 0;
4255 char *_kwnames
[] = { "self","font", NULL
};
4258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontList_AddFont",_kwnames
,&_argo0
,&_argo1
))
4261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontList_p")) {
4263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontList_AddFont. Expected _wxFontList_p.");
4268 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4269 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
4270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontList_AddFont. Expected _wxFont_p.");
4275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4276 wxFontList_AddFont(_arg0
,_arg1
);
4278 wxPyEndAllowThreads(__tstate
);
4279 if (PyErr_Occurred()) return NULL
;
4280 } Py_INCREF(Py_None
);
4281 _resultobj
= Py_None
;
4285 #define wxFontList_FindOrCreateFont(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->FindOrCreateFont(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4286 static PyObject
*_wrap_wxFontList_FindOrCreateFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4287 PyObject
* _resultobj
;
4294 bool _arg5
= (bool ) FALSE
;
4295 char * _arg6
= (char *) NULL
;
4296 wxFontEncoding _arg7
= (wxFontEncoding
) (wxFONTENCODING_DEFAULT
);
4297 PyObject
* _argo0
= 0;
4298 int tempbool5
= (int) FALSE
;
4299 char *_kwnames
[] = { "self","point_size","family","style","weight","underline","facename","encoding", NULL
};
4303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|isi:wxFontList_FindOrCreateFont",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
,&_arg6
,&_arg7
))
4306 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4307 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontList_p")) {
4308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontList_FindOrCreateFont. Expected _wxFontList_p.");
4312 _arg5
= (bool ) tempbool5
;
4314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4315 _result
= (wxFont
*)wxFontList_FindOrCreateFont(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
);
4317 wxPyEndAllowThreads(__tstate
);
4318 if (PyErr_Occurred()) return NULL
;
4320 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
4321 _resultobj
= Py_BuildValue("s",_ptemp
);
4324 _resultobj
= Py_None
;
4329 #define wxFontList_RemoveFont(_swigobj,_swigarg0) (_swigobj->RemoveFont(_swigarg0))
4330 static PyObject
*_wrap_wxFontList_RemoveFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4331 PyObject
* _resultobj
;
4334 PyObject
* _argo0
= 0;
4335 PyObject
* _argo1
= 0;
4336 char *_kwnames
[] = { "self","font", NULL
};
4339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontList_RemoveFont",_kwnames
,&_argo0
,&_argo1
))
4342 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4343 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontList_p")) {
4344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontList_RemoveFont. Expected _wxFontList_p.");
4349 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4350 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
4351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontList_RemoveFont. Expected _wxFont_p.");
4356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4357 wxFontList_RemoveFont(_arg0
,_arg1
);
4359 wxPyEndAllowThreads(__tstate
);
4360 if (PyErr_Occurred()) return NULL
;
4361 } Py_INCREF(Py_None
);
4362 _resultobj
= Py_None
;
4366 #define wxFontList_GetCount(_swigobj) (_swigobj->GetCount())
4367 static PyObject
*_wrap_wxFontList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4368 PyObject
* _resultobj
;
4371 PyObject
* _argo0
= 0;
4372 char *_kwnames
[] = { "self", NULL
};
4375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontList_GetCount",_kwnames
,&_argo0
))
4378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontList_p")) {
4380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontList_GetCount. Expected _wxFontList_p.");
4385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4386 _result
= (int )wxFontList_GetCount(_arg0
);
4388 wxPyEndAllowThreads(__tstate
);
4389 if (PyErr_Occurred()) return NULL
;
4390 } _resultobj
= Py_BuildValue("i",_result
);
4394 static void *SwigwxColourTowxObject(void *ptr
) {
4397 src
= (wxColour
*) ptr
;
4398 dest
= (wxObject
*) src
;
4399 return (void *) dest
;
4402 #define new_wxColour(_swigarg0,_swigarg1,_swigarg2) (new wxColour(_swigarg0,_swigarg1,_swigarg2))
4403 static PyObject
*_wrap_new_wxColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4404 PyObject
* _resultobj
;
4406 unsigned char _arg0
= (unsigned char ) 0;
4407 unsigned char _arg1
= (unsigned char ) 0;
4408 unsigned char _arg2
= (unsigned char ) 0;
4409 char *_kwnames
[] = { "red","green","blue", NULL
};
4413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|bbb:new_wxColour",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
4416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4417 _result
= (wxColour
*)new_wxColour(_arg0
,_arg1
,_arg2
);
4419 wxPyEndAllowThreads(__tstate
);
4420 if (PyErr_Occurred()) return NULL
;
4422 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
4423 _resultobj
= Py_BuildValue("s",_ptemp
);
4426 _resultobj
= Py_None
;
4431 #define delete_wxColour(_swigobj) (delete _swigobj)
4432 static PyObject
*_wrap_delete_wxColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4433 PyObject
* _resultobj
;
4436 PyObject
* _obj0
= 0;
4437 char *_kwnames
[] = { "self", NULL
};
4440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxColour",_kwnames
,&_obj0
))
4444 if (! wxColour_helper(_obj0
, &_arg0
))
4448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4449 delete_wxColour(_arg0
);
4451 wxPyEndAllowThreads(__tstate
);
4452 if (PyErr_Occurred()) return NULL
;
4453 } Py_INCREF(Py_None
);
4454 _resultobj
= Py_None
;
4458 #define wxColour_Red(_swigobj) (_swigobj->Red())
4459 static PyObject
*_wrap_wxColour_Red(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4460 PyObject
* _resultobj
;
4461 unsigned char _result
;
4464 PyObject
* _obj0
= 0;
4465 char *_kwnames
[] = { "self", NULL
};
4468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Red",_kwnames
,&_obj0
))
4472 if (! wxColour_helper(_obj0
, &_arg0
))
4476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4477 _result
= (unsigned char )wxColour_Red(_arg0
);
4479 wxPyEndAllowThreads(__tstate
);
4480 if (PyErr_Occurred()) return NULL
;
4481 } _resultobj
= Py_BuildValue("b",_result
);
4485 #define wxColour_Green(_swigobj) (_swigobj->Green())
4486 static PyObject
*_wrap_wxColour_Green(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4487 PyObject
* _resultobj
;
4488 unsigned char _result
;
4491 PyObject
* _obj0
= 0;
4492 char *_kwnames
[] = { "self", NULL
};
4495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Green",_kwnames
,&_obj0
))
4499 if (! wxColour_helper(_obj0
, &_arg0
))
4503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4504 _result
= (unsigned char )wxColour_Green(_arg0
);
4506 wxPyEndAllowThreads(__tstate
);
4507 if (PyErr_Occurred()) return NULL
;
4508 } _resultobj
= Py_BuildValue("b",_result
);
4512 #define wxColour_Blue(_swigobj) (_swigobj->Blue())
4513 static PyObject
*_wrap_wxColour_Blue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4514 PyObject
* _resultobj
;
4515 unsigned char _result
;
4518 PyObject
* _obj0
= 0;
4519 char *_kwnames
[] = { "self", NULL
};
4522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Blue",_kwnames
,&_obj0
))
4526 if (! wxColour_helper(_obj0
, &_arg0
))
4530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4531 _result
= (unsigned char )wxColour_Blue(_arg0
);
4533 wxPyEndAllowThreads(__tstate
);
4534 if (PyErr_Occurred()) return NULL
;
4535 } _resultobj
= Py_BuildValue("b",_result
);
4539 #define wxColour_Ok(_swigobj) (_swigobj->Ok())
4540 static PyObject
*_wrap_wxColour_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4541 PyObject
* _resultobj
;
4545 PyObject
* _obj0
= 0;
4546 char *_kwnames
[] = { "self", NULL
};
4549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Ok",_kwnames
,&_obj0
))
4553 if (! wxColour_helper(_obj0
, &_arg0
))
4557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4558 _result
= (bool )wxColour_Ok(_arg0
);
4560 wxPyEndAllowThreads(__tstate
);
4561 if (PyErr_Occurred()) return NULL
;
4562 } _resultobj
= Py_BuildValue("i",_result
);
4566 #define wxColour_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
4567 static PyObject
*_wrap_wxColour_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4568 PyObject
* _resultobj
;
4570 unsigned char _arg1
;
4571 unsigned char _arg2
;
4572 unsigned char _arg3
;
4574 PyObject
* _obj0
= 0;
4575 char *_kwnames
[] = { "self","red","green","blue", NULL
};
4578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Obbb:wxColour_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_arg3
))
4582 if (! wxColour_helper(_obj0
, &_arg0
))
4586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4587 wxColour_Set(_arg0
,_arg1
,_arg2
,_arg3
);
4589 wxPyEndAllowThreads(__tstate
);
4590 if (PyErr_Occurred()) return NULL
;
4591 } Py_INCREF(Py_None
);
4592 _resultobj
= Py_None
;
4596 static PyObject
* wxColour_Get(wxColour
*self
) {
4597 PyObject
* rv
= PyTuple_New(3);
4598 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
4599 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
4600 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
4603 static PyObject
*_wrap_wxColour_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4604 PyObject
* _resultobj
;
4608 PyObject
* _obj0
= 0;
4609 char *_kwnames
[] = { "self", NULL
};
4612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Get",_kwnames
,&_obj0
))
4616 if (! wxColour_helper(_obj0
, &_arg0
))
4620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4621 _result
= (PyObject
*)wxColour_Get(_arg0
);
4623 wxPyEndAllowThreads(__tstate
);
4624 if (PyErr_Occurred()) return NULL
;
4626 _resultobj
= _result
;
4631 static void *SwigwxColourDatabaseTowxObject(void *ptr
) {
4632 wxColourDatabase
*src
;
4634 src
= (wxColourDatabase
*) ptr
;
4635 dest
= (wxObject
*) src
;
4636 return (void *) dest
;
4639 #define wxColourDatabase_FindColour(_swigobj,_swigarg0) (_swigobj->FindColour(_swigarg0))
4640 static PyObject
*_wrap_wxColourDatabase_FindColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4641 PyObject
* _resultobj
;
4643 wxColourDatabase
* _arg0
;
4645 PyObject
* _argo0
= 0;
4646 PyObject
* _obj1
= 0;
4647 char *_kwnames
[] = { "self","colour", NULL
};
4651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxColourDatabase_FindColour",_kwnames
,&_argo0
,&_obj1
))
4654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDatabase_p")) {
4656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDatabase_FindColour. Expected _wxColourDatabase_p.");
4661 _arg1
= wxString_in_helper(_obj1
);
4666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4667 _result
= (wxColour
*)wxColourDatabase_FindColour(_arg0
,*_arg1
);
4669 wxPyEndAllowThreads(__tstate
);
4670 if (PyErr_Occurred()) return NULL
;
4672 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
4673 _resultobj
= Py_BuildValue("s",_ptemp
);
4676 _resultobj
= Py_None
;
4685 #define wxColourDatabase_FindName(_swigobj,_swigarg0) (_swigobj->FindName(_swigarg0))
4686 static PyObject
*_wrap_wxColourDatabase_FindName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4687 PyObject
* _resultobj
;
4689 wxColourDatabase
* _arg0
;
4691 PyObject
* _argo0
= 0;
4693 PyObject
* _obj1
= 0;
4694 char *_kwnames
[] = { "self","colour", NULL
};
4697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxColourDatabase_FindName",_kwnames
,&_argo0
,&_obj1
))
4700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDatabase_p")) {
4702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDatabase_FindName. Expected _wxColourDatabase_p.");
4708 if (! wxColour_helper(_obj1
, &_arg1
))
4712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4713 _result
= new wxString (wxColourDatabase_FindName(_arg0
,*_arg1
));
4715 wxPyEndAllowThreads(__tstate
);
4716 if (PyErr_Occurred()) return NULL
;
4719 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
4721 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4730 static void wxColourDatabase_Append(wxColourDatabase
*self
,const wxString
& name
,int red
,int green
,int blue
) {
4731 // first see if the name is already there
4732 wxString cName
= name
;
4734 wxString cName2
= cName
;
4735 if ( !cName2
.Replace(wxT("GRAY"), wxT("GREY")) )
4738 wxNode
*node
= self
->First();
4740 const wxChar
*key
= node
->GetKeyString();
4741 if ( cName
== key
|| cName2
== key
) {
4742 wxColour
* c
= (wxColour
*)node
->Data();
4743 c
->Set(red
, green
, blue
);
4746 node
= node
->Next();
4749 // otherwise append the new colour
4750 self
->Append(name
.c_str(), new wxColour(red
, green
, blue
));
4752 static PyObject
*_wrap_wxColourDatabase_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4753 PyObject
* _resultobj
;
4754 wxColourDatabase
* _arg0
;
4759 PyObject
* _argo0
= 0;
4760 PyObject
* _obj1
= 0;
4761 char *_kwnames
[] = { "self","name","red","green","blue", NULL
};
4764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiii:wxColourDatabase_Append",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_arg4
))
4767 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4768 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDatabase_p")) {
4769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDatabase_Append. Expected _wxColourDatabase_p.");
4774 _arg1
= wxString_in_helper(_obj1
);
4779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4780 wxColourDatabase_Append(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
4782 wxPyEndAllowThreads(__tstate
);
4783 if (PyErr_Occurred()) return NULL
;
4784 } Py_INCREF(Py_None
);
4785 _resultobj
= Py_None
;
4793 static void *SwigwxPenTowxGDIObject(void *ptr
) {
4796 src
= (wxPen
*) ptr
;
4797 dest
= (wxGDIObject
*) src
;
4798 return (void *) dest
;
4801 static void *SwigwxPenTowxObject(void *ptr
) {
4804 src
= (wxPen
*) ptr
;
4805 dest
= (wxObject
*) src
;
4806 return (void *) dest
;
4809 #define new_wxPen(_swigarg0,_swigarg1,_swigarg2) (new wxPen(_swigarg0,_swigarg1,_swigarg2))
4810 static PyObject
*_wrap_new_wxPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4811 PyObject
* _resultobj
;
4814 int _arg1
= (int ) 1;
4815 int _arg2
= (int ) wxSOLID
;
4817 PyObject
* _obj0
= 0;
4818 char *_kwnames
[] = { "colour","width","style", NULL
};
4822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:new_wxPen",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
4826 if (! wxColour_helper(_obj0
, &_arg0
))
4830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4831 _result
= (wxPen
*)new_wxPen(*_arg0
,_arg1
,_arg2
);
4833 wxPyEndAllowThreads(__tstate
);
4834 if (PyErr_Occurred()) return NULL
;
4836 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
4837 _resultobj
= Py_BuildValue("s",_ptemp
);
4840 _resultobj
= Py_None
;
4845 #define delete_wxPen(_swigobj) (delete _swigobj)
4846 static PyObject
*_wrap_delete_wxPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4847 PyObject
* _resultobj
;
4849 PyObject
* _argo0
= 0;
4850 char *_kwnames
[] = { "self", NULL
};
4853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPen",_kwnames
,&_argo0
))
4856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
4858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPen. Expected _wxPen_p.");
4863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4864 delete_wxPen(_arg0
);
4866 wxPyEndAllowThreads(__tstate
);
4867 if (PyErr_Occurred()) return NULL
;
4868 } Py_INCREF(Py_None
);
4869 _resultobj
= Py_None
;
4873 #define wxPen_GetCap(_swigobj) (_swigobj->GetCap())
4874 static PyObject
*_wrap_wxPen_GetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4875 PyObject
* _resultobj
;
4878 PyObject
* _argo0
= 0;
4879 char *_kwnames
[] = { "self", NULL
};
4882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetCap",_kwnames
,&_argo0
))
4885 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4886 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
4887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetCap. Expected _wxPen_p.");
4892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4893 _result
= (int )wxPen_GetCap(_arg0
);
4895 wxPyEndAllowThreads(__tstate
);
4896 if (PyErr_Occurred()) return NULL
;
4897 } _resultobj
= Py_BuildValue("i",_result
);
4901 #define wxPen_GetColour(_swigobj) (_swigobj->GetColour())
4902 static PyObject
*_wrap_wxPen_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4903 PyObject
* _resultobj
;
4906 PyObject
* _argo0
= 0;
4907 char *_kwnames
[] = { "self", NULL
};
4911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetColour",_kwnames
,&_argo0
))
4914 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4915 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
4916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetColour. Expected _wxPen_p.");
4921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4922 _result
= new wxColour (wxPen_GetColour(_arg0
));
4924 wxPyEndAllowThreads(__tstate
);
4925 if (PyErr_Occurred()) return NULL
;
4926 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
4927 _resultobj
= Py_BuildValue("s",_ptemp
);
4931 #define wxPen_GetJoin(_swigobj) (_swigobj->GetJoin())
4932 static PyObject
*_wrap_wxPen_GetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4933 PyObject
* _resultobj
;
4936 PyObject
* _argo0
= 0;
4937 char *_kwnames
[] = { "self", NULL
};
4940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetJoin",_kwnames
,&_argo0
))
4943 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4944 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
4945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetJoin. Expected _wxPen_p.");
4950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4951 _result
= (int )wxPen_GetJoin(_arg0
);
4953 wxPyEndAllowThreads(__tstate
);
4954 if (PyErr_Occurred()) return NULL
;
4955 } _resultobj
= Py_BuildValue("i",_result
);
4959 #define wxPen_GetStyle(_swigobj) (_swigobj->GetStyle())
4960 static PyObject
*_wrap_wxPen_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4961 PyObject
* _resultobj
;
4964 PyObject
* _argo0
= 0;
4965 char *_kwnames
[] = { "self", NULL
};
4968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetStyle",_kwnames
,&_argo0
))
4971 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4972 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
4973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetStyle. Expected _wxPen_p.");
4978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4979 _result
= (int )wxPen_GetStyle(_arg0
);
4981 wxPyEndAllowThreads(__tstate
);
4982 if (PyErr_Occurred()) return NULL
;
4983 } _resultobj
= Py_BuildValue("i",_result
);
4987 #define wxPen_GetWidth(_swigobj) (_swigobj->GetWidth())
4988 static PyObject
*_wrap_wxPen_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4989 PyObject
* _resultobj
;
4992 PyObject
* _argo0
= 0;
4993 char *_kwnames
[] = { "self", NULL
};
4996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetWidth",_kwnames
,&_argo0
))
4999 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5000 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetWidth. Expected _wxPen_p.");
5006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5007 _result
= (int )wxPen_GetWidth(_arg0
);
5009 wxPyEndAllowThreads(__tstate
);
5010 if (PyErr_Occurred()) return NULL
;
5011 } _resultobj
= Py_BuildValue("i",_result
);
5015 #define wxPen_Ok(_swigobj) (_swigobj->Ok())
5016 static PyObject
*_wrap_wxPen_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5017 PyObject
* _resultobj
;
5020 PyObject
* _argo0
= 0;
5021 char *_kwnames
[] = { "self", NULL
};
5024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_Ok",_kwnames
,&_argo0
))
5027 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5028 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_Ok. Expected _wxPen_p.");
5034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5035 _result
= (bool )wxPen_Ok(_arg0
);
5037 wxPyEndAllowThreads(__tstate
);
5038 if (PyErr_Occurred()) return NULL
;
5039 } _resultobj
= Py_BuildValue("i",_result
);
5043 #define wxPen_SetCap(_swigobj,_swigarg0) (_swigobj->SetCap(_swigarg0))
5044 static PyObject
*_wrap_wxPen_SetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5045 PyObject
* _resultobj
;
5048 PyObject
* _argo0
= 0;
5049 char *_kwnames
[] = { "self","cap_style", NULL
};
5052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetCap",_kwnames
,&_argo0
,&_arg1
))
5055 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5056 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5057 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetCap. Expected _wxPen_p.");
5062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5063 wxPen_SetCap(_arg0
,_arg1
);
5065 wxPyEndAllowThreads(__tstate
);
5066 if (PyErr_Occurred()) return NULL
;
5067 } Py_INCREF(Py_None
);
5068 _resultobj
= Py_None
;
5072 #define wxPen_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
5073 static PyObject
*_wrap_wxPen_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5074 PyObject
* _resultobj
;
5077 PyObject
* _argo0
= 0;
5079 PyObject
* _obj1
= 0;
5080 char *_kwnames
[] = { "self","colour", NULL
};
5083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_SetColour",_kwnames
,&_argo0
,&_obj1
))
5086 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5087 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetColour. Expected _wxPen_p.");
5094 if (! wxColour_helper(_obj1
, &_arg1
))
5098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5099 wxPen_SetColour(_arg0
,*_arg1
);
5101 wxPyEndAllowThreads(__tstate
);
5102 if (PyErr_Occurred()) return NULL
;
5103 } Py_INCREF(Py_None
);
5104 _resultobj
= Py_None
;
5108 #define wxPen_SetJoin(_swigobj,_swigarg0) (_swigobj->SetJoin(_swigarg0))
5109 static PyObject
*_wrap_wxPen_SetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5110 PyObject
* _resultobj
;
5113 PyObject
* _argo0
= 0;
5114 char *_kwnames
[] = { "self","join_style", NULL
};
5117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetJoin",_kwnames
,&_argo0
,&_arg1
))
5120 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5121 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetJoin. Expected _wxPen_p.");
5127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5128 wxPen_SetJoin(_arg0
,_arg1
);
5130 wxPyEndAllowThreads(__tstate
);
5131 if (PyErr_Occurred()) return NULL
;
5132 } Py_INCREF(Py_None
);
5133 _resultobj
= Py_None
;
5137 #define wxPen_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
5138 static PyObject
*_wrap_wxPen_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5139 PyObject
* _resultobj
;
5142 PyObject
* _argo0
= 0;
5143 char *_kwnames
[] = { "self","style", NULL
};
5146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetStyle",_kwnames
,&_argo0
,&_arg1
))
5149 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5150 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetStyle. Expected _wxPen_p.");
5156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5157 wxPen_SetStyle(_arg0
,_arg1
);
5159 wxPyEndAllowThreads(__tstate
);
5160 if (PyErr_Occurred()) return NULL
;
5161 } Py_INCREF(Py_None
);
5162 _resultobj
= Py_None
;
5166 #define wxPen_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
5167 static PyObject
*_wrap_wxPen_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5168 PyObject
* _resultobj
;
5171 PyObject
* _argo0
= 0;
5172 char *_kwnames
[] = { "self","width", NULL
};
5175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetWidth",_kwnames
,&_argo0
,&_arg1
))
5178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetWidth. Expected _wxPen_p.");
5185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5186 wxPen_SetWidth(_arg0
,_arg1
);
5188 wxPyEndAllowThreads(__tstate
);
5189 if (PyErr_Occurred()) return NULL
;
5190 } Py_INCREF(Py_None
);
5191 _resultobj
= Py_None
;
5195 #define wxPen_SetDashes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDashes(_swigarg0,_swigarg1))
5196 static PyObject
*_wrap_wxPen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5197 PyObject
* _resultobj
;
5201 PyObject
* _argo0
= 0;
5202 PyObject
* _obj2
= 0;
5203 char *_kwnames
[] = { "self","choices", NULL
};
5206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_SetDashes",_kwnames
,&_argo0
,&_obj2
))
5209 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5210 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetDashes. Expected _wxPen_p.");
5217 _arg2
= (wxDash
*)byte_LIST_helper(_obj2
);
5218 if (_arg2
== NULL
) {
5224 _arg1
= PyList_Size(_obj2
);
5231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5232 wxPen_SetDashes(_arg0
,_arg1
,_arg2
);
5234 wxPyEndAllowThreads(__tstate
);
5235 if (PyErr_Occurred()) return NULL
;
5236 } Py_INCREF(Py_None
);
5237 _resultobj
= Py_None
;
5244 static void *SwigwxPyPenTowxPen(void *ptr
) {
5247 src
= (wxPyPen
*) ptr
;
5248 dest
= (wxPen
*) src
;
5249 return (void *) dest
;
5252 static void *SwigwxPyPenTowxGDIObject(void *ptr
) {
5255 src
= (wxPyPen
*) ptr
;
5256 dest
= (wxGDIObject
*) src
;
5257 return (void *) dest
;
5260 static void *SwigwxPyPenTowxObject(void *ptr
) {
5263 src
= (wxPyPen
*) ptr
;
5264 dest
= (wxObject
*) src
;
5265 return (void *) dest
;
5268 #define new_wxPyPen(_swigarg0,_swigarg1,_swigarg2) (new wxPyPen(_swigarg0,_swigarg1,_swigarg2))
5269 static PyObject
*_wrap_new_wxPyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5270 PyObject
* _resultobj
;
5273 int _arg1
= (int ) 1;
5274 int _arg2
= (int ) wxSOLID
;
5276 PyObject
* _obj0
= 0;
5277 char *_kwnames
[] = { "colour","width","style", NULL
};
5281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:new_wxPyPen",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
5285 if (! wxColour_helper(_obj0
, &_arg0
))
5289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5290 _result
= (wxPyPen
*)new_wxPyPen(*_arg0
,_arg1
,_arg2
);
5292 wxPyEndAllowThreads(__tstate
);
5293 if (PyErr_Occurred()) return NULL
;
5295 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPen_p");
5296 _resultobj
= Py_BuildValue("s",_ptemp
);
5299 _resultobj
= Py_None
;
5304 #define delete_wxPyPen(_swigobj) (delete _swigobj)
5305 static PyObject
*_wrap_delete_wxPyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5306 PyObject
* _resultobj
;
5308 PyObject
* _argo0
= 0;
5309 char *_kwnames
[] = { "self", NULL
};
5312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyPen",_kwnames
,&_argo0
))
5315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPen_p")) {
5317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyPen. Expected _wxPyPen_p.");
5322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5323 delete_wxPyPen(_arg0
);
5325 wxPyEndAllowThreads(__tstate
);
5326 if (PyErr_Occurred()) return NULL
;
5327 } Py_INCREF(Py_None
);
5328 _resultobj
= Py_None
;
5332 #define wxPyPen_SetDashes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDashes(_swigarg0,_swigarg1))
5333 static PyObject
*_wrap_wxPyPen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5334 PyObject
* _resultobj
;
5338 PyObject
* _argo0
= 0;
5339 PyObject
* _obj2
= 0;
5340 char *_kwnames
[] = { "self","choices", NULL
};
5343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyPen_SetDashes",_kwnames
,&_argo0
,&_obj2
))
5346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPen_p")) {
5348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPen_SetDashes. Expected _wxPyPen_p.");
5354 _arg2
= (wxDash
*)byte_LIST_helper(_obj2
);
5355 if (_arg2
== NULL
) {
5361 _arg1
= PyList_Size(_obj2
);
5368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5369 wxPyPen_SetDashes(_arg0
,_arg1
,_arg2
);
5371 wxPyEndAllowThreads(__tstate
);
5372 if (PyErr_Occurred()) return NULL
;
5373 } Py_INCREF(Py_None
);
5374 _resultobj
= Py_None
;
5381 static void *SwigwxPenListTowxObject(void *ptr
) {
5384 src
= (wxPenList
*) ptr
;
5385 dest
= (wxObject
*) src
;
5386 return (void *) dest
;
5389 #define wxPenList_AddPen(_swigobj,_swigarg0) (_swigobj->AddPen(_swigarg0))
5390 static PyObject
*_wrap_wxPenList_AddPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5391 PyObject
* _resultobj
;
5394 PyObject
* _argo0
= 0;
5395 PyObject
* _argo1
= 0;
5396 char *_kwnames
[] = { "self","pen", NULL
};
5399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPenList_AddPen",_kwnames
,&_argo0
,&_argo1
))
5402 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5403 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
5404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_AddPen. Expected _wxPenList_p.");
5409 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5410 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
5411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPenList_AddPen. Expected _wxPen_p.");
5416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5417 wxPenList_AddPen(_arg0
,_arg1
);
5419 wxPyEndAllowThreads(__tstate
);
5420 if (PyErr_Occurred()) return NULL
;
5421 } Py_INCREF(Py_None
);
5422 _resultobj
= Py_None
;
5426 #define wxPenList_FindOrCreatePen(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindOrCreatePen(_swigarg0,_swigarg1,_swigarg2))
5427 static PyObject
*_wrap_wxPenList_FindOrCreatePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5428 PyObject
* _resultobj
;
5434 PyObject
* _argo0
= 0;
5436 PyObject
* _obj1
= 0;
5437 char *_kwnames
[] = { "self","colour","width","style", NULL
};
5441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxPenList_FindOrCreatePen",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
))
5444 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5445 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
5446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_FindOrCreatePen. Expected _wxPenList_p.");
5452 if (! wxColour_helper(_obj1
, &_arg1
))
5456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5457 _result
= (wxPen
*)wxPenList_FindOrCreatePen(_arg0
,*_arg1
,_arg2
,_arg3
);
5459 wxPyEndAllowThreads(__tstate
);
5460 if (PyErr_Occurred()) return NULL
;
5462 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
5463 _resultobj
= Py_BuildValue("s",_ptemp
);
5466 _resultobj
= Py_None
;
5471 #define wxPenList_RemovePen(_swigobj,_swigarg0) (_swigobj->RemovePen(_swigarg0))
5472 static PyObject
*_wrap_wxPenList_RemovePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5473 PyObject
* _resultobj
;
5476 PyObject
* _argo0
= 0;
5477 PyObject
* _argo1
= 0;
5478 char *_kwnames
[] = { "self","pen", NULL
};
5481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPenList_RemovePen",_kwnames
,&_argo0
,&_argo1
))
5484 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5485 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
5486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_RemovePen. Expected _wxPenList_p.");
5491 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5492 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
5493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPenList_RemovePen. Expected _wxPen_p.");
5498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5499 wxPenList_RemovePen(_arg0
,_arg1
);
5501 wxPyEndAllowThreads(__tstate
);
5502 if (PyErr_Occurred()) return NULL
;
5503 } Py_INCREF(Py_None
);
5504 _resultobj
= Py_None
;
5508 #define wxPenList_GetCount(_swigobj) (_swigobj->GetCount())
5509 static PyObject
*_wrap_wxPenList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5510 PyObject
* _resultobj
;
5513 PyObject
* _argo0
= 0;
5514 char *_kwnames
[] = { "self", NULL
};
5517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPenList_GetCount",_kwnames
,&_argo0
))
5520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
5522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_GetCount. Expected _wxPenList_p.");
5527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5528 _result
= (int )wxPenList_GetCount(_arg0
);
5530 wxPyEndAllowThreads(__tstate
);
5531 if (PyErr_Occurred()) return NULL
;
5532 } _resultobj
= Py_BuildValue("i",_result
);
5536 static void *SwigwxBrushTowxGDIObject(void *ptr
) {
5539 src
= (wxBrush
*) ptr
;
5540 dest
= (wxGDIObject
*) src
;
5541 return (void *) dest
;
5544 static void *SwigwxBrushTowxObject(void *ptr
) {
5547 src
= (wxBrush
*) ptr
;
5548 dest
= (wxObject
*) src
;
5549 return (void *) dest
;
5552 #define new_wxBrush(_swigarg0,_swigarg1) (new wxBrush(_swigarg0,_swigarg1))
5553 static PyObject
*_wrap_new_wxBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5554 PyObject
* _resultobj
;
5557 int _arg1
= (int ) wxSOLID
;
5559 PyObject
* _obj0
= 0;
5560 char *_kwnames
[] = { "colour","style", NULL
};
5564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxBrush",_kwnames
,&_obj0
,&_arg1
))
5568 if (! wxColour_helper(_obj0
, &_arg0
))
5572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5573 _result
= (wxBrush
*)new_wxBrush(*_arg0
,_arg1
);
5575 wxPyEndAllowThreads(__tstate
);
5576 if (PyErr_Occurred()) return NULL
;
5578 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
5579 _resultobj
= Py_BuildValue("s",_ptemp
);
5582 _resultobj
= Py_None
;
5587 #define delete_wxBrush(_swigobj) (delete _swigobj)
5588 static PyObject
*_wrap_delete_wxBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5589 PyObject
* _resultobj
;
5591 PyObject
* _argo0
= 0;
5592 char *_kwnames
[] = { "self", NULL
};
5595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBrush",_kwnames
,&_argo0
))
5598 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5599 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
5600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBrush. Expected _wxBrush_p.");
5605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5606 delete_wxBrush(_arg0
);
5608 wxPyEndAllowThreads(__tstate
);
5609 if (PyErr_Occurred()) return NULL
;
5610 } Py_INCREF(Py_None
);
5611 _resultobj
= Py_None
;
5615 #define wxBrush_GetColour(_swigobj) (_swigobj->GetColour())
5616 static PyObject
*_wrap_wxBrush_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5617 PyObject
* _resultobj
;
5620 PyObject
* _argo0
= 0;
5621 char *_kwnames
[] = { "self", NULL
};
5625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetColour",_kwnames
,&_argo0
))
5628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
5630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetColour. Expected _wxBrush_p.");
5635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5636 _result
= new wxColour (wxBrush_GetColour(_arg0
));
5638 wxPyEndAllowThreads(__tstate
);
5639 if (PyErr_Occurred()) return NULL
;
5640 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
5641 _resultobj
= Py_BuildValue("s",_ptemp
);
5645 #define wxBrush_GetStipple(_swigobj) (_swigobj->GetStipple())
5646 static PyObject
*_wrap_wxBrush_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5647 PyObject
* _resultobj
;
5650 PyObject
* _argo0
= 0;
5651 char *_kwnames
[] = { "self", NULL
};
5655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetStipple",_kwnames
,&_argo0
))
5658 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5659 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
5660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStipple. Expected _wxBrush_p.");
5665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5666 _result
= (wxBitmap
*)wxBrush_GetStipple(_arg0
);
5668 wxPyEndAllowThreads(__tstate
);
5669 if (PyErr_Occurred()) return NULL
;
5671 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
5672 _resultobj
= Py_BuildValue("s",_ptemp
);
5675 _resultobj
= Py_None
;
5680 #define wxBrush_GetStyle(_swigobj) (_swigobj->GetStyle())
5681 static PyObject
*_wrap_wxBrush_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5682 PyObject
* _resultobj
;
5685 PyObject
* _argo0
= 0;
5686 char *_kwnames
[] = { "self", NULL
};
5689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetStyle",_kwnames
,&_argo0
))
5692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
5694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStyle. Expected _wxBrush_p.");
5699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5700 _result
= (int )wxBrush_GetStyle(_arg0
);
5702 wxPyEndAllowThreads(__tstate
);
5703 if (PyErr_Occurred()) return NULL
;
5704 } _resultobj
= Py_BuildValue("i",_result
);
5708 #define wxBrush_Ok(_swigobj) (_swigobj->Ok())
5709 static PyObject
*_wrap_wxBrush_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5710 PyObject
* _resultobj
;
5713 PyObject
* _argo0
= 0;
5714 char *_kwnames
[] = { "self", NULL
};
5717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_Ok",_kwnames
,&_argo0
))
5720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
5722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_Ok. Expected _wxBrush_p.");
5727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5728 _result
= (bool )wxBrush_Ok(_arg0
);
5730 wxPyEndAllowThreads(__tstate
);
5731 if (PyErr_Occurred()) return NULL
;
5732 } _resultobj
= Py_BuildValue("i",_result
);
5736 #define wxBrush_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
5737 static PyObject
*_wrap_wxBrush_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5738 PyObject
* _resultobj
;
5741 PyObject
* _argo0
= 0;
5743 PyObject
* _obj1
= 0;
5744 char *_kwnames
[] = { "self","colour", NULL
};
5747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrush_SetColour",_kwnames
,&_argo0
,&_obj1
))
5750 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5751 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
5752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetColour. Expected _wxBrush_p.");
5758 if (! wxColour_helper(_obj1
, &_arg1
))
5762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5763 wxBrush_SetColour(_arg0
,*_arg1
);
5765 wxPyEndAllowThreads(__tstate
);
5766 if (PyErr_Occurred()) return NULL
;
5767 } Py_INCREF(Py_None
);
5768 _resultobj
= Py_None
;
5772 #define wxBrush_SetStipple(_swigobj,_swigarg0) (_swigobj->SetStipple(_swigarg0))
5773 static PyObject
*_wrap_wxBrush_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5774 PyObject
* _resultobj
;
5777 PyObject
* _argo0
= 0;
5778 PyObject
* _argo1
= 0;
5779 char *_kwnames
[] = { "self","bitmap", NULL
};
5782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrush_SetStipple",_kwnames
,&_argo0
,&_argo1
))
5785 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5786 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
5787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStipple. Expected _wxBrush_p.");
5792 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5793 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
5794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrush_SetStipple. Expected _wxBitmap_p.");
5799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5800 wxBrush_SetStipple(_arg0
,*_arg1
);
5802 wxPyEndAllowThreads(__tstate
);
5803 if (PyErr_Occurred()) return NULL
;
5804 } Py_INCREF(Py_None
);
5805 _resultobj
= Py_None
;
5809 #define wxBrush_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
5810 static PyObject
*_wrap_wxBrush_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5811 PyObject
* _resultobj
;
5814 PyObject
* _argo0
= 0;
5815 char *_kwnames
[] = { "self","style", NULL
};
5818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBrush_SetStyle",_kwnames
,&_argo0
,&_arg1
))
5821 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5822 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
5823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStyle. Expected _wxBrush_p.");
5828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5829 wxBrush_SetStyle(_arg0
,_arg1
);
5831 wxPyEndAllowThreads(__tstate
);
5832 if (PyErr_Occurred()) return NULL
;
5833 } Py_INCREF(Py_None
);
5834 _resultobj
= Py_None
;
5838 static void *SwigwxBrushListTowxObject(void *ptr
) {
5841 src
= (wxBrushList
*) ptr
;
5842 dest
= (wxObject
*) src
;
5843 return (void *) dest
;
5846 #define wxBrushList_AddBrush(_swigobj,_swigarg0) (_swigobj->AddBrush(_swigarg0))
5847 static PyObject
*_wrap_wxBrushList_AddBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5848 PyObject
* _resultobj
;
5849 wxBrushList
* _arg0
;
5851 PyObject
* _argo0
= 0;
5852 PyObject
* _argo1
= 0;
5853 char *_kwnames
[] = { "self","brush", NULL
};
5856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrushList_AddBrush",_kwnames
,&_argo0
,&_argo1
))
5859 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5860 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
5861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_AddBrush. Expected _wxBrushList_p.");
5866 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5867 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
5868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrushList_AddBrush. Expected _wxBrush_p.");
5873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5874 wxBrushList_AddBrush(_arg0
,_arg1
);
5876 wxPyEndAllowThreads(__tstate
);
5877 if (PyErr_Occurred()) return NULL
;
5878 } Py_INCREF(Py_None
);
5879 _resultobj
= Py_None
;
5883 #define wxBrushList_FindOrCreateBrush(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindOrCreateBrush(_swigarg0,_swigarg1))
5884 static PyObject
*_wrap_wxBrushList_FindOrCreateBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5885 PyObject
* _resultobj
;
5887 wxBrushList
* _arg0
;
5890 PyObject
* _argo0
= 0;
5892 PyObject
* _obj1
= 0;
5893 char *_kwnames
[] = { "self","colour","style", NULL
};
5897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxBrushList_FindOrCreateBrush",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5900 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5901 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
5902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_FindOrCreateBrush. Expected _wxBrushList_p.");
5908 if (! wxColour_helper(_obj1
, &_arg1
))
5912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5913 _result
= (wxBrush
*)wxBrushList_FindOrCreateBrush(_arg0
,*_arg1
,_arg2
);
5915 wxPyEndAllowThreads(__tstate
);
5916 if (PyErr_Occurred()) return NULL
;
5918 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
5919 _resultobj
= Py_BuildValue("s",_ptemp
);
5922 _resultobj
= Py_None
;
5927 #define wxBrushList_RemoveBrush(_swigobj,_swigarg0) (_swigobj->RemoveBrush(_swigarg0))
5928 static PyObject
*_wrap_wxBrushList_RemoveBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5929 PyObject
* _resultobj
;
5930 wxBrushList
* _arg0
;
5932 PyObject
* _argo0
= 0;
5933 PyObject
* _argo1
= 0;
5934 char *_kwnames
[] = { "self","brush", NULL
};
5937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrushList_RemoveBrush",_kwnames
,&_argo0
,&_argo1
))
5940 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5941 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
5942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_RemoveBrush. Expected _wxBrushList_p.");
5947 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5948 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
5949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrushList_RemoveBrush. Expected _wxBrush_p.");
5954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5955 wxBrushList_RemoveBrush(_arg0
,_arg1
);
5957 wxPyEndAllowThreads(__tstate
);
5958 if (PyErr_Occurred()) return NULL
;
5959 } Py_INCREF(Py_None
);
5960 _resultobj
= Py_None
;
5964 #define wxBrushList_GetCount(_swigobj) (_swigobj->GetCount())
5965 static PyObject
*_wrap_wxBrushList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5966 PyObject
* _resultobj
;
5968 wxBrushList
* _arg0
;
5969 PyObject
* _argo0
= 0;
5970 char *_kwnames
[] = { "self", NULL
};
5973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrushList_GetCount",_kwnames
,&_argo0
))
5976 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5977 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
5978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_GetCount. Expected _wxBrushList_p.");
5983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5984 _result
= (int )wxBrushList_GetCount(_arg0
);
5986 wxPyEndAllowThreads(__tstate
);
5987 if (PyErr_Occurred()) return NULL
;
5988 } _resultobj
= Py_BuildValue("i",_result
);
5992 static void *SwigwxDCTowxObject(void *ptr
) {
5996 dest
= (wxObject
*) src
;
5997 return (void *) dest
;
6000 #define delete_wxDC(_swigobj) (delete _swigobj)
6001 static PyObject
*_wrap_delete_wxDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6002 PyObject
* _resultobj
;
6004 PyObject
* _argo0
= 0;
6005 char *_kwnames
[] = { "self", NULL
};
6008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDC",_kwnames
,&_argo0
))
6011 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6012 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDC. Expected _wxDC_p.");
6018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6021 wxPyEndAllowThreads(__tstate
);
6022 if (PyErr_Occurred()) return NULL
;
6023 } Py_INCREF(Py_None
);
6024 _resultobj
= Py_None
;
6028 #define wxDC_BeginDrawing(_swigobj) (_swigobj->BeginDrawing())
6029 static PyObject
*_wrap_wxDC_BeginDrawing(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:wxDC_BeginDrawing",_kwnames
,&_argo0
))
6039 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6040 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_BeginDrawing. Expected _wxDC_p.");
6046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6047 wxDC_BeginDrawing(_arg0
);
6049 wxPyEndAllowThreads(__tstate
);
6050 if (PyErr_Occurred()) return NULL
;
6051 } Py_INCREF(Py_None
);
6052 _resultobj
= Py_None
;
6056 #define wxDC_Blit(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Blit(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
6057 static PyObject
*_wrap_wxDC_Blit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6058 PyObject
* _resultobj
;
6068 int _arg8
= (int ) wxCOPY
;
6069 int _arg9
= (int ) FALSE
;
6070 PyObject
* _argo0
= 0;
6071 PyObject
* _argo5
= 0;
6072 char *_kwnames
[] = { "self","xdest","ydest","width","height","source","xsrc","ysrc","logicalFunc","useMask", NULL
};
6075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllllOll|ii:wxDC_Blit",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_argo5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
))
6078 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6079 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Blit. Expected _wxDC_p.");
6085 if (_argo5
== Py_None
) { _arg5
= NULL
; }
6086 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxDC_p")) {
6087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxDC_Blit. Expected _wxDC_p.");
6092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6093 _result
= (bool )wxDC_Blit(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
6095 wxPyEndAllowThreads(__tstate
);
6096 if (PyErr_Occurred()) return NULL
;
6097 } _resultobj
= Py_BuildValue("i",_result
);
6101 #define wxDC_Clear(_swigobj) (_swigobj->Clear())
6102 static PyObject
*_wrap_wxDC_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6103 PyObject
* _resultobj
;
6105 PyObject
* _argo0
= 0;
6106 char *_kwnames
[] = { "self", NULL
};
6109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_Clear",_kwnames
,&_argo0
))
6112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Clear. Expected _wxDC_p.");
6119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6122 wxPyEndAllowThreads(__tstate
);
6123 if (PyErr_Occurred()) return NULL
;
6124 } Py_INCREF(Py_None
);
6125 _resultobj
= Py_None
;
6129 #define wxDC_CrossHair(_swigobj,_swigarg0,_swigarg1) (_swigobj->CrossHair(_swigarg0,_swigarg1))
6130 static PyObject
*_wrap_wxDC_CrossHair(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6131 PyObject
* _resultobj
;
6135 PyObject
* _argo0
= 0;
6136 char *_kwnames
[] = { "self","x","y", NULL
};
6139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_CrossHair",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6142 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6143 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CrossHair. Expected _wxDC_p.");
6149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6150 wxDC_CrossHair(_arg0
,_arg1
,_arg2
);
6152 wxPyEndAllowThreads(__tstate
);
6153 if (PyErr_Occurred()) return NULL
;
6154 } Py_INCREF(Py_None
);
6155 _resultobj
= Py_None
;
6159 #define wxDC_DestroyClippingRegion(_swigobj) (_swigobj->DestroyClippingRegion())
6160 static PyObject
*_wrap_wxDC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6161 PyObject
* _resultobj
;
6163 PyObject
* _argo0
= 0;
6164 char *_kwnames
[] = { "self", NULL
};
6167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_DestroyClippingRegion",_kwnames
,&_argo0
))
6170 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6171 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DestroyClippingRegion. Expected _wxDC_p.");
6177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6178 wxDC_DestroyClippingRegion(_arg0
);
6180 wxPyEndAllowThreads(__tstate
);
6181 if (PyErr_Occurred()) return NULL
;
6182 } Py_INCREF(Py_None
);
6183 _resultobj
= Py_None
;
6187 #define wxDC_DeviceToLogicalX(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalX(_swigarg0))
6188 static PyObject
*_wrap_wxDC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6189 PyObject
* _resultobj
;
6193 PyObject
* _argo0
= 0;
6194 char *_kwnames
[] = { "self","x", NULL
};
6197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalX",_kwnames
,&_argo0
,&_arg1
))
6200 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6201 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalX. Expected _wxDC_p.");
6207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6208 _result
= (long )wxDC_DeviceToLogicalX(_arg0
,_arg1
);
6210 wxPyEndAllowThreads(__tstate
);
6211 if (PyErr_Occurred()) return NULL
;
6212 } _resultobj
= Py_BuildValue("l",_result
);
6216 #define wxDC_DeviceToLogicalXRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalXRel(_swigarg0))
6217 static PyObject
*_wrap_wxDC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6218 PyObject
* _resultobj
;
6222 PyObject
* _argo0
= 0;
6223 char *_kwnames
[] = { "self","x", NULL
};
6226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalXRel",_kwnames
,&_argo0
,&_arg1
))
6229 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6230 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalXRel. Expected _wxDC_p.");
6236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6237 _result
= (long )wxDC_DeviceToLogicalXRel(_arg0
,_arg1
);
6239 wxPyEndAllowThreads(__tstate
);
6240 if (PyErr_Occurred()) return NULL
;
6241 } _resultobj
= Py_BuildValue("l",_result
);
6245 #define wxDC_DeviceToLogicalY(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalY(_swigarg0))
6246 static PyObject
*_wrap_wxDC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6247 PyObject
* _resultobj
;
6251 PyObject
* _argo0
= 0;
6252 char *_kwnames
[] = { "self","y", NULL
};
6255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalY",_kwnames
,&_argo0
,&_arg1
))
6258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalY. Expected _wxDC_p.");
6265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6266 _result
= (long )wxDC_DeviceToLogicalY(_arg0
,_arg1
);
6268 wxPyEndAllowThreads(__tstate
);
6269 if (PyErr_Occurred()) return NULL
;
6270 } _resultobj
= Py_BuildValue("l",_result
);
6274 #define wxDC_DeviceToLogicalYRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalYRel(_swigarg0))
6275 static PyObject
*_wrap_wxDC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6276 PyObject
* _resultobj
;
6280 PyObject
* _argo0
= 0;
6281 char *_kwnames
[] = { "self","y", NULL
};
6284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalYRel",_kwnames
,&_argo0
,&_arg1
))
6287 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6288 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalYRel. Expected _wxDC_p.");
6294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6295 _result
= (long )wxDC_DeviceToLogicalYRel(_arg0
,_arg1
);
6297 wxPyEndAllowThreads(__tstate
);
6298 if (PyErr_Occurred()) return NULL
;
6299 } _resultobj
= Py_BuildValue("l",_result
);
6303 #define wxDC_DrawArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6304 static PyObject
*_wrap_wxDC_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6305 PyObject
* _resultobj
;
6313 PyObject
* _argo0
= 0;
6314 char *_kwnames
[] = { "self","x1","y1","x2","y2","xc","yc", NULL
};
6317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollllll:wxDC_DrawArc",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
6320 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6321 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6322 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawArc. Expected _wxDC_p.");
6327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6328 wxDC_DrawArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
6330 wxPyEndAllowThreads(__tstate
);
6331 if (PyErr_Occurred()) return NULL
;
6332 } Py_INCREF(Py_None
);
6333 _resultobj
= Py_None
;
6337 #define wxDC_DrawCircle(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawCircle(_swigarg0,_swigarg1,_swigarg2))
6338 static PyObject
*_wrap_wxDC_DrawCircle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6339 PyObject
* _resultobj
;
6344 PyObject
* _argo0
= 0;
6345 char *_kwnames
[] = { "self","x","y","radius", NULL
};
6348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olll:wxDC_DrawCircle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
6351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawCircle. Expected _wxDC_p.");
6358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6359 wxDC_DrawCircle(_arg0
,_arg1
,_arg2
,_arg3
);
6361 wxPyEndAllowThreads(__tstate
);
6362 if (PyErr_Occurred()) return NULL
;
6363 } Py_INCREF(Py_None
);
6364 _resultobj
= Py_None
;
6368 #define wxDC_DrawEllipse(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawEllipse(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6369 static PyObject
*_wrap_wxDC_DrawEllipse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6370 PyObject
* _resultobj
;
6376 PyObject
* _argo0
= 0;
6377 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
6380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_DrawEllipse",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
6383 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6384 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipse. Expected _wxDC_p.");
6390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6391 wxDC_DrawEllipse(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6393 wxPyEndAllowThreads(__tstate
);
6394 if (PyErr_Occurred()) return NULL
;
6395 } Py_INCREF(Py_None
);
6396 _resultobj
= Py_None
;
6400 #define wxDC_DrawEllipticArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawEllipticArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6401 static PyObject
*_wrap_wxDC_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6402 PyObject
* _resultobj
;
6410 PyObject
* _argo0
= 0;
6411 char *_kwnames
[] = { "self","x","y","width","height","start","end", NULL
};
6414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollllll:wxDC_DrawEllipticArc",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
6417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipticArc. Expected _wxDC_p.");
6424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6425 wxDC_DrawEllipticArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
6427 wxPyEndAllowThreads(__tstate
);
6428 if (PyErr_Occurred()) return NULL
;
6429 } Py_INCREF(Py_None
);
6430 _resultobj
= Py_None
;
6434 #define wxDC_DrawIcon(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawIcon(_swigarg0,_swigarg1,_swigarg2))
6435 static PyObject
*_wrap_wxDC_DrawIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6436 PyObject
* _resultobj
;
6441 PyObject
* _argo0
= 0;
6442 PyObject
* _argo1
= 0;
6443 char *_kwnames
[] = { "self","icon","x","y", NULL
};
6446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOll:wxDC_DrawIcon",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
6449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawIcon. Expected _wxDC_p.");
6456 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6457 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
6458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawIcon. Expected _wxIcon_p.");
6463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6464 wxDC_DrawIcon(_arg0
,*_arg1
,_arg2
,_arg3
);
6466 wxPyEndAllowThreads(__tstate
);
6467 if (PyErr_Occurred()) return NULL
;
6468 } Py_INCREF(Py_None
);
6469 _resultobj
= Py_None
;
6473 #define wxDC_DrawLabel(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLabel(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6474 static PyObject
*_wrap_wxDC_DrawLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6475 PyObject
* _resultobj
;
6479 int _arg3
= (int ) wxALIGN_LEFT
|wxALIGN_TOP
;
6480 int _arg4
= (int ) -1;
6481 PyObject
* _argo0
= 0;
6482 PyObject
* _obj1
= 0;
6484 PyObject
* _obj2
= 0;
6485 char *_kwnames
[] = { "self","text","rect","alignment","indexAccel", NULL
};
6488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|ii:wxDC_DrawLabel",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_arg3
,&_arg4
))
6491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLabel. Expected _wxDC_p.");
6498 _arg1
= wxString_in_helper(_obj1
);
6504 if (! wxRect_helper(_obj2
, &_arg2
))
6508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6509 wxDC_DrawLabel(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
6511 wxPyEndAllowThreads(__tstate
);
6512 if (PyErr_Occurred()) return NULL
;
6513 } Py_INCREF(Py_None
);
6514 _resultobj
= Py_None
;
6522 static wxRect
wxDC_DrawImageLabel(wxDC
*self
,const wxString
& text
,const wxBitmap
& image
,const wxRect
& rect
,int alignment
,int indexAccel
) {
6524 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
6527 static PyObject
*_wrap_wxDC_DrawImageLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6528 PyObject
* _resultobj
;
6534 int _arg4
= (int ) wxALIGN_LEFT
|wxALIGN_TOP
;
6535 int _arg5
= (int ) -1;
6536 PyObject
* _argo0
= 0;
6537 PyObject
* _obj1
= 0;
6538 PyObject
* _argo2
= 0;
6540 PyObject
* _obj3
= 0;
6541 char *_kwnames
[] = { "self","text","image","rect","alignment","indexAccel", NULL
};
6545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|ii:wxDC_DrawImageLabel",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_obj3
,&_arg4
,&_arg5
))
6548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawImageLabel. Expected _wxDC_p.");
6555 _arg1
= wxString_in_helper(_obj1
);
6560 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6561 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
6562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDC_DrawImageLabel. Expected _wxBitmap_p.");
6568 if (! wxRect_helper(_obj3
, &_arg3
))
6572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6573 _result
= new wxRect (wxDC_DrawImageLabel(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
));
6575 wxPyEndAllowThreads(__tstate
);
6576 if (PyErr_Occurred()) return NULL
;
6577 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
6578 _resultobj
= Py_BuildValue("s",_ptemp
);
6586 #define wxDC_DrawLine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6587 static PyObject
*_wrap_wxDC_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6588 PyObject
* _resultobj
;
6594 PyObject
* _argo0
= 0;
6595 char *_kwnames
[] = { "self","x1","y1","x2","y2", NULL
};
6598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_DrawLine",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
6601 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6602 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLine. Expected _wxDC_p.");
6608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6609 wxDC_DrawLine(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6611 wxPyEndAllowThreads(__tstate
);
6612 if (PyErr_Occurred()) return NULL
;
6613 } Py_INCREF(Py_None
);
6614 _resultobj
= Py_None
;
6618 #define wxDC_DrawLines(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLines(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6619 static PyObject
*_wrap_wxDC_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6620 PyObject
* _resultobj
;
6624 long _arg3
= (long ) 0;
6625 long _arg4
= (long ) 0;
6626 PyObject
* _argo0
= 0;
6628 PyObject
* _obj2
= 0;
6629 char *_kwnames
[] = { "self","points","xoffset","yoffset", NULL
};
6632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ll:wxDC_DrawLines",_kwnames
,&_argo0
,&_obj2
,&_arg3
,&_arg4
))
6635 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6636 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLines. Expected _wxDC_p.");
6643 _arg2
= wxPoint_LIST_helper(_obj2
, &NPOINTS
);
6644 if (_arg2
== NULL
) {
6652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6653 wxDC_DrawLines(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6655 wxPyEndAllowThreads(__tstate
);
6656 if (PyErr_Occurred()) return NULL
;
6657 } Py_INCREF(Py_None
);
6658 _resultobj
= Py_None
;
6665 #define wxDC_DrawPolygon(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawPolygon(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6666 static PyObject
*_wrap_wxDC_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6667 PyObject
* _resultobj
;
6671 long _arg3
= (long ) 0;
6672 long _arg4
= (long ) 0;
6673 int _arg5
= (int ) wxODDEVEN_RULE
;
6674 PyObject
* _argo0
= 0;
6676 PyObject
* _obj2
= 0;
6677 char *_kwnames
[] = { "self","points","xoffset","yoffset","fill_style", NULL
};
6680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|lli:wxDC_DrawPolygon",_kwnames
,&_argo0
,&_obj2
,&_arg3
,&_arg4
,&_arg5
))
6683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPolygon. Expected _wxDC_p.");
6691 _arg2
= wxPoint_LIST_helper(_obj2
, &NPOINTS
);
6692 if (_arg2
== NULL
) {
6700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6701 wxDC_DrawPolygon(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
6703 wxPyEndAllowThreads(__tstate
);
6704 if (PyErr_Occurred()) return NULL
;
6705 } Py_INCREF(Py_None
);
6706 _resultobj
= Py_None
;
6713 #define wxDC_DrawPoint(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawPoint(_swigarg0,_swigarg1))
6714 static PyObject
*_wrap_wxDC_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6715 PyObject
* _resultobj
;
6719 PyObject
* _argo0
= 0;
6720 char *_kwnames
[] = { "self","x","y", NULL
};
6723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_DrawPoint",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPoint. Expected _wxDC_p.");
6733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6734 wxDC_DrawPoint(_arg0
,_arg1
,_arg2
);
6736 wxPyEndAllowThreads(__tstate
);
6737 if (PyErr_Occurred()) return NULL
;
6738 } Py_INCREF(Py_None
);
6739 _resultobj
= Py_None
;
6743 #define wxDC_DrawRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6744 static PyObject
*_wrap_wxDC_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6745 PyObject
* _resultobj
;
6751 PyObject
* _argo0
= 0;
6752 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
6755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_DrawRectangle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
6758 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6759 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6760 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRectangle. Expected _wxDC_p.");
6765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6766 wxDC_DrawRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6768 wxPyEndAllowThreads(__tstate
);
6769 if (PyErr_Occurred()) return NULL
;
6770 } Py_INCREF(Py_None
);
6771 _resultobj
= Py_None
;
6775 #define wxDC_DrawRotatedText(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRotatedText(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6776 static PyObject
*_wrap_wxDC_DrawRotatedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6777 PyObject
* _resultobj
;
6783 PyObject
* _argo0
= 0;
6784 PyObject
* _obj1
= 0;
6785 char *_kwnames
[] = { "self","text","x","y","angle", NULL
};
6788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiid:wxDC_DrawRotatedText",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_arg4
))
6791 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6792 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRotatedText. Expected _wxDC_p.");
6798 _arg1
= wxString_in_helper(_obj1
);
6803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6804 wxDC_DrawRotatedText(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
6806 wxPyEndAllowThreads(__tstate
);
6807 if (PyErr_Occurred()) return NULL
;
6808 } Py_INCREF(Py_None
);
6809 _resultobj
= Py_None
;
6817 #define wxDC_DrawRoundedRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawRoundedRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6818 static PyObject
*_wrap_wxDC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6819 PyObject
* _resultobj
;
6825 long _arg5
= (long ) 20;
6826 PyObject
* _argo0
= 0;
6827 char *_kwnames
[] = { "self","x","y","width","height","radius", NULL
};
6830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll|l:wxDC_DrawRoundedRectangle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
6833 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6834 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRoundedRectangle. Expected _wxDC_p.");
6840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6841 wxDC_DrawRoundedRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
6843 wxPyEndAllowThreads(__tstate
);
6844 if (PyErr_Occurred()) return NULL
;
6845 } Py_INCREF(Py_None
);
6846 _resultobj
= Py_None
;
6850 #define wxDC_DrawSpline(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawSpline(_swigarg0,_swigarg1))
6851 static PyObject
*_wrap_wxDC_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6852 PyObject
* _resultobj
;
6856 PyObject
* _argo0
= 0;
6858 PyObject
* _obj2
= 0;
6859 char *_kwnames
[] = { "self","points", NULL
};
6862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_DrawSpline",_kwnames
,&_argo0
,&_obj2
))
6865 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6866 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawSpline. Expected _wxDC_p.");
6873 _arg2
= wxPoint_LIST_helper(_obj2
, &NPOINTS
);
6874 if (_arg2
== NULL
) {
6882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6883 wxDC_DrawSpline(_arg0
,_arg1
,_arg2
);
6885 wxPyEndAllowThreads(__tstate
);
6886 if (PyErr_Occurred()) return NULL
;
6887 } Py_INCREF(Py_None
);
6888 _resultobj
= Py_None
;
6895 #define wxDC_DrawText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawText(_swigarg0,_swigarg1,_swigarg2))
6896 static PyObject
*_wrap_wxDC_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6897 PyObject
* _resultobj
;
6902 PyObject
* _argo0
= 0;
6903 PyObject
* _obj1
= 0;
6904 char *_kwnames
[] = { "self","text","x","y", NULL
};
6907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOll:wxDC_DrawText",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
))
6910 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6911 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawText. Expected _wxDC_p.");
6917 _arg1
= wxString_in_helper(_obj1
);
6922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6923 wxDC_DrawText(_arg0
,*_arg1
,_arg2
,_arg3
);
6925 wxPyEndAllowThreads(__tstate
);
6926 if (PyErr_Occurred()) return NULL
;
6927 } Py_INCREF(Py_None
);
6928 _resultobj
= Py_None
;
6936 #define wxDC_EndDoc(_swigobj) (_swigobj->EndDoc())
6937 static PyObject
*_wrap_wxDC_EndDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6938 PyObject
* _resultobj
;
6940 PyObject
* _argo0
= 0;
6941 char *_kwnames
[] = { "self", NULL
};
6944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndDoc",_kwnames
,&_argo0
))
6947 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6948 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDoc. Expected _wxDC_p.");
6954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6957 wxPyEndAllowThreads(__tstate
);
6958 if (PyErr_Occurred()) return NULL
;
6959 } Py_INCREF(Py_None
);
6960 _resultobj
= Py_None
;
6964 #define wxDC_EndDrawing(_swigobj) (_swigobj->EndDrawing())
6965 static PyObject
*_wrap_wxDC_EndDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6966 PyObject
* _resultobj
;
6968 PyObject
* _argo0
= 0;
6969 char *_kwnames
[] = { "self", NULL
};
6972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndDrawing",_kwnames
,&_argo0
))
6975 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6976 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDrawing. Expected _wxDC_p.");
6982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6983 wxDC_EndDrawing(_arg0
);
6985 wxPyEndAllowThreads(__tstate
);
6986 if (PyErr_Occurred()) return NULL
;
6987 } Py_INCREF(Py_None
);
6988 _resultobj
= Py_None
;
6992 #define wxDC_EndPage(_swigobj) (_swigobj->EndPage())
6993 static PyObject
*_wrap_wxDC_EndPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6994 PyObject
* _resultobj
;
6996 PyObject
* _argo0
= 0;
6997 char *_kwnames
[] = { "self", NULL
};
7000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndPage",_kwnames
,&_argo0
))
7003 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7004 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndPage. Expected _wxDC_p.");
7010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7011 wxDC_EndPage(_arg0
);
7013 wxPyEndAllowThreads(__tstate
);
7014 if (PyErr_Occurred()) return NULL
;
7015 } Py_INCREF(Py_None
);
7016 _resultobj
= Py_None
;
7020 #define wxDC_FloodFill(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->FloodFill(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7021 static PyObject
*_wrap_wxDC_FloodFill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7022 PyObject
* _resultobj
;
7027 int _arg4
= (int ) wxFLOOD_SURFACE
;
7028 PyObject
* _argo0
= 0;
7030 PyObject
* _obj3
= 0;
7031 char *_kwnames
[] = { "self","x","y","colour","style", NULL
};
7034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO|i:wxDC_FloodFill",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_arg4
))
7037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_FloodFill. Expected _wxDC_p.");
7045 if (! wxColour_helper(_obj3
, &_arg3
))
7049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7050 wxDC_FloodFill(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
7052 wxPyEndAllowThreads(__tstate
);
7053 if (PyErr_Occurred()) return NULL
;
7054 } Py_INCREF(Py_None
);
7055 _resultobj
= Py_None
;
7059 #define wxDC_GetBackground(_swigobj) (_swigobj->GetBackground())
7060 static PyObject
*_wrap_wxDC_GetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7061 PyObject
* _resultobj
;
7064 PyObject
* _argo0
= 0;
7065 char *_kwnames
[] = { "self", NULL
};
7069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBackground",_kwnames
,&_argo0
))
7072 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7073 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBackground. Expected _wxDC_p.");
7079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7080 _result
= new wxBrush (wxDC_GetBackground(_arg0
));
7082 wxPyEndAllowThreads(__tstate
);
7083 if (PyErr_Occurred()) return NULL
;
7084 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBrush_p");
7085 _resultobj
= Py_BuildValue("s",_ptemp
);
7089 #define wxDC_GetBrush(_swigobj) (_swigobj->GetBrush())
7090 static PyObject
*_wrap_wxDC_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7091 PyObject
* _resultobj
;
7094 PyObject
* _argo0
= 0;
7095 char *_kwnames
[] = { "self", NULL
};
7099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBrush",_kwnames
,&_argo0
))
7102 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7103 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBrush. Expected _wxDC_p.");
7109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7110 _result
= new wxBrush (wxDC_GetBrush(_arg0
));
7112 wxPyEndAllowThreads(__tstate
);
7113 if (PyErr_Occurred()) return NULL
;
7114 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBrush_p");
7115 _resultobj
= Py_BuildValue("s",_ptemp
);
7119 #define wxDC_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
7120 static PyObject
*_wrap_wxDC_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7121 PyObject
* _resultobj
;
7124 PyObject
* _argo0
= 0;
7125 char *_kwnames
[] = { "self", NULL
};
7128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetCharHeight",_kwnames
,&_argo0
))
7131 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7132 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharHeight. Expected _wxDC_p.");
7138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7139 _result
= (long )wxDC_GetCharHeight(_arg0
);
7141 wxPyEndAllowThreads(__tstate
);
7142 if (PyErr_Occurred()) return NULL
;
7143 } _resultobj
= Py_BuildValue("l",_result
);
7147 #define wxDC_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
7148 static PyObject
*_wrap_wxDC_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7149 PyObject
* _resultobj
;
7152 PyObject
* _argo0
= 0;
7153 char *_kwnames
[] = { "self", NULL
};
7156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetCharWidth",_kwnames
,&_argo0
))
7159 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7160 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharWidth. Expected _wxDC_p.");
7166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7167 _result
= (long )wxDC_GetCharWidth(_arg0
);
7169 wxPyEndAllowThreads(__tstate
);
7170 if (PyErr_Occurred()) return NULL
;
7171 } _resultobj
= Py_BuildValue("l",_result
);
7175 #define wxDC_GetClippingBox(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetClippingBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7176 static PyObject
*_wrap_wxDC_GetClippingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7177 PyObject
* _resultobj
;
7187 PyObject
* _argo0
= 0;
7188 char *_kwnames
[] = { "self", NULL
};
7203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetClippingBox",_kwnames
,&_argo0
))
7206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetClippingBox. Expected _wxDC_p.");
7213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7214 wxDC_GetClippingBox(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7216 wxPyEndAllowThreads(__tstate
);
7217 if (PyErr_Occurred()) return NULL
;
7218 } Py_INCREF(Py_None
);
7219 _resultobj
= Py_None
;
7222 o
= PyInt_FromLong((long) (*_arg1
));
7223 _resultobj
= t_output_helper(_resultobj
, o
);
7227 o
= PyInt_FromLong((long) (*_arg2
));
7228 _resultobj
= t_output_helper(_resultobj
, o
);
7232 o
= PyInt_FromLong((long) (*_arg3
));
7233 _resultobj
= t_output_helper(_resultobj
, o
);
7237 o
= PyInt_FromLong((long) (*_arg4
));
7238 _resultobj
= t_output_helper(_resultobj
, o
);
7243 #define wxDC_GetFont(_swigobj) (_swigobj->GetFont())
7244 static PyObject
*_wrap_wxDC_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7245 PyObject
* _resultobj
;
7248 PyObject
* _argo0
= 0;
7249 char *_kwnames
[] = { "self", NULL
};
7253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetFont",_kwnames
,&_argo0
))
7256 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7257 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFont. Expected _wxDC_p.");
7263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7264 _result
= new wxFont (wxDC_GetFont(_arg0
));
7266 wxPyEndAllowThreads(__tstate
);
7267 if (PyErr_Occurred()) return NULL
;
7268 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
7269 _resultobj
= Py_BuildValue("s",_ptemp
);
7273 #define wxDC_GetLogicalFunction(_swigobj) (_swigobj->GetLogicalFunction())
7274 static PyObject
*_wrap_wxDC_GetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7275 PyObject
* _resultobj
;
7278 PyObject
* _argo0
= 0;
7279 char *_kwnames
[] = { "self", NULL
};
7282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalFunction",_kwnames
,&_argo0
))
7285 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7286 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalFunction. Expected _wxDC_p.");
7292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7293 _result
= (int )wxDC_GetLogicalFunction(_arg0
);
7295 wxPyEndAllowThreads(__tstate
);
7296 if (PyErr_Occurred()) return NULL
;
7297 } _resultobj
= Py_BuildValue("i",_result
);
7301 #define wxDC_GetLogicalScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLogicalScale(_swigarg0,_swigarg1))
7302 static PyObject
*_wrap_wxDC_GetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7303 PyObject
* _resultobj
;
7309 PyObject
* _argo0
= 0;
7310 char *_kwnames
[] = { "self", NULL
};
7319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalScale",_kwnames
,&_argo0
))
7322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalScale. Expected _wxDC_p.");
7329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7330 wxDC_GetLogicalScale(_arg0
,_arg1
,_arg2
);
7332 wxPyEndAllowThreads(__tstate
);
7333 if (PyErr_Occurred()) return NULL
;
7334 } Py_INCREF(Py_None
);
7335 _resultobj
= Py_None
;
7338 o
= PyFloat_FromDouble((double) (*_arg1
));
7339 _resultobj
= t_output_helper(_resultobj
, o
);
7343 o
= PyFloat_FromDouble((double) (*_arg2
));
7344 _resultobj
= t_output_helper(_resultobj
, o
);
7349 #define wxDC_GetMapMode(_swigobj) (_swigobj->GetMapMode())
7350 static PyObject
*_wrap_wxDC_GetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7351 PyObject
* _resultobj
;
7354 PyObject
* _argo0
= 0;
7355 char *_kwnames
[] = { "self", NULL
};
7358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetMapMode",_kwnames
,&_argo0
))
7361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetMapMode. Expected _wxDC_p.");
7368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7369 _result
= (int )wxDC_GetMapMode(_arg0
);
7371 wxPyEndAllowThreads(__tstate
);
7372 if (PyErr_Occurred()) return NULL
;
7373 } _resultobj
= Py_BuildValue("i",_result
);
7377 #define wxDC_GetOptimization(_swigobj) (_swigobj->GetOptimization())
7378 static PyObject
*_wrap_wxDC_GetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7379 PyObject
* _resultobj
;
7382 PyObject
* _argo0
= 0;
7383 char *_kwnames
[] = { "self", NULL
};
7386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetOptimization",_kwnames
,&_argo0
))
7389 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7390 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetOptimization. Expected _wxDC_p.");
7396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7397 _result
= (bool )wxDC_GetOptimization(_arg0
);
7399 wxPyEndAllowThreads(__tstate
);
7400 if (PyErr_Occurred()) return NULL
;
7401 } _resultobj
= Py_BuildValue("i",_result
);
7405 #define wxDC_GetPen(_swigobj) (_swigobj->GetPen())
7406 static PyObject
*_wrap_wxDC_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7407 PyObject
* _resultobj
;
7410 PyObject
* _argo0
= 0;
7411 char *_kwnames
[] = { "self", NULL
};
7415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetPen",_kwnames
,&_argo0
))
7418 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7419 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPen. Expected _wxDC_p.");
7425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7426 _result
= new wxPen (wxDC_GetPen(_arg0
));
7428 wxPyEndAllowThreads(__tstate
);
7429 if (PyErr_Occurred()) return NULL
;
7430 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPen_p");
7431 _resultobj
= Py_BuildValue("s",_ptemp
);
7435 static wxColour
* wxDC_GetPixel(wxDC
*self
,long x
,long y
) {
7436 wxColour
* wc
= new wxColour();
7437 self
->GetPixel(x
, y
, wc
);
7440 static PyObject
*_wrap_wxDC_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7441 PyObject
* _resultobj
;
7446 PyObject
* _argo0
= 0;
7447 char *_kwnames
[] = { "self","x","y", NULL
};
7451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_GetPixel",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPixel. Expected _wxDC_p.");
7461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7462 _result
= (wxColour
*)wxDC_GetPixel(_arg0
,_arg1
,_arg2
);
7464 wxPyEndAllowThreads(__tstate
);
7465 if (PyErr_Occurred()) return NULL
;
7467 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
7468 _resultobj
= Py_BuildValue("s",_ptemp
);
7471 _resultobj
= Py_None
;
7476 #define wxDC_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
7477 static PyObject
*_wrap_wxDC_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7478 PyObject
* _resultobj
;
7484 PyObject
* _argo0
= 0;
7485 char *_kwnames
[] = { "self", NULL
};
7494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSizeTuple",_kwnames
,&_argo0
))
7497 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7498 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSizeTuple. Expected _wxDC_p.");
7504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7505 wxDC_GetSizeTuple(_arg0
,_arg1
,_arg2
);
7507 wxPyEndAllowThreads(__tstate
);
7508 if (PyErr_Occurred()) return NULL
;
7509 } Py_INCREF(Py_None
);
7510 _resultobj
= Py_None
;
7513 o
= PyInt_FromLong((long) (*_arg1
));
7514 _resultobj
= t_output_helper(_resultobj
, o
);
7518 o
= PyInt_FromLong((long) (*_arg2
));
7519 _resultobj
= t_output_helper(_resultobj
, o
);
7524 #define wxDC_GetSize(_swigobj) (_swigobj->GetSize())
7525 static PyObject
*_wrap_wxDC_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7526 PyObject
* _resultobj
;
7529 PyObject
* _argo0
= 0;
7530 char *_kwnames
[] = { "self", NULL
};
7534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSize",_kwnames
,&_argo0
))
7537 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7538 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSize. Expected _wxDC_p.");
7544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7545 _result
= new wxSize (wxDC_GetSize(_arg0
));
7547 wxPyEndAllowThreads(__tstate
);
7548 if (PyErr_Occurred()) return NULL
;
7549 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
7550 _resultobj
= Py_BuildValue("s",_ptemp
);
7554 #define wxDC_GetSizeMM(_swigobj) (_swigobj->GetSizeMM())
7555 static PyObject
*_wrap_wxDC_GetSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7556 PyObject
* _resultobj
;
7559 PyObject
* _argo0
= 0;
7560 char *_kwnames
[] = { "self", NULL
};
7564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSizeMM",_kwnames
,&_argo0
))
7567 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7568 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSizeMM. Expected _wxDC_p.");
7574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7575 _result
= new wxSize (wxDC_GetSizeMM(_arg0
));
7577 wxPyEndAllowThreads(__tstate
);
7578 if (PyErr_Occurred()) return NULL
;
7579 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
7580 _resultobj
= Py_BuildValue("s",_ptemp
);
7584 #define wxDC_GetTextBackground(_swigobj) (_swigobj->GetTextBackground())
7585 static PyObject
*_wrap_wxDC_GetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7586 PyObject
* _resultobj
;
7589 PyObject
* _argo0
= 0;
7590 char *_kwnames
[] = { "self", NULL
};
7594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetTextBackground",_kwnames
,&_argo0
))
7597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextBackground. Expected _wxDC_p.");
7604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7605 _result
= new wxColour (wxDC_GetTextBackground(_arg0
));
7607 wxPyEndAllowThreads(__tstate
);
7608 if (PyErr_Occurred()) return NULL
;
7609 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
7610 _resultobj
= Py_BuildValue("s",_ptemp
);
7614 #define wxDC_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
7615 static PyObject
*_wrap_wxDC_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7616 PyObject
* _resultobj
;
7623 PyObject
* _argo0
= 0;
7624 PyObject
* _obj1
= 0;
7625 char *_kwnames
[] = { "self","string", NULL
};
7634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_GetTextExtent",_kwnames
,&_argo0
,&_obj1
))
7637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextExtent. Expected _wxDC_p.");
7644 _arg1
= wxString_in_helper(_obj1
);
7649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7650 wxDC_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
7652 wxPyEndAllowThreads(__tstate
);
7653 if (PyErr_Occurred()) return NULL
;
7654 } Py_INCREF(Py_None
);
7655 _resultobj
= Py_None
;
7658 o
= PyInt_FromLong((long) (*_arg2
));
7659 _resultobj
= t_output_helper(_resultobj
, o
);
7663 o
= PyInt_FromLong((long) (*_arg3
));
7664 _resultobj
= t_output_helper(_resultobj
, o
);
7673 #define wxDC_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7674 static PyObject
*_wrap_wxDC_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7675 PyObject
* _resultobj
;
7686 wxFont
* _arg6
= (wxFont
*) NULL
;
7687 PyObject
* _argo0
= 0;
7688 PyObject
* _obj1
= 0;
7689 PyObject
* _argo6
= 0;
7690 char *_kwnames
[] = { "self","string","font", NULL
};
7705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxDC_GetFullTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo6
))
7708 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7709 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFullTextExtent. Expected _wxDC_p.");
7715 _arg1
= wxString_in_helper(_obj1
);
7720 if (_argo6
== Py_None
) { _arg6
= NULL
; }
7721 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
7722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxDC_GetFullTextExtent. Expected _wxFont_p.");
7727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7728 wxDC_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
7730 wxPyEndAllowThreads(__tstate
);
7731 if (PyErr_Occurred()) return NULL
;
7732 } Py_INCREF(Py_None
);
7733 _resultobj
= Py_None
;
7736 o
= PyInt_FromLong((long) (*_arg2
));
7737 _resultobj
= t_output_helper(_resultobj
, o
);
7741 o
= PyInt_FromLong((long) (*_arg3
));
7742 _resultobj
= t_output_helper(_resultobj
, o
);
7746 o
= PyInt_FromLong((long) (*_arg4
));
7747 _resultobj
= t_output_helper(_resultobj
, o
);
7751 o
= PyInt_FromLong((long) (*_arg5
));
7752 _resultobj
= t_output_helper(_resultobj
, o
);
7761 #define wxDC_GetTextForeground(_swigobj) (_swigobj->GetTextForeground())
7762 static PyObject
*_wrap_wxDC_GetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7763 PyObject
* _resultobj
;
7766 PyObject
* _argo0
= 0;
7767 char *_kwnames
[] = { "self", NULL
};
7771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetTextForeground",_kwnames
,&_argo0
))
7774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextForeground. Expected _wxDC_p.");
7781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7782 _result
= new wxColour (wxDC_GetTextForeground(_arg0
));
7784 wxPyEndAllowThreads(__tstate
);
7785 if (PyErr_Occurred()) return NULL
;
7786 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
7787 _resultobj
= Py_BuildValue("s",_ptemp
);
7791 #define wxDC_GetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetUserScale(_swigarg0,_swigarg1))
7792 static PyObject
*_wrap_wxDC_GetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7793 PyObject
* _resultobj
;
7799 PyObject
* _argo0
= 0;
7800 char *_kwnames
[] = { "self", NULL
};
7809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetUserScale",_kwnames
,&_argo0
))
7812 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7813 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetUserScale. Expected _wxDC_p.");
7819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7820 wxDC_GetUserScale(_arg0
,_arg1
,_arg2
);
7822 wxPyEndAllowThreads(__tstate
);
7823 if (PyErr_Occurred()) return NULL
;
7824 } Py_INCREF(Py_None
);
7825 _resultobj
= Py_None
;
7828 o
= PyFloat_FromDouble((double) (*_arg1
));
7829 _resultobj
= t_output_helper(_resultobj
, o
);
7833 o
= PyFloat_FromDouble((double) (*_arg2
));
7834 _resultobj
= t_output_helper(_resultobj
, o
);
7839 #define wxDC_LogicalToDeviceX(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceX(_swigarg0))
7840 static PyObject
*_wrap_wxDC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7841 PyObject
* _resultobj
;
7845 PyObject
* _argo0
= 0;
7846 char *_kwnames
[] = { "self","x", NULL
};
7849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceX",_kwnames
,&_argo0
,&_arg1
))
7852 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7853 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceX. Expected _wxDC_p.");
7859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7860 _result
= (long )wxDC_LogicalToDeviceX(_arg0
,_arg1
);
7862 wxPyEndAllowThreads(__tstate
);
7863 if (PyErr_Occurred()) return NULL
;
7864 } _resultobj
= Py_BuildValue("l",_result
);
7868 #define wxDC_LogicalToDeviceXRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceXRel(_swigarg0))
7869 static PyObject
*_wrap_wxDC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7870 PyObject
* _resultobj
;
7874 PyObject
* _argo0
= 0;
7875 char *_kwnames
[] = { "self","x", NULL
};
7878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceXRel",_kwnames
,&_argo0
,&_arg1
))
7881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceXRel. Expected _wxDC_p.");
7888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7889 _result
= (long )wxDC_LogicalToDeviceXRel(_arg0
,_arg1
);
7891 wxPyEndAllowThreads(__tstate
);
7892 if (PyErr_Occurred()) return NULL
;
7893 } _resultobj
= Py_BuildValue("l",_result
);
7897 #define wxDC_LogicalToDeviceY(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceY(_swigarg0))
7898 static PyObject
*_wrap_wxDC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7899 PyObject
* _resultobj
;
7903 PyObject
* _argo0
= 0;
7904 char *_kwnames
[] = { "self","y", NULL
};
7907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceY",_kwnames
,&_argo0
,&_arg1
))
7910 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7911 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceY. Expected _wxDC_p.");
7917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7918 _result
= (long )wxDC_LogicalToDeviceY(_arg0
,_arg1
);
7920 wxPyEndAllowThreads(__tstate
);
7921 if (PyErr_Occurred()) return NULL
;
7922 } _resultobj
= Py_BuildValue("l",_result
);
7926 #define wxDC_LogicalToDeviceYRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceYRel(_swigarg0))
7927 static PyObject
*_wrap_wxDC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7928 PyObject
* _resultobj
;
7932 PyObject
* _argo0
= 0;
7933 char *_kwnames
[] = { "self","y", NULL
};
7936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceYRel",_kwnames
,&_argo0
,&_arg1
))
7939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceYRel. Expected _wxDC_p.");
7946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7947 _result
= (long )wxDC_LogicalToDeviceYRel(_arg0
,_arg1
);
7949 wxPyEndAllowThreads(__tstate
);
7950 if (PyErr_Occurred()) return NULL
;
7951 } _resultobj
= Py_BuildValue("l",_result
);
7955 #define wxDC_MaxX(_swigobj) (_swigobj->MaxX())
7956 static PyObject
*_wrap_wxDC_MaxX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7957 PyObject
* _resultobj
;
7960 PyObject
* _argo0
= 0;
7961 char *_kwnames
[] = { "self", NULL
};
7964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MaxX",_kwnames
,&_argo0
))
7967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxX. Expected _wxDC_p.");
7974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7975 _result
= (long )wxDC_MaxX(_arg0
);
7977 wxPyEndAllowThreads(__tstate
);
7978 if (PyErr_Occurred()) return NULL
;
7979 } _resultobj
= Py_BuildValue("l",_result
);
7983 #define wxDC_MaxY(_swigobj) (_swigobj->MaxY())
7984 static PyObject
*_wrap_wxDC_MaxY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7985 PyObject
* _resultobj
;
7988 PyObject
* _argo0
= 0;
7989 char *_kwnames
[] = { "self", NULL
};
7992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MaxY",_kwnames
,&_argo0
))
7995 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7996 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxY. Expected _wxDC_p.");
8002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8003 _result
= (long )wxDC_MaxY(_arg0
);
8005 wxPyEndAllowThreads(__tstate
);
8006 if (PyErr_Occurred()) return NULL
;
8007 } _resultobj
= Py_BuildValue("l",_result
);
8011 #define wxDC_MinX(_swigobj) (_swigobj->MinX())
8012 static PyObject
*_wrap_wxDC_MinX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8013 PyObject
* _resultobj
;
8016 PyObject
* _argo0
= 0;
8017 char *_kwnames
[] = { "self", NULL
};
8020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MinX",_kwnames
,&_argo0
))
8023 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8024 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinX. Expected _wxDC_p.");
8030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8031 _result
= (long )wxDC_MinX(_arg0
);
8033 wxPyEndAllowThreads(__tstate
);
8034 if (PyErr_Occurred()) return NULL
;
8035 } _resultobj
= Py_BuildValue("l",_result
);
8039 #define wxDC_MinY(_swigobj) (_swigobj->MinY())
8040 static PyObject
*_wrap_wxDC_MinY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8041 PyObject
* _resultobj
;
8044 PyObject
* _argo0
= 0;
8045 char *_kwnames
[] = { "self", NULL
};
8048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MinY",_kwnames
,&_argo0
))
8051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinY. Expected _wxDC_p.");
8058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8059 _result
= (long )wxDC_MinY(_arg0
);
8061 wxPyEndAllowThreads(__tstate
);
8062 if (PyErr_Occurred()) return NULL
;
8063 } _resultobj
= Py_BuildValue("l",_result
);
8067 #define wxDC_Ok(_swigobj) (_swigobj->Ok())
8068 static PyObject
*_wrap_wxDC_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8069 PyObject
* _resultobj
;
8072 PyObject
* _argo0
= 0;
8073 char *_kwnames
[] = { "self", NULL
};
8076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_Ok",_kwnames
,&_argo0
))
8079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Ok. Expected _wxDC_p.");
8086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8087 _result
= (bool )wxDC_Ok(_arg0
);
8089 wxPyEndAllowThreads(__tstate
);
8090 if (PyErr_Occurred()) return NULL
;
8091 } _resultobj
= Py_BuildValue("i",_result
);
8095 #define wxDC_SetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDeviceOrigin(_swigarg0,_swigarg1))
8096 static PyObject
*_wrap_wxDC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8097 PyObject
* _resultobj
;
8101 PyObject
* _argo0
= 0;
8102 char *_kwnames
[] = { "self","x","y", NULL
};
8105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_SetDeviceOrigin",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetDeviceOrigin. Expected _wxDC_p.");
8115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8116 wxDC_SetDeviceOrigin(_arg0
,_arg1
,_arg2
);
8118 wxPyEndAllowThreads(__tstate
);
8119 if (PyErr_Occurred()) return NULL
;
8120 } Py_INCREF(Py_None
);
8121 _resultobj
= Py_None
;
8125 #define wxDC_SetBackground(_swigobj,_swigarg0) (_swigobj->SetBackground(_swigarg0))
8126 static PyObject
*_wrap_wxDC_SetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8127 PyObject
* _resultobj
;
8130 PyObject
* _argo0
= 0;
8131 PyObject
* _argo1
= 0;
8132 char *_kwnames
[] = { "self","brush", NULL
};
8135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetBackground",_kwnames
,&_argo0
,&_argo1
))
8138 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8139 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackground. Expected _wxDC_p.");
8145 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8146 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
8147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBackground. Expected _wxBrush_p.");
8152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8153 wxDC_SetBackground(_arg0
,*_arg1
);
8155 wxPyEndAllowThreads(__tstate
);
8156 if (PyErr_Occurred()) return NULL
;
8157 } Py_INCREF(Py_None
);
8158 _resultobj
= Py_None
;
8162 #define wxDC_SetBackgroundMode(_swigobj,_swigarg0) (_swigobj->SetBackgroundMode(_swigarg0))
8163 static PyObject
*_wrap_wxDC_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8164 PyObject
* _resultobj
;
8167 PyObject
* _argo0
= 0;
8168 char *_kwnames
[] = { "self","mode", NULL
};
8171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetBackgroundMode",_kwnames
,&_argo0
,&_arg1
))
8174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackgroundMode. Expected _wxDC_p.");
8181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8182 wxDC_SetBackgroundMode(_arg0
,_arg1
);
8184 wxPyEndAllowThreads(__tstate
);
8185 if (PyErr_Occurred()) return NULL
;
8186 } Py_INCREF(Py_None
);
8187 _resultobj
= Py_None
;
8191 #define wxDC_SetClippingRegion(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetClippingRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8192 static PyObject
*_wrap_wxDC_SetClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8193 PyObject
* _resultobj
;
8199 PyObject
* _argo0
= 0;
8200 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
8203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_SetClippingRegion",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
8206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetClippingRegion. Expected _wxDC_p.");
8213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8214 wxDC_SetClippingRegion(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
8216 wxPyEndAllowThreads(__tstate
);
8217 if (PyErr_Occurred()) return NULL
;
8218 } Py_INCREF(Py_None
);
8219 _resultobj
= Py_None
;
8223 #define wxDC_SetClippingRegionAsRegion(_swigobj,_swigarg0) (_swigobj->SetClippingRegion(_swigarg0))
8224 static PyObject
*_wrap_wxDC_SetClippingRegionAsRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8225 PyObject
* _resultobj
;
8228 PyObject
* _argo0
= 0;
8229 PyObject
* _argo1
= 0;
8230 char *_kwnames
[] = { "self","region", NULL
};
8233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetClippingRegionAsRegion",_kwnames
,&_argo0
,&_argo1
))
8236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetClippingRegionAsRegion. Expected _wxDC_p.");
8243 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8244 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
8245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetClippingRegionAsRegion. Expected _wxRegion_p.");
8250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8251 wxDC_SetClippingRegionAsRegion(_arg0
,*_arg1
);
8253 wxPyEndAllowThreads(__tstate
);
8254 if (PyErr_Occurred()) return NULL
;
8255 } Py_INCREF(Py_None
);
8256 _resultobj
= Py_None
;
8260 #define wxDC_SetPalette(_swigobj,_swigarg0) (_swigobj->SetPalette(_swigarg0))
8261 static PyObject
*_wrap_wxDC_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8262 PyObject
* _resultobj
;
8265 PyObject
* _argo0
= 0;
8266 PyObject
* _argo1
= 0;
8267 char *_kwnames
[] = { "self","colourMap", NULL
};
8270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetPalette",_kwnames
,&_argo0
,&_argo1
))
8273 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8274 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPalette. Expected _wxDC_p.");
8280 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8281 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPalette_p")) {
8282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPalette. Expected _wxPalette_p.");
8287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8288 wxDC_SetPalette(_arg0
,*_arg1
);
8290 wxPyEndAllowThreads(__tstate
);
8291 if (PyErr_Occurred()) return NULL
;
8292 } Py_INCREF(Py_None
);
8293 _resultobj
= Py_None
;
8297 #define wxDC_SetBrush(_swigobj,_swigarg0) (_swigobj->SetBrush(_swigarg0))
8298 static PyObject
*_wrap_wxDC_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8299 PyObject
* _resultobj
;
8302 PyObject
* _argo0
= 0;
8303 PyObject
* _argo1
= 0;
8304 char *_kwnames
[] = { "self","brush", NULL
};
8307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetBrush",_kwnames
,&_argo0
,&_argo1
))
8310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBrush. Expected _wxDC_p.");
8317 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8318 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
8319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBrush. Expected _wxBrush_p.");
8324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8325 wxDC_SetBrush(_arg0
,*_arg1
);
8327 wxPyEndAllowThreads(__tstate
);
8328 if (PyErr_Occurred()) return NULL
;
8329 } Py_INCREF(Py_None
);
8330 _resultobj
= Py_None
;
8334 #define wxDC_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
8335 static PyObject
*_wrap_wxDC_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8336 PyObject
* _resultobj
;
8339 PyObject
* _argo0
= 0;
8340 PyObject
* _argo1
= 0;
8341 char *_kwnames
[] = { "self","font", NULL
};
8344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetFont",_kwnames
,&_argo0
,&_argo1
))
8347 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8348 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetFont. Expected _wxDC_p.");
8354 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8355 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
8356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetFont. Expected _wxFont_p.");
8361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8362 wxDC_SetFont(_arg0
,*_arg1
);
8364 wxPyEndAllowThreads(__tstate
);
8365 if (PyErr_Occurred()) return NULL
;
8366 } Py_INCREF(Py_None
);
8367 _resultobj
= Py_None
;
8371 #define wxDC_SetLogicalFunction(_swigobj,_swigarg0) (_swigobj->SetLogicalFunction(_swigarg0))
8372 static PyObject
*_wrap_wxDC_SetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8373 PyObject
* _resultobj
;
8376 PyObject
* _argo0
= 0;
8377 char *_kwnames
[] = { "self","function", NULL
};
8380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetLogicalFunction",_kwnames
,&_argo0
,&_arg1
))
8383 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8384 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalFunction. Expected _wxDC_p.");
8390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8391 wxDC_SetLogicalFunction(_arg0
,_arg1
);
8393 wxPyEndAllowThreads(__tstate
);
8394 if (PyErr_Occurred()) return NULL
;
8395 } Py_INCREF(Py_None
);
8396 _resultobj
= Py_None
;
8400 #define wxDC_SetLogicalScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLogicalScale(_swigarg0,_swigarg1))
8401 static PyObject
*_wrap_wxDC_SetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8402 PyObject
* _resultobj
;
8406 PyObject
* _argo0
= 0;
8407 char *_kwnames
[] = { "self","x","y", NULL
};
8410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxDC_SetLogicalScale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalScale. Expected _wxDC_p.");
8420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8421 wxDC_SetLogicalScale(_arg0
,_arg1
,_arg2
);
8423 wxPyEndAllowThreads(__tstate
);
8424 if (PyErr_Occurred()) return NULL
;
8425 } Py_INCREF(Py_None
);
8426 _resultobj
= Py_None
;
8430 #define wxDC_SetMapMode(_swigobj,_swigarg0) (_swigobj->SetMapMode(_swigarg0))
8431 static PyObject
*_wrap_wxDC_SetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8432 PyObject
* _resultobj
;
8435 PyObject
* _argo0
= 0;
8436 char *_kwnames
[] = { "self","mode", NULL
};
8439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetMapMode",_kwnames
,&_argo0
,&_arg1
))
8442 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8443 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetMapMode. Expected _wxDC_p.");
8449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8450 wxDC_SetMapMode(_arg0
,_arg1
);
8452 wxPyEndAllowThreads(__tstate
);
8453 if (PyErr_Occurred()) return NULL
;
8454 } Py_INCREF(Py_None
);
8455 _resultobj
= Py_None
;
8459 #define wxDC_SetOptimization(_swigobj,_swigarg0) (_swigobj->SetOptimization(_swigarg0))
8460 static PyObject
*_wrap_wxDC_SetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8461 PyObject
* _resultobj
;
8464 PyObject
* _argo0
= 0;
8466 char *_kwnames
[] = { "self","optimize", NULL
};
8469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetOptimization",_kwnames
,&_argo0
,&tempbool1
))
8472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetOptimization. Expected _wxDC_p.");
8478 _arg1
= (bool ) tempbool1
;
8480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8481 wxDC_SetOptimization(_arg0
,_arg1
);
8483 wxPyEndAllowThreads(__tstate
);
8484 if (PyErr_Occurred()) return NULL
;
8485 } Py_INCREF(Py_None
);
8486 _resultobj
= Py_None
;
8490 #define wxDC_SetPen(_swigobj,_swigarg0) (_swigobj->SetPen(_swigarg0))
8491 static PyObject
*_wrap_wxDC_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8492 PyObject
* _resultobj
;
8495 PyObject
* _argo0
= 0;
8496 PyObject
* _argo1
= 0;
8497 char *_kwnames
[] = { "self","pen", NULL
};
8500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetPen",_kwnames
,&_argo0
,&_argo1
))
8503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPen. Expected _wxDC_p.");
8510 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8511 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
8512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPen. Expected _wxPen_p.");
8517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8518 wxDC_SetPen(_arg0
,*_arg1
);
8520 wxPyEndAllowThreads(__tstate
);
8521 if (PyErr_Occurred()) return NULL
;
8522 } Py_INCREF(Py_None
);
8523 _resultobj
= Py_None
;
8527 #define wxDC_SetTextBackground(_swigobj,_swigarg0) (_swigobj->SetTextBackground(_swigarg0))
8528 static PyObject
*_wrap_wxDC_SetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8529 PyObject
* _resultobj
;
8532 PyObject
* _argo0
= 0;
8534 PyObject
* _obj1
= 0;
8535 char *_kwnames
[] = { "self","colour", NULL
};
8538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetTextBackground",_kwnames
,&_argo0
,&_obj1
))
8541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextBackground. Expected _wxDC_p.");
8549 if (! wxColour_helper(_obj1
, &_arg1
))
8553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8554 wxDC_SetTextBackground(_arg0
,*_arg1
);
8556 wxPyEndAllowThreads(__tstate
);
8557 if (PyErr_Occurred()) return NULL
;
8558 } Py_INCREF(Py_None
);
8559 _resultobj
= Py_None
;
8563 #define wxDC_SetTextForeground(_swigobj,_swigarg0) (_swigobj->SetTextForeground(_swigarg0))
8564 static PyObject
*_wrap_wxDC_SetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8565 PyObject
* _resultobj
;
8568 PyObject
* _argo0
= 0;
8570 PyObject
* _obj1
= 0;
8571 char *_kwnames
[] = { "self","colour", NULL
};
8574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetTextForeground",_kwnames
,&_argo0
,&_obj1
))
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_SetTextForeground. Expected _wxDC_p.");
8585 if (! wxColour_helper(_obj1
, &_arg1
))
8589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8590 wxDC_SetTextForeground(_arg0
,*_arg1
);
8592 wxPyEndAllowThreads(__tstate
);
8593 if (PyErr_Occurred()) return NULL
;
8594 } Py_INCREF(Py_None
);
8595 _resultobj
= Py_None
;
8599 #define wxDC_SetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetUserScale(_swigarg0,_swigarg1))
8600 static PyObject
*_wrap_wxDC_SetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8601 PyObject
* _resultobj
;
8605 PyObject
* _argo0
= 0;
8606 char *_kwnames
[] = { "self","x_scale","y_scale", NULL
};
8609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxDC_SetUserScale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8612 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8613 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetUserScale. Expected _wxDC_p.");
8619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8620 wxDC_SetUserScale(_arg0
,_arg1
,_arg2
);
8622 wxPyEndAllowThreads(__tstate
);
8623 if (PyErr_Occurred()) return NULL
;
8624 } Py_INCREF(Py_None
);
8625 _resultobj
= Py_None
;
8629 #define wxDC_StartDoc(_swigobj,_swigarg0) (_swigobj->StartDoc(_swigarg0))
8630 static PyObject
*_wrap_wxDC_StartDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8631 PyObject
* _resultobj
;
8635 PyObject
* _argo0
= 0;
8636 PyObject
* _obj1
= 0;
8637 char *_kwnames
[] = { "self","message", NULL
};
8640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_StartDoc",_kwnames
,&_argo0
,&_obj1
))
8643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartDoc. Expected _wxDC_p.");
8650 _arg1
= wxString_in_helper(_obj1
);
8655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8656 _result
= (bool )wxDC_StartDoc(_arg0
,*_arg1
);
8658 wxPyEndAllowThreads(__tstate
);
8659 if (PyErr_Occurred()) return NULL
;
8660 } _resultobj
= Py_BuildValue("i",_result
);
8668 #define wxDC_StartPage(_swigobj) (_swigobj->StartPage())
8669 static PyObject
*_wrap_wxDC_StartPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8670 PyObject
* _resultobj
;
8672 PyObject
* _argo0
= 0;
8673 char *_kwnames
[] = { "self", NULL
};
8676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_StartPage",_kwnames
,&_argo0
))
8679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartPage. Expected _wxDC_p.");
8686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8687 wxDC_StartPage(_arg0
);
8689 wxPyEndAllowThreads(__tstate
);
8690 if (PyErr_Occurred()) return NULL
;
8691 } Py_INCREF(Py_None
);
8692 _resultobj
= Py_None
;
8696 #define wxDC_DrawBitmap(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8697 static PyObject
*_wrap_wxDC_DrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8698 PyObject
* _resultobj
;
8703 int _arg4
= (int ) FALSE
;
8704 PyObject
* _argo0
= 0;
8705 PyObject
* _argo1
= 0;
8706 char *_kwnames
[] = { "self","bitmap","x","y","useMask", NULL
};
8709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOll|i:wxDC_DrawBitmap",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
))
8712 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8713 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawBitmap. Expected _wxDC_p.");
8719 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8720 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
8721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawBitmap. Expected _wxBitmap_p.");
8726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8727 wxDC_DrawBitmap(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
8729 wxPyEndAllowThreads(__tstate
);
8730 if (PyErr_Occurred()) return NULL
;
8731 } Py_INCREF(Py_None
);
8732 _resultobj
= Py_None
;
8736 #define wxDC_CanDrawBitmap(_swigobj) (_swigobj->CanDrawBitmap())
8737 static PyObject
*_wrap_wxDC_CanDrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8738 PyObject
* _resultobj
;
8741 PyObject
* _argo0
= 0;
8742 char *_kwnames
[] = { "self", NULL
};
8745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_CanDrawBitmap",_kwnames
,&_argo0
))
8748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CanDrawBitmap. Expected _wxDC_p.");
8755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8756 _result
= (bool )wxDC_CanDrawBitmap(_arg0
);
8758 wxPyEndAllowThreads(__tstate
);
8759 if (PyErr_Occurred()) return NULL
;
8760 } _resultobj
= Py_BuildValue("i",_result
);
8764 #define wxDC_CanGetTextExtent(_swigobj) (_swigobj->CanGetTextExtent())
8765 static PyObject
*_wrap_wxDC_CanGetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8766 PyObject
* _resultobj
;
8769 PyObject
* _argo0
= 0;
8770 char *_kwnames
[] = { "self", NULL
};
8773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_CanGetTextExtent",_kwnames
,&_argo0
))
8776 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8777 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CanGetTextExtent. Expected _wxDC_p.");
8783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8784 _result
= (bool )wxDC_CanGetTextExtent(_arg0
);
8786 wxPyEndAllowThreads(__tstate
);
8787 if (PyErr_Occurred()) return NULL
;
8788 } _resultobj
= Py_BuildValue("i",_result
);
8792 #define wxDC_GetDepth(_swigobj) (_swigobj->GetDepth())
8793 static PyObject
*_wrap_wxDC_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8794 PyObject
* _resultobj
;
8797 PyObject
* _argo0
= 0;
8798 char *_kwnames
[] = { "self", NULL
};
8801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetDepth",_kwnames
,&_argo0
))
8804 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8805 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetDepth. Expected _wxDC_p.");
8811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8812 _result
= (int )wxDC_GetDepth(_arg0
);
8814 wxPyEndAllowThreads(__tstate
);
8815 if (PyErr_Occurred()) return NULL
;
8816 } _resultobj
= Py_BuildValue("i",_result
);
8820 #define wxDC_GetPPI(_swigobj) (_swigobj->GetPPI())
8821 static PyObject
*_wrap_wxDC_GetPPI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8822 PyObject
* _resultobj
;
8825 PyObject
* _argo0
= 0;
8826 char *_kwnames
[] = { "self", NULL
};
8830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetPPI",_kwnames
,&_argo0
))
8833 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8834 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPPI. Expected _wxDC_p.");
8840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8841 _result
= new wxSize (wxDC_GetPPI(_arg0
));
8843 wxPyEndAllowThreads(__tstate
);
8844 if (PyErr_Occurred()) return NULL
;
8845 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
8846 _resultobj
= Py_BuildValue("s",_ptemp
);
8850 #define wxDC_GetLogicalOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLogicalOrigin(_swigarg0,_swigarg1))
8851 static PyObject
*_wrap_wxDC_GetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8852 PyObject
* _resultobj
;
8858 PyObject
* _argo0
= 0;
8859 char *_kwnames
[] = { "self", NULL
};
8868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalOrigin",_kwnames
,&_argo0
))
8871 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8872 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalOrigin. Expected _wxDC_p.");
8878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8879 wxDC_GetLogicalOrigin(_arg0
,_arg1
,_arg2
);
8881 wxPyEndAllowThreads(__tstate
);
8882 if (PyErr_Occurred()) return NULL
;
8883 } Py_INCREF(Py_None
);
8884 _resultobj
= Py_None
;
8887 o
= PyInt_FromLong((long) (*_arg1
));
8888 _resultobj
= t_output_helper(_resultobj
, o
);
8892 o
= PyInt_FromLong((long) (*_arg2
));
8893 _resultobj
= t_output_helper(_resultobj
, o
);
8898 #define wxDC_SetLogicalOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLogicalOrigin(_swigarg0,_swigarg1))
8899 static PyObject
*_wrap_wxDC_SetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8900 PyObject
* _resultobj
;
8904 PyObject
* _argo0
= 0;
8905 char *_kwnames
[] = { "self","x","y", NULL
};
8908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_SetLogicalOrigin",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8911 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8912 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalOrigin. Expected _wxDC_p.");
8918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8919 wxDC_SetLogicalOrigin(_arg0
,_arg1
,_arg2
);
8921 wxPyEndAllowThreads(__tstate
);
8922 if (PyErr_Occurred()) return NULL
;
8923 } Py_INCREF(Py_None
);
8924 _resultobj
= Py_None
;
8928 #define wxDC_GetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDeviceOrigin(_swigarg0,_swigarg1))
8929 static PyObject
*_wrap_wxDC_GetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8930 PyObject
* _resultobj
;
8936 PyObject
* _argo0
= 0;
8937 char *_kwnames
[] = { "self", NULL
};
8946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetDeviceOrigin",_kwnames
,&_argo0
))
8949 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8950 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetDeviceOrigin. Expected _wxDC_p.");
8956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8957 wxDC_GetDeviceOrigin(_arg0
,_arg1
,_arg2
);
8959 wxPyEndAllowThreads(__tstate
);
8960 if (PyErr_Occurred()) return NULL
;
8961 } Py_INCREF(Py_None
);
8962 _resultobj
= Py_None
;
8965 o
= PyInt_FromLong((long) (*_arg1
));
8966 _resultobj
= t_output_helper(_resultobj
, o
);
8970 o
= PyInt_FromLong((long) (*_arg2
));
8971 _resultobj
= t_output_helper(_resultobj
, o
);
8976 #define wxDC_SetAxisOrientation(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAxisOrientation(_swigarg0,_swigarg1))
8977 static PyObject
*_wrap_wxDC_SetAxisOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8978 PyObject
* _resultobj
;
8982 PyObject
* _argo0
= 0;
8985 char *_kwnames
[] = { "self","xLeftRight","yBottomUp", NULL
};
8988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_SetAxisOrientation",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
8991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetAxisOrientation. Expected _wxDC_p.");
8997 _arg1
= (bool ) tempbool1
;
8998 _arg2
= (bool ) tempbool2
;
9000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9001 wxDC_SetAxisOrientation(_arg0
,_arg1
,_arg2
);
9003 wxPyEndAllowThreads(__tstate
);
9004 if (PyErr_Occurred()) return NULL
;
9005 } Py_INCREF(Py_None
);
9006 _resultobj
= Py_None
;
9010 #define wxDC_CalcBoundingBox(_swigobj,_swigarg0,_swigarg1) (_swigobj->CalcBoundingBox(_swigarg0,_swigarg1))
9011 static PyObject
*_wrap_wxDC_CalcBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9012 PyObject
* _resultobj
;
9016 PyObject
* _argo0
= 0;
9017 char *_kwnames
[] = { "self","x","y", NULL
};
9020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_CalcBoundingBox",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9023 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9024 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CalcBoundingBox. Expected _wxDC_p.");
9030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9031 wxDC_CalcBoundingBox(_arg0
,_arg1
,_arg2
);
9033 wxPyEndAllowThreads(__tstate
);
9034 if (PyErr_Occurred()) return NULL
;
9035 } Py_INCREF(Py_None
);
9036 _resultobj
= Py_None
;
9040 #define wxDC_ResetBoundingBox(_swigobj) (_swigobj->ResetBoundingBox())
9041 static PyObject
*_wrap_wxDC_ResetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9042 PyObject
* _resultobj
;
9044 PyObject
* _argo0
= 0;
9045 char *_kwnames
[] = { "self", NULL
};
9048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_ResetBoundingBox",_kwnames
,&_argo0
))
9051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_ResetBoundingBox. Expected _wxDC_p.");
9058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9059 wxDC_ResetBoundingBox(_arg0
);
9061 wxPyEndAllowThreads(__tstate
);
9062 if (PyErr_Occurred()) return NULL
;
9063 } Py_INCREF(Py_None
);
9064 _resultobj
= Py_None
;
9068 static PyObject
*_wrap_wxDC_GetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9069 PyObject
* _resultobj
;
9079 PyObject
* _argo0
= 0;
9080 char *_kwnames
[] = { "self", NULL
};
9095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBoundingBox",_kwnames
,&_argo0
))
9098 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9099 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBoundingBox. Expected _wxDC_p.");
9105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9106 wxDC_GetBoundingBox(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
9108 wxPyEndAllowThreads(__tstate
);
9109 if (PyErr_Occurred()) return NULL
;
9110 } Py_INCREF(Py_None
);
9111 _resultobj
= Py_None
;
9114 o
= PyInt_FromLong((long) (*_arg1
));
9115 _resultobj
= t_output_helper(_resultobj
, o
);
9119 o
= PyInt_FromLong((long) (*_arg2
));
9120 _resultobj
= t_output_helper(_resultobj
, o
);
9124 o
= PyInt_FromLong((long) (*_arg3
));
9125 _resultobj
= t_output_helper(_resultobj
, o
);
9129 o
= PyInt_FromLong((long) (*_arg4
));
9130 _resultobj
= t_output_helper(_resultobj
, o
);
9135 static PyObject
* wxDC__DrawPointList(wxDC
*self
,PyObject
* pyPoints
,PyObject
* pyPens
) {
9136 bool isFastSeq
= PyList_Check(pyPoints
) || PyTuple_Check(pyPoints
);
9137 bool isFastPens
= PyList_Check(pyPens
) || PyTuple_Check(pyPens
);
9145 if (!PySequence_Check(pyPoints
)) {
9148 if (!PySequence_Check(pyPens
)) {
9151 numObjs
= PySequence_Length(pyPoints
);
9152 numPens
= PySequence_Length(pyPens
);
9154 for (i
= 0; i
< numObjs
; i
++) {
9158 obj
= PySequence_Fast_GET_ITEM(pyPens
, i
);
9161 obj
= PySequence_GetItem(pyPens
, i
);
9163 if (SWIG_GetPtrObj(obj
, (void **) &pen
, "_wxPen_p")) {
9174 // Get the point coordinants
9176 obj
= PySequence_Fast_GET_ITEM(pyPoints
, i
);
9179 obj
= PySequence_GetItem(pyPoints
, i
);
9181 if (! _2int_seq_helper(obj
, &x1
, &y1
)) {
9187 // Now draw the point
9188 self
->DrawPoint(x1
, y1
);
9198 PyErr_SetString(PyExc_TypeError
, "Expected a sequence of wxPens");
9201 PyErr_SetString(PyExc_TypeError
, "Expected a sequence of (x,y) sequences.");
9204 static PyObject
*_wrap_wxDC__DrawPointList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9205 PyObject
* _resultobj
;
9210 PyObject
* _argo0
= 0;
9211 PyObject
* _obj1
= 0;
9212 PyObject
* _obj2
= 0;
9213 char *_kwnames
[] = { "self","pyPoints","pyPens", NULL
};
9216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDC__DrawPointList",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
9219 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9220 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC__DrawPointList. Expected _wxDC_p.");
9232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9233 _result
= (PyObject
*)wxDC__DrawPointList(_arg0
,_arg1
,_arg2
);
9235 wxPyEndAllowThreads(__tstate
);
9236 if (PyErr_Occurred()) return NULL
;
9238 _resultobj
= _result
;
9243 static PyObject
* wxDC__DrawLineList(wxDC
*self
,PyObject
* pyLines
,PyObject
* pyPens
) {
9244 bool isFastSeq
= PyList_Check(pyLines
) || PyTuple_Check(pyLines
);
9245 bool isFastPens
= PyList_Check(pyPens
) || PyTuple_Check(pyPens
);
9253 if (!PySequence_Check(pyLines
)) {
9256 if (!PySequence_Check(pyPens
)) {
9259 numObjs
= PySequence_Length(pyLines
);
9260 numPens
= PySequence_Length(pyPens
);
9262 for (i
= 0; i
< numObjs
; i
++) {
9266 obj
= PySequence_Fast_GET_ITEM(pyPens
, i
);
9269 obj
= PySequence_GetItem(pyPens
, i
);
9271 if (SWIG_GetPtrObj(obj
, (void **) &pen
, "_wxPen_p")) {
9282 // Get the line coordinants
9284 obj
= PySequence_Fast_GET_ITEM(pyLines
, i
);
9287 obj
= PySequence_GetItem(pyLines
, i
);
9289 if (! _4int_seq_helper(obj
, &x1
, &y1
, &x2
, &y2
)) {
9295 // Now draw the line
9296 self
->DrawLine(x1
, y1
, x2
, y2
);
9306 PyErr_SetString(PyExc_TypeError
, "Expected a sequence of wxPens");
9309 PyErr_SetString(PyExc_TypeError
, "Expected a sequence of (x1,y1, x2,y2) sequences.");
9312 static PyObject
*_wrap_wxDC__DrawLineList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9313 PyObject
* _resultobj
;
9318 PyObject
* _argo0
= 0;
9319 PyObject
* _obj1
= 0;
9320 PyObject
* _obj2
= 0;
9321 char *_kwnames
[] = { "self","pyLines","pyPens", NULL
};
9324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDC__DrawLineList",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
9327 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9328 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC__DrawLineList. Expected _wxDC_p.");
9340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9341 _result
= (PyObject
*)wxDC__DrawLineList(_arg0
,_arg1
,_arg2
);
9343 wxPyEndAllowThreads(__tstate
);
9344 if (PyErr_Occurred()) return NULL
;
9346 _resultobj
= _result
;
9351 static void *SwigwxMemoryDCTowxDC(void *ptr
) {
9354 src
= (wxMemoryDC
*) ptr
;
9355 dest
= (wxDC
*) src
;
9356 return (void *) dest
;
9359 static void *SwigwxMemoryDCTowxObject(void *ptr
) {
9362 src
= (wxMemoryDC
*) ptr
;
9363 dest
= (wxObject
*) src
;
9364 return (void *) dest
;
9367 #define new_wxMemoryDC() (new wxMemoryDC())
9368 static PyObject
*_wrap_new_wxMemoryDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9369 PyObject
* _resultobj
;
9370 wxMemoryDC
* _result
;
9371 char *_kwnames
[] = { NULL
};
9375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMemoryDC",_kwnames
))
9378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9379 _result
= (wxMemoryDC
*)new_wxMemoryDC();
9381 wxPyEndAllowThreads(__tstate
);
9382 if (PyErr_Occurred()) return NULL
;
9384 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
9385 _resultobj
= Py_BuildValue("s",_ptemp
);
9388 _resultobj
= Py_None
;
9393 #define wxMemoryDC_SelectObject(_swigobj,_swigarg0) (_swigobj->SelectObject(_swigarg0))
9394 static PyObject
*_wrap_wxMemoryDC_SelectObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9395 PyObject
* _resultobj
;
9398 PyObject
* _argo0
= 0;
9399 PyObject
* _argo1
= 0;
9400 char *_kwnames
[] = { "self","bitmap", NULL
};
9403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMemoryDC_SelectObject",_kwnames
,&_argo0
,&_argo1
))
9406 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9407 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMemoryDC_p")) {
9408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDC_SelectObject. Expected _wxMemoryDC_p.");
9413 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9414 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
9415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMemoryDC_SelectObject. Expected _wxBitmap_p.");
9420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9421 wxMemoryDC_SelectObject(_arg0
,*_arg1
);
9423 wxPyEndAllowThreads(__tstate
);
9424 if (PyErr_Occurred()) return NULL
;
9425 } Py_INCREF(Py_None
);
9426 _resultobj
= Py_None
;
9430 static void *SwigwxBufferedDCTowxMemoryDC(void *ptr
) {
9433 src
= (wxBufferedDC
*) ptr
;
9434 dest
= (wxMemoryDC
*) src
;
9435 return (void *) dest
;
9438 static void *SwigwxBufferedDCTowxDC(void *ptr
) {
9441 src
= (wxBufferedDC
*) ptr
;
9442 dest
= (wxDC
*) src
;
9443 return (void *) dest
;
9446 static void *SwigwxBufferedDCTowxObject(void *ptr
) {
9449 src
= (wxBufferedDC
*) ptr
;
9450 dest
= (wxObject
*) src
;
9451 return (void *) dest
;
9454 #define new_wxBufferedDC(_swigarg0,_swigarg1) (new wxBufferedDC(_swigarg0,_swigarg1))
9455 static PyObject
*_wrap_new_wxBufferedDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9456 PyObject
* _resultobj
;
9457 wxBufferedDC
* _result
;
9460 PyObject
* _argo0
= 0;
9461 PyObject
* _argo1
= 0;
9462 char *_kwnames
[] = { "dc","buffer", NULL
};
9466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxBufferedDC",_kwnames
,&_argo0
,&_argo1
))
9469 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9470 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBufferedDC. Expected _wxDC_p.");
9476 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9477 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
9478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxBufferedDC. Expected _wxBitmap_p.");
9483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9484 _result
= (wxBufferedDC
*)new_wxBufferedDC(_arg0
,*_arg1
);
9486 wxPyEndAllowThreads(__tstate
);
9487 if (PyErr_Occurred()) return NULL
;
9489 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBufferedDC_p");
9490 _resultobj
= Py_BuildValue("s",_ptemp
);
9493 _resultobj
= Py_None
;
9498 #define new_wxBufferedDCInternalBuffer(_swigarg0,_swigarg1) (new wxBufferedDC(_swigarg0,_swigarg1))
9499 static PyObject
*_wrap_new_wxBufferedDCInternalBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9500 PyObject
* _resultobj
;
9501 wxBufferedDC
* _result
;
9504 PyObject
* _argo0
= 0;
9506 PyObject
* _obj1
= 0;
9507 char *_kwnames
[] = { "dc","area", NULL
};
9511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxBufferedDCInternalBuffer",_kwnames
,&_argo0
,&_obj1
))
9514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBufferedDCInternalBuffer. Expected _wxDC_p.");
9522 if (! wxSize_helper(_obj1
, &_arg1
))
9526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9527 _result
= (wxBufferedDC
*)new_wxBufferedDCInternalBuffer(_arg0
,*_arg1
);
9529 wxPyEndAllowThreads(__tstate
);
9530 if (PyErr_Occurred()) return NULL
;
9532 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBufferedDC_p");
9533 _resultobj
= Py_BuildValue("s",_ptemp
);
9536 _resultobj
= Py_None
;
9541 static void *SwigwxBufferedPaintDCTowxBufferedDC(void *ptr
) {
9542 wxBufferedPaintDC
*src
;
9544 src
= (wxBufferedPaintDC
*) ptr
;
9545 dest
= (wxBufferedDC
*) src
;
9546 return (void *) dest
;
9549 static void *SwigwxBufferedPaintDCTowxMemoryDC(void *ptr
) {
9550 wxBufferedPaintDC
*src
;
9552 src
= (wxBufferedPaintDC
*) ptr
;
9553 dest
= (wxMemoryDC
*) src
;
9554 return (void *) dest
;
9557 static void *SwigwxBufferedPaintDCTowxDC(void *ptr
) {
9558 wxBufferedPaintDC
*src
;
9560 src
= (wxBufferedPaintDC
*) ptr
;
9561 dest
= (wxDC
*) src
;
9562 return (void *) dest
;
9565 static void *SwigwxBufferedPaintDCTowxObject(void *ptr
) {
9566 wxBufferedPaintDC
*src
;
9568 src
= (wxBufferedPaintDC
*) ptr
;
9569 dest
= (wxObject
*) src
;
9570 return (void *) dest
;
9573 #define new_wxBufferedPaintDC(_swigarg0,_swigarg1) (new wxBufferedPaintDC(_swigarg0,_swigarg1))
9574 static PyObject
*_wrap_new_wxBufferedPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9575 PyObject
* _resultobj
;
9576 wxBufferedPaintDC
* _result
;
9578 wxBitmap
* _arg1
= (wxBitmap
*) &wxNullBitmap
;
9579 PyObject
* _argo0
= 0;
9580 PyObject
* _argo1
= 0;
9581 char *_kwnames
[] = { "window","buffer", NULL
};
9585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxBufferedPaintDC",_kwnames
,&_argo0
,&_argo1
))
9588 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9589 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBufferedPaintDC. Expected _wxWindow_p.");
9595 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9596 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
9597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxBufferedPaintDC. Expected _wxBitmap_p.");
9602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9603 _result
= (wxBufferedPaintDC
*)new_wxBufferedPaintDC(_arg0
,*_arg1
);
9605 wxPyEndAllowThreads(__tstate
);
9606 if (PyErr_Occurred()) return NULL
;
9608 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBufferedPaintDC_p");
9609 _resultobj
= Py_BuildValue("s",_ptemp
);
9612 _resultobj
= Py_None
;
9617 static void *SwigwxScreenDCTowxDC(void *ptr
) {
9620 src
= (wxScreenDC
*) ptr
;
9621 dest
= (wxDC
*) src
;
9622 return (void *) dest
;
9625 static void *SwigwxScreenDCTowxObject(void *ptr
) {
9628 src
= (wxScreenDC
*) ptr
;
9629 dest
= (wxObject
*) src
;
9630 return (void *) dest
;
9633 #define new_wxScreenDC() (new wxScreenDC())
9634 static PyObject
*_wrap_new_wxScreenDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9635 PyObject
* _resultobj
;
9636 wxScreenDC
* _result
;
9637 char *_kwnames
[] = { NULL
};
9641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxScreenDC",_kwnames
))
9644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9645 _result
= (wxScreenDC
*)new_wxScreenDC();
9647 wxPyEndAllowThreads(__tstate
);
9648 if (PyErr_Occurred()) return NULL
;
9650 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScreenDC_p");
9651 _resultobj
= Py_BuildValue("s",_ptemp
);
9654 _resultobj
= Py_None
;
9659 #define wxScreenDC_StartDrawingOnTopWin(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
9660 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTopWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9661 PyObject
* _resultobj
;
9665 PyObject
* _argo0
= 0;
9666 PyObject
* _argo1
= 0;
9667 char *_kwnames
[] = { "self","window", NULL
};
9670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScreenDC_StartDrawingOnTopWin",_kwnames
,&_argo0
,&_argo1
))
9673 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9674 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
9675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTopWin. Expected _wxScreenDC_p.");
9680 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9681 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
9682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScreenDC_StartDrawingOnTopWin. Expected _wxWindow_p.");
9687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9688 _result
= (bool )wxScreenDC_StartDrawingOnTopWin(_arg0
,_arg1
);
9690 wxPyEndAllowThreads(__tstate
);
9691 if (PyErr_Occurred()) return NULL
;
9692 } _resultobj
= Py_BuildValue("i",_result
);
9696 #define wxScreenDC_StartDrawingOnTop(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
9697 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9698 PyObject
* _resultobj
;
9701 wxRect
* _arg1
= (wxRect
*) NULL
;
9702 PyObject
* _argo0
= 0;
9704 PyObject
* _obj1
= 0;
9705 char *_kwnames
[] = { "self","rect", NULL
};
9708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxScreenDC_StartDrawingOnTop",_kwnames
,&_argo0
,&_obj1
))
9711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
9713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTop. Expected _wxScreenDC_p.");
9720 if (! wxRect_helper(_obj1
, &_arg1
))
9724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9725 _result
= (bool )wxScreenDC_StartDrawingOnTop(_arg0
,_arg1
);
9727 wxPyEndAllowThreads(__tstate
);
9728 if (PyErr_Occurred()) return NULL
;
9729 } _resultobj
= Py_BuildValue("i",_result
);
9733 #define wxScreenDC_EndDrawingOnTop(_swigobj) (_swigobj->EndDrawingOnTop())
9734 static PyObject
*_wrap_wxScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9735 PyObject
* _resultobj
;
9738 PyObject
* _argo0
= 0;
9739 char *_kwnames
[] = { "self", NULL
};
9742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScreenDC_EndDrawingOnTop",_kwnames
,&_argo0
))
9745 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9746 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
9747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_EndDrawingOnTop. Expected _wxScreenDC_p.");
9752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9753 _result
= (bool )wxScreenDC_EndDrawingOnTop(_arg0
);
9755 wxPyEndAllowThreads(__tstate
);
9756 if (PyErr_Occurred()) return NULL
;
9757 } _resultobj
= Py_BuildValue("i",_result
);
9761 static void *SwigwxClientDCTowxDC(void *ptr
) {
9764 src
= (wxClientDC
*) ptr
;
9765 dest
= (wxDC
*) src
;
9766 return (void *) dest
;
9769 static void *SwigwxClientDCTowxObject(void *ptr
) {
9772 src
= (wxClientDC
*) ptr
;
9773 dest
= (wxObject
*) src
;
9774 return (void *) dest
;
9777 #define new_wxClientDC(_swigarg0) (new wxClientDC(_swigarg0))
9778 static PyObject
*_wrap_new_wxClientDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9779 PyObject
* _resultobj
;
9780 wxClientDC
* _result
;
9782 PyObject
* _argo0
= 0;
9783 char *_kwnames
[] = { "win", NULL
};
9787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxClientDC",_kwnames
,&_argo0
))
9790 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9791 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxClientDC. Expected _wxWindow_p.");
9797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9798 _result
= (wxClientDC
*)new_wxClientDC(_arg0
);
9800 wxPyEndAllowThreads(__tstate
);
9801 if (PyErr_Occurred()) return NULL
;
9803 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxClientDC_p");
9804 _resultobj
= Py_BuildValue("s",_ptemp
);
9807 _resultobj
= Py_None
;
9812 static void *SwigwxPaintDCTowxDC(void *ptr
) {
9815 src
= (wxPaintDC
*) ptr
;
9816 dest
= (wxDC
*) src
;
9817 return (void *) dest
;
9820 static void *SwigwxPaintDCTowxObject(void *ptr
) {
9823 src
= (wxPaintDC
*) ptr
;
9824 dest
= (wxObject
*) src
;
9825 return (void *) dest
;
9828 #define new_wxPaintDC(_swigarg0) (new wxPaintDC(_swigarg0))
9829 static PyObject
*_wrap_new_wxPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9830 PyObject
* _resultobj
;
9831 wxPaintDC
* _result
;
9833 PyObject
* _argo0
= 0;
9834 char *_kwnames
[] = { "win", NULL
};
9838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPaintDC",_kwnames
,&_argo0
))
9841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPaintDC. Expected _wxWindow_p.");
9848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9849 _result
= (wxPaintDC
*)new_wxPaintDC(_arg0
);
9851 wxPyEndAllowThreads(__tstate
);
9852 if (PyErr_Occurred()) return NULL
;
9854 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPaintDC_p");
9855 _resultobj
= Py_BuildValue("s",_ptemp
);
9858 _resultobj
= Py_None
;
9863 static void *SwigwxWindowDCTowxDC(void *ptr
) {
9866 src
= (wxWindowDC
*) ptr
;
9867 dest
= (wxDC
*) src
;
9868 return (void *) dest
;
9871 static void *SwigwxWindowDCTowxObject(void *ptr
) {
9874 src
= (wxWindowDC
*) ptr
;
9875 dest
= (wxObject
*) src
;
9876 return (void *) dest
;
9879 #define new_wxWindowDC(_swigarg0) (new wxWindowDC(_swigarg0))
9880 static PyObject
*_wrap_new_wxWindowDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9881 PyObject
* _resultobj
;
9882 wxWindowDC
* _result
;
9884 PyObject
* _argo0
= 0;
9885 char *_kwnames
[] = { "win", NULL
};
9889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxWindowDC",_kwnames
,&_argo0
))
9892 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9893 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDC. Expected _wxWindow_p.");
9899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9900 _result
= (wxWindowDC
*)new_wxWindowDC(_arg0
);
9902 wxPyEndAllowThreads(__tstate
);
9903 if (PyErr_Occurred()) return NULL
;
9905 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDC_p");
9906 _resultobj
= Py_BuildValue("s",_ptemp
);
9909 _resultobj
= Py_None
;
9914 static void *SwigwxPaletteTowxGDIObject(void *ptr
) {
9917 src
= (wxPalette
*) ptr
;
9918 dest
= (wxGDIObject
*) src
;
9919 return (void *) dest
;
9922 static void *SwigwxPaletteTowxObject(void *ptr
) {
9925 src
= (wxPalette
*) ptr
;
9926 dest
= (wxObject
*) src
;
9927 return (void *) dest
;
9930 #define new_wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9931 static PyObject
*_wrap_new_wxPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9932 PyObject
* _resultobj
;
9933 wxPalette
* _result
;
9938 PyObject
* _obj1
= 0;
9939 PyObject
* _obj2
= 0;
9940 PyObject
* _obj3
= 0;
9941 char *_kwnames
[] = { "choices","choices","choices", NULL
};
9945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:new_wxPalette",_kwnames
,&_obj1
,&_obj2
,&_obj3
))
9948 _arg1
= byte_LIST_helper(_obj1
);
9949 if (_arg1
== NULL
) {
9954 _arg2
= byte_LIST_helper(_obj2
);
9955 if (_arg2
== NULL
) {
9961 _arg3
= byte_LIST_helper(_obj3
);
9962 if (_arg3
== NULL
) {
9968 _arg0
= PyList_Size(_obj1
);
9975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9976 _result
= (wxPalette
*)new_wxPalette(_arg0
,_arg1
,_arg2
,_arg3
);
9978 wxPyEndAllowThreads(__tstate
);
9979 if (PyErr_Occurred()) return NULL
;
9981 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPalette_p");
9982 _resultobj
= Py_BuildValue("s",_ptemp
);
9985 _resultobj
= Py_None
;
9999 #define delete_wxPalette(_swigobj) (delete _swigobj)
10000 static PyObject
*_wrap_delete_wxPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10001 PyObject
* _resultobj
;
10003 PyObject
* _argo0
= 0;
10004 char *_kwnames
[] = { "self", NULL
};
10007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPalette",_kwnames
,&_argo0
))
10010 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10011 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
10012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPalette. Expected _wxPalette_p.");
10017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10018 delete_wxPalette(_arg0
);
10020 wxPyEndAllowThreads(__tstate
);
10021 if (PyErr_Occurred()) return NULL
;
10022 } Py_INCREF(Py_None
);
10023 _resultobj
= Py_None
;
10027 #define wxPalette_GetPixel(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetPixel(_swigarg0,_swigarg1,_swigarg2))
10028 static PyObject
*_wrap_wxPalette_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10029 PyObject
* _resultobj
;
10035 PyObject
* _argo0
= 0;
10036 char *_kwnames
[] = { "self","red","green","blue", NULL
};
10039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Obbb:wxPalette_GetPixel",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
10042 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10043 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
10044 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetPixel. Expected _wxPalette_p.");
10049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10050 _result
= (int )wxPalette_GetPixel(_arg0
,_arg1
,_arg2
,_arg3
);
10052 wxPyEndAllowThreads(__tstate
);
10053 if (PyErr_Occurred()) return NULL
;
10054 } _resultobj
= Py_BuildValue("i",_result
);
10058 #define wxPalette_GetRGB(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetRGB(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10059 static PyObject
*_wrap_wxPalette_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10060 PyObject
* _resultobj
;
10070 PyObject
* _argo0
= 0;
10071 char *_kwnames
[] = { "self","pixel", NULL
};
10075 _arg2
= (byte
*)&temp
;
10078 _arg3
= (byte
*)&temp0
;
10081 _arg4
= (byte
*)&temp1
;
10083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPalette_GetRGB",_kwnames
,&_argo0
,&_arg1
))
10086 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10087 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
10088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetRGB. Expected _wxPalette_p.");
10093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10094 _result
= (bool )wxPalette_GetRGB(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
10096 wxPyEndAllowThreads(__tstate
);
10097 if (PyErr_Occurred()) return NULL
;
10098 } _resultobj
= Py_BuildValue("i",_result
);
10101 o
= PyInt_FromLong((long) (*_arg2
));
10102 _resultobj
= t_output_helper(_resultobj
, o
);
10106 o
= PyInt_FromLong((long) (*_arg3
));
10107 _resultobj
= t_output_helper(_resultobj
, o
);
10111 o
= PyInt_FromLong((long) (*_arg4
));
10112 _resultobj
= t_output_helper(_resultobj
, o
);
10117 #define wxPalette_Ok(_swigobj) (_swigobj->Ok())
10118 static PyObject
*_wrap_wxPalette_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10119 PyObject
* _resultobj
;
10122 PyObject
* _argo0
= 0;
10123 char *_kwnames
[] = { "self", NULL
};
10126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPalette_Ok",_kwnames
,&_argo0
))
10129 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10130 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
10131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_Ok. Expected _wxPalette_p.");
10136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10137 _result
= (bool )wxPalette_Ok(_arg0
);
10139 wxPyEndAllowThreads(__tstate
);
10140 if (PyErr_Occurred()) return NULL
;
10141 } _resultobj
= Py_BuildValue("i",_result
);
10145 static void *SwigwxImageListTowxObject(void *ptr
) {
10148 src
= (wxImageList
*) ptr
;
10149 dest
= (wxObject
*) src
;
10150 return (void *) dest
;
10153 #define new_wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10154 static PyObject
*_wrap_new_wxImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10155 PyObject
* _resultobj
;
10156 wxImageList
* _result
;
10159 int _arg2
= (int ) TRUE
;
10160 int _arg3
= (int ) 1;
10161 char *_kwnames
[] = { "width","height","mask","initialCount", NULL
};
10165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ii|ii:new_wxImageList",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
10168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10169 _result
= (wxImageList
*)new_wxImageList(_arg0
,_arg1
,_arg2
,_arg3
);
10171 wxPyEndAllowThreads(__tstate
);
10172 if (PyErr_Occurred()) return NULL
;
10174 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
10175 _resultobj
= Py_BuildValue("s",_ptemp
);
10177 Py_INCREF(Py_None
);
10178 _resultobj
= Py_None
;
10183 #define delete_wxImageList(_swigobj) (delete _swigobj)
10184 static PyObject
*_wrap_delete_wxImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10185 PyObject
* _resultobj
;
10186 wxImageList
* _arg0
;
10187 PyObject
* _argo0
= 0;
10188 char *_kwnames
[] = { "self", NULL
};
10191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxImageList",_kwnames
,&_argo0
))
10194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxImageList. Expected _wxImageList_p.");
10201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10202 delete_wxImageList(_arg0
);
10204 wxPyEndAllowThreads(__tstate
);
10205 if (PyErr_Occurred()) return NULL
;
10206 } Py_INCREF(Py_None
);
10207 _resultobj
= Py_None
;
10211 #define wxImageList_Add(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
10212 static PyObject
*_wrap_wxImageList_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10213 PyObject
* _resultobj
;
10215 wxImageList
* _arg0
;
10217 wxBitmap
* _arg2
= (wxBitmap
*) &wxNullBitmap
;
10218 PyObject
* _argo0
= 0;
10219 PyObject
* _argo1
= 0;
10220 PyObject
* _argo2
= 0;
10221 char *_kwnames
[] = { "self","bitmap","mask", NULL
};
10224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxImageList_Add",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
10227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Add. Expected _wxImageList_p.");
10234 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10235 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
10236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_Add. Expected _wxBitmap_p.");
10241 if (_argo2
== Py_None
) { _arg2
= NULL
; }
10242 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
10243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Add. Expected _wxBitmap_p.");
10248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10249 _result
= (int )wxImageList_Add(_arg0
,*_arg1
,*_arg2
);
10251 wxPyEndAllowThreads(__tstate
);
10252 if (PyErr_Occurred()) return NULL
;
10253 } _resultobj
= Py_BuildValue("i",_result
);
10257 #define wxImageList_AddWithColourMask(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
10258 static PyObject
*_wrap_wxImageList_AddWithColourMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10259 PyObject
* _resultobj
;
10261 wxImageList
* _arg0
;
10264 PyObject
* _argo0
= 0;
10265 PyObject
* _argo1
= 0;
10267 PyObject
* _obj2
= 0;
10268 char *_kwnames
[] = { "self","bitmap","maskColour", NULL
};
10271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxImageList_AddWithColourMask",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
10274 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10275 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_AddWithColourMask. Expected _wxImageList_p.");
10281 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10282 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
10283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_AddWithColourMask. Expected _wxBitmap_p.");
10289 if (! wxColour_helper(_obj2
, &_arg2
))
10293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10294 _result
= (int )wxImageList_AddWithColourMask(_arg0
,*_arg1
,*_arg2
);
10296 wxPyEndAllowThreads(__tstate
);
10297 if (PyErr_Occurred()) return NULL
;
10298 } _resultobj
= Py_BuildValue("i",_result
);
10302 #define wxImageList_AddIcon(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
10303 static PyObject
*_wrap_wxImageList_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10304 PyObject
* _resultobj
;
10306 wxImageList
* _arg0
;
10308 PyObject
* _argo0
= 0;
10309 PyObject
* _argo1
= 0;
10310 char *_kwnames
[] = { "self","icon", NULL
};
10313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxImageList_AddIcon",_kwnames
,&_argo0
,&_argo1
))
10316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_AddIcon. Expected _wxImageList_p.");
10323 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10324 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
10325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_AddIcon. Expected _wxIcon_p.");
10330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10331 _result
= (int )wxImageList_AddIcon(_arg0
,*_arg1
);
10333 wxPyEndAllowThreads(__tstate
);
10334 if (PyErr_Occurred()) return NULL
;
10335 } _resultobj
= Py_BuildValue("i",_result
);
10339 #define wxImageList_Replace(_swigobj,_swigarg0,_swigarg1) (_swigobj->Replace(_swigarg0,_swigarg1))
10340 static PyObject
*_wrap_wxImageList_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10341 PyObject
* _resultobj
;
10343 wxImageList
* _arg0
;
10346 PyObject
* _argo0
= 0;
10347 PyObject
* _argo2
= 0;
10348 char *_kwnames
[] = { "self","index","bitmap", NULL
};
10351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxImageList_Replace",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
10354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Replace. Expected _wxImageList_p.");
10361 if (_argo2
== Py_None
) { _arg2
= NULL
; }
10362 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
10363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Replace. Expected _wxBitmap_p.");
10368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10369 _result
= (bool )wxImageList_Replace(_arg0
,_arg1
,*_arg2
);
10371 wxPyEndAllowThreads(__tstate
);
10372 if (PyErr_Occurred()) return NULL
;
10373 } _resultobj
= Py_BuildValue("i",_result
);
10377 #define wxImageList_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
10378 static PyObject
*_wrap_wxImageList_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10379 PyObject
* _resultobj
;
10381 wxImageList
* _arg0
;
10386 int _arg5
= (int ) (wxIMAGELIST_DRAW_NORMAL
);
10387 bool _arg6
= (bool ) FALSE
;
10388 PyObject
* _argo0
= 0;
10389 PyObject
* _argo2
= 0;
10390 int tempbool6
= (int) FALSE
;
10391 char *_kwnames
[] = { "self","index","dc","x","x","flags","solidBackground", NULL
};
10394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOii|ii:wxImageList_Draw",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
10397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Draw. Expected _wxImageList_p.");
10404 if (_argo2
== Py_None
) { _arg2
= NULL
; }
10405 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDC_p")) {
10406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Draw. Expected _wxDC_p.");
10410 _arg6
= (bool ) tempbool6
;
10412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10413 _result
= (bool )wxImageList_Draw(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
10415 wxPyEndAllowThreads(__tstate
);
10416 if (PyErr_Occurred()) return NULL
;
10417 } _resultobj
= Py_BuildValue("i",_result
);
10421 #define wxImageList_GetImageCount(_swigobj) (_swigobj->GetImageCount())
10422 static PyObject
*_wrap_wxImageList_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10423 PyObject
* _resultobj
;
10425 wxImageList
* _arg0
;
10426 PyObject
* _argo0
= 0;
10427 char *_kwnames
[] = { "self", NULL
};
10430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxImageList_GetImageCount",_kwnames
,&_argo0
))
10433 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10434 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_GetImageCount. Expected _wxImageList_p.");
10440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10441 _result
= (int )wxImageList_GetImageCount(_arg0
);
10443 wxPyEndAllowThreads(__tstate
);
10444 if (PyErr_Occurred()) return NULL
;
10445 } _resultobj
= Py_BuildValue("i",_result
);
10449 #define wxImageList_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
10450 static PyObject
*_wrap_wxImageList_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10451 PyObject
* _resultobj
;
10453 wxImageList
* _arg0
;
10455 PyObject
* _argo0
= 0;
10456 char *_kwnames
[] = { "self","index", NULL
};
10459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxImageList_Remove",_kwnames
,&_argo0
,&_arg1
))
10462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Remove. Expected _wxImageList_p.");
10469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10470 _result
= (bool )wxImageList_Remove(_arg0
,_arg1
);
10472 wxPyEndAllowThreads(__tstate
);
10473 if (PyErr_Occurred()) return NULL
;
10474 } _resultobj
= Py_BuildValue("i",_result
);
10478 #define wxImageList_RemoveAll(_swigobj) (_swigobj->RemoveAll())
10479 static PyObject
*_wrap_wxImageList_RemoveAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10480 PyObject
* _resultobj
;
10482 wxImageList
* _arg0
;
10483 PyObject
* _argo0
= 0;
10484 char *_kwnames
[] = { "self", NULL
};
10487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxImageList_RemoveAll",_kwnames
,&_argo0
))
10490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_RemoveAll. Expected _wxImageList_p.");
10497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10498 _result
= (bool )wxImageList_RemoveAll(_arg0
);
10500 wxPyEndAllowThreads(__tstate
);
10501 if (PyErr_Occurred()) return NULL
;
10502 } _resultobj
= Py_BuildValue("i",_result
);
10506 #define wxImageList_GetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetSize(_swigarg0,_swigarg1,_swigarg2))
10507 static PyObject
*_wrap_wxImageList_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10508 PyObject
* _resultobj
;
10509 wxImageList
* _arg0
;
10515 PyObject
* _argo0
= 0;
10516 char *_kwnames
[] = { "self","index", NULL
};
10525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxImageList_GetSize",_kwnames
,&_argo0
,&_arg1
))
10528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_GetSize. Expected _wxImageList_p.");
10535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10536 wxImageList_GetSize(_arg0
,_arg1
,*_arg2
,*_arg3
);
10538 wxPyEndAllowThreads(__tstate
);
10539 if (PyErr_Occurred()) return NULL
;
10540 } Py_INCREF(Py_None
);
10541 _resultobj
= Py_None
;
10544 o
= PyInt_FromLong((long) (*_arg2
));
10545 _resultobj
= t_output_helper(_resultobj
, o
);
10549 o
= PyInt_FromLong((long) (*_arg3
));
10550 _resultobj
= t_output_helper(_resultobj
, o
);
10555 static void *SwigwxRegionTowxGDIObject(void *ptr
) {
10558 src
= (wxRegion
*) ptr
;
10559 dest
= (wxGDIObject
*) src
;
10560 return (void *) dest
;
10563 static void *SwigwxRegionTowxObject(void *ptr
) {
10566 src
= (wxRegion
*) ptr
;
10567 dest
= (wxObject
*) src
;
10568 return (void *) dest
;
10571 #define new_wxRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10572 static PyObject
*_wrap_new_wxRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10573 PyObject
* _resultobj
;
10574 wxRegion
* _result
;
10575 long _arg0
= (long ) 0;
10576 long _arg1
= (long ) 0;
10577 long _arg2
= (long ) 0;
10578 long _arg3
= (long ) 0;
10579 char *_kwnames
[] = { "x","y","width","height", NULL
};
10583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|llll:new_wxRegion",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
10586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10587 _result
= (wxRegion
*)new_wxRegion(_arg0
,_arg1
,_arg2
,_arg3
);
10589 wxPyEndAllowThreads(__tstate
);
10590 if (PyErr_Occurred()) return NULL
;
10592 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegion_p");
10593 _resultobj
= Py_BuildValue("s",_ptemp
);
10595 Py_INCREF(Py_None
);
10596 _resultobj
= Py_None
;
10601 #define delete_wxRegion(_swigobj) (delete _swigobj)
10602 static PyObject
*_wrap_delete_wxRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10603 PyObject
* _resultobj
;
10605 PyObject
* _argo0
= 0;
10606 char *_kwnames
[] = { "self", NULL
};
10609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRegion",_kwnames
,&_argo0
))
10612 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10613 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegion. Expected _wxRegion_p.");
10619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10620 delete_wxRegion(_arg0
);
10622 wxPyEndAllowThreads(__tstate
);
10623 if (PyErr_Occurred()) return NULL
;
10624 } Py_INCREF(Py_None
);
10625 _resultobj
= Py_None
;
10629 #define wxRegion_Clear(_swigobj) (_swigobj->Clear())
10630 static PyObject
*_wrap_wxRegion_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10631 PyObject
* _resultobj
;
10633 PyObject
* _argo0
= 0;
10634 char *_kwnames
[] = { "self", NULL
};
10637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_Clear",_kwnames
,&_argo0
))
10640 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10641 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Clear. Expected _wxRegion_p.");
10647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10648 wxRegion_Clear(_arg0
);
10650 wxPyEndAllowThreads(__tstate
);
10651 if (PyErr_Occurred()) return NULL
;
10652 } Py_INCREF(Py_None
);
10653 _resultobj
= Py_None
;
10657 #define wxRegion_Offset(_swigobj,_swigarg0,_swigarg1) (_swigobj->Offset(_swigarg0,_swigarg1))
10658 static PyObject
*_wrap_wxRegion_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10659 PyObject
* _resultobj
;
10664 PyObject
* _argo0
= 0;
10665 char *_kwnames
[] = { "self","x","y", NULL
};
10668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRegion_Offset",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Offset. Expected _wxRegion_p.");
10678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10679 _result
= (bool )wxRegion_Offset(_arg0
,_arg1
,_arg2
);
10681 wxPyEndAllowThreads(__tstate
);
10682 if (PyErr_Occurred()) return NULL
;
10683 } _resultobj
= Py_BuildValue("i",_result
);
10687 #define wxRegion_Contains(_swigobj,_swigarg0,_swigarg1) (_swigobj->Contains(_swigarg0,_swigarg1))
10688 static PyObject
*_wrap_wxRegion_Contains(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10689 PyObject
* _resultobj
;
10690 wxRegionContain _result
;
10694 PyObject
* _argo0
= 0;
10695 char *_kwnames
[] = { "self","x","y", NULL
};
10698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxRegion_Contains",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10701 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10702 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Contains. Expected _wxRegion_p.");
10708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10709 _result
= (wxRegionContain
)wxRegion_Contains(_arg0
,_arg1
,_arg2
);
10711 wxPyEndAllowThreads(__tstate
);
10712 if (PyErr_Occurred()) return NULL
;
10713 } _resultobj
= Py_BuildValue("i",_result
);
10717 #define wxRegion_ContainsPoint(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
10718 static PyObject
*_wrap_wxRegion_ContainsPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10719 PyObject
* _resultobj
;
10720 wxRegionContain _result
;
10723 PyObject
* _argo0
= 0;
10725 PyObject
* _obj1
= 0;
10726 char *_kwnames
[] = { "self","pt", NULL
};
10729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_ContainsPoint",_kwnames
,&_argo0
,&_obj1
))
10732 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10733 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsPoint. Expected _wxRegion_p.");
10740 if (! wxPoint_helper(_obj1
, &_arg1
))
10744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10745 _result
= (wxRegionContain
)wxRegion_ContainsPoint(_arg0
,*_arg1
);
10747 wxPyEndAllowThreads(__tstate
);
10748 if (PyErr_Occurred()) return NULL
;
10749 } _resultobj
= Py_BuildValue("i",_result
);
10753 #define wxRegion_ContainsRect(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
10754 static PyObject
*_wrap_wxRegion_ContainsRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10755 PyObject
* _resultobj
;
10756 wxRegionContain _result
;
10759 PyObject
* _argo0
= 0;
10761 PyObject
* _obj1
= 0;
10762 char *_kwnames
[] = { "self","rect", NULL
};
10765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_ContainsRect",_kwnames
,&_argo0
,&_obj1
))
10768 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10769 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsRect. Expected _wxRegion_p.");
10776 if (! wxRect_helper(_obj1
, &_arg1
))
10780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10781 _result
= (wxRegionContain
)wxRegion_ContainsRect(_arg0
,*_arg1
);
10783 wxPyEndAllowThreads(__tstate
);
10784 if (PyErr_Occurred()) return NULL
;
10785 } _resultobj
= Py_BuildValue("i",_result
);
10789 #define wxRegion_ContainsRectDim(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Contains(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10790 static PyObject
*_wrap_wxRegion_ContainsRectDim(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10791 PyObject
* _resultobj
;
10792 wxRegionContain _result
;
10798 PyObject
* _argo0
= 0;
10799 char *_kwnames
[] = { "self","x","y","w","h", NULL
};
10802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_ContainsRectDim",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
10805 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10806 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsRectDim. Expected _wxRegion_p.");
10812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10813 _result
= (wxRegionContain
)wxRegion_ContainsRectDim(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
10815 wxPyEndAllowThreads(__tstate
);
10816 if (PyErr_Occurred()) return NULL
;
10817 } _resultobj
= Py_BuildValue("i",_result
);
10821 #define wxRegion_GetBox(_swigobj) (_swigobj->GetBox())
10822 static PyObject
*_wrap_wxRegion_GetBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10823 PyObject
* _resultobj
;
10826 PyObject
* _argo0
= 0;
10827 char *_kwnames
[] = { "self", NULL
};
10831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_GetBox",_kwnames
,&_argo0
))
10834 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10835 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_GetBox. Expected _wxRegion_p.");
10841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10842 _result
= new wxRect (wxRegion_GetBox(_arg0
));
10844 wxPyEndAllowThreads(__tstate
);
10845 if (PyErr_Occurred()) return NULL
;
10846 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
10847 _resultobj
= Py_BuildValue("s",_ptemp
);
10851 #define wxRegion_Intersect(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Intersect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10852 static PyObject
*_wrap_wxRegion_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10853 PyObject
* _resultobj
;
10860 PyObject
* _argo0
= 0;
10861 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
10864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Intersect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
10867 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10868 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Intersect. Expected _wxRegion_p.");
10874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10875 _result
= (bool )wxRegion_Intersect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
10877 wxPyEndAllowThreads(__tstate
);
10878 if (PyErr_Occurred()) return NULL
;
10879 } _resultobj
= Py_BuildValue("i",_result
);
10883 #define wxRegion_IntersectRect(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
10884 static PyObject
*_wrap_wxRegion_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10885 PyObject
* _resultobj
;
10889 PyObject
* _argo0
= 0;
10891 PyObject
* _obj1
= 0;
10892 char *_kwnames
[] = { "self","rect", NULL
};
10895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_IntersectRect",_kwnames
,&_argo0
,&_obj1
))
10898 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10899 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IntersectRect. Expected _wxRegion_p.");
10906 if (! wxRect_helper(_obj1
, &_arg1
))
10910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10911 _result
= (bool )wxRegion_IntersectRect(_arg0
,*_arg1
);
10913 wxPyEndAllowThreads(__tstate
);
10914 if (PyErr_Occurred()) return NULL
;
10915 } _resultobj
= Py_BuildValue("i",_result
);
10919 #define wxRegion_IntersectRegion(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
10920 static PyObject
*_wrap_wxRegion_IntersectRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10921 PyObject
* _resultobj
;
10925 PyObject
* _argo0
= 0;
10926 PyObject
* _argo1
= 0;
10927 char *_kwnames
[] = { "self","region", NULL
};
10930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_IntersectRegion",_kwnames
,&_argo0
,&_argo1
))
10933 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10934 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IntersectRegion. Expected _wxRegion_p.");
10940 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10941 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
10942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_IntersectRegion. Expected _wxRegion_p.");
10947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10948 _result
= (bool )wxRegion_IntersectRegion(_arg0
,*_arg1
);
10950 wxPyEndAllowThreads(__tstate
);
10951 if (PyErr_Occurred()) return NULL
;
10952 } _resultobj
= Py_BuildValue("i",_result
);
10956 #define wxRegion_IsEmpty(_swigobj) (_swigobj->IsEmpty())
10957 static PyObject
*_wrap_wxRegion_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10958 PyObject
* _resultobj
;
10961 PyObject
* _argo0
= 0;
10962 char *_kwnames
[] = { "self", NULL
};
10965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_IsEmpty",_kwnames
,&_argo0
))
10968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IsEmpty. Expected _wxRegion_p.");
10975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10976 _result
= (bool )wxRegion_IsEmpty(_arg0
);
10978 wxPyEndAllowThreads(__tstate
);
10979 if (PyErr_Occurred()) return NULL
;
10980 } _resultobj
= Py_BuildValue("i",_result
);
10984 #define wxRegion_Union(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Union(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10985 static PyObject
*_wrap_wxRegion_Union(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10986 PyObject
* _resultobj
;
10993 PyObject
* _argo0
= 0;
10994 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
10997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Union",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
11000 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11001 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Union. Expected _wxRegion_p.");
11007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11008 _result
= (bool )wxRegion_Union(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
11010 wxPyEndAllowThreads(__tstate
);
11011 if (PyErr_Occurred()) return NULL
;
11012 } _resultobj
= Py_BuildValue("i",_result
);
11016 #define wxRegion_UnionRect(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
11017 static PyObject
*_wrap_wxRegion_UnionRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11018 PyObject
* _resultobj
;
11022 PyObject
* _argo0
= 0;
11024 PyObject
* _obj1
= 0;
11025 char *_kwnames
[] = { "self","rect", NULL
};
11028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_UnionRect",_kwnames
,&_argo0
,&_obj1
))
11031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_UnionRect. Expected _wxRegion_p.");
11039 if (! wxRect_helper(_obj1
, &_arg1
))
11043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11044 _result
= (bool )wxRegion_UnionRect(_arg0
,*_arg1
);
11046 wxPyEndAllowThreads(__tstate
);
11047 if (PyErr_Occurred()) return NULL
;
11048 } _resultobj
= Py_BuildValue("i",_result
);
11052 #define wxRegion_UnionRegion(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
11053 static PyObject
*_wrap_wxRegion_UnionRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11054 PyObject
* _resultobj
;
11058 PyObject
* _argo0
= 0;
11059 PyObject
* _argo1
= 0;
11060 char *_kwnames
[] = { "self","region", NULL
};
11063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_UnionRegion",_kwnames
,&_argo0
,&_argo1
))
11066 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11067 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_UnionRegion. Expected _wxRegion_p.");
11073 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11074 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
11075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_UnionRegion. Expected _wxRegion_p.");
11080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11081 _result
= (bool )wxRegion_UnionRegion(_arg0
,*_arg1
);
11083 wxPyEndAllowThreads(__tstate
);
11084 if (PyErr_Occurred()) return NULL
;
11085 } _resultobj
= Py_BuildValue("i",_result
);
11089 #define wxRegion_Subtract(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Subtract(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11090 static PyObject
*_wrap_wxRegion_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11091 PyObject
* _resultobj
;
11098 PyObject
* _argo0
= 0;
11099 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
11102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Subtract",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
11105 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11106 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Subtract. Expected _wxRegion_p.");
11112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11113 _result
= (bool )wxRegion_Subtract(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
11115 wxPyEndAllowThreads(__tstate
);
11116 if (PyErr_Occurred()) return NULL
;
11117 } _resultobj
= Py_BuildValue("i",_result
);
11121 #define wxRegion_SubtractRect(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
11122 static PyObject
*_wrap_wxRegion_SubtractRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11123 PyObject
* _resultobj
;
11127 PyObject
* _argo0
= 0;
11129 PyObject
* _obj1
= 0;
11130 char *_kwnames
[] = { "self","rect", NULL
};
11133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_SubtractRect",_kwnames
,&_argo0
,&_obj1
))
11136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_SubtractRect. Expected _wxRegion_p.");
11144 if (! wxRect_helper(_obj1
, &_arg1
))
11148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11149 _result
= (bool )wxRegion_SubtractRect(_arg0
,*_arg1
);
11151 wxPyEndAllowThreads(__tstate
);
11152 if (PyErr_Occurred()) return NULL
;
11153 } _resultobj
= Py_BuildValue("i",_result
);
11157 #define wxRegion_SubtractRegion(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
11158 static PyObject
*_wrap_wxRegion_SubtractRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11159 PyObject
* _resultobj
;
11163 PyObject
* _argo0
= 0;
11164 PyObject
* _argo1
= 0;
11165 char *_kwnames
[] = { "self","region", NULL
};
11168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_SubtractRegion",_kwnames
,&_argo0
,&_argo1
))
11171 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11172 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_SubtractRegion. Expected _wxRegion_p.");
11178 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11179 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
11180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_SubtractRegion. Expected _wxRegion_p.");
11185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11186 _result
= (bool )wxRegion_SubtractRegion(_arg0
,*_arg1
);
11188 wxPyEndAllowThreads(__tstate
);
11189 if (PyErr_Occurred()) return NULL
;
11190 } _resultobj
= Py_BuildValue("i",_result
);
11194 #define wxRegion_Xor(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Xor(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11195 static PyObject
*_wrap_wxRegion_Xor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11196 PyObject
* _resultobj
;
11203 PyObject
* _argo0
= 0;
11204 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
11207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Xor",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
11210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Xor. Expected _wxRegion_p.");
11217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11218 _result
= (bool )wxRegion_Xor(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
11220 wxPyEndAllowThreads(__tstate
);
11221 if (PyErr_Occurred()) return NULL
;
11222 } _resultobj
= Py_BuildValue("i",_result
);
11226 #define wxRegion_XorRect(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
11227 static PyObject
*_wrap_wxRegion_XorRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11228 PyObject
* _resultobj
;
11232 PyObject
* _argo0
= 0;
11234 PyObject
* _obj1
= 0;
11235 char *_kwnames
[] = { "self","rect", NULL
};
11238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_XorRect",_kwnames
,&_argo0
,&_obj1
))
11241 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11242 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_XorRect. Expected _wxRegion_p.");
11249 if (! wxRect_helper(_obj1
, &_arg1
))
11253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11254 _result
= (bool )wxRegion_XorRect(_arg0
,*_arg1
);
11256 wxPyEndAllowThreads(__tstate
);
11257 if (PyErr_Occurred()) return NULL
;
11258 } _resultobj
= Py_BuildValue("i",_result
);
11262 #define wxRegion_XorRegion(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
11263 static PyObject
*_wrap_wxRegion_XorRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11264 PyObject
* _resultobj
;
11268 PyObject
* _argo0
= 0;
11269 PyObject
* _argo1
= 0;
11270 char *_kwnames
[] = { "self","region", NULL
};
11273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_XorRegion",_kwnames
,&_argo0
,&_argo1
))
11276 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11277 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_XorRegion. Expected _wxRegion_p.");
11283 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11284 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
11285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_XorRegion. Expected _wxRegion_p.");
11290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11291 _result
= (bool )wxRegion_XorRegion(_arg0
,*_arg1
);
11293 wxPyEndAllowThreads(__tstate
);
11294 if (PyErr_Occurred()) return NULL
;
11295 } _resultobj
= Py_BuildValue("i",_result
);
11299 static void *SwigwxRegionIteratorTowxObject(void *ptr
) {
11300 wxRegionIterator
*src
;
11302 src
= (wxRegionIterator
*) ptr
;
11303 dest
= (wxObject
*) src
;
11304 return (void *) dest
;
11307 #define new_wxRegionIterator(_swigarg0) (new wxRegionIterator(_swigarg0))
11308 static PyObject
*_wrap_new_wxRegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11309 PyObject
* _resultobj
;
11310 wxRegionIterator
* _result
;
11312 PyObject
* _argo0
= 0;
11313 char *_kwnames
[] = { "region", NULL
};
11317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxRegionIterator",_kwnames
,&_argo0
))
11320 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11321 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11322 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRegionIterator. Expected _wxRegion_p.");
11327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11328 _result
= (wxRegionIterator
*)new_wxRegionIterator(*_arg0
);
11330 wxPyEndAllowThreads(__tstate
);
11331 if (PyErr_Occurred()) return NULL
;
11333 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegionIterator_p");
11334 _resultobj
= Py_BuildValue("s",_ptemp
);
11336 Py_INCREF(Py_None
);
11337 _resultobj
= Py_None
;
11342 #define delete_wxRegionIterator(_swigobj) (delete _swigobj)
11343 static PyObject
*_wrap_delete_wxRegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11344 PyObject
* _resultobj
;
11345 wxRegionIterator
* _arg0
;
11346 PyObject
* _argo0
= 0;
11347 char *_kwnames
[] = { "self", NULL
};
11350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRegionIterator",_kwnames
,&_argo0
))
11353 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11354 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegionIterator. Expected _wxRegionIterator_p.");
11360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11361 delete_wxRegionIterator(_arg0
);
11363 wxPyEndAllowThreads(__tstate
);
11364 if (PyErr_Occurred()) return NULL
;
11365 } Py_INCREF(Py_None
);
11366 _resultobj
= Py_None
;
11370 #define wxRegionIterator_GetX(_swigobj) (_swigobj->GetX())
11371 static PyObject
*_wrap_wxRegionIterator_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11372 PyObject
* _resultobj
;
11374 wxRegionIterator
* _arg0
;
11375 PyObject
* _argo0
= 0;
11376 char *_kwnames
[] = { "self", NULL
};
11379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetX",_kwnames
,&_argo0
))
11382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetX. Expected _wxRegionIterator_p.");
11389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11390 _result
= (long )wxRegionIterator_GetX(_arg0
);
11392 wxPyEndAllowThreads(__tstate
);
11393 if (PyErr_Occurred()) return NULL
;
11394 } _resultobj
= Py_BuildValue("l",_result
);
11398 #define wxRegionIterator_GetY(_swigobj) (_swigobj->GetY())
11399 static PyObject
*_wrap_wxRegionIterator_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11400 PyObject
* _resultobj
;
11402 wxRegionIterator
* _arg0
;
11403 PyObject
* _argo0
= 0;
11404 char *_kwnames
[] = { "self", NULL
};
11407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetY",_kwnames
,&_argo0
))
11410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetY. Expected _wxRegionIterator_p.");
11417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11418 _result
= (long )wxRegionIterator_GetY(_arg0
);
11420 wxPyEndAllowThreads(__tstate
);
11421 if (PyErr_Occurred()) return NULL
;
11422 } _resultobj
= Py_BuildValue("l",_result
);
11426 #define wxRegionIterator_GetW(_swigobj) (_swigobj->GetW())
11427 static PyObject
*_wrap_wxRegionIterator_GetW(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11428 PyObject
* _resultobj
;
11430 wxRegionIterator
* _arg0
;
11431 PyObject
* _argo0
= 0;
11432 char *_kwnames
[] = { "self", NULL
};
11435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetW",_kwnames
,&_argo0
))
11438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetW. Expected _wxRegionIterator_p.");
11445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11446 _result
= (long )wxRegionIterator_GetW(_arg0
);
11448 wxPyEndAllowThreads(__tstate
);
11449 if (PyErr_Occurred()) return NULL
;
11450 } _resultobj
= Py_BuildValue("l",_result
);
11454 #define wxRegionIterator_GetWidth(_swigobj) (_swigobj->GetWidth())
11455 static PyObject
*_wrap_wxRegionIterator_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11456 PyObject
* _resultobj
;
11458 wxRegionIterator
* _arg0
;
11459 PyObject
* _argo0
= 0;
11460 char *_kwnames
[] = { "self", NULL
};
11463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetWidth",_kwnames
,&_argo0
))
11466 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11467 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetWidth. Expected _wxRegionIterator_p.");
11473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11474 _result
= (long )wxRegionIterator_GetWidth(_arg0
);
11476 wxPyEndAllowThreads(__tstate
);
11477 if (PyErr_Occurred()) return NULL
;
11478 } _resultobj
= Py_BuildValue("l",_result
);
11482 #define wxRegionIterator_GetH(_swigobj) (_swigobj->GetH())
11483 static PyObject
*_wrap_wxRegionIterator_GetH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11484 PyObject
* _resultobj
;
11486 wxRegionIterator
* _arg0
;
11487 PyObject
* _argo0
= 0;
11488 char *_kwnames
[] = { "self", NULL
};
11491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetH",_kwnames
,&_argo0
))
11494 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11495 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11496 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetH. Expected _wxRegionIterator_p.");
11501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11502 _result
= (long )wxRegionIterator_GetH(_arg0
);
11504 wxPyEndAllowThreads(__tstate
);
11505 if (PyErr_Occurred()) return NULL
;
11506 } _resultobj
= Py_BuildValue("l",_result
);
11510 #define wxRegionIterator_GetHeight(_swigobj) (_swigobj->GetHeight())
11511 static PyObject
*_wrap_wxRegionIterator_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11512 PyObject
* _resultobj
;
11514 wxRegionIterator
* _arg0
;
11515 PyObject
* _argo0
= 0;
11516 char *_kwnames
[] = { "self", NULL
};
11519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetHeight",_kwnames
,&_argo0
))
11522 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11523 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetHeight. Expected _wxRegionIterator_p.");
11529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11530 _result
= (long )wxRegionIterator_GetHeight(_arg0
);
11532 wxPyEndAllowThreads(__tstate
);
11533 if (PyErr_Occurred()) return NULL
;
11534 } _resultobj
= Py_BuildValue("l",_result
);
11538 #define wxRegionIterator_GetRect(_swigobj) (_swigobj->GetRect())
11539 static PyObject
*_wrap_wxRegionIterator_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11540 PyObject
* _resultobj
;
11542 wxRegionIterator
* _arg0
;
11543 PyObject
* _argo0
= 0;
11544 char *_kwnames
[] = { "self", NULL
};
11548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetRect",_kwnames
,&_argo0
))
11551 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11552 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetRect. Expected _wxRegionIterator_p.");
11558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11559 _result
= new wxRect (wxRegionIterator_GetRect(_arg0
));
11561 wxPyEndAllowThreads(__tstate
);
11562 if (PyErr_Occurred()) return NULL
;
11563 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
11564 _resultobj
= Py_BuildValue("s",_ptemp
);
11568 #define wxRegionIterator_HaveRects(_swigobj) (_swigobj->HaveRects())
11569 static PyObject
*_wrap_wxRegionIterator_HaveRects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11570 PyObject
* _resultobj
;
11572 wxRegionIterator
* _arg0
;
11573 PyObject
* _argo0
= 0;
11574 char *_kwnames
[] = { "self", NULL
};
11577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_HaveRects",_kwnames
,&_argo0
))
11580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_HaveRects. Expected _wxRegionIterator_p.");
11587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11588 _result
= (bool )wxRegionIterator_HaveRects(_arg0
);
11590 wxPyEndAllowThreads(__tstate
);
11591 if (PyErr_Occurred()) return NULL
;
11592 } _resultobj
= Py_BuildValue("i",_result
);
11596 #define wxRegionIterator_Reset(_swigobj) (_swigobj->Reset())
11597 static PyObject
*_wrap_wxRegionIterator_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11598 PyObject
* _resultobj
;
11599 wxRegionIterator
* _arg0
;
11600 PyObject
* _argo0
= 0;
11601 char *_kwnames
[] = { "self", NULL
};
11604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_Reset",_kwnames
,&_argo0
))
11607 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11608 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Reset. Expected _wxRegionIterator_p.");
11614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11615 wxRegionIterator_Reset(_arg0
);
11617 wxPyEndAllowThreads(__tstate
);
11618 if (PyErr_Occurred()) return NULL
;
11619 } Py_INCREF(Py_None
);
11620 _resultobj
= Py_None
;
11624 static void wxRegionIterator_Next(wxRegionIterator
*self
) {
11627 static PyObject
*_wrap_wxRegionIterator_Next(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11628 PyObject
* _resultobj
;
11629 wxRegionIterator
* _arg0
;
11630 PyObject
* _argo0
= 0;
11631 char *_kwnames
[] = { "self", NULL
};
11634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_Next",_kwnames
,&_argo0
))
11637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Next. Expected _wxRegionIterator_p.");
11644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11645 wxRegionIterator_Next(_arg0
);
11647 wxPyEndAllowThreads(__tstate
);
11648 if (PyErr_Occurred()) return NULL
;
11649 } Py_INCREF(Py_None
);
11650 _resultobj
= Py_None
;
11654 static PyMethodDef gdicMethods
[] = {
11655 { "wxRegionIterator_Next", (PyCFunction
) _wrap_wxRegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
},
11656 { "wxRegionIterator_Reset", (PyCFunction
) _wrap_wxRegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
},
11657 { "wxRegionIterator_HaveRects", (PyCFunction
) _wrap_wxRegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
},
11658 { "wxRegionIterator_GetRect", (PyCFunction
) _wrap_wxRegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
11659 { "wxRegionIterator_GetHeight", (PyCFunction
) _wrap_wxRegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
11660 { "wxRegionIterator_GetH", (PyCFunction
) _wrap_wxRegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
},
11661 { "wxRegionIterator_GetWidth", (PyCFunction
) _wrap_wxRegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11662 { "wxRegionIterator_GetW", (PyCFunction
) _wrap_wxRegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
},
11663 { "wxRegionIterator_GetY", (PyCFunction
) _wrap_wxRegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
},
11664 { "wxRegionIterator_GetX", (PyCFunction
) _wrap_wxRegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
},
11665 { "delete_wxRegionIterator", (PyCFunction
) _wrap_delete_wxRegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
11666 { "new_wxRegionIterator", (PyCFunction
) _wrap_new_wxRegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
11667 { "wxRegion_XorRegion", (PyCFunction
) _wrap_wxRegion_XorRegion
, METH_VARARGS
| METH_KEYWORDS
},
11668 { "wxRegion_XorRect", (PyCFunction
) _wrap_wxRegion_XorRect
, METH_VARARGS
| METH_KEYWORDS
},
11669 { "wxRegion_Xor", (PyCFunction
) _wrap_wxRegion_Xor
, METH_VARARGS
| METH_KEYWORDS
},
11670 { "wxRegion_SubtractRegion", (PyCFunction
) _wrap_wxRegion_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
},
11671 { "wxRegion_SubtractRect", (PyCFunction
) _wrap_wxRegion_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
},
11672 { "wxRegion_Subtract", (PyCFunction
) _wrap_wxRegion_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
11673 { "wxRegion_UnionRegion", (PyCFunction
) _wrap_wxRegion_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
},
11674 { "wxRegion_UnionRect", (PyCFunction
) _wrap_wxRegion_UnionRect
, METH_VARARGS
| METH_KEYWORDS
},
11675 { "wxRegion_Union", (PyCFunction
) _wrap_wxRegion_Union
, METH_VARARGS
| METH_KEYWORDS
},
11676 { "wxRegion_IsEmpty", (PyCFunction
) _wrap_wxRegion_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
11677 { "wxRegion_IntersectRegion", (PyCFunction
) _wrap_wxRegion_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
},
11678 { "wxRegion_IntersectRect", (PyCFunction
) _wrap_wxRegion_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
11679 { "wxRegion_Intersect", (PyCFunction
) _wrap_wxRegion_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
11680 { "wxRegion_GetBox", (PyCFunction
) _wrap_wxRegion_GetBox
, METH_VARARGS
| METH_KEYWORDS
},
11681 { "wxRegion_ContainsRectDim", (PyCFunction
) _wrap_wxRegion_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
},
11682 { "wxRegion_ContainsRect", (PyCFunction
) _wrap_wxRegion_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
},
11683 { "wxRegion_ContainsPoint", (PyCFunction
) _wrap_wxRegion_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
},
11684 { "wxRegion_Contains", (PyCFunction
) _wrap_wxRegion_Contains
, METH_VARARGS
| METH_KEYWORDS
},
11685 { "wxRegion_Offset", (PyCFunction
) _wrap_wxRegion_Offset
, METH_VARARGS
| METH_KEYWORDS
},
11686 { "wxRegion_Clear", (PyCFunction
) _wrap_wxRegion_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11687 { "delete_wxRegion", (PyCFunction
) _wrap_delete_wxRegion
, METH_VARARGS
| METH_KEYWORDS
},
11688 { "new_wxRegion", (PyCFunction
) _wrap_new_wxRegion
, METH_VARARGS
| METH_KEYWORDS
},
11689 { "wxImageList_GetSize", (PyCFunction
) _wrap_wxImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
11690 { "wxImageList_RemoveAll", (PyCFunction
) _wrap_wxImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
},
11691 { "wxImageList_Remove", (PyCFunction
) _wrap_wxImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
},
11692 { "wxImageList_GetImageCount", (PyCFunction
) _wrap_wxImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
11693 { "wxImageList_Draw", (PyCFunction
) _wrap_wxImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
},
11694 { "wxImageList_Replace", (PyCFunction
) _wrap_wxImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
},
11695 { "wxImageList_AddIcon", (PyCFunction
) _wrap_wxImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
11696 { "wxImageList_AddWithColourMask", (PyCFunction
) _wrap_wxImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
},
11697 { "wxImageList_Add", (PyCFunction
) _wrap_wxImageList_Add
, METH_VARARGS
| METH_KEYWORDS
},
11698 { "delete_wxImageList", (PyCFunction
) _wrap_delete_wxImageList
, METH_VARARGS
| METH_KEYWORDS
},
11699 { "new_wxImageList", (PyCFunction
) _wrap_new_wxImageList
, METH_VARARGS
| METH_KEYWORDS
},
11700 { "wxPalette_Ok", (PyCFunction
) _wrap_wxPalette_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11701 { "wxPalette_GetRGB", (PyCFunction
) _wrap_wxPalette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
11702 { "wxPalette_GetPixel", (PyCFunction
) _wrap_wxPalette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
11703 { "delete_wxPalette", (PyCFunction
) _wrap_delete_wxPalette
, METH_VARARGS
| METH_KEYWORDS
},
11704 { "new_wxPalette", (PyCFunction
) _wrap_new_wxPalette
, METH_VARARGS
| METH_KEYWORDS
},
11705 { "new_wxWindowDC", (PyCFunction
) _wrap_new_wxWindowDC
, METH_VARARGS
| METH_KEYWORDS
},
11706 { "new_wxPaintDC", (PyCFunction
) _wrap_new_wxPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
11707 { "new_wxClientDC", (PyCFunction
) _wrap_new_wxClientDC
, METH_VARARGS
| METH_KEYWORDS
},
11708 { "wxScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_wxScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
11709 { "wxScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_wxScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
11710 { "wxScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_wxScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
},
11711 { "new_wxScreenDC", (PyCFunction
) _wrap_new_wxScreenDC
, METH_VARARGS
| METH_KEYWORDS
},
11712 { "new_wxBufferedPaintDC", (PyCFunction
) _wrap_new_wxBufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
11713 { "new_wxBufferedDCInternalBuffer", (PyCFunction
) _wrap_new_wxBufferedDCInternalBuffer
, METH_VARARGS
| METH_KEYWORDS
},
11714 { "new_wxBufferedDC", (PyCFunction
) _wrap_new_wxBufferedDC
, METH_VARARGS
| METH_KEYWORDS
},
11715 { "wxMemoryDC_SelectObject", (PyCFunction
) _wrap_wxMemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
},
11716 { "new_wxMemoryDC", (PyCFunction
) _wrap_new_wxMemoryDC
, METH_VARARGS
| METH_KEYWORDS
},
11717 { "wxDC__DrawLineList", (PyCFunction
) _wrap_wxDC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
},
11718 { "wxDC__DrawPointList", (PyCFunction
) _wrap_wxDC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
},
11719 { "wxDC_GetBoundingBox", (PyCFunction
) _wrap_wxDC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
11720 { "wxDC_ResetBoundingBox", (PyCFunction
) _wrap_wxDC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
11721 { "wxDC_CalcBoundingBox", (PyCFunction
) _wrap_wxDC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
11722 { "wxDC_SetAxisOrientation", (PyCFunction
) _wrap_wxDC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
},
11723 { "wxDC_GetDeviceOrigin", (PyCFunction
) _wrap_wxDC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
11724 { "wxDC_SetLogicalOrigin", (PyCFunction
) _wrap_wxDC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
11725 { "wxDC_GetLogicalOrigin", (PyCFunction
) _wrap_wxDC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
11726 { "wxDC_GetPPI", (PyCFunction
) _wrap_wxDC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
},
11727 { "wxDC_GetDepth", (PyCFunction
) _wrap_wxDC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
11728 { "wxDC_CanGetTextExtent", (PyCFunction
) _wrap_wxDC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
11729 { "wxDC_CanDrawBitmap", (PyCFunction
) _wrap_wxDC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11730 { "wxDC_DrawBitmap", (PyCFunction
) _wrap_wxDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11731 { "wxDC_StartPage", (PyCFunction
) _wrap_wxDC_StartPage
, METH_VARARGS
| METH_KEYWORDS
},
11732 { "wxDC_StartDoc", (PyCFunction
) _wrap_wxDC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
},
11733 { "wxDC_SetUserScale", (PyCFunction
) _wrap_wxDC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
11734 { "wxDC_SetTextForeground", (PyCFunction
) _wrap_wxDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
11735 { "wxDC_SetTextBackground", (PyCFunction
) _wrap_wxDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
11736 { "wxDC_SetPen", (PyCFunction
) _wrap_wxDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
11737 { "wxDC_SetOptimization", (PyCFunction
) _wrap_wxDC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
11738 { "wxDC_SetMapMode", (PyCFunction
) _wrap_wxDC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
11739 { "wxDC_SetLogicalScale", (PyCFunction
) _wrap_wxDC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
11740 { "wxDC_SetLogicalFunction", (PyCFunction
) _wrap_wxDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
11741 { "wxDC_SetFont", (PyCFunction
) _wrap_wxDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
11742 { "wxDC_SetBrush", (PyCFunction
) _wrap_wxDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
11743 { "wxDC_SetPalette", (PyCFunction
) _wrap_wxDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
11744 { "wxDC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_wxDC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
},
11745 { "wxDC_SetClippingRegion", (PyCFunction
) _wrap_wxDC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
11746 { "wxDC_SetBackgroundMode", (PyCFunction
) _wrap_wxDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
11747 { "wxDC_SetBackground", (PyCFunction
) _wrap_wxDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
},
11748 { "wxDC_SetDeviceOrigin", (PyCFunction
) _wrap_wxDC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
11749 { "wxDC_Ok", (PyCFunction
) _wrap_wxDC_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11750 { "wxDC_MinY", (PyCFunction
) _wrap_wxDC_MinY
, METH_VARARGS
| METH_KEYWORDS
},
11751 { "wxDC_MinX", (PyCFunction
) _wrap_wxDC_MinX
, METH_VARARGS
| METH_KEYWORDS
},
11752 { "wxDC_MaxY", (PyCFunction
) _wrap_wxDC_MaxY
, METH_VARARGS
| METH_KEYWORDS
},
11753 { "wxDC_MaxX", (PyCFunction
) _wrap_wxDC_MaxX
, METH_VARARGS
| METH_KEYWORDS
},
11754 { "wxDC_LogicalToDeviceYRel", (PyCFunction
) _wrap_wxDC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
},
11755 { "wxDC_LogicalToDeviceY", (PyCFunction
) _wrap_wxDC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
},
11756 { "wxDC_LogicalToDeviceXRel", (PyCFunction
) _wrap_wxDC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
},
11757 { "wxDC_LogicalToDeviceX", (PyCFunction
) _wrap_wxDC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
},
11758 { "wxDC_GetUserScale", (PyCFunction
) _wrap_wxDC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
11759 { "wxDC_GetTextForeground", (PyCFunction
) _wrap_wxDC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
11760 { "wxDC_GetFullTextExtent", (PyCFunction
) _wrap_wxDC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
11761 { "wxDC_GetTextExtent", (PyCFunction
) _wrap_wxDC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
11762 { "wxDC_GetTextBackground", (PyCFunction
) _wrap_wxDC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
11763 { "wxDC_GetSizeMM", (PyCFunction
) _wrap_wxDC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
11764 { "wxDC_GetSize", (PyCFunction
) _wrap_wxDC_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
11765 { "wxDC_GetSizeTuple", (PyCFunction
) _wrap_wxDC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
11766 { "wxDC_GetPixel", (PyCFunction
) _wrap_wxDC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
11767 { "wxDC_GetPen", (PyCFunction
) _wrap_wxDC_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
11768 { "wxDC_GetOptimization", (PyCFunction
) _wrap_wxDC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
11769 { "wxDC_GetMapMode", (PyCFunction
) _wrap_wxDC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
11770 { "wxDC_GetLogicalScale", (PyCFunction
) _wrap_wxDC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
11771 { "wxDC_GetLogicalFunction", (PyCFunction
) _wrap_wxDC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
11772 { "wxDC_GetFont", (PyCFunction
) _wrap_wxDC_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
11773 { "wxDC_GetClippingBox", (PyCFunction
) _wrap_wxDC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
},
11774 { "wxDC_GetCharWidth", (PyCFunction
) _wrap_wxDC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
11775 { "wxDC_GetCharHeight", (PyCFunction
) _wrap_wxDC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
11776 { "wxDC_GetBrush", (PyCFunction
) _wrap_wxDC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
11777 { "wxDC_GetBackground", (PyCFunction
) _wrap_wxDC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
},
11778 { "wxDC_FloodFill", (PyCFunction
) _wrap_wxDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
},
11779 { "wxDC_EndPage", (PyCFunction
) _wrap_wxDC_EndPage
, METH_VARARGS
| METH_KEYWORDS
},
11780 { "wxDC_EndDrawing", (PyCFunction
) _wrap_wxDC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
},
11781 { "wxDC_EndDoc", (PyCFunction
) _wrap_wxDC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
},
11782 { "wxDC_DrawText", (PyCFunction
) _wrap_wxDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
11783 { "wxDC_DrawSpline", (PyCFunction
) _wrap_wxDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
11784 { "wxDC_DrawRoundedRectangle", (PyCFunction
) _wrap_wxDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
11785 { "wxDC_DrawRotatedText", (PyCFunction
) _wrap_wxDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
},
11786 { "wxDC_DrawRectangle", (PyCFunction
) _wrap_wxDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
11787 { "wxDC_DrawPoint", (PyCFunction
) _wrap_wxDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
11788 { "wxDC_DrawPolygon", (PyCFunction
) _wrap_wxDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
11789 { "wxDC_DrawLines", (PyCFunction
) _wrap_wxDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
11790 { "wxDC_DrawLine", (PyCFunction
) _wrap_wxDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
11791 { "wxDC_DrawImageLabel", (PyCFunction
) _wrap_wxDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
},
11792 { "wxDC_DrawLabel", (PyCFunction
) _wrap_wxDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
},
11793 { "wxDC_DrawIcon", (PyCFunction
) _wrap_wxDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
},
11794 { "wxDC_DrawEllipticArc", (PyCFunction
) _wrap_wxDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
11795 { "wxDC_DrawEllipse", (PyCFunction
) _wrap_wxDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
11796 { "wxDC_DrawCircle", (PyCFunction
) _wrap_wxDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
},
11797 { "wxDC_DrawArc", (PyCFunction
) _wrap_wxDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
11798 { "wxDC_DeviceToLogicalYRel", (PyCFunction
) _wrap_wxDC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
},
11799 { "wxDC_DeviceToLogicalY", (PyCFunction
) _wrap_wxDC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
},
11800 { "wxDC_DeviceToLogicalXRel", (PyCFunction
) _wrap_wxDC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
},
11801 { "wxDC_DeviceToLogicalX", (PyCFunction
) _wrap_wxDC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
},
11802 { "wxDC_DestroyClippingRegion", (PyCFunction
) _wrap_wxDC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
11803 { "wxDC_CrossHair", (PyCFunction
) _wrap_wxDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
},
11804 { "wxDC_Clear", (PyCFunction
) _wrap_wxDC_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11805 { "wxDC_Blit", (PyCFunction
) _wrap_wxDC_Blit
, METH_VARARGS
| METH_KEYWORDS
},
11806 { "wxDC_BeginDrawing", (PyCFunction
) _wrap_wxDC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
},
11807 { "delete_wxDC", (PyCFunction
) _wrap_delete_wxDC
, METH_VARARGS
| METH_KEYWORDS
},
11808 { "wxBrushList_GetCount", (PyCFunction
) _wrap_wxBrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11809 { "wxBrushList_RemoveBrush", (PyCFunction
) _wrap_wxBrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
},
11810 { "wxBrushList_FindOrCreateBrush", (PyCFunction
) _wrap_wxBrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
},
11811 { "wxBrushList_AddBrush", (PyCFunction
) _wrap_wxBrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
},
11812 { "wxBrush_SetStyle", (PyCFunction
) _wrap_wxBrush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11813 { "wxBrush_SetStipple", (PyCFunction
) _wrap_wxBrush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
11814 { "wxBrush_SetColour", (PyCFunction
) _wrap_wxBrush_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
11815 { "wxBrush_Ok", (PyCFunction
) _wrap_wxBrush_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11816 { "wxBrush_GetStyle", (PyCFunction
) _wrap_wxBrush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11817 { "wxBrush_GetStipple", (PyCFunction
) _wrap_wxBrush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
11818 { "wxBrush_GetColour", (PyCFunction
) _wrap_wxBrush_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
11819 { "delete_wxBrush", (PyCFunction
) _wrap_delete_wxBrush
, METH_VARARGS
| METH_KEYWORDS
},
11820 { "new_wxBrush", (PyCFunction
) _wrap_new_wxBrush
, METH_VARARGS
| METH_KEYWORDS
},
11821 { "wxPenList_GetCount", (PyCFunction
) _wrap_wxPenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11822 { "wxPenList_RemovePen", (PyCFunction
) _wrap_wxPenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
},
11823 { "wxPenList_FindOrCreatePen", (PyCFunction
) _wrap_wxPenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
},
11824 { "wxPenList_AddPen", (PyCFunction
) _wrap_wxPenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
},
11825 { "wxPyPen_SetDashes", (PyCFunction
) _wrap_wxPyPen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
11826 { "delete_wxPyPen", (PyCFunction
) _wrap_delete_wxPyPen
, METH_VARARGS
| METH_KEYWORDS
},
11827 { "new_wxPyPen", (PyCFunction
) _wrap_new_wxPyPen
, METH_VARARGS
| METH_KEYWORDS
},
11828 { "wxPen_SetDashes", (PyCFunction
) _wrap_wxPen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
11829 { "wxPen_SetWidth", (PyCFunction
) _wrap_wxPen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11830 { "wxPen_SetStyle", (PyCFunction
) _wrap_wxPen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11831 { "wxPen_SetJoin", (PyCFunction
) _wrap_wxPen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
},
11832 { "wxPen_SetColour", (PyCFunction
) _wrap_wxPen_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
11833 { "wxPen_SetCap", (PyCFunction
) _wrap_wxPen_SetCap
, METH_VARARGS
| METH_KEYWORDS
},
11834 { "wxPen_Ok", (PyCFunction
) _wrap_wxPen_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11835 { "wxPen_GetWidth", (PyCFunction
) _wrap_wxPen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11836 { "wxPen_GetStyle", (PyCFunction
) _wrap_wxPen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11837 { "wxPen_GetJoin", (PyCFunction
) _wrap_wxPen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
},
11838 { "wxPen_GetColour", (PyCFunction
) _wrap_wxPen_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
11839 { "wxPen_GetCap", (PyCFunction
) _wrap_wxPen_GetCap
, METH_VARARGS
| METH_KEYWORDS
},
11840 { "delete_wxPen", (PyCFunction
) _wrap_delete_wxPen
, METH_VARARGS
| METH_KEYWORDS
},
11841 { "new_wxPen", (PyCFunction
) _wrap_new_wxPen
, METH_VARARGS
| METH_KEYWORDS
},
11842 { "wxColourDatabase_Append", (PyCFunction
) _wrap_wxColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
},
11843 { "wxColourDatabase_FindName", (PyCFunction
) _wrap_wxColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
},
11844 { "wxColourDatabase_FindColour", (PyCFunction
) _wrap_wxColourDatabase_FindColour
, METH_VARARGS
| METH_KEYWORDS
},
11845 { "wxColour_Get", (PyCFunction
) _wrap_wxColour_Get
, METH_VARARGS
| METH_KEYWORDS
},
11846 { "wxColour_Set", (PyCFunction
) _wrap_wxColour_Set
, METH_VARARGS
| METH_KEYWORDS
},
11847 { "wxColour_Ok", (PyCFunction
) _wrap_wxColour_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11848 { "wxColour_Blue", (PyCFunction
) _wrap_wxColour_Blue
, METH_VARARGS
| METH_KEYWORDS
},
11849 { "wxColour_Green", (PyCFunction
) _wrap_wxColour_Green
, METH_VARARGS
| METH_KEYWORDS
},
11850 { "wxColour_Red", (PyCFunction
) _wrap_wxColour_Red
, METH_VARARGS
| METH_KEYWORDS
},
11851 { "delete_wxColour", (PyCFunction
) _wrap_delete_wxColour
, METH_VARARGS
| METH_KEYWORDS
},
11852 { "new_wxColour", (PyCFunction
) _wrap_new_wxColour
, METH_VARARGS
| METH_KEYWORDS
},
11853 { "wxFontList_GetCount", (PyCFunction
) _wrap_wxFontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11854 { "wxFontList_RemoveFont", (PyCFunction
) _wrap_wxFontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
},
11855 { "wxFontList_FindOrCreateFont", (PyCFunction
) _wrap_wxFontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
},
11856 { "wxFontList_AddFont", (PyCFunction
) _wrap_wxFontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
},
11857 { "wxFont_SetDefaultEncoding", (PyCFunction
) _wrap_wxFont_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
11858 { "wxFont_GetDefaultEncoding", (PyCFunction
) _wrap_wxFont_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
11859 { "wxFont_GetWeightString", (PyCFunction
) _wrap_wxFont_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
},
11860 { "wxFont_GetStyleString", (PyCFunction
) _wrap_wxFont_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
},
11861 { "wxFont_GetFamilyString", (PyCFunction
) _wrap_wxFont_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
},
11862 { "wxFont_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_wxFont_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
11863 { "wxFont_SetNativeFontInfo", (PyCFunction
) _wrap_wxFont_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
11864 { "wxFont_SetEncoding", (PyCFunction
) _wrap_wxFont_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
11865 { "wxFont_SetUnderlined", (PyCFunction
) _wrap_wxFont_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
11866 { "wxFont_SetFaceName", (PyCFunction
) _wrap_wxFont_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
11867 { "wxFont_SetWeight", (PyCFunction
) _wrap_wxFont_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
11868 { "wxFont_SetStyle", (PyCFunction
) _wrap_wxFont_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11869 { "wxFont_SetFamily", (PyCFunction
) _wrap_wxFont_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
11870 { "wxFont_SetPointSize", (PyCFunction
) _wrap_wxFont_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
11871 { "wxFont_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_wxFont_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
11872 { "wxFont_GetNativeFontInfoDesc", (PyCFunction
) _wrap_wxFont_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
},
11873 { "wxFont_GetNativeFontInfo", (PyCFunction
) _wrap_wxFont_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
11874 { "wxFont_IsFixedWidth", (PyCFunction
) _wrap_wxFont_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
},
11875 { "wxFont_GetEncoding", (PyCFunction
) _wrap_wxFont_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
11876 { "wxFont_GetFaceName", (PyCFunction
) _wrap_wxFont_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
11877 { "wxFont_GetUnderlined", (PyCFunction
) _wrap_wxFont_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
11878 { "wxFont_GetWeight", (PyCFunction
) _wrap_wxFont_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
11879 { "wxFont_GetStyle", (PyCFunction
) _wrap_wxFont_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11880 { "wxFont_GetFamily", (PyCFunction
) _wrap_wxFont_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
11881 { "wxFont_GetPointSize", (PyCFunction
) _wrap_wxFont_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
11882 { "wxFont_Ok", (PyCFunction
) _wrap_wxFont_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11883 { "delete_wxFont", (PyCFunction
) _wrap_delete_wxFont
, METH_VARARGS
| METH_KEYWORDS
},
11884 { "new_wxFontFromNativeInfo", (PyCFunction
) _wrap_new_wxFontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
},
11885 { "new_wxFont", (PyCFunction
) _wrap_new_wxFont
, METH_VARARGS
| METH_KEYWORDS
},
11886 { "wxFontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_wxFontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
11887 { "wxFontMapper_SetConfigPath", (PyCFunction
) _wrap_wxFontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
11888 { "wxFontMapper_SetConfig", (PyCFunction
) _wrap_wxFontMapper_SetConfig
, METH_VARARGS
| METH_KEYWORDS
},
11889 { "wxFontMapper_SetDialogTitle", (PyCFunction
) _wrap_wxFontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
},
11890 { "wxFontMapper_SetDialogParent", (PyCFunction
) _wrap_wxFontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
},
11891 { "wxFontMapper_GetEncodingDescription", (PyCFunction
) _wrap_wxFontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
},
11892 { "wxFontMapper_GetEncodingName", (PyCFunction
) _wrap_wxFontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
11893 { "wxFontMapper_CharsetToEncoding", (PyCFunction
) _wrap_wxFontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
},
11894 { "wxFontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_wxFontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
},
11895 { "wxFontMapper_GetAltForEncoding", (PyCFunction
) _wrap_wxFontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
},
11896 { "delete_wxFontMapper", (PyCFunction
) _wrap_delete_wxFontMapper
, METH_VARARGS
| METH_KEYWORDS
},
11897 { "new_wxFontMapper", (PyCFunction
) _wrap_new_wxFontMapper
, METH_VARARGS
| METH_KEYWORDS
},
11898 { "wxNativeFontInfo_ToUserString", (PyCFunction
) _wrap_wxNativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
},
11899 { "wxNativeFontInfo_FromUserString", (PyCFunction
) _wrap_wxNativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
},
11900 { "wxNativeFontInfo___str__", (PyCFunction
) _wrap_wxNativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
},
11901 { "wxNativeFontInfo_ToString", (PyCFunction
) _wrap_wxNativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
11902 { "wxNativeFontInfo_FromString", (PyCFunction
) _wrap_wxNativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
11903 { "wxNativeFontInfo_Init", (PyCFunction
) _wrap_wxNativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
},
11904 { "new_wxNativeFontInfo", (PyCFunction
) _wrap_new_wxNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
11905 { "wxNativeFontInfo_SetXFontName", (PyCFunction
) _wrap_wxNativeFontInfo_SetXFontName
, METH_VARARGS
| METH_KEYWORDS
},
11906 { "wxNativeFontInfo_GetXFontName", (PyCFunction
) _wrap_wxNativeFontInfo_GetXFontName
, METH_VARARGS
| METH_KEYWORDS
},
11907 { "wxNativeFontInfo_IsDefault", (PyCFunction
) _wrap_wxNativeFontInfo_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
11908 { "wxNativeFontInfo_FromXFontName", (PyCFunction
) _wrap_wxNativeFontInfo_FromXFontName
, METH_VARARGS
| METH_KEYWORDS
},
11909 { "wxCursor_Ok", (PyCFunction
) _wrap_wxCursor_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11910 { "delete_wxCursor", (PyCFunction
) _wrap_delete_wxCursor
, METH_VARARGS
| METH_KEYWORDS
},
11911 { "wxIcon_CopyFromBitmap", (PyCFunction
) _wrap_wxIcon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11912 { "wxIcon_SetDepth", (PyCFunction
) _wrap_wxIcon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
11913 { "wxIcon_SetHeight", (PyCFunction
) _wrap_wxIcon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
11914 { "wxIcon_SetWidth", (PyCFunction
) _wrap_wxIcon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11915 { "wxIcon_GetDepth", (PyCFunction
) _wrap_wxIcon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
11916 { "wxIcon_GetHeight", (PyCFunction
) _wrap_wxIcon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
11917 { "wxIcon_GetWidth", (PyCFunction
) _wrap_wxIcon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11918 { "wxIcon_Ok", (PyCFunction
) _wrap_wxIcon_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11919 { "wxIcon_LoadFile", (PyCFunction
) _wrap_wxIcon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
11920 { "delete_wxIcon", (PyCFunction
) _wrap_delete_wxIcon
, METH_VARARGS
| METH_KEYWORDS
},
11921 { "new_wxIcon", (PyCFunction
) _wrap_new_wxIcon
, METH_VARARGS
| METH_KEYWORDS
},
11922 { "wxMask_Destroy", (PyCFunction
) _wrap_wxMask_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
11923 { "new_wxMask", (PyCFunction
) _wrap_new_wxMask
, METH_VARARGS
| METH_KEYWORDS
},
11924 { "wxBitmap_CopyFromIcon", (PyCFunction
) _wrap_wxBitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
11925 { "wxBitmap_GetSubBitmap", (PyCFunction
) _wrap_wxBitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11926 { "wxBitmap_SetDepth", (PyCFunction
) _wrap_wxBitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
11927 { "wxBitmap_SetHeight", (PyCFunction
) _wrap_wxBitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
11928 { "wxBitmap_SetWidth", (PyCFunction
) _wrap_wxBitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11929 { "wxBitmap_GetDepth", (PyCFunction
) _wrap_wxBitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
11930 { "wxBitmap_GetHeight", (PyCFunction
) _wrap_wxBitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
11931 { "wxBitmap_GetWidth", (PyCFunction
) _wrap_wxBitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11932 { "wxBitmap_Ok", (PyCFunction
) _wrap_wxBitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11933 { "wxBitmap_SetMask", (PyCFunction
) _wrap_wxBitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
11934 { "wxBitmap_SaveFile", (PyCFunction
) _wrap_wxBitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
11935 { "wxBitmap_LoadFile", (PyCFunction
) _wrap_wxBitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
11936 { "wxBitmap_GetMask", (PyCFunction
) _wrap_wxBitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
11937 { "wxBitmap_GetPalette", (PyCFunction
) _wrap_wxBitmap_GetPalette
, METH_VARARGS
| METH_KEYWORDS
},
11938 { "delete_wxBitmap", (PyCFunction
) _wrap_delete_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11939 { "new_wxBitmap", (PyCFunction
) _wrap_new_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11940 { "wxGDIObject_IsNull", (PyCFunction
) _wrap_wxGDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
11941 { "wxGDIObject_SetVisible", (PyCFunction
) _wrap_wxGDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
},
11942 { "wxGDIObject_GetVisible", (PyCFunction
) _wrap_wxGDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
},
11943 { "delete_wxGDIObject", (PyCFunction
) _wrap_delete_wxGDIObject
, METH_VARARGS
| METH_KEYWORDS
},
11944 { "new_wxGDIObject", (PyCFunction
) _wrap_new_wxGDIObject
, METH_VARARGS
| METH_KEYWORDS
},
11945 { "wxMemoryDCFromDC", (PyCFunction
) _wrap_wxMemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
},
11946 { "wxNamedColour", (PyCFunction
) _wrap_wxNamedColour
, METH_VARARGS
| METH_KEYWORDS
},
11947 { "wxStockCursor", (PyCFunction
) _wrap_wxStockCursor
, METH_VARARGS
| METH_KEYWORDS
},
11948 { "wxIconFromBitmap", (PyCFunction
) _wrap_wxIconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11949 { "wxIconFromXPMData", (PyCFunction
) _wrap_wxIconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
11950 { "wxEmptyIcon", (PyCFunction
) _wrap_wxEmptyIcon
, METH_VARARGS
| METH_KEYWORDS
},
11951 { "wxMaskColour", (PyCFunction
) _wrap_wxMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
11952 { "wxBitmapFromBits", (PyCFunction
) _wrap_wxBitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
},
11953 { "wxBitmapFromIcon", (PyCFunction
) _wrap_wxBitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
11954 { "wxBitmapFromXPMData", (PyCFunction
) _wrap_wxBitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
11955 { "wxEmptyBitmap", (PyCFunction
) _wrap_wxEmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11962 * This table is used by the pointer type-checker
11964 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
11965 { "_signed_long","_long",0},
11966 { "_wxPrintQuality","_wxCoord",0},
11967 { "_wxPrintQuality","_int",0},
11968 { "_wxPrintQuality","_signed_int",0},
11969 { "_wxPrintQuality","_unsigned_int",0},
11970 { "_wxPrintQuality","_wxWindowID",0},
11971 { "_wxPrintQuality","_uint",0},
11972 { "_wxPrintQuality","_EBool",0},
11973 { "_wxPrintQuality","_size_t",0},
11974 { "_wxPrintQuality","_time_t",0},
11975 { "_wxPen","_wxPyPen",SwigwxPyPenTowxPen
},
11976 { "_byte","_unsigned_char",0},
11977 { "_long","_unsigned_long",0},
11978 { "_long","_signed_long",0},
11979 { "_wxGDIObject","_wxRegion",SwigwxRegionTowxGDIObject
},
11980 { "_wxGDIObject","_wxPalette",SwigwxPaletteTowxGDIObject
},
11981 { "_wxGDIObject","_wxBrush",SwigwxBrushTowxGDIObject
},
11982 { "_wxGDIObject","_wxPyPen",SwigwxPyPenTowxGDIObject
},
11983 { "_wxGDIObject","_wxPen",SwigwxPenTowxGDIObject
},
11984 { "_wxGDIObject","_wxFont",SwigwxFontTowxGDIObject
},
11985 { "_wxGDIObject","_wxCursor",SwigwxCursorTowxGDIObject
},
11986 { "_wxGDIObject","_wxIcon",SwigwxIconTowxGDIObject
},
11987 { "_wxGDIObject","_wxBitmap",SwigwxBitmapTowxGDIObject
},
11988 { "_wxDC","_wxWindowDC",SwigwxWindowDCTowxDC
},
11989 { "_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC
},
11990 { "_wxDC","_wxClientDC",SwigwxClientDCTowxDC
},
11991 { "_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC
},
11992 { "_wxDC","_wxBufferedPaintDC",SwigwxBufferedPaintDCTowxDC
},
11993 { "_wxDC","_wxBufferedDC",SwigwxBufferedDCTowxDC
},
11994 { "_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC
},
11995 { "_size_t","_wxCoord",0},
11996 { "_size_t","_wxPrintQuality",0},
11997 { "_size_t","_time_t",0},
11998 { "_size_t","_unsigned_int",0},
11999 { "_size_t","_int",0},
12000 { "_size_t","_wxWindowID",0},
12001 { "_size_t","_uint",0},
12002 { "_uint","_wxCoord",0},
12003 { "_uint","_wxPrintQuality",0},
12004 { "_uint","_time_t",0},
12005 { "_uint","_size_t",0},
12006 { "_uint","_unsigned_int",0},
12007 { "_uint","_int",0},
12008 { "_uint","_wxWindowID",0},
12009 { "_wxChar","_char",0},
12010 { "_char","_wxChar",0},
12011 { "_wxBufferedDC","_wxBufferedPaintDC",SwigwxBufferedPaintDCTowxBufferedDC
},
12012 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
12013 { "_EBool","_wxCoord",0},
12014 { "_EBool","_wxPrintQuality",0},
12015 { "_EBool","_signed_int",0},
12016 { "_EBool","_int",0},
12017 { "_EBool","_wxWindowID",0},
12018 { "_unsigned_long","_long",0},
12019 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
12020 { "_signed_int","_wxCoord",0},
12021 { "_signed_int","_wxPrintQuality",0},
12022 { "_signed_int","_EBool",0},
12023 { "_signed_int","_wxWindowID",0},
12024 { "_signed_int","_int",0},
12025 { "_WXTYPE","_short",0},
12026 { "_WXTYPE","_signed_short",0},
12027 { "_WXTYPE","_unsigned_short",0},
12028 { "_unsigned_short","_WXTYPE",0},
12029 { "_unsigned_short","_short",0},
12030 { "_wxObject","_wxRegionIterator",SwigwxRegionIteratorTowxObject
},
12031 { "_wxObject","_wxRegion",SwigwxRegionTowxObject
},
12032 { "_wxObject","_wxImageList",SwigwxImageListTowxObject
},
12033 { "_wxObject","_wxPalette",SwigwxPaletteTowxObject
},
12034 { "_wxObject","_wxWindowDC",SwigwxWindowDCTowxObject
},
12035 { "_wxObject","_wxPaintDC",SwigwxPaintDCTowxObject
},
12036 { "_wxObject","_wxClientDC",SwigwxClientDCTowxObject
},
12037 { "_wxObject","_wxScreenDC",SwigwxScreenDCTowxObject
},
12038 { "_wxObject","_wxBufferedPaintDC",SwigwxBufferedPaintDCTowxObject
},
12039 { "_wxObject","_wxBufferedDC",SwigwxBufferedDCTowxObject
},
12040 { "_wxObject","_wxMemoryDC",SwigwxMemoryDCTowxObject
},
12041 { "_wxObject","_wxDC",SwigwxDCTowxObject
},
12042 { "_wxObject","_wxBrushList",SwigwxBrushListTowxObject
},
12043 { "_wxObject","_wxBrush",SwigwxBrushTowxObject
},
12044 { "_wxObject","_wxPenList",SwigwxPenListTowxObject
},
12045 { "_wxObject","_wxPyPen",SwigwxPyPenTowxObject
},
12046 { "_wxObject","_wxPen",SwigwxPenTowxObject
},
12047 { "_wxObject","_wxColourDatabase",SwigwxColourDatabaseTowxObject
},
12048 { "_wxObject","_wxColour",SwigwxColourTowxObject
},
12049 { "_wxObject","_wxFontList",SwigwxFontListTowxObject
},
12050 { "_wxObject","_wxFont",SwigwxFontTowxObject
},
12051 { "_wxObject","_wxCursor",SwigwxCursorTowxObject
},
12052 { "_wxObject","_wxIcon",SwigwxIconTowxObject
},
12053 { "_wxObject","_wxMask",SwigwxMaskTowxObject
},
12054 { "_wxObject","_wxBitmap",SwigwxBitmapTowxObject
},
12055 { "_wxObject","_wxGDIObject",SwigwxGDIObjectTowxObject
},
12056 { "_signed_short","_WXTYPE",0},
12057 { "_signed_short","_short",0},
12058 { "_wxMemoryDC","_wxBufferedPaintDC",SwigwxBufferedPaintDCTowxMemoryDC
},
12059 { "_wxMemoryDC","_wxBufferedDC",SwigwxBufferedDCTowxMemoryDC
},
12060 { "_unsigned_char","_byte",0},
12061 { "_unsigned_int","_wxCoord",0},
12062 { "_unsigned_int","_wxPrintQuality",0},
12063 { "_unsigned_int","_time_t",0},
12064 { "_unsigned_int","_size_t",0},
12065 { "_unsigned_int","_uint",0},
12066 { "_unsigned_int","_wxWindowID",0},
12067 { "_unsigned_int","_int",0},
12068 { "_short","_WXTYPE",0},
12069 { "_short","_unsigned_short",0},
12070 { "_short","_signed_short",0},
12071 { "_wxWindowID","_wxCoord",0},
12072 { "_wxWindowID","_wxPrintQuality",0},
12073 { "_wxWindowID","_time_t",0},
12074 { "_wxWindowID","_size_t",0},
12075 { "_wxWindowID","_EBool",0},
12076 { "_wxWindowID","_uint",0},
12077 { "_wxWindowID","_int",0},
12078 { "_wxWindowID","_signed_int",0},
12079 { "_wxWindowID","_unsigned_int",0},
12080 { "_int","_wxCoord",0},
12081 { "_int","_wxPrintQuality",0},
12082 { "_int","_time_t",0},
12083 { "_int","_size_t",0},
12084 { "_int","_EBool",0},
12085 { "_int","_uint",0},
12086 { "_int","_wxWindowID",0},
12087 { "_int","_unsigned_int",0},
12088 { "_int","_signed_int",0},
12089 { "_time_t","_wxCoord",0},
12090 { "_time_t","_wxPrintQuality",0},
12091 { "_time_t","_unsigned_int",0},
12092 { "_time_t","_int",0},
12093 { "_time_t","_wxWindowID",0},
12094 { "_time_t","_uint",0},
12095 { "_time_t","_size_t",0},
12096 { "_wxCoord","_int",0},
12097 { "_wxCoord","_signed_int",0},
12098 { "_wxCoord","_unsigned_int",0},
12099 { "_wxCoord","_wxWindowID",0},
12100 { "_wxCoord","_uint",0},
12101 { "_wxCoord","_EBool",0},
12102 { "_wxCoord","_size_t",0},
12103 { "_wxCoord","_time_t",0},
12104 { "_wxCoord","_wxPrintQuality",0},
12107 static PyObject
*SWIG_globals
;
12111 SWIGEXPORT(void) initgdic() {
12113 SWIG_globals
= SWIG_newvarlink();
12114 m
= Py_InitModule("gdic", gdicMethods
);
12115 d
= PyModule_GetDict(m
);
12116 PyDict_SetItemString(d
,"wxFONTFAMILY_DEFAULT", PyInt_FromLong((long) wxFONTFAMILY_DEFAULT
));
12117 PyDict_SetItemString(d
,"wxFONTFAMILY_DECORATIVE", PyInt_FromLong((long) wxFONTFAMILY_DECORATIVE
));
12118 PyDict_SetItemString(d
,"wxFONTFAMILY_ROMAN", PyInt_FromLong((long) wxFONTFAMILY_ROMAN
));
12119 PyDict_SetItemString(d
,"wxFONTFAMILY_SCRIPT", PyInt_FromLong((long) wxFONTFAMILY_SCRIPT
));
12120 PyDict_SetItemString(d
,"wxFONTFAMILY_SWISS", PyInt_FromLong((long) wxFONTFAMILY_SWISS
));
12121 PyDict_SetItemString(d
,"wxFONTFAMILY_MODERN", PyInt_FromLong((long) wxFONTFAMILY_MODERN
));
12122 PyDict_SetItemString(d
,"wxFONTFAMILY_TELETYPE", PyInt_FromLong((long) wxFONTFAMILY_TELETYPE
));
12123 PyDict_SetItemString(d
,"wxFONTFAMILY_MAX", PyInt_FromLong((long) wxFONTFAMILY_MAX
));
12124 PyDict_SetItemString(d
,"wxFONTFAMILY_UNKNOWN", PyInt_FromLong((long) wxFONTFAMILY_UNKNOWN
));
12125 PyDict_SetItemString(d
,"wxFONTSTYLE_NORMAL", PyInt_FromLong((long) wxFONTSTYLE_NORMAL
));
12126 PyDict_SetItemString(d
,"wxFONTSTYLE_ITALIC", PyInt_FromLong((long) wxFONTSTYLE_ITALIC
));
12127 PyDict_SetItemString(d
,"wxFONTSTYLE_SLANT", PyInt_FromLong((long) wxFONTSTYLE_SLANT
));
12128 PyDict_SetItemString(d
,"wxFONTSTYLE_MAX", PyInt_FromLong((long) wxFONTSTYLE_MAX
));
12129 PyDict_SetItemString(d
,"wxFONTWEIGHT_NORMAL", PyInt_FromLong((long) wxFONTWEIGHT_NORMAL
));
12130 PyDict_SetItemString(d
,"wxFONTWEIGHT_LIGHT", PyInt_FromLong((long) wxFONTWEIGHT_LIGHT
));
12131 PyDict_SetItemString(d
,"wxFONTWEIGHT_BOLD", PyInt_FromLong((long) wxFONTWEIGHT_BOLD
));
12132 PyDict_SetItemString(d
,"wxFONTWEIGHT_MAX", PyInt_FromLong((long) wxFONTWEIGHT_MAX
));
12133 PyDict_SetItemString(d
,"wxFONTENCODING_SYSTEM", PyInt_FromLong((long) wxFONTENCODING_SYSTEM
));
12134 PyDict_SetItemString(d
,"wxFONTENCODING_DEFAULT", PyInt_FromLong((long) wxFONTENCODING_DEFAULT
));
12135 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_1", PyInt_FromLong((long) wxFONTENCODING_ISO8859_1
));
12136 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_2", PyInt_FromLong((long) wxFONTENCODING_ISO8859_2
));
12137 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_3", PyInt_FromLong((long) wxFONTENCODING_ISO8859_3
));
12138 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_4", PyInt_FromLong((long) wxFONTENCODING_ISO8859_4
));
12139 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_5", PyInt_FromLong((long) wxFONTENCODING_ISO8859_5
));
12140 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_6", PyInt_FromLong((long) wxFONTENCODING_ISO8859_6
));
12141 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_7", PyInt_FromLong((long) wxFONTENCODING_ISO8859_7
));
12142 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_8", PyInt_FromLong((long) wxFONTENCODING_ISO8859_8
));
12143 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_9", PyInt_FromLong((long) wxFONTENCODING_ISO8859_9
));
12144 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_10", PyInt_FromLong((long) wxFONTENCODING_ISO8859_10
));
12145 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_11", PyInt_FromLong((long) wxFONTENCODING_ISO8859_11
));
12146 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_12", PyInt_FromLong((long) wxFONTENCODING_ISO8859_12
));
12147 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_13", PyInt_FromLong((long) wxFONTENCODING_ISO8859_13
));
12148 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_14", PyInt_FromLong((long) wxFONTENCODING_ISO8859_14
));
12149 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_15", PyInt_FromLong((long) wxFONTENCODING_ISO8859_15
));
12150 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_MAX", PyInt_FromLong((long) wxFONTENCODING_ISO8859_MAX
));
12151 PyDict_SetItemString(d
,"wxFONTENCODING_KOI8", PyInt_FromLong((long) wxFONTENCODING_KOI8
));
12152 PyDict_SetItemString(d
,"wxFONTENCODING_ALTERNATIVE", PyInt_FromLong((long) wxFONTENCODING_ALTERNATIVE
));
12153 PyDict_SetItemString(d
,"wxFONTENCODING_BULGARIAN", PyInt_FromLong((long) wxFONTENCODING_BULGARIAN
));
12154 PyDict_SetItemString(d
,"wxFONTENCODING_CP437", PyInt_FromLong((long) wxFONTENCODING_CP437
));
12155 PyDict_SetItemString(d
,"wxFONTENCODING_CP850", PyInt_FromLong((long) wxFONTENCODING_CP850
));
12156 PyDict_SetItemString(d
,"wxFONTENCODING_CP852", PyInt_FromLong((long) wxFONTENCODING_CP852
));
12157 PyDict_SetItemString(d
,"wxFONTENCODING_CP855", PyInt_FromLong((long) wxFONTENCODING_CP855
));
12158 PyDict_SetItemString(d
,"wxFONTENCODING_CP866", PyInt_FromLong((long) wxFONTENCODING_CP866
));
12159 PyDict_SetItemString(d
,"wxFONTENCODING_CP874", PyInt_FromLong((long) wxFONTENCODING_CP874
));
12160 PyDict_SetItemString(d
,"wxFONTENCODING_CP932", PyInt_FromLong((long) wxFONTENCODING_CP932
));
12161 PyDict_SetItemString(d
,"wxFONTENCODING_CP936", PyInt_FromLong((long) wxFONTENCODING_CP936
));
12162 PyDict_SetItemString(d
,"wxFONTENCODING_CP949", PyInt_FromLong((long) wxFONTENCODING_CP949
));
12163 PyDict_SetItemString(d
,"wxFONTENCODING_CP950", PyInt_FromLong((long) wxFONTENCODING_CP950
));
12164 PyDict_SetItemString(d
,"wxFONTENCODING_CP1250", PyInt_FromLong((long) wxFONTENCODING_CP1250
));
12165 PyDict_SetItemString(d
,"wxFONTENCODING_CP1251", PyInt_FromLong((long) wxFONTENCODING_CP1251
));
12166 PyDict_SetItemString(d
,"wxFONTENCODING_CP1252", PyInt_FromLong((long) wxFONTENCODING_CP1252
));
12167 PyDict_SetItemString(d
,"wxFONTENCODING_CP1253", PyInt_FromLong((long) wxFONTENCODING_CP1253
));
12168 PyDict_SetItemString(d
,"wxFONTENCODING_CP1254", PyInt_FromLong((long) wxFONTENCODING_CP1254
));
12169 PyDict_SetItemString(d
,"wxFONTENCODING_CP1255", PyInt_FromLong((long) wxFONTENCODING_CP1255
));
12170 PyDict_SetItemString(d
,"wxFONTENCODING_CP1256", PyInt_FromLong((long) wxFONTENCODING_CP1256
));
12171 PyDict_SetItemString(d
,"wxFONTENCODING_CP1257", PyInt_FromLong((long) wxFONTENCODING_CP1257
));
12172 PyDict_SetItemString(d
,"wxFONTENCODING_CP12_MAX", PyInt_FromLong((long) wxFONTENCODING_CP12_MAX
));
12173 PyDict_SetItemString(d
,"wxFONTENCODING_UTF7", PyInt_FromLong((long) wxFONTENCODING_UTF7
));
12174 PyDict_SetItemString(d
,"wxFONTENCODING_UTF8", PyInt_FromLong((long) wxFONTENCODING_UTF8
));
12175 PyDict_SetItemString(d
,"wxFONTENCODING_UNICODE", PyInt_FromLong((long) wxFONTENCODING_UNICODE
));
12176 PyDict_SetItemString(d
,"wxFONTENCODING_MAX", PyInt_FromLong((long) wxFONTENCODING_MAX
));
12177 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_NORMAL", PyInt_FromLong((long) wxIMAGELIST_DRAW_NORMAL
));
12178 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_TRANSPARENT", PyInt_FromLong((long) wxIMAGELIST_DRAW_TRANSPARENT
));
12179 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_SELECTED", PyInt_FromLong((long) wxIMAGELIST_DRAW_SELECTED
));
12180 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_FOCUSED", PyInt_FromLong((long) wxIMAGELIST_DRAW_FOCUSED
));
12181 PyDict_SetItemString(d
,"wxIMAGE_LIST_NORMAL", PyInt_FromLong((long) wxIMAGE_LIST_NORMAL
));
12182 PyDict_SetItemString(d
,"wxIMAGE_LIST_SMALL", PyInt_FromLong((long) wxIMAGE_LIST_SMALL
));
12183 PyDict_SetItemString(d
,"wxIMAGE_LIST_STATE", PyInt_FromLong((long) wxIMAGE_LIST_STATE
));
12184 PyDict_SetItemString(d
,"wxOutRegion", PyInt_FromLong((long) wxOutRegion
));
12185 PyDict_SetItemString(d
,"wxPartRegion", PyInt_FromLong((long) wxPartRegion
));
12186 PyDict_SetItemString(d
,"wxInRegion", PyInt_FromLong((long) wxInRegion
));
12187 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
12188 SWIG_addvarlink(SWIG_globals
,"wxNORMAL_FONT",_wrap_wxNORMAL_FONT_get
, _wrap_wxNORMAL_FONT_set
);
12189 SWIG_addvarlink(SWIG_globals
,"wxSMALL_FONT",_wrap_wxSMALL_FONT_get
, _wrap_wxSMALL_FONT_set
);
12190 SWIG_addvarlink(SWIG_globals
,"wxITALIC_FONT",_wrap_wxITALIC_FONT_get
, _wrap_wxITALIC_FONT_set
);
12191 SWIG_addvarlink(SWIG_globals
,"wxSWISS_FONT",_wrap_wxSWISS_FONT_get
, _wrap_wxSWISS_FONT_set
);
12192 SWIG_addvarlink(SWIG_globals
,"wxRED_PEN",_wrap_wxRED_PEN_get
, _wrap_wxRED_PEN_set
);
12193 SWIG_addvarlink(SWIG_globals
,"wxCYAN_PEN",_wrap_wxCYAN_PEN_get
, _wrap_wxCYAN_PEN_set
);
12194 SWIG_addvarlink(SWIG_globals
,"wxGREEN_PEN",_wrap_wxGREEN_PEN_get
, _wrap_wxGREEN_PEN_set
);
12195 SWIG_addvarlink(SWIG_globals
,"wxBLACK_PEN",_wrap_wxBLACK_PEN_get
, _wrap_wxBLACK_PEN_set
);
12196 SWIG_addvarlink(SWIG_globals
,"wxWHITE_PEN",_wrap_wxWHITE_PEN_get
, _wrap_wxWHITE_PEN_set
);
12197 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_PEN",_wrap_wxTRANSPARENT_PEN_get
, _wrap_wxTRANSPARENT_PEN_set
);
12198 SWIG_addvarlink(SWIG_globals
,"wxBLACK_DASHED_PEN",_wrap_wxBLACK_DASHED_PEN_get
, _wrap_wxBLACK_DASHED_PEN_set
);
12199 SWIG_addvarlink(SWIG_globals
,"wxGREY_PEN",_wrap_wxGREY_PEN_get
, _wrap_wxGREY_PEN_set
);
12200 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_PEN",_wrap_wxMEDIUM_GREY_PEN_get
, _wrap_wxMEDIUM_GREY_PEN_set
);
12201 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_PEN",_wrap_wxLIGHT_GREY_PEN_get
, _wrap_wxLIGHT_GREY_PEN_set
);
12202 SWIG_addvarlink(SWIG_globals
,"wxBLUE_BRUSH",_wrap_wxBLUE_BRUSH_get
, _wrap_wxBLUE_BRUSH_set
);
12203 SWIG_addvarlink(SWIG_globals
,"wxGREEN_BRUSH",_wrap_wxGREEN_BRUSH_get
, _wrap_wxGREEN_BRUSH_set
);
12204 SWIG_addvarlink(SWIG_globals
,"wxWHITE_BRUSH",_wrap_wxWHITE_BRUSH_get
, _wrap_wxWHITE_BRUSH_set
);
12205 SWIG_addvarlink(SWIG_globals
,"wxBLACK_BRUSH",_wrap_wxBLACK_BRUSH_get
, _wrap_wxBLACK_BRUSH_set
);
12206 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_BRUSH",_wrap_wxTRANSPARENT_BRUSH_get
, _wrap_wxTRANSPARENT_BRUSH_set
);
12207 SWIG_addvarlink(SWIG_globals
,"wxCYAN_BRUSH",_wrap_wxCYAN_BRUSH_get
, _wrap_wxCYAN_BRUSH_set
);
12208 SWIG_addvarlink(SWIG_globals
,"wxRED_BRUSH",_wrap_wxRED_BRUSH_get
, _wrap_wxRED_BRUSH_set
);
12209 SWIG_addvarlink(SWIG_globals
,"wxGREY_BRUSH",_wrap_wxGREY_BRUSH_get
, _wrap_wxGREY_BRUSH_set
);
12210 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_BRUSH",_wrap_wxMEDIUM_GREY_BRUSH_get
, _wrap_wxMEDIUM_GREY_BRUSH_set
);
12211 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_BRUSH",_wrap_wxLIGHT_GREY_BRUSH_get
, _wrap_wxLIGHT_GREY_BRUSH_set
);
12212 SWIG_addvarlink(SWIG_globals
,"wxBLACK",_wrap_wxBLACK_get
, _wrap_wxBLACK_set
);
12213 SWIG_addvarlink(SWIG_globals
,"wxWHITE",_wrap_wxWHITE_get
, _wrap_wxWHITE_set
);
12214 SWIG_addvarlink(SWIG_globals
,"wxRED",_wrap_wxRED_get
, _wrap_wxRED_set
);
12215 SWIG_addvarlink(SWIG_globals
,"wxBLUE",_wrap_wxBLUE_get
, _wrap_wxBLUE_set
);
12216 SWIG_addvarlink(SWIG_globals
,"wxGREEN",_wrap_wxGREEN_get
, _wrap_wxGREEN_set
);
12217 SWIG_addvarlink(SWIG_globals
,"wxCYAN",_wrap_wxCYAN_get
, _wrap_wxCYAN_set
);
12218 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY",_wrap_wxLIGHT_GREY_get
, _wrap_wxLIGHT_GREY_set
);
12219 SWIG_addvarlink(SWIG_globals
,"wxSTANDARD_CURSOR",_wrap_wxSTANDARD_CURSOR_get
, _wrap_wxSTANDARD_CURSOR_set
);
12220 SWIG_addvarlink(SWIG_globals
,"wxHOURGLASS_CURSOR",_wrap_wxHOURGLASS_CURSOR_get
, _wrap_wxHOURGLASS_CURSOR_set
);
12221 SWIG_addvarlink(SWIG_globals
,"wxCROSS_CURSOR",_wrap_wxCROSS_CURSOR_get
, _wrap_wxCROSS_CURSOR_set
);
12222 SWIG_addvarlink(SWIG_globals
,"wxNullBitmap",_wrap_wxNullBitmap_get
, _wrap_wxNullBitmap_set
);
12223 SWIG_addvarlink(SWIG_globals
,"wxNullIcon",_wrap_wxNullIcon_get
, _wrap_wxNullIcon_set
);
12224 SWIG_addvarlink(SWIG_globals
,"wxNullCursor",_wrap_wxNullCursor_get
, _wrap_wxNullCursor_set
);
12225 SWIG_addvarlink(SWIG_globals
,"wxNullPen",_wrap_wxNullPen_get
, _wrap_wxNullPen_set
);
12226 SWIG_addvarlink(SWIG_globals
,"wxNullBrush",_wrap_wxNullBrush_get
, _wrap_wxNullBrush_set
);
12227 SWIG_addvarlink(SWIG_globals
,"wxNullPalette",_wrap_wxNullPalette_get
, _wrap_wxNullPalette_set
);
12228 SWIG_addvarlink(SWIG_globals
,"wxNullFont",_wrap_wxNullFont_get
, _wrap_wxNullFont_set
);
12229 SWIG_addvarlink(SWIG_globals
,"wxNullColour",_wrap_wxNullColour_get
, _wrap_wxNullColour_set
);
12230 SWIG_addvarlink(SWIG_globals
,"wxTheFontList",_wrap_wxTheFontList_get
, _wrap_wxTheFontList_set
);
12231 SWIG_addvarlink(SWIG_globals
,"wxThePenList",_wrap_wxThePenList_get
, _wrap_wxThePenList_set
);
12232 SWIG_addvarlink(SWIG_globals
,"wxTheBrushList",_wrap_wxTheBrushList_get
, _wrap_wxTheBrushList_set
);
12233 SWIG_addvarlink(SWIG_globals
,"wxTheColourDatabase",_wrap_wxTheColourDatabase_get
, _wrap_wxTheColourDatabase_set
);
12236 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
12237 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);