2 * FILE : src/mac/gdi.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initgdic
56 #define SWIG_name "gdic"
59 #include <wx/imaglist.h>
60 #include <wx/fontmap.h>
61 #include <wx/fontenc.h>
62 #include <wx/fontmap.h>
63 #include <wx/fontutil.h>
66 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
72 } else if (target
== Py_None
) {
76 if (!PyTuple_Check(target
)) {
78 target
= PyTuple_New(1);
79 PyTuple_SetItem(target
, 0, o2
);
82 PyTuple_SetItem(o3
, 0, o
);
85 target
= PySequence_Concat(o2
, o3
);
91 // Implementations of some alternate "constructors"
93 wxBitmap
* wxEmptyBitmap(int width
, int height
, int depth
=-1) {
94 return new wxBitmap(width
, height
, depth
);
97 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
101 if (!PyList_Check(listOfStrings
)) {
102 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
105 count
= PyList_Size(listOfStrings
);
106 cArray
= new char*[count
];
108 for(int x
=0; x
<count
; x
++) {
109 // TODO: Need some validation and error checking here
110 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
116 wxBitmap
* wxBitmapFromXPMData(PyObject
* listOfStrings
) {
117 char** cArray
= NULL
;
120 cArray
= ConvertListOfStrings(listOfStrings
);
123 bmp
= new wxBitmap(cArray
);
129 wxBitmap
* wxBitmapFromIcon(const wxIcon
& icon
) {
130 return new wxBitmap(icon
);
134 wxBitmap
* wxBitmapFromBits(char* bits
, int width
, int height
, int depth
= 1 ) {
135 return new wxBitmap(bits
, width
, height
, depth
);
140 // wxBitmap* wxBitmapFromData(PyObject* data, long type,
141 // int width, int height, int depth = 1) {
142 // if (! PyString_Check(data)) {
143 // PyErr_SetString(PyExc_TypeError, "Expected string object");
146 // return new wxBitmap((void*)PyString_AsString(data), type, width, height, depth);
150 wxMask
* wxMaskColour(const wxBitmap
& bitmap
, const wxColour
& colour
) {
151 return new wxMask(bitmap
, colour
);
153 // Implementations of some alternate "constructors"
154 wxIcon
* wxEmptyIcon() {
158 wxIcon
* wxIconFromXPMData(PyObject
* listOfStrings
) {
159 char** cArray
= NULL
;
162 cArray
= ConvertListOfStrings(listOfStrings
);
165 icon
= new wxIcon(cArray
);
170 wxIcon
* wxIconFromBitmap(const wxBitmap
& bmp
) {
171 wxIcon
* icon
= new wxIcon();
172 icon
->CopyFromBitmap(bmp
);
175 // Alternate 'constructor'
176 wxCursor
* wxPyStockCursor(int id
) {
177 return new wxCursor(id
);
179 // Alternate 'constructor'
180 wxColour
* wxNamedColour(const wxString
& colorName
) {
181 return new wxColour(colorName
);
184 class wxPyPen
: public wxPen
{
186 wxPyPen(wxColour
& colour
, int width
=1, int style
=wxSOLID
)
187 : wxPen(colour
, width
, style
)
194 void SetDashes(int nb_dashes
, const wxDash
*dash
) {
197 m_dash
= new wxDash
[nb_dashes
];
198 for (int i
=0; i
<nb_dashes
; i
++) {
201 wxPen::SetDashes(nb_dashes
, m_dash
);
208 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
214 // Alternate 'constructor'
215 wxMemoryDC
* wxMemoryDCFromDC(wxDC
* oldDC
) {
216 return new wxMemoryDC(oldDC
);
220 extern wxFont
* wxNORMAL_FONT
;
221 extern wxFont
* wxSMALL_FONT
;
222 extern wxFont
* wxITALIC_FONT
;
223 extern wxFont
* wxSWISS_FONT
;
224 extern wxPen
* wxRED_PEN
;
225 extern wxPen
* wxCYAN_PEN
;
226 extern wxPen
* wxGREEN_PEN
;
227 extern wxPen
* wxBLACK_PEN
;
228 extern wxPen
* wxWHITE_PEN
;
229 extern wxPen
* wxTRANSPARENT_PEN
;
230 extern wxPen
* wxBLACK_DASHED_PEN
;
231 extern wxPen
* wxGREY_PEN
;
232 extern wxPen
* wxMEDIUM_GREY_PEN
;
233 extern wxPen
* wxLIGHT_GREY_PEN
;
234 extern wxBrush
* wxBLUE_BRUSH
;
235 extern wxBrush
* wxGREEN_BRUSH
;
236 extern wxBrush
* wxWHITE_BRUSH
;
237 extern wxBrush
* wxBLACK_BRUSH
;
238 extern wxBrush
* wxTRANSPARENT_BRUSH
;
239 extern wxBrush
* wxCYAN_BRUSH
;
240 extern wxBrush
* wxRED_BRUSH
;
241 extern wxBrush
* wxGREY_BRUSH
;
242 extern wxBrush
* wxMEDIUM_GREY_BRUSH
;
243 extern wxBrush
* wxLIGHT_GREY_BRUSH
;
244 extern wxColour
* wxBLACK
;
245 extern wxColour
* wxWHITE
;
246 extern wxColour
* wxRED
;
247 extern wxColour
* wxBLUE
;
248 extern wxColour
* wxGREEN
;
249 extern wxColour
* wxCYAN
;
250 extern wxColour
* wxLIGHT_GREY
;
251 extern wxCursor
* wxSTANDARD_CURSOR
;
252 extern wxCursor
* wxHOURGLASS_CURSOR
;
253 extern wxCursor
* wxCROSS_CURSOR
;
254 extern wxBitmap wxNullBitmap
;
255 extern wxIcon wxNullIcon
;
256 extern wxCursor wxNullCursor
;
257 extern wxPen wxNullPen
;
258 extern wxBrush wxNullBrush
;
259 extern wxPalette wxNullPalette
;
260 extern wxFont wxNullFont
;
261 extern wxColour wxNullColour
;
262 extern wxFontList
* wxTheFontList
;
263 extern wxPenList
* wxThePenList
;
264 extern wxBrushList
* wxTheBrushList
;
265 extern wxColourDatabase
* wxTheColourDatabase
;
271 static PyObject
*_wrap_wxEmptyBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
272 PyObject
* _resultobj
;
276 int _arg2
= (int ) -1;
277 char *_kwnames
[] = { "width","height","depth", NULL
};
281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ii|i:wxEmptyBitmap",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
285 _result
= (wxBitmap
*)wxEmptyBitmap(_arg0
,_arg1
,_arg2
);
287 wxPyEndAllowThreads(__tstate
);
288 if (PyErr_Occurred()) return NULL
;
290 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
291 _resultobj
= Py_BuildValue("s",_ptemp
);
294 _resultobj
= Py_None
;
299 static PyObject
*_wrap_wxBitmapFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
300 PyObject
* _resultobj
;
303 PyObject
* _obj0
= 0;
304 char *_kwnames
[] = { "listOfStrings", NULL
};
308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapFromXPMData",_kwnames
,&_obj0
))
314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
315 _result
= (wxBitmap
*)wxBitmapFromXPMData(_arg0
);
317 wxPyEndAllowThreads(__tstate
);
318 if (PyErr_Occurred()) return NULL
;
320 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
321 _resultobj
= Py_BuildValue("s",_ptemp
);
324 _resultobj
= Py_None
;
329 static PyObject
*_wrap_wxBitmapFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
330 PyObject
* _resultobj
;
333 PyObject
* _argo0
= 0;
334 char *_kwnames
[] = { "icon", NULL
};
338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapFromIcon",_kwnames
,&_argo0
))
341 if (_argo0
== Py_None
) { _arg0
= NULL
; }
342 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapFromIcon. Expected _wxIcon_p.");
348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
349 _result
= (wxBitmap
*)wxBitmapFromIcon(*_arg0
);
351 wxPyEndAllowThreads(__tstate
);
352 if (PyErr_Occurred()) return NULL
;
354 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
355 _resultobj
= Py_BuildValue("s",_ptemp
);
358 _resultobj
= Py_None
;
363 static PyObject
*_wrap_wxBitmapFromBits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
364 PyObject
* _resultobj
;
369 int _arg3
= (int ) 1;
370 char *_kwnames
[] = { "bits","width","height","depth", NULL
};
374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"sii|i:wxBitmapFromBits",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
378 _result
= (wxBitmap
*)wxBitmapFromBits(_arg0
,_arg1
,_arg2
,_arg3
);
380 wxPyEndAllowThreads(__tstate
);
381 if (PyErr_Occurred()) return NULL
;
383 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
384 _resultobj
= Py_BuildValue("s",_ptemp
);
387 _resultobj
= Py_None
;
392 static PyObject
*_wrap_wxMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
393 PyObject
* _resultobj
;
397 PyObject
* _argo0
= 0;
399 PyObject
* _obj1
= 0;
400 char *_kwnames
[] = { "bitmap","colour", NULL
};
404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMaskColour",_kwnames
,&_argo0
,&_obj1
))
407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMaskColour. Expected _wxBitmap_p.");
415 if (! wxColour_helper(_obj1
, &_arg1
))
419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
420 _result
= (wxMask
*)wxMaskColour(*_arg0
,*_arg1
);
422 wxPyEndAllowThreads(__tstate
);
423 if (PyErr_Occurred()) return NULL
;
425 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
426 _resultobj
= Py_BuildValue("s",_ptemp
);
429 _resultobj
= Py_None
;
434 static PyObject
*_wrap_wxEmptyIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
435 PyObject
* _resultobj
;
437 char *_kwnames
[] = { NULL
};
441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxEmptyIcon",_kwnames
))
444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
445 _result
= (wxIcon
*)wxEmptyIcon();
447 wxPyEndAllowThreads(__tstate
);
448 if (PyErr_Occurred()) return NULL
;
450 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
451 _resultobj
= Py_BuildValue("s",_ptemp
);
454 _resultobj
= Py_None
;
459 static PyObject
*_wrap_wxIconFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
460 PyObject
* _resultobj
;
463 PyObject
* _obj0
= 0;
464 char *_kwnames
[] = { "listOfStrings", NULL
};
468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIconFromXPMData",_kwnames
,&_obj0
))
474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
475 _result
= (wxIcon
*)wxIconFromXPMData(_arg0
);
477 wxPyEndAllowThreads(__tstate
);
478 if (PyErr_Occurred()) return NULL
;
480 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
481 _resultobj
= Py_BuildValue("s",_ptemp
);
484 _resultobj
= Py_None
;
489 static PyObject
*_wrap_wxIconFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
490 PyObject
* _resultobj
;
493 PyObject
* _argo0
= 0;
494 char *_kwnames
[] = { "bmp", NULL
};
498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIconFromBitmap",_kwnames
,&_argo0
))
501 if (_argo0
== Py_None
) { _arg0
= NULL
; }
502 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIconFromBitmap. Expected _wxBitmap_p.");
508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
509 _result
= (wxIcon
*)wxIconFromBitmap(*_arg0
);
511 wxPyEndAllowThreads(__tstate
);
512 if (PyErr_Occurred()) return NULL
;
514 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
515 _resultobj
= Py_BuildValue("s",_ptemp
);
518 _resultobj
= Py_None
;
523 static PyObject
*_wrap_wxStockCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
524 PyObject
* _resultobj
;
527 char *_kwnames
[] = { "id", NULL
};
531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxStockCursor",_kwnames
,&_arg0
))
534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
535 _result
= (wxCursor
*)wxPyStockCursor(_arg0
);
537 wxPyEndAllowThreads(__tstate
);
538 if (PyErr_Occurred()) return NULL
;
540 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCursor_p");
541 _resultobj
= Py_BuildValue("s",_ptemp
);
544 _resultobj
= Py_None
;
549 static PyObject
*_wrap_wxNamedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
550 PyObject
* _resultobj
;
553 PyObject
* _obj0
= 0;
554 char *_kwnames
[] = { "colorName", NULL
};
558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNamedColour",_kwnames
,&_obj0
))
561 _arg0
= wxString_in_helper(_obj0
);
566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
567 _result
= (wxColour
*)wxNamedColour(*_arg0
);
569 wxPyEndAllowThreads(__tstate
);
570 if (PyErr_Occurred()) return NULL
;
572 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
573 _resultobj
= Py_BuildValue("s",_ptemp
);
576 _resultobj
= Py_None
;
585 static PyObject
*_wrap_wxMemoryDCFromDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
586 PyObject
* _resultobj
;
587 wxMemoryDC
* _result
;
589 PyObject
* _argo0
= 0;
590 char *_kwnames
[] = { "oldDC", NULL
};
594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMemoryDCFromDC",_kwnames
,&_argo0
))
597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDCFromDC. Expected _wxDC_p.");
604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
605 _result
= (wxMemoryDC
*)wxMemoryDCFromDC(_arg0
);
607 wxPyEndAllowThreads(__tstate
);
608 if (PyErr_Occurred()) return NULL
;
610 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
611 _resultobj
= Py_BuildValue("s",_ptemp
);
614 _resultobj
= Py_None
;
619 static int _wrap_wxNORMAL_FONT_set(PyObject
*val
) {
621 PyErr_SetString(PyExc_TypeError
,"Variable wxNORMAL_FONT is read-only.");
625 static PyObject
*_wrap_wxNORMAL_FONT_get() {
629 SWIG_MakePtr(ptemp
, (char *) wxNORMAL_FONT
,"_wxFont_p");
630 pyobj
= PyString_FromString(ptemp
);
634 static int _wrap_wxSMALL_FONT_set(PyObject
*val
) {
636 PyErr_SetString(PyExc_TypeError
,"Variable wxSMALL_FONT is read-only.");
640 static PyObject
*_wrap_wxSMALL_FONT_get() {
644 SWIG_MakePtr(ptemp
, (char *) wxSMALL_FONT
,"_wxFont_p");
645 pyobj
= PyString_FromString(ptemp
);
649 static int _wrap_wxITALIC_FONT_set(PyObject
*val
) {
651 PyErr_SetString(PyExc_TypeError
,"Variable wxITALIC_FONT is read-only.");
655 static PyObject
*_wrap_wxITALIC_FONT_get() {
659 SWIG_MakePtr(ptemp
, (char *) wxITALIC_FONT
,"_wxFont_p");
660 pyobj
= PyString_FromString(ptemp
);
664 static int _wrap_wxSWISS_FONT_set(PyObject
*val
) {
666 PyErr_SetString(PyExc_TypeError
,"Variable wxSWISS_FONT is read-only.");
670 static PyObject
*_wrap_wxSWISS_FONT_get() {
674 SWIG_MakePtr(ptemp
, (char *) wxSWISS_FONT
,"_wxFont_p");
675 pyobj
= PyString_FromString(ptemp
);
679 static int _wrap_wxRED_PEN_set(PyObject
*val
) {
681 PyErr_SetString(PyExc_TypeError
,"Variable wxRED_PEN is read-only.");
685 static PyObject
*_wrap_wxRED_PEN_get() {
689 SWIG_MakePtr(ptemp
, (char *) wxRED_PEN
,"_wxPen_p");
690 pyobj
= PyString_FromString(ptemp
);
694 static int _wrap_wxCYAN_PEN_set(PyObject
*val
) {
696 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN_PEN is read-only.");
700 static PyObject
*_wrap_wxCYAN_PEN_get() {
704 SWIG_MakePtr(ptemp
, (char *) wxCYAN_PEN
,"_wxPen_p");
705 pyobj
= PyString_FromString(ptemp
);
709 static int _wrap_wxGREEN_PEN_set(PyObject
*val
) {
711 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN_PEN is read-only.");
715 static PyObject
*_wrap_wxGREEN_PEN_get() {
719 SWIG_MakePtr(ptemp
, (char *) wxGREEN_PEN
,"_wxPen_p");
720 pyobj
= PyString_FromString(ptemp
);
724 static int _wrap_wxBLACK_PEN_set(PyObject
*val
) {
726 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_PEN is read-only.");
730 static PyObject
*_wrap_wxBLACK_PEN_get() {
734 SWIG_MakePtr(ptemp
, (char *) wxBLACK_PEN
,"_wxPen_p");
735 pyobj
= PyString_FromString(ptemp
);
739 static int _wrap_wxWHITE_PEN_set(PyObject
*val
) {
741 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE_PEN is read-only.");
745 static PyObject
*_wrap_wxWHITE_PEN_get() {
749 SWIG_MakePtr(ptemp
, (char *) wxWHITE_PEN
,"_wxPen_p");
750 pyobj
= PyString_FromString(ptemp
);
754 static int _wrap_wxTRANSPARENT_PEN_set(PyObject
*val
) {
756 PyErr_SetString(PyExc_TypeError
,"Variable wxTRANSPARENT_PEN is read-only.");
760 static PyObject
*_wrap_wxTRANSPARENT_PEN_get() {
764 SWIG_MakePtr(ptemp
, (char *) wxTRANSPARENT_PEN
,"_wxPen_p");
765 pyobj
= PyString_FromString(ptemp
);
769 static int _wrap_wxBLACK_DASHED_PEN_set(PyObject
*val
) {
771 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_DASHED_PEN is read-only.");
775 static PyObject
*_wrap_wxBLACK_DASHED_PEN_get() {
779 SWIG_MakePtr(ptemp
, (char *) wxBLACK_DASHED_PEN
,"_wxPen_p");
780 pyobj
= PyString_FromString(ptemp
);
784 static int _wrap_wxGREY_PEN_set(PyObject
*val
) {
786 PyErr_SetString(PyExc_TypeError
,"Variable wxGREY_PEN is read-only.");
790 static PyObject
*_wrap_wxGREY_PEN_get() {
794 SWIG_MakePtr(ptemp
, (char *) wxGREY_PEN
,"_wxPen_p");
795 pyobj
= PyString_FromString(ptemp
);
799 static int _wrap_wxMEDIUM_GREY_PEN_set(PyObject
*val
) {
801 PyErr_SetString(PyExc_TypeError
,"Variable wxMEDIUM_GREY_PEN is read-only.");
805 static PyObject
*_wrap_wxMEDIUM_GREY_PEN_get() {
809 SWIG_MakePtr(ptemp
, (char *) wxMEDIUM_GREY_PEN
,"_wxPen_p");
810 pyobj
= PyString_FromString(ptemp
);
814 static int _wrap_wxLIGHT_GREY_PEN_set(PyObject
*val
) {
816 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY_PEN is read-only.");
820 static PyObject
*_wrap_wxLIGHT_GREY_PEN_get() {
824 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY_PEN
,"_wxPen_p");
825 pyobj
= PyString_FromString(ptemp
);
829 static int _wrap_wxBLUE_BRUSH_set(PyObject
*val
) {
831 PyErr_SetString(PyExc_TypeError
,"Variable wxBLUE_BRUSH is read-only.");
835 static PyObject
*_wrap_wxBLUE_BRUSH_get() {
839 SWIG_MakePtr(ptemp
, (char *) wxBLUE_BRUSH
,"_wxBrush_p");
840 pyobj
= PyString_FromString(ptemp
);
844 static int _wrap_wxGREEN_BRUSH_set(PyObject
*val
) {
846 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN_BRUSH is read-only.");
850 static PyObject
*_wrap_wxGREEN_BRUSH_get() {
854 SWIG_MakePtr(ptemp
, (char *) wxGREEN_BRUSH
,"_wxBrush_p");
855 pyobj
= PyString_FromString(ptemp
);
859 static int _wrap_wxWHITE_BRUSH_set(PyObject
*val
) {
861 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE_BRUSH is read-only.");
865 static PyObject
*_wrap_wxWHITE_BRUSH_get() {
869 SWIG_MakePtr(ptemp
, (char *) wxWHITE_BRUSH
,"_wxBrush_p");
870 pyobj
= PyString_FromString(ptemp
);
874 static int _wrap_wxBLACK_BRUSH_set(PyObject
*val
) {
876 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_BRUSH is read-only.");
880 static PyObject
*_wrap_wxBLACK_BRUSH_get() {
884 SWIG_MakePtr(ptemp
, (char *) wxBLACK_BRUSH
,"_wxBrush_p");
885 pyobj
= PyString_FromString(ptemp
);
889 static int _wrap_wxTRANSPARENT_BRUSH_set(PyObject
*val
) {
891 PyErr_SetString(PyExc_TypeError
,"Variable wxTRANSPARENT_BRUSH is read-only.");
895 static PyObject
*_wrap_wxTRANSPARENT_BRUSH_get() {
899 SWIG_MakePtr(ptemp
, (char *) wxTRANSPARENT_BRUSH
,"_wxBrush_p");
900 pyobj
= PyString_FromString(ptemp
);
904 static int _wrap_wxCYAN_BRUSH_set(PyObject
*val
) {
906 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN_BRUSH is read-only.");
910 static PyObject
*_wrap_wxCYAN_BRUSH_get() {
914 SWIG_MakePtr(ptemp
, (char *) wxCYAN_BRUSH
,"_wxBrush_p");
915 pyobj
= PyString_FromString(ptemp
);
919 static int _wrap_wxRED_BRUSH_set(PyObject
*val
) {
921 PyErr_SetString(PyExc_TypeError
,"Variable wxRED_BRUSH is read-only.");
925 static PyObject
*_wrap_wxRED_BRUSH_get() {
929 SWIG_MakePtr(ptemp
, (char *) wxRED_BRUSH
,"_wxBrush_p");
930 pyobj
= PyString_FromString(ptemp
);
934 static int _wrap_wxGREY_BRUSH_set(PyObject
*val
) {
936 PyErr_SetString(PyExc_TypeError
,"Variable wxGREY_BRUSH is read-only.");
940 static PyObject
*_wrap_wxGREY_BRUSH_get() {
944 SWIG_MakePtr(ptemp
, (char *) wxGREY_BRUSH
,"_wxBrush_p");
945 pyobj
= PyString_FromString(ptemp
);
949 static int _wrap_wxMEDIUM_GREY_BRUSH_set(PyObject
*val
) {
951 PyErr_SetString(PyExc_TypeError
,"Variable wxMEDIUM_GREY_BRUSH is read-only.");
955 static PyObject
*_wrap_wxMEDIUM_GREY_BRUSH_get() {
959 SWIG_MakePtr(ptemp
, (char *) wxMEDIUM_GREY_BRUSH
,"_wxBrush_p");
960 pyobj
= PyString_FromString(ptemp
);
964 static int _wrap_wxLIGHT_GREY_BRUSH_set(PyObject
*val
) {
966 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY_BRUSH is read-only.");
970 static PyObject
*_wrap_wxLIGHT_GREY_BRUSH_get() {
974 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY_BRUSH
,"_wxBrush_p");
975 pyobj
= PyString_FromString(ptemp
);
979 static int _wrap_wxBLACK_set(PyObject
*val
) {
981 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK is read-only.");
985 static PyObject
*_wrap_wxBLACK_get() {
989 SWIG_MakePtr(ptemp
, (char *) wxBLACK
,"_wxColour_p");
990 pyobj
= PyString_FromString(ptemp
);
994 static int _wrap_wxWHITE_set(PyObject
*val
) {
996 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE is read-only.");
1000 static PyObject
*_wrap_wxWHITE_get() {
1004 SWIG_MakePtr(ptemp
, (char *) wxWHITE
,"_wxColour_p");
1005 pyobj
= PyString_FromString(ptemp
);
1009 static int _wrap_wxRED_set(PyObject
*val
) {
1011 PyErr_SetString(PyExc_TypeError
,"Variable wxRED is read-only.");
1015 static PyObject
*_wrap_wxRED_get() {
1019 SWIG_MakePtr(ptemp
, (char *) wxRED
,"_wxColour_p");
1020 pyobj
= PyString_FromString(ptemp
);
1024 static int _wrap_wxBLUE_set(PyObject
*val
) {
1026 PyErr_SetString(PyExc_TypeError
,"Variable wxBLUE is read-only.");
1030 static PyObject
*_wrap_wxBLUE_get() {
1034 SWIG_MakePtr(ptemp
, (char *) wxBLUE
,"_wxColour_p");
1035 pyobj
= PyString_FromString(ptemp
);
1039 static int _wrap_wxGREEN_set(PyObject
*val
) {
1041 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN is read-only.");
1045 static PyObject
*_wrap_wxGREEN_get() {
1049 SWIG_MakePtr(ptemp
, (char *) wxGREEN
,"_wxColour_p");
1050 pyobj
= PyString_FromString(ptemp
);
1054 static int _wrap_wxCYAN_set(PyObject
*val
) {
1056 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN is read-only.");
1060 static PyObject
*_wrap_wxCYAN_get() {
1064 SWIG_MakePtr(ptemp
, (char *) wxCYAN
,"_wxColour_p");
1065 pyobj
= PyString_FromString(ptemp
);
1069 static int _wrap_wxLIGHT_GREY_set(PyObject
*val
) {
1071 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY is read-only.");
1075 static PyObject
*_wrap_wxLIGHT_GREY_get() {
1079 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY
,"_wxColour_p");
1080 pyobj
= PyString_FromString(ptemp
);
1084 static int _wrap_wxSTANDARD_CURSOR_set(PyObject
*val
) {
1086 PyErr_SetString(PyExc_TypeError
,"Variable wxSTANDARD_CURSOR is read-only.");
1090 static PyObject
*_wrap_wxSTANDARD_CURSOR_get() {
1094 SWIG_MakePtr(ptemp
, (char *) wxSTANDARD_CURSOR
,"_wxCursor_p");
1095 pyobj
= PyString_FromString(ptemp
);
1099 static int _wrap_wxHOURGLASS_CURSOR_set(PyObject
*val
) {
1101 PyErr_SetString(PyExc_TypeError
,"Variable wxHOURGLASS_CURSOR is read-only.");
1105 static PyObject
*_wrap_wxHOURGLASS_CURSOR_get() {
1109 SWIG_MakePtr(ptemp
, (char *) wxHOURGLASS_CURSOR
,"_wxCursor_p");
1110 pyobj
= PyString_FromString(ptemp
);
1114 static int _wrap_wxCROSS_CURSOR_set(PyObject
*val
) {
1116 PyErr_SetString(PyExc_TypeError
,"Variable wxCROSS_CURSOR is read-only.");
1120 static PyObject
*_wrap_wxCROSS_CURSOR_get() {
1124 SWIG_MakePtr(ptemp
, (char *) wxCROSS_CURSOR
,"_wxCursor_p");
1125 pyobj
= PyString_FromString(ptemp
);
1129 static int _wrap_wxNullBitmap_set(PyObject
*val
) {
1131 PyErr_SetString(PyExc_TypeError
,"Variable wxNullBitmap is read-only.");
1135 static PyObject
*_wrap_wxNullBitmap_get() {
1139 SWIG_MakePtr(ptemp
,(char *) &wxNullBitmap
,"_wxBitmap_p");
1140 pyobj
= PyString_FromString(ptemp
);
1144 static int _wrap_wxNullIcon_set(PyObject
*val
) {
1146 PyErr_SetString(PyExc_TypeError
,"Variable wxNullIcon is read-only.");
1150 static PyObject
*_wrap_wxNullIcon_get() {
1154 SWIG_MakePtr(ptemp
,(char *) &wxNullIcon
,"_wxIcon_p");
1155 pyobj
= PyString_FromString(ptemp
);
1159 static int _wrap_wxNullCursor_set(PyObject
*val
) {
1161 PyErr_SetString(PyExc_TypeError
,"Variable wxNullCursor is read-only.");
1165 static PyObject
*_wrap_wxNullCursor_get() {
1169 SWIG_MakePtr(ptemp
,(char *) &wxNullCursor
,"_wxCursor_p");
1170 pyobj
= PyString_FromString(ptemp
);
1174 static int _wrap_wxNullPen_set(PyObject
*val
) {
1176 PyErr_SetString(PyExc_TypeError
,"Variable wxNullPen is read-only.");
1180 static PyObject
*_wrap_wxNullPen_get() {
1184 SWIG_MakePtr(ptemp
,(char *) &wxNullPen
,"_wxPen_p");
1185 pyobj
= PyString_FromString(ptemp
);
1189 static int _wrap_wxNullBrush_set(PyObject
*val
) {
1191 PyErr_SetString(PyExc_TypeError
,"Variable wxNullBrush is read-only.");
1195 static PyObject
*_wrap_wxNullBrush_get() {
1199 SWIG_MakePtr(ptemp
,(char *) &wxNullBrush
,"_wxBrush_p");
1200 pyobj
= PyString_FromString(ptemp
);
1204 static int _wrap_wxNullPalette_set(PyObject
*val
) {
1206 PyErr_SetString(PyExc_TypeError
,"Variable wxNullPalette is read-only.");
1210 static PyObject
*_wrap_wxNullPalette_get() {
1214 SWIG_MakePtr(ptemp
,(char *) &wxNullPalette
,"_wxPalette_p");
1215 pyobj
= PyString_FromString(ptemp
);
1219 static int _wrap_wxNullFont_set(PyObject
*val
) {
1221 PyErr_SetString(PyExc_TypeError
,"Variable wxNullFont is read-only.");
1225 static PyObject
*_wrap_wxNullFont_get() {
1229 SWIG_MakePtr(ptemp
,(char *) &wxNullFont
,"_wxFont_p");
1230 pyobj
= PyString_FromString(ptemp
);
1234 static int _wrap_wxNullColour_set(PyObject
*val
) {
1236 PyErr_SetString(PyExc_TypeError
,"Variable wxNullColour is read-only.");
1240 static PyObject
*_wrap_wxNullColour_get() {
1244 SWIG_MakePtr(ptemp
,(char *) &wxNullColour
,"_wxColour_p");
1245 pyobj
= PyString_FromString(ptemp
);
1249 static int _wrap_wxTheFontList_set(PyObject
*val
) {
1251 PyErr_SetString(PyExc_TypeError
,"Variable wxTheFontList is read-only.");
1255 static PyObject
*_wrap_wxTheFontList_get() {
1259 SWIG_MakePtr(ptemp
, (char *) wxTheFontList
,"_wxFontList_p");
1260 pyobj
= PyString_FromString(ptemp
);
1264 static int _wrap_wxThePenList_set(PyObject
*val
) {
1266 PyErr_SetString(PyExc_TypeError
,"Variable wxThePenList is read-only.");
1270 static PyObject
*_wrap_wxThePenList_get() {
1274 SWIG_MakePtr(ptemp
, (char *) wxThePenList
,"_wxPenList_p");
1275 pyobj
= PyString_FromString(ptemp
);
1279 static int _wrap_wxTheBrushList_set(PyObject
*val
) {
1281 PyErr_SetString(PyExc_TypeError
,"Variable wxTheBrushList is read-only.");
1285 static PyObject
*_wrap_wxTheBrushList_get() {
1289 SWIG_MakePtr(ptemp
, (char *) wxTheBrushList
,"_wxBrushList_p");
1290 pyobj
= PyString_FromString(ptemp
);
1294 static int _wrap_wxTheColourDatabase_set(PyObject
*val
) {
1296 PyErr_SetString(PyExc_TypeError
,"Variable wxTheColourDatabase is read-only.");
1300 static PyObject
*_wrap_wxTheColourDatabase_get() {
1304 SWIG_MakePtr(ptemp
, (char *) wxTheColourDatabase
,"_wxColourDatabase_p");
1305 pyobj
= PyString_FromString(ptemp
);
1309 static void *SwigwxGDIObjectTowxObject(void *ptr
) {
1312 src
= (wxGDIObject
*) ptr
;
1313 dest
= (wxObject
*) src
;
1314 return (void *) dest
;
1317 #define new_wxGDIObject() (new wxGDIObject())
1318 static PyObject
*_wrap_new_wxGDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1319 PyObject
* _resultobj
;
1320 wxGDIObject
* _result
;
1321 char *_kwnames
[] = { NULL
};
1325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGDIObject",_kwnames
))
1328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1329 _result
= (wxGDIObject
*)new_wxGDIObject();
1331 wxPyEndAllowThreads(__tstate
);
1332 if (PyErr_Occurred()) return NULL
;
1334 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGDIObject_p");
1335 _resultobj
= Py_BuildValue("s",_ptemp
);
1338 _resultobj
= Py_None
;
1343 #define delete_wxGDIObject(_swigobj) (delete _swigobj)
1344 static PyObject
*_wrap_delete_wxGDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1345 PyObject
* _resultobj
;
1346 wxGDIObject
* _arg0
;
1347 PyObject
* _argo0
= 0;
1348 char *_kwnames
[] = { "self", NULL
};
1351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxGDIObject",_kwnames
,&_argo0
))
1354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGDIObject_p")) {
1356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxGDIObject. Expected _wxGDIObject_p.");
1361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1362 delete_wxGDIObject(_arg0
);
1364 wxPyEndAllowThreads(__tstate
);
1365 if (PyErr_Occurred()) return NULL
;
1366 } Py_INCREF(Py_None
);
1367 _resultobj
= Py_None
;
1371 #define wxGDIObject_GetVisible(_swigobj) (_swigobj->GetVisible())
1372 static PyObject
*_wrap_wxGDIObject_GetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1373 PyObject
* _resultobj
;
1375 wxGDIObject
* _arg0
;
1376 PyObject
* _argo0
= 0;
1377 char *_kwnames
[] = { "self", NULL
};
1380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGDIObject_GetVisible",_kwnames
,&_argo0
))
1383 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1384 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGDIObject_p")) {
1385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGDIObject_GetVisible. Expected _wxGDIObject_p.");
1390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1391 _result
= (bool )wxGDIObject_GetVisible(_arg0
);
1393 wxPyEndAllowThreads(__tstate
);
1394 if (PyErr_Occurred()) return NULL
;
1395 } _resultobj
= Py_BuildValue("i",_result
);
1399 #define wxGDIObject_SetVisible(_swigobj,_swigarg0) (_swigobj->SetVisible(_swigarg0))
1400 static PyObject
*_wrap_wxGDIObject_SetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1401 PyObject
* _resultobj
;
1402 wxGDIObject
* _arg0
;
1404 PyObject
* _argo0
= 0;
1406 char *_kwnames
[] = { "self","visible", NULL
};
1409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGDIObject_SetVisible",_kwnames
,&_argo0
,&tempbool1
))
1412 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1413 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGDIObject_p")) {
1414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGDIObject_SetVisible. Expected _wxGDIObject_p.");
1418 _arg1
= (bool ) tempbool1
;
1420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1421 wxGDIObject_SetVisible(_arg0
,_arg1
);
1423 wxPyEndAllowThreads(__tstate
);
1424 if (PyErr_Occurred()) return NULL
;
1425 } Py_INCREF(Py_None
);
1426 _resultobj
= Py_None
;
1430 #define wxGDIObject_IsNull(_swigobj) (_swigobj->IsNull())
1431 static PyObject
*_wrap_wxGDIObject_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1432 PyObject
* _resultobj
;
1434 wxGDIObject
* _arg0
;
1435 PyObject
* _argo0
= 0;
1436 char *_kwnames
[] = { "self", NULL
};
1439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGDIObject_IsNull",_kwnames
,&_argo0
))
1442 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1443 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGDIObject_p")) {
1444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGDIObject_IsNull. Expected _wxGDIObject_p.");
1449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1450 _result
= (bool )wxGDIObject_IsNull(_arg0
);
1452 wxPyEndAllowThreads(__tstate
);
1453 if (PyErr_Occurred()) return NULL
;
1454 } _resultobj
= Py_BuildValue("i",_result
);
1458 static void *SwigwxBitmapTowxGDIObject(void *ptr
) {
1461 src
= (wxBitmap
*) ptr
;
1462 dest
= (wxGDIObject
*) src
;
1463 return (void *) dest
;
1466 static void *SwigwxBitmapTowxObject(void *ptr
) {
1469 src
= (wxBitmap
*) ptr
;
1470 dest
= (wxObject
*) src
;
1471 return (void *) dest
;
1474 #define new_wxBitmap(_swigarg0,_swigarg1) (new wxBitmap(_swigarg0,_swigarg1))
1475 static PyObject
*_wrap_new_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1476 PyObject
* _resultobj
;
1479 wxBitmapType _arg1
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
1480 PyObject
* _obj0
= 0;
1481 char *_kwnames
[] = { "name","type", NULL
};
1485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxBitmap",_kwnames
,&_obj0
,&_arg1
))
1488 _arg0
= wxString_in_helper(_obj0
);
1493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1494 _result
= (wxBitmap
*)new_wxBitmap(*_arg0
,_arg1
);
1496 wxPyEndAllowThreads(__tstate
);
1497 if (PyErr_Occurred()) return NULL
;
1499 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1500 _resultobj
= Py_BuildValue("s",_ptemp
);
1503 _resultobj
= Py_None
;
1512 #define delete_wxBitmap(_swigobj) (delete _swigobj)
1513 static PyObject
*_wrap_delete_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1514 PyObject
* _resultobj
;
1516 PyObject
* _argo0
= 0;
1517 char *_kwnames
[] = { "self", NULL
};
1520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBitmap",_kwnames
,&_argo0
))
1523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBitmap. Expected _wxBitmap_p.");
1530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1531 delete_wxBitmap(_arg0
);
1533 wxPyEndAllowThreads(__tstate
);
1534 if (PyErr_Occurred()) return NULL
;
1535 } Py_INCREF(Py_None
);
1536 _resultobj
= Py_None
;
1540 #define wxBitmap_GetPalette(_swigobj) (_swigobj->GetPalette())
1541 static PyObject
*_wrap_wxBitmap_GetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1542 PyObject
* _resultobj
;
1543 wxPalette
* _result
;
1545 PyObject
* _argo0
= 0;
1546 char *_kwnames
[] = { "self", NULL
};
1550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetPalette",_kwnames
,&_argo0
))
1553 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1554 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetPalette. Expected _wxBitmap_p.");
1560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1561 _result
= (wxPalette
*)wxBitmap_GetPalette(_arg0
);
1563 wxPyEndAllowThreads(__tstate
);
1564 if (PyErr_Occurred()) return NULL
;
1566 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPalette_p");
1567 _resultobj
= Py_BuildValue("s",_ptemp
);
1570 _resultobj
= Py_None
;
1575 #define wxBitmap_GetMask(_swigobj) (_swigobj->GetMask())
1576 static PyObject
*_wrap_wxBitmap_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1577 PyObject
* _resultobj
;
1580 PyObject
* _argo0
= 0;
1581 char *_kwnames
[] = { "self", NULL
};
1585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetMask",_kwnames
,&_argo0
))
1588 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1589 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetMask. Expected _wxBitmap_p.");
1595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1596 _result
= (wxMask
*)wxBitmap_GetMask(_arg0
);
1598 wxPyEndAllowThreads(__tstate
);
1599 if (PyErr_Occurred()) return NULL
;
1601 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
1602 _resultobj
= Py_BuildValue("s",_ptemp
);
1605 _resultobj
= Py_None
;
1610 #define wxBitmap_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
1611 static PyObject
*_wrap_wxBitmap_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1612 PyObject
* _resultobj
;
1616 wxBitmapType _arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
1617 PyObject
* _argo0
= 0;
1618 PyObject
* _obj1
= 0;
1619 char *_kwnames
[] = { "self","name","type", NULL
};
1622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxBitmap_LoadFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1625 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1626 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_LoadFile. Expected _wxBitmap_p.");
1632 _arg1
= wxString_in_helper(_obj1
);
1637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1638 _result
= (bool )wxBitmap_LoadFile(_arg0
,*_arg1
,_arg2
);
1640 wxPyEndAllowThreads(__tstate
);
1641 if (PyErr_Occurred()) return NULL
;
1642 } _resultobj
= Py_BuildValue("i",_result
);
1650 #define wxBitmap_SaveFile(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SaveFile(_swigarg0,_swigarg1,_swigarg2))
1651 static PyObject
*_wrap_wxBitmap_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1652 PyObject
* _resultobj
;
1657 wxPalette
* _arg3
= (wxPalette
*) NULL
;
1658 PyObject
* _argo0
= 0;
1659 PyObject
* _obj1
= 0;
1660 PyObject
* _argo3
= 0;
1661 char *_kwnames
[] = { "self","name","type","palette", NULL
};
1664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|O:wxBitmap_SaveFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_argo3
))
1667 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1668 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SaveFile. Expected _wxBitmap_p.");
1674 _arg1
= wxString_in_helper(_obj1
);
1679 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1680 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxPalette_p")) {
1681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxBitmap_SaveFile. Expected _wxPalette_p.");
1686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1687 _result
= (bool )wxBitmap_SaveFile(_arg0
,*_arg1
,_arg2
,_arg3
);
1689 wxPyEndAllowThreads(__tstate
);
1690 if (PyErr_Occurred()) return NULL
;
1691 } _resultobj
= Py_BuildValue("i",_result
);
1699 #define wxBitmap_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
1700 static PyObject
*_wrap_wxBitmap_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1701 PyObject
* _resultobj
;
1704 PyObject
* _argo0
= 0;
1705 PyObject
* _argo1
= 0;
1706 char *_kwnames
[] = { "self","mask", NULL
};
1709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_SetMask",_kwnames
,&_argo0
,&_argo1
))
1712 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1713 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetMask. Expected _wxBitmap_p.");
1719 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1720 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMask_p")) {
1721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmap_SetMask. Expected _wxMask_p.");
1726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1727 wxBitmap_SetMask(_arg0
,_arg1
);
1729 wxPyEndAllowThreads(__tstate
);
1730 if (PyErr_Occurred()) return NULL
;
1731 } Py_INCREF(Py_None
);
1732 _resultobj
= Py_None
;
1736 #define wxBitmap_Ok(_swigobj) (_swigobj->Ok())
1737 static PyObject
*_wrap_wxBitmap_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1738 PyObject
* _resultobj
;
1741 PyObject
* _argo0
= 0;
1742 char *_kwnames
[] = { "self", NULL
};
1745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_Ok",_kwnames
,&_argo0
))
1748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_Ok. Expected _wxBitmap_p.");
1755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1756 _result
= (bool )wxBitmap_Ok(_arg0
);
1758 wxPyEndAllowThreads(__tstate
);
1759 if (PyErr_Occurred()) return NULL
;
1760 } _resultobj
= Py_BuildValue("i",_result
);
1764 #define wxBitmap_GetWidth(_swigobj) (_swigobj->GetWidth())
1765 static PyObject
*_wrap_wxBitmap_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1766 PyObject
* _resultobj
;
1769 PyObject
* _argo0
= 0;
1770 char *_kwnames
[] = { "self", NULL
};
1773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetWidth",_kwnames
,&_argo0
))
1776 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1777 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetWidth. Expected _wxBitmap_p.");
1783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1784 _result
= (int )wxBitmap_GetWidth(_arg0
);
1786 wxPyEndAllowThreads(__tstate
);
1787 if (PyErr_Occurred()) return NULL
;
1788 } _resultobj
= Py_BuildValue("i",_result
);
1792 #define wxBitmap_GetHeight(_swigobj) (_swigobj->GetHeight())
1793 static PyObject
*_wrap_wxBitmap_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1794 PyObject
* _resultobj
;
1797 PyObject
* _argo0
= 0;
1798 char *_kwnames
[] = { "self", NULL
};
1801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetHeight",_kwnames
,&_argo0
))
1804 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1805 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetHeight. Expected _wxBitmap_p.");
1811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1812 _result
= (int )wxBitmap_GetHeight(_arg0
);
1814 wxPyEndAllowThreads(__tstate
);
1815 if (PyErr_Occurred()) return NULL
;
1816 } _resultobj
= Py_BuildValue("i",_result
);
1820 #define wxBitmap_GetDepth(_swigobj) (_swigobj->GetDepth())
1821 static PyObject
*_wrap_wxBitmap_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1822 PyObject
* _resultobj
;
1825 PyObject
* _argo0
= 0;
1826 char *_kwnames
[] = { "self", NULL
};
1829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetDepth",_kwnames
,&_argo0
))
1832 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1833 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetDepth. Expected _wxBitmap_p.");
1839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1840 _result
= (int )wxBitmap_GetDepth(_arg0
);
1842 wxPyEndAllowThreads(__tstate
);
1843 if (PyErr_Occurred()) return NULL
;
1844 } _resultobj
= Py_BuildValue("i",_result
);
1848 #define wxBitmap_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1849 static PyObject
*_wrap_wxBitmap_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1850 PyObject
* _resultobj
;
1853 PyObject
* _argo0
= 0;
1854 char *_kwnames
[] = { "self","w", NULL
};
1857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBitmap_SetWidth",_kwnames
,&_argo0
,&_arg1
))
1860 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1861 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetWidth. Expected _wxBitmap_p.");
1867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1868 wxBitmap_SetWidth(_arg0
,_arg1
);
1870 wxPyEndAllowThreads(__tstate
);
1871 if (PyErr_Occurred()) return NULL
;
1872 } Py_INCREF(Py_None
);
1873 _resultobj
= Py_None
;
1877 #define wxBitmap_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1878 static PyObject
*_wrap_wxBitmap_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1879 PyObject
* _resultobj
;
1882 PyObject
* _argo0
= 0;
1883 char *_kwnames
[] = { "self","h", NULL
};
1886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBitmap_SetHeight",_kwnames
,&_argo0
,&_arg1
))
1889 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1890 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetHeight. Expected _wxBitmap_p.");
1896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1897 wxBitmap_SetHeight(_arg0
,_arg1
);
1899 wxPyEndAllowThreads(__tstate
);
1900 if (PyErr_Occurred()) return NULL
;
1901 } Py_INCREF(Py_None
);
1902 _resultobj
= Py_None
;
1906 #define wxBitmap_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
1907 static PyObject
*_wrap_wxBitmap_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1908 PyObject
* _resultobj
;
1911 PyObject
* _argo0
= 0;
1912 char *_kwnames
[] = { "self","d", NULL
};
1915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBitmap_SetDepth",_kwnames
,&_argo0
,&_arg1
))
1918 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1919 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetDepth. Expected _wxBitmap_p.");
1925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1926 wxBitmap_SetDepth(_arg0
,_arg1
);
1928 wxPyEndAllowThreads(__tstate
);
1929 if (PyErr_Occurred()) return NULL
;
1930 } Py_INCREF(Py_None
);
1931 _resultobj
= Py_None
;
1935 #define wxBitmap_GetSubBitmap(_swigobj,_swigarg0) (_swigobj->GetSubBitmap(_swigarg0))
1936 static PyObject
*_wrap_wxBitmap_GetSubBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1937 PyObject
* _resultobj
;
1941 PyObject
* _argo0
= 0;
1943 PyObject
* _obj1
= 0;
1944 char *_kwnames
[] = { "self","rect", NULL
};
1948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_GetSubBitmap",_kwnames
,&_argo0
,&_obj1
))
1951 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1952 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetSubBitmap. Expected _wxBitmap_p.");
1959 if (! wxRect_helper(_obj1
, &_arg1
))
1963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1964 _result
= new wxBitmap (wxBitmap_GetSubBitmap(_arg0
,*_arg1
));
1966 wxPyEndAllowThreads(__tstate
);
1967 if (PyErr_Occurred()) return NULL
;
1968 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1969 _resultobj
= Py_BuildValue("s",_ptemp
);
1973 #define wxBitmap_CopyFromIcon(_swigobj,_swigarg0) (_swigobj->CopyFromIcon(_swigarg0))
1974 static PyObject
*_wrap_wxBitmap_CopyFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1975 PyObject
* _resultobj
;
1979 PyObject
* _argo0
= 0;
1980 PyObject
* _argo1
= 0;
1981 char *_kwnames
[] = { "self","icon", NULL
};
1984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_CopyFromIcon",_kwnames
,&_argo0
,&_argo1
))
1987 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1988 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_CopyFromIcon. Expected _wxBitmap_p.");
1994 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1995 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
1996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmap_CopyFromIcon. Expected _wxIcon_p.");
2001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2002 _result
= (bool )wxBitmap_CopyFromIcon(_arg0
,*_arg1
);
2004 wxPyEndAllowThreads(__tstate
);
2005 if (PyErr_Occurred()) return NULL
;
2006 } _resultobj
= Py_BuildValue("i",_result
);
2010 static void *SwigwxMaskTowxObject(void *ptr
) {
2013 src
= (wxMask
*) ptr
;
2014 dest
= (wxObject
*) src
;
2015 return (void *) dest
;
2018 #define new_wxMask(_swigarg0) (new wxMask(_swigarg0))
2019 static PyObject
*_wrap_new_wxMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2020 PyObject
* _resultobj
;
2023 PyObject
* _argo0
= 0;
2024 char *_kwnames
[] = { "bitmap", NULL
};
2028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxMask",_kwnames
,&_argo0
))
2031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
2033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMask. Expected _wxBitmap_p.");
2038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2039 _result
= (wxMask
*)new_wxMask(*_arg0
);
2041 wxPyEndAllowThreads(__tstate
);
2042 if (PyErr_Occurred()) return NULL
;
2044 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
2045 _resultobj
= Py_BuildValue("s",_ptemp
);
2048 _resultobj
= Py_None
;
2053 static void wxMask_Destroy(wxMask
*self
) { delete self
; }
2054 static PyObject
*_wrap_wxMask_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2055 PyObject
* _resultobj
;
2057 PyObject
* _argo0
= 0;
2058 char *_kwnames
[] = { "self", NULL
};
2061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMask_Destroy",_kwnames
,&_argo0
))
2064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMask_p")) {
2066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMask_Destroy. Expected _wxMask_p.");
2071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2072 wxMask_Destroy(_arg0
);
2074 wxPyEndAllowThreads(__tstate
);
2075 if (PyErr_Occurred()) return NULL
;
2076 } Py_INCREF(Py_None
);
2077 _resultobj
= Py_None
;
2081 static void *SwigwxIconTowxGDIObject(void *ptr
) {
2084 src
= (wxIcon
*) ptr
;
2085 dest
= (wxGDIObject
*) src
;
2086 return (void *) dest
;
2089 static void *SwigwxIconTowxObject(void *ptr
) {
2092 src
= (wxIcon
*) ptr
;
2093 dest
= (wxObject
*) src
;
2094 return (void *) dest
;
2097 #define new_wxIcon(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxIcon(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2098 static PyObject
*_wrap_new_wxIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2099 PyObject
* _resultobj
;
2103 int _arg2
= (int ) -1;
2104 int _arg3
= (int ) -1;
2105 PyObject
* _obj0
= 0;
2106 char *_kwnames
[] = { "name","flags","desiredWidth","desiredHeight", NULL
};
2110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|ii:new_wxIcon",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_arg3
))
2113 _arg0
= wxString_in_helper(_obj0
);
2118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2119 _result
= (wxIcon
*)new_wxIcon(*_arg0
,_arg1
,_arg2
,_arg3
);
2121 wxPyEndAllowThreads(__tstate
);
2122 if (PyErr_Occurred()) return NULL
;
2124 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
2125 _resultobj
= Py_BuildValue("s",_ptemp
);
2128 _resultobj
= Py_None
;
2137 #define delete_wxIcon(_swigobj) (delete _swigobj)
2138 static PyObject
*_wrap_delete_wxIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2139 PyObject
* _resultobj
;
2141 PyObject
* _argo0
= 0;
2142 char *_kwnames
[] = { "self", NULL
};
2145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxIcon",_kwnames
,&_argo0
))
2148 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2149 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxIcon. Expected _wxIcon_p.");
2155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2156 delete_wxIcon(_arg0
);
2158 wxPyEndAllowThreads(__tstate
);
2159 if (PyErr_Occurred()) return NULL
;
2160 } Py_INCREF(Py_None
);
2161 _resultobj
= Py_None
;
2165 #define wxIcon_Ok(_swigobj) (_swigobj->Ok())
2166 static PyObject
*_wrap_wxIcon_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2167 PyObject
* _resultobj
;
2170 PyObject
* _argo0
= 0;
2171 char *_kwnames
[] = { "self", NULL
};
2174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_Ok",_kwnames
,&_argo0
))
2177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_Ok. Expected _wxIcon_p.");
2184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2185 _result
= (bool )wxIcon_Ok(_arg0
);
2187 wxPyEndAllowThreads(__tstate
);
2188 if (PyErr_Occurred()) return NULL
;
2189 } _resultobj
= Py_BuildValue("i",_result
);
2193 #define wxIcon_GetWidth(_swigobj) (_swigobj->GetWidth())
2194 static PyObject
*_wrap_wxIcon_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2195 PyObject
* _resultobj
;
2198 PyObject
* _argo0
= 0;
2199 char *_kwnames
[] = { "self", NULL
};
2202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetWidth",_kwnames
,&_argo0
))
2205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetWidth. Expected _wxIcon_p.");
2212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2213 _result
= (int )wxIcon_GetWidth(_arg0
);
2215 wxPyEndAllowThreads(__tstate
);
2216 if (PyErr_Occurred()) return NULL
;
2217 } _resultobj
= Py_BuildValue("i",_result
);
2221 #define wxIcon_GetHeight(_swigobj) (_swigobj->GetHeight())
2222 static PyObject
*_wrap_wxIcon_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2223 PyObject
* _resultobj
;
2226 PyObject
* _argo0
= 0;
2227 char *_kwnames
[] = { "self", NULL
};
2230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetHeight",_kwnames
,&_argo0
))
2233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetHeight. Expected _wxIcon_p.");
2240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2241 _result
= (int )wxIcon_GetHeight(_arg0
);
2243 wxPyEndAllowThreads(__tstate
);
2244 if (PyErr_Occurred()) return NULL
;
2245 } _resultobj
= Py_BuildValue("i",_result
);
2249 #define wxIcon_GetDepth(_swigobj) (_swigobj->GetDepth())
2250 static PyObject
*_wrap_wxIcon_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2251 PyObject
* _resultobj
;
2254 PyObject
* _argo0
= 0;
2255 char *_kwnames
[] = { "self", NULL
};
2258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetDepth",_kwnames
,&_argo0
))
2261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetDepth. Expected _wxIcon_p.");
2268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2269 _result
= (int )wxIcon_GetDepth(_arg0
);
2271 wxPyEndAllowThreads(__tstate
);
2272 if (PyErr_Occurred()) return NULL
;
2273 } _resultobj
= Py_BuildValue("i",_result
);
2277 #define wxIcon_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2278 static PyObject
*_wrap_wxIcon_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2279 PyObject
* _resultobj
;
2282 PyObject
* _argo0
= 0;
2283 char *_kwnames
[] = { "self","w", NULL
};
2286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetWidth",_kwnames
,&_argo0
,&_arg1
))
2289 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2290 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetWidth. Expected _wxIcon_p.");
2296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2297 wxIcon_SetWidth(_arg0
,_arg1
);
2299 wxPyEndAllowThreads(__tstate
);
2300 if (PyErr_Occurred()) return NULL
;
2301 } Py_INCREF(Py_None
);
2302 _resultobj
= Py_None
;
2306 #define wxIcon_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
2307 static PyObject
*_wrap_wxIcon_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2308 PyObject
* _resultobj
;
2311 PyObject
* _argo0
= 0;
2312 char *_kwnames
[] = { "self","h", NULL
};
2315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetHeight",_kwnames
,&_argo0
,&_arg1
))
2318 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2319 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetHeight. Expected _wxIcon_p.");
2325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2326 wxIcon_SetHeight(_arg0
,_arg1
);
2328 wxPyEndAllowThreads(__tstate
);
2329 if (PyErr_Occurred()) return NULL
;
2330 } Py_INCREF(Py_None
);
2331 _resultobj
= Py_None
;
2335 #define wxIcon_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
2336 static PyObject
*_wrap_wxIcon_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2337 PyObject
* _resultobj
;
2340 PyObject
* _argo0
= 0;
2341 char *_kwnames
[] = { "self","d", NULL
};
2344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetDepth",_kwnames
,&_argo0
,&_arg1
))
2347 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2348 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetDepth. Expected _wxIcon_p.");
2354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2355 wxIcon_SetDepth(_arg0
,_arg1
);
2357 wxPyEndAllowThreads(__tstate
);
2358 if (PyErr_Occurred()) return NULL
;
2359 } Py_INCREF(Py_None
);
2360 _resultobj
= Py_None
;
2364 #define wxIcon_CopyFromBitmap(_swigobj,_swigarg0) (_swigobj->CopyFromBitmap(_swigarg0))
2365 static PyObject
*_wrap_wxIcon_CopyFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2366 PyObject
* _resultobj
;
2369 PyObject
* _argo0
= 0;
2370 PyObject
* _argo1
= 0;
2371 char *_kwnames
[] = { "self","bmp", NULL
};
2374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxIcon_CopyFromBitmap",_kwnames
,&_argo0
,&_argo1
))
2377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_CopyFromBitmap. Expected _wxIcon_p.");
2384 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2385 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
2386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIcon_CopyFromBitmap. Expected _wxBitmap_p.");
2391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2392 wxIcon_CopyFromBitmap(_arg0
,*_arg1
);
2394 wxPyEndAllowThreads(__tstate
);
2395 if (PyErr_Occurred()) return NULL
;
2396 } Py_INCREF(Py_None
);
2397 _resultobj
= Py_None
;
2401 static void *SwigwxCursorTowxGDIObject(void *ptr
) {
2404 src
= (wxCursor
*) ptr
;
2405 dest
= (wxGDIObject
*) src
;
2406 return (void *) dest
;
2409 static void *SwigwxCursorTowxObject(void *ptr
) {
2412 src
= (wxCursor
*) ptr
;
2413 dest
= (wxObject
*) src
;
2414 return (void *) dest
;
2417 #define delete_wxCursor(_swigobj) (delete _swigobj)
2418 static PyObject
*_wrap_delete_wxCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2419 PyObject
* _resultobj
;
2421 PyObject
* _argo0
= 0;
2422 char *_kwnames
[] = { "self", NULL
};
2425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCursor",_kwnames
,&_argo0
))
2428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
2430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCursor. Expected _wxCursor_p.");
2435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2436 delete_wxCursor(_arg0
);
2438 wxPyEndAllowThreads(__tstate
);
2439 if (PyErr_Occurred()) return NULL
;
2440 } Py_INCREF(Py_None
);
2441 _resultobj
= Py_None
;
2445 #define wxCursor_Ok(_swigobj) (_swigobj->Ok())
2446 static PyObject
*_wrap_wxCursor_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2447 PyObject
* _resultobj
;
2450 PyObject
* _argo0
= 0;
2451 char *_kwnames
[] = { "self", NULL
};
2454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCursor_Ok",_kwnames
,&_argo0
))
2457 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2458 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
2459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_Ok. Expected _wxCursor_p.");
2464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2465 _result
= (bool )wxCursor_Ok(_arg0
);
2467 wxPyEndAllowThreads(__tstate
);
2468 if (PyErr_Occurred()) return NULL
;
2469 } _resultobj
= Py_BuildValue("i",_result
);
2473 #define new_wxNativeFontInfo() (new wxNativeFontInfo())
2474 static PyObject
*_wrap_new_wxNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2475 PyObject
* _resultobj
;
2476 wxNativeFontInfo
* _result
;
2477 char *_kwnames
[] = { NULL
};
2481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxNativeFontInfo",_kwnames
))
2484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2485 _result
= (wxNativeFontInfo
*)new_wxNativeFontInfo();
2487 wxPyEndAllowThreads(__tstate
);
2488 if (PyErr_Occurred()) return NULL
;
2490 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNativeFontInfo_p");
2491 _resultobj
= Py_BuildValue("s",_ptemp
);
2494 _resultobj
= Py_None
;
2499 #define wxNativeFontInfo_Init(_swigobj) (_swigobj->Init())
2500 static PyObject
*_wrap_wxNativeFontInfo_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2501 PyObject
* _resultobj
;
2502 wxNativeFontInfo
* _arg0
;
2503 PyObject
* _argo0
= 0;
2504 char *_kwnames
[] = { "self", NULL
};
2507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_Init",_kwnames
,&_argo0
))
2510 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2511 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_Init. Expected _wxNativeFontInfo_p.");
2517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2518 wxNativeFontInfo_Init(_arg0
);
2520 wxPyEndAllowThreads(__tstate
);
2521 if (PyErr_Occurred()) return NULL
;
2522 } Py_INCREF(Py_None
);
2523 _resultobj
= Py_None
;
2527 #define wxNativeFontInfo_GetPointSize(_swigobj) (_swigobj->GetPointSize())
2528 static PyObject
*_wrap_wxNativeFontInfo_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2529 PyObject
* _resultobj
;
2531 wxNativeFontInfo
* _arg0
;
2532 PyObject
* _argo0
= 0;
2533 char *_kwnames
[] = { "self", NULL
};
2536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_GetPointSize",_kwnames
,&_argo0
))
2539 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2540 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_GetPointSize. Expected _wxNativeFontInfo_p.");
2546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2547 _result
= (int )wxNativeFontInfo_GetPointSize(_arg0
);
2549 wxPyEndAllowThreads(__tstate
);
2550 if (PyErr_Occurred()) return NULL
;
2551 } _resultobj
= Py_BuildValue("i",_result
);
2555 #define wxNativeFontInfo_GetStyle(_swigobj) (_swigobj->GetStyle())
2556 static PyObject
*_wrap_wxNativeFontInfo_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2557 PyObject
* _resultobj
;
2558 wxFontStyle _result
;
2559 wxNativeFontInfo
* _arg0
;
2560 PyObject
* _argo0
= 0;
2561 char *_kwnames
[] = { "self", NULL
};
2564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_GetStyle",_kwnames
,&_argo0
))
2567 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2568 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_GetStyle. Expected _wxNativeFontInfo_p.");
2574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2575 _result
= (wxFontStyle
)wxNativeFontInfo_GetStyle(_arg0
);
2577 wxPyEndAllowThreads(__tstate
);
2578 if (PyErr_Occurred()) return NULL
;
2579 } _resultobj
= Py_BuildValue("i",_result
);
2583 #define wxNativeFontInfo_GetWeight(_swigobj) (_swigobj->GetWeight())
2584 static PyObject
*_wrap_wxNativeFontInfo_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2585 PyObject
* _resultobj
;
2586 wxFontWeight _result
;
2587 wxNativeFontInfo
* _arg0
;
2588 PyObject
* _argo0
= 0;
2589 char *_kwnames
[] = { "self", NULL
};
2592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_GetWeight",_kwnames
,&_argo0
))
2595 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2596 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_GetWeight. Expected _wxNativeFontInfo_p.");
2602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2603 _result
= (wxFontWeight
)wxNativeFontInfo_GetWeight(_arg0
);
2605 wxPyEndAllowThreads(__tstate
);
2606 if (PyErr_Occurred()) return NULL
;
2607 } _resultobj
= Py_BuildValue("i",_result
);
2611 #define wxNativeFontInfo_GetUnderlined(_swigobj) (_swigobj->GetUnderlined())
2612 static PyObject
*_wrap_wxNativeFontInfo_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2613 PyObject
* _resultobj
;
2615 wxNativeFontInfo
* _arg0
;
2616 PyObject
* _argo0
= 0;
2617 char *_kwnames
[] = { "self", NULL
};
2620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_GetUnderlined",_kwnames
,&_argo0
))
2623 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2624 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_GetUnderlined. Expected _wxNativeFontInfo_p.");
2630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2631 _result
= (bool )wxNativeFontInfo_GetUnderlined(_arg0
);
2633 wxPyEndAllowThreads(__tstate
);
2634 if (PyErr_Occurred()) return NULL
;
2635 } _resultobj
= Py_BuildValue("i",_result
);
2639 #define wxNativeFontInfo_GetFaceName(_swigobj) (_swigobj->GetFaceName())
2640 static PyObject
*_wrap_wxNativeFontInfo_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2641 PyObject
* _resultobj
;
2643 wxNativeFontInfo
* _arg0
;
2644 PyObject
* _argo0
= 0;
2645 char *_kwnames
[] = { "self", NULL
};
2648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_GetFaceName",_kwnames
,&_argo0
))
2651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_GetFaceName. Expected _wxNativeFontInfo_p.");
2658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2659 _result
= new wxString (wxNativeFontInfo_GetFaceName(_arg0
));
2661 wxPyEndAllowThreads(__tstate
);
2662 if (PyErr_Occurred()) return NULL
;
2665 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2667 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2676 #define wxNativeFontInfo_GetFamily(_swigobj) (_swigobj->GetFamily())
2677 static PyObject
*_wrap_wxNativeFontInfo_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2678 PyObject
* _resultobj
;
2679 wxFontFamily _result
;
2680 wxNativeFontInfo
* _arg0
;
2681 PyObject
* _argo0
= 0;
2682 char *_kwnames
[] = { "self", NULL
};
2685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_GetFamily",_kwnames
,&_argo0
))
2688 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2689 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_GetFamily. Expected _wxNativeFontInfo_p.");
2695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2696 _result
= (wxFontFamily
)wxNativeFontInfo_GetFamily(_arg0
);
2698 wxPyEndAllowThreads(__tstate
);
2699 if (PyErr_Occurred()) return NULL
;
2700 } _resultobj
= Py_BuildValue("i",_result
);
2704 #define wxNativeFontInfo_GetEncoding(_swigobj) (_swigobj->GetEncoding())
2705 static PyObject
*_wrap_wxNativeFontInfo_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2706 PyObject
* _resultobj
;
2707 wxFontEncoding _result
;
2708 wxNativeFontInfo
* _arg0
;
2709 PyObject
* _argo0
= 0;
2710 char *_kwnames
[] = { "self", NULL
};
2713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_GetEncoding",_kwnames
,&_argo0
))
2716 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2717 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_GetEncoding. Expected _wxNativeFontInfo_p.");
2723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2724 _result
= (wxFontEncoding
)wxNativeFontInfo_GetEncoding(_arg0
);
2726 wxPyEndAllowThreads(__tstate
);
2727 if (PyErr_Occurred()) return NULL
;
2728 } _resultobj
= Py_BuildValue("i",_result
);
2732 #define wxNativeFontInfo_SetPointSize(_swigobj,_swigarg0) (_swigobj->SetPointSize(_swigarg0))
2733 static PyObject
*_wrap_wxNativeFontInfo_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2734 PyObject
* _resultobj
;
2735 wxNativeFontInfo
* _arg0
;
2737 PyObject
* _argo0
= 0;
2738 char *_kwnames
[] = { "self","pointsize", NULL
};
2741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNativeFontInfo_SetPointSize",_kwnames
,&_argo0
,&_arg1
))
2744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_SetPointSize. Expected _wxNativeFontInfo_p.");
2751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2752 wxNativeFontInfo_SetPointSize(_arg0
,_arg1
);
2754 wxPyEndAllowThreads(__tstate
);
2755 if (PyErr_Occurred()) return NULL
;
2756 } Py_INCREF(Py_None
);
2757 _resultobj
= Py_None
;
2761 #define wxNativeFontInfo_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
2762 static PyObject
*_wrap_wxNativeFontInfo_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2763 PyObject
* _resultobj
;
2764 wxNativeFontInfo
* _arg0
;
2766 PyObject
* _argo0
= 0;
2767 char *_kwnames
[] = { "self","style", NULL
};
2770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNativeFontInfo_SetStyle",_kwnames
,&_argo0
,&_arg1
))
2773 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2774 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_SetStyle. Expected _wxNativeFontInfo_p.");
2780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2781 wxNativeFontInfo_SetStyle(_arg0
,_arg1
);
2783 wxPyEndAllowThreads(__tstate
);
2784 if (PyErr_Occurred()) return NULL
;
2785 } Py_INCREF(Py_None
);
2786 _resultobj
= Py_None
;
2790 #define wxNativeFontInfo_SetWeight(_swigobj,_swigarg0) (_swigobj->SetWeight(_swigarg0))
2791 static PyObject
*_wrap_wxNativeFontInfo_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2792 PyObject
* _resultobj
;
2793 wxNativeFontInfo
* _arg0
;
2795 PyObject
* _argo0
= 0;
2796 char *_kwnames
[] = { "self","weight", NULL
};
2799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNativeFontInfo_SetWeight",_kwnames
,&_argo0
,&_arg1
))
2802 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2803 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_SetWeight. Expected _wxNativeFontInfo_p.");
2809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2810 wxNativeFontInfo_SetWeight(_arg0
,_arg1
);
2812 wxPyEndAllowThreads(__tstate
);
2813 if (PyErr_Occurred()) return NULL
;
2814 } Py_INCREF(Py_None
);
2815 _resultobj
= Py_None
;
2819 #define wxNativeFontInfo_SetUnderlined(_swigobj,_swigarg0) (_swigobj->SetUnderlined(_swigarg0))
2820 static PyObject
*_wrap_wxNativeFontInfo_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2821 PyObject
* _resultobj
;
2822 wxNativeFontInfo
* _arg0
;
2824 PyObject
* _argo0
= 0;
2826 char *_kwnames
[] = { "self","underlined", NULL
};
2829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNativeFontInfo_SetUnderlined",_kwnames
,&_argo0
,&tempbool1
))
2832 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2833 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_SetUnderlined. Expected _wxNativeFontInfo_p.");
2838 _arg1
= (bool ) tempbool1
;
2840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2841 wxNativeFontInfo_SetUnderlined(_arg0
,_arg1
);
2843 wxPyEndAllowThreads(__tstate
);
2844 if (PyErr_Occurred()) return NULL
;
2845 } Py_INCREF(Py_None
);
2846 _resultobj
= Py_None
;
2850 #define wxNativeFontInfo_SetFaceName(_swigobj,_swigarg0) (_swigobj->SetFaceName(_swigarg0))
2851 static PyObject
*_wrap_wxNativeFontInfo_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2852 PyObject
* _resultobj
;
2853 wxNativeFontInfo
* _arg0
;
2855 PyObject
* _argo0
= 0;
2856 PyObject
* _obj1
= 0;
2857 char *_kwnames
[] = { "self","facename", NULL
};
2860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNativeFontInfo_SetFaceName",_kwnames
,&_argo0
,&_obj1
))
2863 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2864 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_SetFaceName. Expected _wxNativeFontInfo_p.");
2870 _arg1
= wxString_in_helper(_obj1
);
2875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2876 wxNativeFontInfo_SetFaceName(_arg0
,*_arg1
);
2878 wxPyEndAllowThreads(__tstate
);
2879 if (PyErr_Occurred()) return NULL
;
2880 } Py_INCREF(Py_None
);
2881 _resultobj
= Py_None
;
2889 #define wxNativeFontInfo_SetFamily(_swigobj,_swigarg0) (_swigobj->SetFamily(_swigarg0))
2890 static PyObject
*_wrap_wxNativeFontInfo_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2891 PyObject
* _resultobj
;
2892 wxNativeFontInfo
* _arg0
;
2894 PyObject
* _argo0
= 0;
2895 char *_kwnames
[] = { "self","family", NULL
};
2898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNativeFontInfo_SetFamily",_kwnames
,&_argo0
,&_arg1
))
2901 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2902 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_SetFamily. Expected _wxNativeFontInfo_p.");
2908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2909 wxNativeFontInfo_SetFamily(_arg0
,_arg1
);
2911 wxPyEndAllowThreads(__tstate
);
2912 if (PyErr_Occurred()) return NULL
;
2913 } Py_INCREF(Py_None
);
2914 _resultobj
= Py_None
;
2918 #define wxNativeFontInfo_SetEncoding(_swigobj,_swigarg0) (_swigobj->SetEncoding(_swigarg0))
2919 static PyObject
*_wrap_wxNativeFontInfo_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2920 PyObject
* _resultobj
;
2921 wxNativeFontInfo
* _arg0
;
2922 wxFontEncoding _arg1
;
2923 PyObject
* _argo0
= 0;
2924 char *_kwnames
[] = { "self","encoding", NULL
};
2927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNativeFontInfo_SetEncoding",_kwnames
,&_argo0
,&_arg1
))
2930 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2931 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_SetEncoding. Expected _wxNativeFontInfo_p.");
2937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2938 wxNativeFontInfo_SetEncoding(_arg0
,_arg1
);
2940 wxPyEndAllowThreads(__tstate
);
2941 if (PyErr_Occurred()) return NULL
;
2942 } Py_INCREF(Py_None
);
2943 _resultobj
= Py_None
;
2947 #define wxNativeFontInfo_FromString(_swigobj,_swigarg0) (_swigobj->FromString(_swigarg0))
2948 static PyObject
*_wrap_wxNativeFontInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2949 PyObject
* _resultobj
;
2951 wxNativeFontInfo
* _arg0
;
2953 PyObject
* _argo0
= 0;
2954 PyObject
* _obj1
= 0;
2955 char *_kwnames
[] = { "self","s", NULL
};
2958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNativeFontInfo_FromString",_kwnames
,&_argo0
,&_obj1
))
2961 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2962 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_FromString. Expected _wxNativeFontInfo_p.");
2968 _arg1
= wxString_in_helper(_obj1
);
2973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2974 _result
= (bool )wxNativeFontInfo_FromString(_arg0
,*_arg1
);
2976 wxPyEndAllowThreads(__tstate
);
2977 if (PyErr_Occurred()) return NULL
;
2978 } _resultobj
= Py_BuildValue("i",_result
);
2986 #define wxNativeFontInfo_ToString(_swigobj) (_swigobj->ToString())
2987 static PyObject
*_wrap_wxNativeFontInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2988 PyObject
* _resultobj
;
2990 wxNativeFontInfo
* _arg0
;
2991 PyObject
* _argo0
= 0;
2992 char *_kwnames
[] = { "self", NULL
};
2995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_ToString",_kwnames
,&_argo0
))
2998 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2999 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_ToString. Expected _wxNativeFontInfo_p.");
3005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3006 _result
= new wxString (wxNativeFontInfo_ToString(_arg0
));
3008 wxPyEndAllowThreads(__tstate
);
3009 if (PyErr_Occurred()) return NULL
;
3012 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3014 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3023 static wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
) {
3024 return self
->ToString();
3026 static PyObject
*_wrap_wxNativeFontInfo___str__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3027 PyObject
* _resultobj
;
3029 wxNativeFontInfo
* _arg0
;
3030 PyObject
* _argo0
= 0;
3031 char *_kwnames
[] = { "self", NULL
};
3034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo___str__",_kwnames
,&_argo0
))
3037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo___str__. Expected _wxNativeFontInfo_p.");
3044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3045 _result
= new wxString (wxNativeFontInfo___str__(_arg0
));
3047 wxPyEndAllowThreads(__tstate
);
3048 if (PyErr_Occurred()) return NULL
;
3051 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3053 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3062 #define wxNativeFontInfo_FromUserString(_swigobj,_swigarg0) (_swigobj->FromUserString(_swigarg0))
3063 static PyObject
*_wrap_wxNativeFontInfo_FromUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3064 PyObject
* _resultobj
;
3066 wxNativeFontInfo
* _arg0
;
3068 PyObject
* _argo0
= 0;
3069 PyObject
* _obj1
= 0;
3070 char *_kwnames
[] = { "self","s", NULL
};
3073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNativeFontInfo_FromUserString",_kwnames
,&_argo0
,&_obj1
))
3076 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3077 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_FromUserString. Expected _wxNativeFontInfo_p.");
3083 _arg1
= wxString_in_helper(_obj1
);
3088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3089 _result
= (bool )wxNativeFontInfo_FromUserString(_arg0
,*_arg1
);
3091 wxPyEndAllowThreads(__tstate
);
3092 if (PyErr_Occurred()) return NULL
;
3093 } _resultobj
= Py_BuildValue("i",_result
);
3101 #define wxNativeFontInfo_ToUserString(_swigobj) (_swigobj->ToUserString())
3102 static PyObject
*_wrap_wxNativeFontInfo_ToUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3103 PyObject
* _resultobj
;
3105 wxNativeFontInfo
* _arg0
;
3106 PyObject
* _argo0
= 0;
3107 char *_kwnames
[] = { "self", NULL
};
3110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_ToUserString",_kwnames
,&_argo0
))
3113 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3114 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_ToUserString. Expected _wxNativeFontInfo_p.");
3120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3121 _result
= new wxString (wxNativeFontInfo_ToUserString(_arg0
));
3123 wxPyEndAllowThreads(__tstate
);
3124 if (PyErr_Occurred()) return NULL
;
3127 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3129 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3138 #define new_wxFontMapper() (new wxFontMapper())
3139 static PyObject
*_wrap_new_wxFontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3140 PyObject
* _resultobj
;
3141 wxFontMapper
* _result
;
3142 char *_kwnames
[] = { NULL
};
3146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFontMapper",_kwnames
))
3149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3150 _result
= (wxFontMapper
*)new_wxFontMapper();
3152 wxPyEndAllowThreads(__tstate
);
3153 if (PyErr_Occurred()) return NULL
;
3155 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFontMapper_p");
3156 _resultobj
= Py_BuildValue("s",_ptemp
);
3159 _resultobj
= Py_None
;
3164 #define delete_wxFontMapper(_swigobj) (delete _swigobj)
3165 static PyObject
*_wrap_delete_wxFontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3166 PyObject
* _resultobj
;
3167 wxFontMapper
* _arg0
;
3168 PyObject
* _argo0
= 0;
3169 char *_kwnames
[] = { "self", NULL
};
3172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFontMapper",_kwnames
,&_argo0
))
3175 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3176 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
3177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFontMapper. Expected _wxFontMapper_p.");
3182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3183 delete_wxFontMapper(_arg0
);
3185 wxPyEndAllowThreads(__tstate
);
3186 if (PyErr_Occurred()) return NULL
;
3187 } Py_INCREF(Py_None
);
3188 _resultobj
= Py_None
;
3192 static PyObject
* wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,const wxString
& facename
,bool interactive
) {
3193 wxFontEncoding alt_enc
;
3194 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3195 return PyInt_FromLong(alt_enc
);
3201 static PyObject
*_wrap_wxFontMapper_GetAltForEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3202 PyObject
* _resultobj
;
3204 wxFontMapper
* _arg0
;
3205 wxFontEncoding _arg1
;
3206 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
3207 bool _arg3
= (bool ) TRUE
;
3208 PyObject
* _argo0
= 0;
3209 PyObject
* _obj2
= 0;
3210 int tempbool3
= (int) TRUE
;
3211 char *_kwnames
[] = { "self","encoding","facename","interactive", NULL
};
3214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|Oi:wxFontMapper_GetAltForEncoding",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&tempbool3
))
3217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
3219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_GetAltForEncoding. Expected _wxFontMapper_p.");
3225 _arg2
= wxString_in_helper(_obj2
);
3229 _arg3
= (bool ) tempbool3
;
3231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3232 _result
= (PyObject
*)wxFontMapper_GetAltForEncoding(_arg0
,_arg1
,*_arg2
,_arg3
);
3234 wxPyEndAllowThreads(__tstate
);
3235 if (PyErr_Occurred()) return NULL
;
3237 _resultobj
= _result
;
3246 #define wxFontMapper_IsEncodingAvailable(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsEncodingAvailable(_swigarg0,_swigarg1))
3247 static PyObject
*_wrap_wxFontMapper_IsEncodingAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3248 PyObject
* _resultobj
;
3250 wxFontMapper
* _arg0
;
3251 wxFontEncoding _arg1
;
3252 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
3253 PyObject
* _argo0
= 0;
3254 PyObject
* _obj2
= 0;
3255 char *_kwnames
[] = { "self","encoding","facename", NULL
};
3258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|O:wxFontMapper_IsEncodingAvailable",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
3263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_IsEncodingAvailable. Expected _wxFontMapper_p.");
3269 _arg2
= wxString_in_helper(_obj2
);
3274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3275 _result
= (bool )wxFontMapper_IsEncodingAvailable(_arg0
,_arg1
,*_arg2
);
3277 wxPyEndAllowThreads(__tstate
);
3278 if (PyErr_Occurred()) return NULL
;
3279 } _resultobj
= Py_BuildValue("i",_result
);
3287 #define wxFontMapper_CharsetToEncoding(_swigobj,_swigarg0,_swigarg1) (_swigobj->CharsetToEncoding(_swigarg0,_swigarg1))
3288 static PyObject
*_wrap_wxFontMapper_CharsetToEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3289 PyObject
* _resultobj
;
3290 wxFontEncoding _result
;
3291 wxFontMapper
* _arg0
;
3293 bool _arg2
= (bool ) TRUE
;
3294 PyObject
* _argo0
= 0;
3295 PyObject
* _obj1
= 0;
3296 int tempbool2
= (int) TRUE
;
3297 char *_kwnames
[] = { "self","charset","interactive", NULL
};
3300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFontMapper_CharsetToEncoding",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
3303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
3305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_CharsetToEncoding. Expected _wxFontMapper_p.");
3310 _arg1
= wxString_in_helper(_obj1
);
3314 _arg2
= (bool ) tempbool2
;
3316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3317 _result
= (wxFontEncoding
)wxFontMapper_CharsetToEncoding(_arg0
,*_arg1
,_arg2
);
3319 wxPyEndAllowThreads(__tstate
);
3320 if (PyErr_Occurred()) return NULL
;
3321 } _resultobj
= Py_BuildValue("i",_result
);
3329 static PyObject
*_wrap_wxFontMapper_GetEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3330 PyObject
* _resultobj
;
3332 wxFontEncoding _arg0
;
3333 char *_kwnames
[] = { "encoding", NULL
};
3336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxFontMapper_GetEncodingName",_kwnames
,&_arg0
))
3339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3340 _result
= new wxString (wxFontMapper::GetEncodingName(_arg0
));
3342 wxPyEndAllowThreads(__tstate
);
3343 if (PyErr_Occurred()) return NULL
;
3346 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3348 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3357 static PyObject
*_wrap_wxFontMapper_GetEncodingDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3358 PyObject
* _resultobj
;
3360 wxFontEncoding _arg0
;
3361 char *_kwnames
[] = { "encoding", NULL
};
3364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxFontMapper_GetEncodingDescription",_kwnames
,&_arg0
))
3367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3368 _result
= new wxString (wxFontMapper::GetEncodingDescription(_arg0
));
3370 wxPyEndAllowThreads(__tstate
);
3371 if (PyErr_Occurred()) return NULL
;
3374 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3376 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3385 #define wxFontMapper_SetDialogParent(_swigobj,_swigarg0) (_swigobj->SetDialogParent(_swigarg0))
3386 static PyObject
*_wrap_wxFontMapper_SetDialogParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3387 PyObject
* _resultobj
;
3388 wxFontMapper
* _arg0
;
3390 PyObject
* _argo0
= 0;
3391 PyObject
* _argo1
= 0;
3392 char *_kwnames
[] = { "self","parent", NULL
};
3395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontMapper_SetDialogParent",_kwnames
,&_argo0
,&_argo1
))
3398 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3399 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
3400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_SetDialogParent. Expected _wxFontMapper_p.");
3405 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3406 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontMapper_SetDialogParent. Expected _wxWindow_p.");
3412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3413 wxFontMapper_SetDialogParent(_arg0
,_arg1
);
3415 wxPyEndAllowThreads(__tstate
);
3416 if (PyErr_Occurred()) return NULL
;
3417 } Py_INCREF(Py_None
);
3418 _resultobj
= Py_None
;
3422 #define wxFontMapper_SetDialogTitle(_swigobj,_swigarg0) (_swigobj->SetDialogTitle(_swigarg0))
3423 static PyObject
*_wrap_wxFontMapper_SetDialogTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3424 PyObject
* _resultobj
;
3425 wxFontMapper
* _arg0
;
3427 PyObject
* _argo0
= 0;
3428 PyObject
* _obj1
= 0;
3429 char *_kwnames
[] = { "self","title", NULL
};
3432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontMapper_SetDialogTitle",_kwnames
,&_argo0
,&_obj1
))
3435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
3437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_SetDialogTitle. Expected _wxFontMapper_p.");
3442 _arg1
= wxString_in_helper(_obj1
);
3447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3448 wxFontMapper_SetDialogTitle(_arg0
,*_arg1
);
3450 wxPyEndAllowThreads(__tstate
);
3451 if (PyErr_Occurred()) return NULL
;
3452 } Py_INCREF(Py_None
);
3453 _resultobj
= Py_None
;
3461 #define wxFontMapper_SetConfig(_swigobj,_swigarg0) (_swigobj->SetConfig(_swigarg0))
3462 static PyObject
*_wrap_wxFontMapper_SetConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3463 PyObject
* _resultobj
;
3464 wxFontMapper
* _arg0
;
3465 wxConfigBase
* _arg1
;
3466 PyObject
* _argo0
= 0;
3467 PyObject
* _argo1
= 0;
3468 char *_kwnames
[] = { "self","config", NULL
};
3471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontMapper_SetConfig",_kwnames
,&_argo0
,&_argo1
))
3474 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3475 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
3476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_SetConfig. Expected _wxFontMapper_p.");
3481 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3482 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
3483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontMapper_SetConfig. Expected _wxConfigBase_p.");
3488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3489 wxFontMapper_SetConfig(_arg0
,_arg1
);
3491 wxPyEndAllowThreads(__tstate
);
3492 if (PyErr_Occurred()) return NULL
;
3493 } Py_INCREF(Py_None
);
3494 _resultobj
= Py_None
;
3498 #define wxFontMapper_SetConfigPath(_swigobj,_swigarg0) (_swigobj->SetConfigPath(_swigarg0))
3499 static PyObject
*_wrap_wxFontMapper_SetConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3500 PyObject
* _resultobj
;
3501 wxFontMapper
* _arg0
;
3503 PyObject
* _argo0
= 0;
3504 PyObject
* _obj1
= 0;
3505 char *_kwnames
[] = { "self","prefix", NULL
};
3508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontMapper_SetConfigPath",_kwnames
,&_argo0
,&_obj1
))
3511 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3512 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
3513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_SetConfigPath. Expected _wxFontMapper_p.");
3518 _arg1
= wxString_in_helper(_obj1
);
3523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3524 wxFontMapper_SetConfigPath(_arg0
,*_arg1
);
3526 wxPyEndAllowThreads(__tstate
);
3527 if (PyErr_Occurred()) return NULL
;
3528 } Py_INCREF(Py_None
);
3529 _resultobj
= Py_None
;
3537 static PyObject
*_wrap_wxFontMapper_GetDefaultConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3538 PyObject
* _resultobj
;
3540 char *_kwnames
[] = { NULL
};
3543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxFontMapper_GetDefaultConfigPath",_kwnames
))
3546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3547 _result
= (wxChar
*)wxFontMapper::GetDefaultConfigPath();
3549 wxPyEndAllowThreads(__tstate
);
3550 if (PyErr_Occurred()) return NULL
;
3551 } _resultobj
= Py_BuildValue("s", _result
);
3555 static void *SwigwxFontTowxGDIObject(void *ptr
) {
3558 src
= (wxFont
*) ptr
;
3559 dest
= (wxGDIObject
*) src
;
3560 return (void *) dest
;
3563 static void *SwigwxFontTowxObject(void *ptr
) {
3566 src
= (wxFont
*) ptr
;
3567 dest
= (wxObject
*) src
;
3568 return (void *) dest
;
3571 #define new_wxFont(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxFont(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3572 static PyObject
*_wrap_new_wxFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3573 PyObject
* _resultobj
;
3579 int _arg4
= (int ) FALSE
;
3580 char * _arg5
= (char *) "";
3581 wxFontEncoding _arg6
= (wxFontEncoding
) (wxFONTENCODING_DEFAULT
);
3582 char *_kwnames
[] = { "pointSize","family","style","weight","underline","faceName","encoding", NULL
};
3586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiii|isi:new_wxFont",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
3589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3590 _result
= (wxFont
*)new_wxFont(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
3592 wxPyEndAllowThreads(__tstate
);
3593 if (PyErr_Occurred()) return NULL
;
3595 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
3596 _resultobj
= Py_BuildValue("s",_ptemp
);
3599 _resultobj
= Py_None
;
3604 #define new_wxFontFromNativeInfo(_swigarg0) (new wxFont(_swigarg0))
3605 static PyObject
*_wrap_new_wxFontFromNativeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3606 PyObject
* _resultobj
;
3608 wxNativeFontInfo
* _arg0
;
3609 PyObject
* _argo0
= 0;
3610 char *_kwnames
[] = { "info", NULL
};
3614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFontFromNativeInfo",_kwnames
,&_argo0
))
3617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFontFromNativeInfo. Expected _wxNativeFontInfo_p.");
3624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3625 _result
= (wxFont
*)new_wxFontFromNativeInfo(*_arg0
);
3627 wxPyEndAllowThreads(__tstate
);
3628 if (PyErr_Occurred()) return NULL
;
3630 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
3631 _resultobj
= Py_BuildValue("s",_ptemp
);
3634 _resultobj
= Py_None
;
3639 #define delete_wxFont(_swigobj) (delete _swigobj)
3640 static PyObject
*_wrap_delete_wxFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3641 PyObject
* _resultobj
;
3643 PyObject
* _argo0
= 0;
3644 char *_kwnames
[] = { "self", NULL
};
3647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFont",_kwnames
,&_argo0
))
3650 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3651 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFont. Expected _wxFont_p.");
3657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3658 delete_wxFont(_arg0
);
3660 wxPyEndAllowThreads(__tstate
);
3661 if (PyErr_Occurred()) return NULL
;
3662 } Py_INCREF(Py_None
);
3663 _resultobj
= Py_None
;
3667 #define wxFont_Ok(_swigobj) (_swigobj->Ok())
3668 static PyObject
*_wrap_wxFont_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3669 PyObject
* _resultobj
;
3672 PyObject
* _argo0
= 0;
3673 char *_kwnames
[] = { "self", NULL
};
3676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_Ok",_kwnames
,&_argo0
))
3679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_Ok. Expected _wxFont_p.");
3686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3687 _result
= (bool )wxFont_Ok(_arg0
);
3689 wxPyEndAllowThreads(__tstate
);
3690 if (PyErr_Occurred()) return NULL
;
3691 } _resultobj
= Py_BuildValue("i",_result
);
3695 #define wxFont_GetPointSize(_swigobj) (_swigobj->GetPointSize())
3696 static PyObject
*_wrap_wxFont_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3697 PyObject
* _resultobj
;
3700 PyObject
* _argo0
= 0;
3701 char *_kwnames
[] = { "self", NULL
};
3704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetPointSize",_kwnames
,&_argo0
))
3707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetPointSize. Expected _wxFont_p.");
3714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3715 _result
= (int )wxFont_GetPointSize(_arg0
);
3717 wxPyEndAllowThreads(__tstate
);
3718 if (PyErr_Occurred()) return NULL
;
3719 } _resultobj
= Py_BuildValue("i",_result
);
3723 #define wxFont_GetFamily(_swigobj) (_swigobj->GetFamily())
3724 static PyObject
*_wrap_wxFont_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3725 PyObject
* _resultobj
;
3728 PyObject
* _argo0
= 0;
3729 char *_kwnames
[] = { "self", NULL
};
3732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFamily",_kwnames
,&_argo0
))
3735 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3736 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFamily. Expected _wxFont_p.");
3742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3743 _result
= (int )wxFont_GetFamily(_arg0
);
3745 wxPyEndAllowThreads(__tstate
);
3746 if (PyErr_Occurred()) return NULL
;
3747 } _resultobj
= Py_BuildValue("i",_result
);
3751 #define wxFont_GetStyle(_swigobj) (_swigobj->GetStyle())
3752 static PyObject
*_wrap_wxFont_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3753 PyObject
* _resultobj
;
3756 PyObject
* _argo0
= 0;
3757 char *_kwnames
[] = { "self", NULL
};
3760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetStyle",_kwnames
,&_argo0
))
3763 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3764 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetStyle. Expected _wxFont_p.");
3770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3771 _result
= (int )wxFont_GetStyle(_arg0
);
3773 wxPyEndAllowThreads(__tstate
);
3774 if (PyErr_Occurred()) return NULL
;
3775 } _resultobj
= Py_BuildValue("i",_result
);
3779 #define wxFont_GetWeight(_swigobj) (_swigobj->GetWeight())
3780 static PyObject
*_wrap_wxFont_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3781 PyObject
* _resultobj
;
3784 PyObject
* _argo0
= 0;
3785 char *_kwnames
[] = { "self", NULL
};
3788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetWeight",_kwnames
,&_argo0
))
3791 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3792 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetWeight. Expected _wxFont_p.");
3798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3799 _result
= (int )wxFont_GetWeight(_arg0
);
3801 wxPyEndAllowThreads(__tstate
);
3802 if (PyErr_Occurred()) return NULL
;
3803 } _resultobj
= Py_BuildValue("i",_result
);
3807 #define wxFont_GetUnderlined(_swigobj) (_swigobj->GetUnderlined())
3808 static PyObject
*_wrap_wxFont_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3809 PyObject
* _resultobj
;
3812 PyObject
* _argo0
= 0;
3813 char *_kwnames
[] = { "self", NULL
};
3816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetUnderlined",_kwnames
,&_argo0
))
3819 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3820 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetUnderlined. Expected _wxFont_p.");
3826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3827 _result
= (bool )wxFont_GetUnderlined(_arg0
);
3829 wxPyEndAllowThreads(__tstate
);
3830 if (PyErr_Occurred()) return NULL
;
3831 } _resultobj
= Py_BuildValue("i",_result
);
3835 #define wxFont_GetFaceName(_swigobj) (_swigobj->GetFaceName())
3836 static PyObject
*_wrap_wxFont_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3837 PyObject
* _resultobj
;
3840 PyObject
* _argo0
= 0;
3841 char *_kwnames
[] = { "self", NULL
};
3844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFaceName",_kwnames
,&_argo0
))
3847 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3848 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFaceName. Expected _wxFont_p.");
3854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3855 _result
= new wxString (wxFont_GetFaceName(_arg0
));
3857 wxPyEndAllowThreads(__tstate
);
3858 if (PyErr_Occurred()) return NULL
;
3861 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3863 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3872 #define wxFont_GetEncoding(_swigobj) (_swigobj->GetEncoding())
3873 static PyObject
*_wrap_wxFont_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3874 PyObject
* _resultobj
;
3875 wxFontEncoding _result
;
3877 PyObject
* _argo0
= 0;
3878 char *_kwnames
[] = { "self", NULL
};
3881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetEncoding",_kwnames
,&_argo0
))
3884 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3885 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetEncoding. Expected _wxFont_p.");
3891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3892 _result
= (wxFontEncoding
)wxFont_GetEncoding(_arg0
);
3894 wxPyEndAllowThreads(__tstate
);
3895 if (PyErr_Occurred()) return NULL
;
3896 } _resultobj
= Py_BuildValue("i",_result
);
3900 #define wxFont_IsFixedWidth(_swigobj) (_swigobj->IsFixedWidth())
3901 static PyObject
*_wrap_wxFont_IsFixedWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3902 PyObject
* _resultobj
;
3905 PyObject
* _argo0
= 0;
3906 char *_kwnames
[] = { "self", NULL
};
3909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_IsFixedWidth",_kwnames
,&_argo0
))
3912 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3913 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_IsFixedWidth. Expected _wxFont_p.");
3919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3920 _result
= (bool )wxFont_IsFixedWidth(_arg0
);
3922 wxPyEndAllowThreads(__tstate
);
3923 if (PyErr_Occurred()) return NULL
;
3924 } _resultobj
= Py_BuildValue("i",_result
);
3928 #define wxFont_GetNativeFontInfo(_swigobj) (_swigobj->GetNativeFontInfo())
3929 static PyObject
*_wrap_wxFont_GetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3930 PyObject
* _resultobj
;
3931 wxNativeFontInfo
* _result
;
3933 PyObject
* _argo0
= 0;
3934 char *_kwnames
[] = { "self", NULL
};
3938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetNativeFontInfo",_kwnames
,&_argo0
))
3941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetNativeFontInfo. Expected _wxFont_p.");
3948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3949 _result
= (wxNativeFontInfo
*)wxFont_GetNativeFontInfo(_arg0
);
3951 wxPyEndAllowThreads(__tstate
);
3952 if (PyErr_Occurred()) return NULL
;
3954 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNativeFontInfo_p");
3955 _resultobj
= Py_BuildValue("s",_ptemp
);
3958 _resultobj
= Py_None
;
3963 #define wxFont_GetNativeFontInfoDesc(_swigobj) (_swigobj->GetNativeFontInfoDesc())
3964 static PyObject
*_wrap_wxFont_GetNativeFontInfoDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3965 PyObject
* _resultobj
;
3968 PyObject
* _argo0
= 0;
3969 char *_kwnames
[] = { "self", NULL
};
3972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetNativeFontInfoDesc",_kwnames
,&_argo0
))
3975 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3976 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetNativeFontInfoDesc. Expected _wxFont_p.");
3982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3983 _result
= new wxString (wxFont_GetNativeFontInfoDesc(_arg0
));
3985 wxPyEndAllowThreads(__tstate
);
3986 if (PyErr_Occurred()) return NULL
;
3989 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3991 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4000 #define wxFont_GetNativeFontInfoUserDesc(_swigobj) (_swigobj->GetNativeFontInfoUserDesc())
4001 static PyObject
*_wrap_wxFont_GetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4002 PyObject
* _resultobj
;
4005 PyObject
* _argo0
= 0;
4006 char *_kwnames
[] = { "self", NULL
};
4009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetNativeFontInfoUserDesc",_kwnames
,&_argo0
))
4012 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4013 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetNativeFontInfoUserDesc. Expected _wxFont_p.");
4019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4020 _result
= new wxString (wxFont_GetNativeFontInfoUserDesc(_arg0
));
4022 wxPyEndAllowThreads(__tstate
);
4023 if (PyErr_Occurred()) return NULL
;
4026 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
4028 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4037 #define wxFont_SetPointSize(_swigobj,_swigarg0) (_swigobj->SetPointSize(_swigarg0))
4038 static PyObject
*_wrap_wxFont_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4039 PyObject
* _resultobj
;
4042 PyObject
* _argo0
= 0;
4043 char *_kwnames
[] = { "self","pointSize", NULL
};
4046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetPointSize",_kwnames
,&_argo0
,&_arg1
))
4049 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4050 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetPointSize. Expected _wxFont_p.");
4056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4057 wxFont_SetPointSize(_arg0
,_arg1
);
4059 wxPyEndAllowThreads(__tstate
);
4060 if (PyErr_Occurred()) return NULL
;
4061 } Py_INCREF(Py_None
);
4062 _resultobj
= Py_None
;
4066 #define wxFont_SetFamily(_swigobj,_swigarg0) (_swigobj->SetFamily(_swigarg0))
4067 static PyObject
*_wrap_wxFont_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4068 PyObject
* _resultobj
;
4071 PyObject
* _argo0
= 0;
4072 char *_kwnames
[] = { "self","family", NULL
};
4075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetFamily",_kwnames
,&_argo0
,&_arg1
))
4078 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4079 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetFamily. Expected _wxFont_p.");
4085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4086 wxFont_SetFamily(_arg0
,_arg1
);
4088 wxPyEndAllowThreads(__tstate
);
4089 if (PyErr_Occurred()) return NULL
;
4090 } Py_INCREF(Py_None
);
4091 _resultobj
= Py_None
;
4095 #define wxFont_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
4096 static PyObject
*_wrap_wxFont_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4097 PyObject
* _resultobj
;
4100 PyObject
* _argo0
= 0;
4101 char *_kwnames
[] = { "self","style", NULL
};
4104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetStyle",_kwnames
,&_argo0
,&_arg1
))
4107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetStyle. Expected _wxFont_p.");
4114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4115 wxFont_SetStyle(_arg0
,_arg1
);
4117 wxPyEndAllowThreads(__tstate
);
4118 if (PyErr_Occurred()) return NULL
;
4119 } Py_INCREF(Py_None
);
4120 _resultobj
= Py_None
;
4124 #define wxFont_SetWeight(_swigobj,_swigarg0) (_swigobj->SetWeight(_swigarg0))
4125 static PyObject
*_wrap_wxFont_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4126 PyObject
* _resultobj
;
4129 PyObject
* _argo0
= 0;
4130 char *_kwnames
[] = { "self","weight", NULL
};
4133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetWeight",_kwnames
,&_argo0
,&_arg1
))
4136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetWeight. Expected _wxFont_p.");
4143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4144 wxFont_SetWeight(_arg0
,_arg1
);
4146 wxPyEndAllowThreads(__tstate
);
4147 if (PyErr_Occurred()) return NULL
;
4148 } Py_INCREF(Py_None
);
4149 _resultobj
= Py_None
;
4153 #define wxFont_SetFaceName(_swigobj,_swigarg0) (_swigobj->SetFaceName(_swigarg0))
4154 static PyObject
*_wrap_wxFont_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4155 PyObject
* _resultobj
;
4158 PyObject
* _argo0
= 0;
4159 PyObject
* _obj1
= 0;
4160 char *_kwnames
[] = { "self","faceName", NULL
};
4163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFont_SetFaceName",_kwnames
,&_argo0
,&_obj1
))
4166 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4167 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetFaceName. Expected _wxFont_p.");
4173 _arg1
= wxString_in_helper(_obj1
);
4178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4179 wxFont_SetFaceName(_arg0
,*_arg1
);
4181 wxPyEndAllowThreads(__tstate
);
4182 if (PyErr_Occurred()) return NULL
;
4183 } Py_INCREF(Py_None
);
4184 _resultobj
= Py_None
;
4192 #define wxFont_SetUnderlined(_swigobj,_swigarg0) (_swigobj->SetUnderlined(_swigarg0))
4193 static PyObject
*_wrap_wxFont_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4194 PyObject
* _resultobj
;
4197 PyObject
* _argo0
= 0;
4199 char *_kwnames
[] = { "self","underlined", NULL
};
4202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetUnderlined",_kwnames
,&_argo0
,&tempbool1
))
4205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetUnderlined. Expected _wxFont_p.");
4211 _arg1
= (bool ) tempbool1
;
4213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4214 wxFont_SetUnderlined(_arg0
,_arg1
);
4216 wxPyEndAllowThreads(__tstate
);
4217 if (PyErr_Occurred()) return NULL
;
4218 } Py_INCREF(Py_None
);
4219 _resultobj
= Py_None
;
4223 #define wxFont_SetEncoding(_swigobj,_swigarg0) (_swigobj->SetEncoding(_swigarg0))
4224 static PyObject
*_wrap_wxFont_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4225 PyObject
* _resultobj
;
4227 wxFontEncoding _arg1
;
4228 PyObject
* _argo0
= 0;
4229 char *_kwnames
[] = { "self","encoding", NULL
};
4232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetEncoding",_kwnames
,&_argo0
,&_arg1
))
4235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetEncoding. Expected _wxFont_p.");
4242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4243 wxFont_SetEncoding(_arg0
,_arg1
);
4245 wxPyEndAllowThreads(__tstate
);
4246 if (PyErr_Occurred()) return NULL
;
4247 } Py_INCREF(Py_None
);
4248 _resultobj
= Py_None
;
4252 #define wxFont_SetNativeFontInfo(_swigobj,_swigarg0) (_swigobj->SetNativeFontInfo(_swigarg0))
4253 static PyObject
*_wrap_wxFont_SetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4254 PyObject
* _resultobj
;
4256 wxNativeFontInfo
* _arg1
;
4257 PyObject
* _argo0
= 0;
4258 PyObject
* _argo1
= 0;
4259 char *_kwnames
[] = { "self","info", NULL
};
4262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFont_SetNativeFontInfo",_kwnames
,&_argo0
,&_argo1
))
4265 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4266 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetNativeFontInfo. Expected _wxFont_p.");
4272 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4273 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxNativeFontInfo_p")) {
4274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFont_SetNativeFontInfo. Expected _wxNativeFontInfo_p.");
4279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4280 wxFont_SetNativeFontInfo(_arg0
,*_arg1
);
4282 wxPyEndAllowThreads(__tstate
);
4283 if (PyErr_Occurred()) return NULL
;
4284 } Py_INCREF(Py_None
);
4285 _resultobj
= Py_None
;
4289 #define wxFont_SetNativeFontInfoUserDesc(_swigobj,_swigarg0) (_swigobj->SetNativeFontInfoUserDesc(_swigarg0))
4290 static PyObject
*_wrap_wxFont_SetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4291 PyObject
* _resultobj
;
4294 PyObject
* _argo0
= 0;
4295 PyObject
* _obj1
= 0;
4296 char *_kwnames
[] = { "self","info", NULL
};
4299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFont_SetNativeFontInfoUserDesc",_kwnames
,&_argo0
,&_obj1
))
4302 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4303 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetNativeFontInfoUserDesc. Expected _wxFont_p.");
4309 _arg1
= wxString_in_helper(_obj1
);
4314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4315 wxFont_SetNativeFontInfoUserDesc(_arg0
,*_arg1
);
4317 wxPyEndAllowThreads(__tstate
);
4318 if (PyErr_Occurred()) return NULL
;
4319 } Py_INCREF(Py_None
);
4320 _resultobj
= Py_None
;
4328 #define wxFont_GetFamilyString(_swigobj) (_swigobj->GetFamilyString())
4329 static PyObject
*_wrap_wxFont_GetFamilyString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4330 PyObject
* _resultobj
;
4333 PyObject
* _argo0
= 0;
4334 char *_kwnames
[] = { "self", NULL
};
4337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFamilyString",_kwnames
,&_argo0
))
4340 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4341 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFamilyString. Expected _wxFont_p.");
4347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4348 _result
= new wxString (wxFont_GetFamilyString(_arg0
));
4350 wxPyEndAllowThreads(__tstate
);
4351 if (PyErr_Occurred()) return NULL
;
4354 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
4356 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4365 #define wxFont_GetStyleString(_swigobj) (_swigobj->GetStyleString())
4366 static PyObject
*_wrap_wxFont_GetStyleString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4367 PyObject
* _resultobj
;
4370 PyObject
* _argo0
= 0;
4371 char *_kwnames
[] = { "self", NULL
};
4374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetStyleString",_kwnames
,&_argo0
))
4377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetStyleString. Expected _wxFont_p.");
4384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4385 _result
= new wxString (wxFont_GetStyleString(_arg0
));
4387 wxPyEndAllowThreads(__tstate
);
4388 if (PyErr_Occurred()) return NULL
;
4391 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
4393 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4402 #define wxFont_GetWeightString(_swigobj) (_swigobj->GetWeightString())
4403 static PyObject
*_wrap_wxFont_GetWeightString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4404 PyObject
* _resultobj
;
4407 PyObject
* _argo0
= 0;
4408 char *_kwnames
[] = { "self", NULL
};
4411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetWeightString",_kwnames
,&_argo0
))
4414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetWeightString. Expected _wxFont_p.");
4421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4422 _result
= new wxString (wxFont_GetWeightString(_arg0
));
4424 wxPyEndAllowThreads(__tstate
);
4425 if (PyErr_Occurred()) return NULL
;
4428 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
4430 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4439 static PyObject
*_wrap_wxFont_GetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4440 PyObject
* _resultobj
;
4441 wxFontEncoding _result
;
4442 char *_kwnames
[] = { NULL
};
4445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxFont_GetDefaultEncoding",_kwnames
))
4448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4449 _result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
4451 wxPyEndAllowThreads(__tstate
);
4452 if (PyErr_Occurred()) return NULL
;
4453 } _resultobj
= Py_BuildValue("i",_result
);
4457 static PyObject
*_wrap_wxFont_SetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4458 PyObject
* _resultobj
;
4459 wxFontEncoding _arg0
;
4460 char *_kwnames
[] = { "encoding", NULL
};
4463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxFont_SetDefaultEncoding",_kwnames
,&_arg0
))
4466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4467 wxFont::SetDefaultEncoding(_arg0
);
4469 wxPyEndAllowThreads(__tstate
);
4470 if (PyErr_Occurred()) return NULL
;
4471 } Py_INCREF(Py_None
);
4472 _resultobj
= Py_None
;
4476 static void *SwigwxFontListTowxObject(void *ptr
) {
4479 src
= (wxFontList
*) ptr
;
4480 dest
= (wxObject
*) src
;
4481 return (void *) dest
;
4484 #define wxFontList_AddFont(_swigobj,_swigarg0) (_swigobj->AddFont(_swigarg0))
4485 static PyObject
*_wrap_wxFontList_AddFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4486 PyObject
* _resultobj
;
4489 PyObject
* _argo0
= 0;
4490 PyObject
* _argo1
= 0;
4491 char *_kwnames
[] = { "self","font", NULL
};
4494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontList_AddFont",_kwnames
,&_argo0
,&_argo1
))
4497 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4498 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontList_p")) {
4499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontList_AddFont. Expected _wxFontList_p.");
4504 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4505 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
4506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontList_AddFont. Expected _wxFont_p.");
4511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4512 wxFontList_AddFont(_arg0
,_arg1
);
4514 wxPyEndAllowThreads(__tstate
);
4515 if (PyErr_Occurred()) return NULL
;
4516 } Py_INCREF(Py_None
);
4517 _resultobj
= Py_None
;
4521 #define wxFontList_FindOrCreateFont(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->FindOrCreateFont(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4522 static PyObject
*_wrap_wxFontList_FindOrCreateFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4523 PyObject
* _resultobj
;
4530 bool _arg5
= (bool ) FALSE
;
4531 char * _arg6
= (char *) NULL
;
4532 wxFontEncoding _arg7
= (wxFontEncoding
) (wxFONTENCODING_DEFAULT
);
4533 PyObject
* _argo0
= 0;
4534 int tempbool5
= (int) FALSE
;
4535 char *_kwnames
[] = { "self","point_size","family","style","weight","underline","facename","encoding", NULL
};
4539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|isi:wxFontList_FindOrCreateFont",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
,&_arg6
,&_arg7
))
4542 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4543 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontList_p")) {
4544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontList_FindOrCreateFont. Expected _wxFontList_p.");
4548 _arg5
= (bool ) tempbool5
;
4550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4551 _result
= (wxFont
*)wxFontList_FindOrCreateFont(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
);
4553 wxPyEndAllowThreads(__tstate
);
4554 if (PyErr_Occurred()) return NULL
;
4556 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
4557 _resultobj
= Py_BuildValue("s",_ptemp
);
4560 _resultobj
= Py_None
;
4565 #define wxFontList_RemoveFont(_swigobj,_swigarg0) (_swigobj->RemoveFont(_swigarg0))
4566 static PyObject
*_wrap_wxFontList_RemoveFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4567 PyObject
* _resultobj
;
4570 PyObject
* _argo0
= 0;
4571 PyObject
* _argo1
= 0;
4572 char *_kwnames
[] = { "self","font", NULL
};
4575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontList_RemoveFont",_kwnames
,&_argo0
,&_argo1
))
4578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontList_p")) {
4580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontList_RemoveFont. Expected _wxFontList_p.");
4585 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4586 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
4587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontList_RemoveFont. Expected _wxFont_p.");
4592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4593 wxFontList_RemoveFont(_arg0
,_arg1
);
4595 wxPyEndAllowThreads(__tstate
);
4596 if (PyErr_Occurred()) return NULL
;
4597 } Py_INCREF(Py_None
);
4598 _resultobj
= Py_None
;
4602 #define wxFontList_GetCount(_swigobj) (_swigobj->GetCount())
4603 static PyObject
*_wrap_wxFontList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4604 PyObject
* _resultobj
;
4607 PyObject
* _argo0
= 0;
4608 char *_kwnames
[] = { "self", NULL
};
4611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontList_GetCount",_kwnames
,&_argo0
))
4614 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4615 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontList_p")) {
4616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontList_GetCount. Expected _wxFontList_p.");
4621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4622 _result
= (int )wxFontList_GetCount(_arg0
);
4624 wxPyEndAllowThreads(__tstate
);
4625 if (PyErr_Occurred()) return NULL
;
4626 } _resultobj
= Py_BuildValue("i",_result
);
4630 static void *SwigwxColourTowxObject(void *ptr
) {
4633 src
= (wxColour
*) ptr
;
4634 dest
= (wxObject
*) src
;
4635 return (void *) dest
;
4638 #define new_wxColour(_swigarg0,_swigarg1,_swigarg2) (new wxColour(_swigarg0,_swigarg1,_swigarg2))
4639 static PyObject
*_wrap_new_wxColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4640 PyObject
* _resultobj
;
4642 unsigned char _arg0
= (unsigned char ) 0;
4643 unsigned char _arg1
= (unsigned char ) 0;
4644 unsigned char _arg2
= (unsigned char ) 0;
4645 char *_kwnames
[] = { "red","green","blue", NULL
};
4649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|bbb:new_wxColour",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
4652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4653 _result
= (wxColour
*)new_wxColour(_arg0
,_arg1
,_arg2
);
4655 wxPyEndAllowThreads(__tstate
);
4656 if (PyErr_Occurred()) return NULL
;
4658 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
4659 _resultobj
= Py_BuildValue("s",_ptemp
);
4662 _resultobj
= Py_None
;
4667 #define delete_wxColour(_swigobj) (delete _swigobj)
4668 static PyObject
*_wrap_delete_wxColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4669 PyObject
* _resultobj
;
4672 PyObject
* _obj0
= 0;
4673 char *_kwnames
[] = { "self", NULL
};
4676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxColour",_kwnames
,&_obj0
))
4680 if (! wxColour_helper(_obj0
, &_arg0
))
4684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4685 delete_wxColour(_arg0
);
4687 wxPyEndAllowThreads(__tstate
);
4688 if (PyErr_Occurred()) return NULL
;
4689 } Py_INCREF(Py_None
);
4690 _resultobj
= Py_None
;
4694 #define wxColour_Red(_swigobj) (_swigobj->Red())
4695 static PyObject
*_wrap_wxColour_Red(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4696 PyObject
* _resultobj
;
4697 unsigned char _result
;
4700 PyObject
* _obj0
= 0;
4701 char *_kwnames
[] = { "self", NULL
};
4704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Red",_kwnames
,&_obj0
))
4708 if (! wxColour_helper(_obj0
, &_arg0
))
4712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4713 _result
= (unsigned char )wxColour_Red(_arg0
);
4715 wxPyEndAllowThreads(__tstate
);
4716 if (PyErr_Occurred()) return NULL
;
4717 } _resultobj
= Py_BuildValue("b",_result
);
4721 #define wxColour_Green(_swigobj) (_swigobj->Green())
4722 static PyObject
*_wrap_wxColour_Green(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4723 PyObject
* _resultobj
;
4724 unsigned char _result
;
4727 PyObject
* _obj0
= 0;
4728 char *_kwnames
[] = { "self", NULL
};
4731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Green",_kwnames
,&_obj0
))
4735 if (! wxColour_helper(_obj0
, &_arg0
))
4739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4740 _result
= (unsigned char )wxColour_Green(_arg0
);
4742 wxPyEndAllowThreads(__tstate
);
4743 if (PyErr_Occurred()) return NULL
;
4744 } _resultobj
= Py_BuildValue("b",_result
);
4748 #define wxColour_Blue(_swigobj) (_swigobj->Blue())
4749 static PyObject
*_wrap_wxColour_Blue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4750 PyObject
* _resultobj
;
4751 unsigned char _result
;
4754 PyObject
* _obj0
= 0;
4755 char *_kwnames
[] = { "self", NULL
};
4758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Blue",_kwnames
,&_obj0
))
4762 if (! wxColour_helper(_obj0
, &_arg0
))
4766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4767 _result
= (unsigned char )wxColour_Blue(_arg0
);
4769 wxPyEndAllowThreads(__tstate
);
4770 if (PyErr_Occurred()) return NULL
;
4771 } _resultobj
= Py_BuildValue("b",_result
);
4775 #define wxColour_Ok(_swigobj) (_swigobj->Ok())
4776 static PyObject
*_wrap_wxColour_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4777 PyObject
* _resultobj
;
4781 PyObject
* _obj0
= 0;
4782 char *_kwnames
[] = { "self", NULL
};
4785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Ok",_kwnames
,&_obj0
))
4789 if (! wxColour_helper(_obj0
, &_arg0
))
4793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4794 _result
= (bool )wxColour_Ok(_arg0
);
4796 wxPyEndAllowThreads(__tstate
);
4797 if (PyErr_Occurred()) return NULL
;
4798 } _resultobj
= Py_BuildValue("i",_result
);
4802 #define wxColour_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
4803 static PyObject
*_wrap_wxColour_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4804 PyObject
* _resultobj
;
4806 unsigned char _arg1
;
4807 unsigned char _arg2
;
4808 unsigned char _arg3
;
4810 PyObject
* _obj0
= 0;
4811 char *_kwnames
[] = { "self","red","green","blue", NULL
};
4814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Obbb:wxColour_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_arg3
))
4818 if (! wxColour_helper(_obj0
, &_arg0
))
4822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4823 wxColour_Set(_arg0
,_arg1
,_arg2
,_arg3
);
4825 wxPyEndAllowThreads(__tstate
);
4826 if (PyErr_Occurred()) return NULL
;
4827 } Py_INCREF(Py_None
);
4828 _resultobj
= Py_None
;
4832 static PyObject
* wxColour_Get(wxColour
*self
) {
4833 PyObject
* rv
= PyTuple_New(3);
4834 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
4835 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
4836 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
4839 static PyObject
*_wrap_wxColour_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4840 PyObject
* _resultobj
;
4844 PyObject
* _obj0
= 0;
4845 char *_kwnames
[] = { "self", NULL
};
4848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Get",_kwnames
,&_obj0
))
4852 if (! wxColour_helper(_obj0
, &_arg0
))
4856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4857 _result
= (PyObject
*)wxColour_Get(_arg0
);
4859 wxPyEndAllowThreads(__tstate
);
4860 if (PyErr_Occurred()) return NULL
;
4862 _resultobj
= _result
;
4867 static void *SwigwxColourDatabaseTowxObject(void *ptr
) {
4868 wxColourDatabase
*src
;
4870 src
= (wxColourDatabase
*) ptr
;
4871 dest
= (wxObject
*) src
;
4872 return (void *) dest
;
4875 #define wxColourDatabase_FindColour(_swigobj,_swigarg0) (_swigobj->FindColour(_swigarg0))
4876 static PyObject
*_wrap_wxColourDatabase_FindColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4877 PyObject
* _resultobj
;
4879 wxColourDatabase
* _arg0
;
4881 PyObject
* _argo0
= 0;
4882 PyObject
* _obj1
= 0;
4883 char *_kwnames
[] = { "self","colour", NULL
};
4887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxColourDatabase_FindColour",_kwnames
,&_argo0
,&_obj1
))
4890 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4891 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDatabase_p")) {
4892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDatabase_FindColour. Expected _wxColourDatabase_p.");
4897 _arg1
= wxString_in_helper(_obj1
);
4902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4903 _result
= (wxColour
*)wxColourDatabase_FindColour(_arg0
,*_arg1
);
4905 wxPyEndAllowThreads(__tstate
);
4906 if (PyErr_Occurred()) return NULL
;
4908 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
4909 _resultobj
= Py_BuildValue("s",_ptemp
);
4912 _resultobj
= Py_None
;
4921 #define wxColourDatabase_FindName(_swigobj,_swigarg0) (_swigobj->FindName(_swigarg0))
4922 static PyObject
*_wrap_wxColourDatabase_FindName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4923 PyObject
* _resultobj
;
4925 wxColourDatabase
* _arg0
;
4927 PyObject
* _argo0
= 0;
4929 PyObject
* _obj1
= 0;
4930 char *_kwnames
[] = { "self","colour", NULL
};
4933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxColourDatabase_FindName",_kwnames
,&_argo0
,&_obj1
))
4936 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4937 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDatabase_p")) {
4938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDatabase_FindName. Expected _wxColourDatabase_p.");
4944 if (! wxColour_helper(_obj1
, &_arg1
))
4948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4949 _result
= new wxString (wxColourDatabase_FindName(_arg0
,*_arg1
));
4951 wxPyEndAllowThreads(__tstate
);
4952 if (PyErr_Occurred()) return NULL
;
4955 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
4957 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4966 static void wxColourDatabase_Append(wxColourDatabase
*self
,const wxString
& name
,int red
,int green
,int blue
) {
4967 // first see if the name is already there
4968 wxString cName
= name
;
4970 wxString cName2
= cName
;
4971 if ( !cName2
.Replace("GRAY", "GREY") )
4974 wxNode
*node
= self
->First();
4976 const wxChar
*key
= node
->GetKeyString();
4977 if ( cName
== key
|| cName2
== key
) {
4978 wxColour
* c
= (wxColour
*)node
->Data();
4979 c
->Set(red
, green
, blue
);
4982 node
= node
->Next();
4985 // otherwise append the new colour
4986 self
->Append(name
.c_str(), new wxColour(red
, green
, blue
));
4988 static PyObject
*_wrap_wxColourDatabase_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4989 PyObject
* _resultobj
;
4990 wxColourDatabase
* _arg0
;
4995 PyObject
* _argo0
= 0;
4996 PyObject
* _obj1
= 0;
4997 char *_kwnames
[] = { "self","name","red","green","blue", NULL
};
5000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiii:wxColourDatabase_Append",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_arg4
))
5003 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5004 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDatabase_p")) {
5005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDatabase_Append. Expected _wxColourDatabase_p.");
5010 _arg1
= wxString_in_helper(_obj1
);
5015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5016 wxColourDatabase_Append(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
5018 wxPyEndAllowThreads(__tstate
);
5019 if (PyErr_Occurred()) return NULL
;
5020 } Py_INCREF(Py_None
);
5021 _resultobj
= Py_None
;
5029 static void *SwigwxPenTowxGDIObject(void *ptr
) {
5032 src
= (wxPen
*) ptr
;
5033 dest
= (wxGDIObject
*) src
;
5034 return (void *) dest
;
5037 static void *SwigwxPenTowxObject(void *ptr
) {
5040 src
= (wxPen
*) ptr
;
5041 dest
= (wxObject
*) src
;
5042 return (void *) dest
;
5045 #define new_wxPen(_swigarg0,_swigarg1,_swigarg2) (new wxPen(_swigarg0,_swigarg1,_swigarg2))
5046 static PyObject
*_wrap_new_wxPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5047 PyObject
* _resultobj
;
5050 int _arg1
= (int ) 1;
5051 int _arg2
= (int ) wxSOLID
;
5053 PyObject
* _obj0
= 0;
5054 char *_kwnames
[] = { "colour","width","style", NULL
};
5058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:new_wxPen",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
5062 if (! wxColour_helper(_obj0
, &_arg0
))
5066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5067 _result
= (wxPen
*)new_wxPen(*_arg0
,_arg1
,_arg2
);
5069 wxPyEndAllowThreads(__tstate
);
5070 if (PyErr_Occurred()) return NULL
;
5072 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
5073 _resultobj
= Py_BuildValue("s",_ptemp
);
5076 _resultobj
= Py_None
;
5081 #define delete_wxPen(_swigobj) (delete _swigobj)
5082 static PyObject
*_wrap_delete_wxPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5083 PyObject
* _resultobj
;
5085 PyObject
* _argo0
= 0;
5086 char *_kwnames
[] = { "self", NULL
};
5089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPen",_kwnames
,&_argo0
))
5092 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5093 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPen. Expected _wxPen_p.");
5099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5100 delete_wxPen(_arg0
);
5102 wxPyEndAllowThreads(__tstate
);
5103 if (PyErr_Occurred()) return NULL
;
5104 } Py_INCREF(Py_None
);
5105 _resultobj
= Py_None
;
5109 #define wxPen_GetCap(_swigobj) (_swigobj->GetCap())
5110 static PyObject
*_wrap_wxPen_GetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5111 PyObject
* _resultobj
;
5114 PyObject
* _argo0
= 0;
5115 char *_kwnames
[] = { "self", NULL
};
5118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetCap",_kwnames
,&_argo0
))
5121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetCap. Expected _wxPen_p.");
5128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5129 _result
= (int )wxPen_GetCap(_arg0
);
5131 wxPyEndAllowThreads(__tstate
);
5132 if (PyErr_Occurred()) return NULL
;
5133 } _resultobj
= Py_BuildValue("i",_result
);
5137 #define wxPen_GetColour(_swigobj) (_swigobj->GetColour())
5138 static PyObject
*_wrap_wxPen_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5139 PyObject
* _resultobj
;
5142 PyObject
* _argo0
= 0;
5143 char *_kwnames
[] = { "self", NULL
};
5147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetColour",_kwnames
,&_argo0
))
5150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetColour. Expected _wxPen_p.");
5157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5158 _result
= new wxColour (wxPen_GetColour(_arg0
));
5160 wxPyEndAllowThreads(__tstate
);
5161 if (PyErr_Occurred()) return NULL
;
5162 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
5163 _resultobj
= Py_BuildValue("s",_ptemp
);
5167 #define wxPen_GetJoin(_swigobj) (_swigobj->GetJoin())
5168 static PyObject
*_wrap_wxPen_GetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5169 PyObject
* _resultobj
;
5172 PyObject
* _argo0
= 0;
5173 char *_kwnames
[] = { "self", NULL
};
5176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetJoin",_kwnames
,&_argo0
))
5179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetJoin. Expected _wxPen_p.");
5186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5187 _result
= (int )wxPen_GetJoin(_arg0
);
5189 wxPyEndAllowThreads(__tstate
);
5190 if (PyErr_Occurred()) return NULL
;
5191 } _resultobj
= Py_BuildValue("i",_result
);
5195 #define wxPen_GetStyle(_swigobj) (_swigobj->GetStyle())
5196 static PyObject
*_wrap_wxPen_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5197 PyObject
* _resultobj
;
5200 PyObject
* _argo0
= 0;
5201 char *_kwnames
[] = { "self", NULL
};
5204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetStyle",_kwnames
,&_argo0
))
5207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetStyle. Expected _wxPen_p.");
5214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5215 _result
= (int )wxPen_GetStyle(_arg0
);
5217 wxPyEndAllowThreads(__tstate
);
5218 if (PyErr_Occurred()) return NULL
;
5219 } _resultobj
= Py_BuildValue("i",_result
);
5223 #define wxPen_GetWidth(_swigobj) (_swigobj->GetWidth())
5224 static PyObject
*_wrap_wxPen_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5225 PyObject
* _resultobj
;
5228 PyObject
* _argo0
= 0;
5229 char *_kwnames
[] = { "self", NULL
};
5232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetWidth",_kwnames
,&_argo0
))
5235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetWidth. Expected _wxPen_p.");
5242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5243 _result
= (int )wxPen_GetWidth(_arg0
);
5245 wxPyEndAllowThreads(__tstate
);
5246 if (PyErr_Occurred()) return NULL
;
5247 } _resultobj
= Py_BuildValue("i",_result
);
5251 #define wxPen_Ok(_swigobj) (_swigobj->Ok())
5252 static PyObject
*_wrap_wxPen_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5253 PyObject
* _resultobj
;
5256 PyObject
* _argo0
= 0;
5257 char *_kwnames
[] = { "self", NULL
};
5260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_Ok",_kwnames
,&_argo0
))
5263 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5264 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_Ok. Expected _wxPen_p.");
5270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5271 _result
= (bool )wxPen_Ok(_arg0
);
5273 wxPyEndAllowThreads(__tstate
);
5274 if (PyErr_Occurred()) return NULL
;
5275 } _resultobj
= Py_BuildValue("i",_result
);
5279 #define wxPen_SetCap(_swigobj,_swigarg0) (_swigobj->SetCap(_swigarg0))
5280 static PyObject
*_wrap_wxPen_SetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5281 PyObject
* _resultobj
;
5284 PyObject
* _argo0
= 0;
5285 char *_kwnames
[] = { "self","cap_style", NULL
};
5288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetCap",_kwnames
,&_argo0
,&_arg1
))
5291 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5292 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetCap. Expected _wxPen_p.");
5298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5299 wxPen_SetCap(_arg0
,_arg1
);
5301 wxPyEndAllowThreads(__tstate
);
5302 if (PyErr_Occurred()) return NULL
;
5303 } Py_INCREF(Py_None
);
5304 _resultobj
= Py_None
;
5308 #define wxPen_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
5309 static PyObject
*_wrap_wxPen_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5310 PyObject
* _resultobj
;
5313 PyObject
* _argo0
= 0;
5315 PyObject
* _obj1
= 0;
5316 char *_kwnames
[] = { "self","colour", NULL
};
5319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_SetColour",_kwnames
,&_argo0
,&_obj1
))
5322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetColour. Expected _wxPen_p.");
5330 if (! wxColour_helper(_obj1
, &_arg1
))
5334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5335 wxPen_SetColour(_arg0
,*_arg1
);
5337 wxPyEndAllowThreads(__tstate
);
5338 if (PyErr_Occurred()) return NULL
;
5339 } Py_INCREF(Py_None
);
5340 _resultobj
= Py_None
;
5344 #define wxPen_SetJoin(_swigobj,_swigarg0) (_swigobj->SetJoin(_swigarg0))
5345 static PyObject
*_wrap_wxPen_SetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5346 PyObject
* _resultobj
;
5349 PyObject
* _argo0
= 0;
5350 char *_kwnames
[] = { "self","join_style", NULL
};
5353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetJoin",_kwnames
,&_argo0
,&_arg1
))
5356 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5357 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetJoin. Expected _wxPen_p.");
5363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5364 wxPen_SetJoin(_arg0
,_arg1
);
5366 wxPyEndAllowThreads(__tstate
);
5367 if (PyErr_Occurred()) return NULL
;
5368 } Py_INCREF(Py_None
);
5369 _resultobj
= Py_None
;
5373 #define wxPen_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
5374 static PyObject
*_wrap_wxPen_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5375 PyObject
* _resultobj
;
5378 PyObject
* _argo0
= 0;
5379 char *_kwnames
[] = { "self","style", NULL
};
5382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetStyle",_kwnames
,&_argo0
,&_arg1
))
5385 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5386 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetStyle. Expected _wxPen_p.");
5392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5393 wxPen_SetStyle(_arg0
,_arg1
);
5395 wxPyEndAllowThreads(__tstate
);
5396 if (PyErr_Occurred()) return NULL
;
5397 } Py_INCREF(Py_None
);
5398 _resultobj
= Py_None
;
5402 #define wxPen_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
5403 static PyObject
*_wrap_wxPen_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5404 PyObject
* _resultobj
;
5407 PyObject
* _argo0
= 0;
5408 char *_kwnames
[] = { "self","width", NULL
};
5411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetWidth",_kwnames
,&_argo0
,&_arg1
))
5414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetWidth. Expected _wxPen_p.");
5421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5422 wxPen_SetWidth(_arg0
,_arg1
);
5424 wxPyEndAllowThreads(__tstate
);
5425 if (PyErr_Occurred()) return NULL
;
5426 } Py_INCREF(Py_None
);
5427 _resultobj
= Py_None
;
5431 #define wxPen_SetDashes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDashes(_swigarg0,_swigarg1))
5432 static PyObject
*_wrap_wxPen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5433 PyObject
* _resultobj
;
5437 PyObject
* _argo0
= 0;
5438 PyObject
* _obj2
= 0;
5439 char *_kwnames
[] = { "self","choices", NULL
};
5442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_SetDashes",_kwnames
,&_argo0
,&_obj2
))
5445 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5446 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetDashes. Expected _wxPen_p.");
5453 _arg2
= (wxDash
*)byte_LIST_helper(_obj2
);
5454 if (_arg2
== NULL
) {
5460 _arg1
= PyList_Size(_obj2
);
5467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5468 wxPen_SetDashes(_arg0
,_arg1
,_arg2
);
5470 wxPyEndAllowThreads(__tstate
);
5471 if (PyErr_Occurred()) return NULL
;
5472 } Py_INCREF(Py_None
);
5473 _resultobj
= Py_None
;
5480 static void *SwigwxPyPenTowxPen(void *ptr
) {
5483 src
= (wxPyPen
*) ptr
;
5484 dest
= (wxPen
*) src
;
5485 return (void *) dest
;
5488 static void *SwigwxPyPenTowxGDIObject(void *ptr
) {
5491 src
= (wxPyPen
*) ptr
;
5492 dest
= (wxGDIObject
*) src
;
5493 return (void *) dest
;
5496 static void *SwigwxPyPenTowxObject(void *ptr
) {
5499 src
= (wxPyPen
*) ptr
;
5500 dest
= (wxObject
*) src
;
5501 return (void *) dest
;
5504 #define new_wxPyPen(_swigarg0,_swigarg1,_swigarg2) (new wxPyPen(_swigarg0,_swigarg1,_swigarg2))
5505 static PyObject
*_wrap_new_wxPyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5506 PyObject
* _resultobj
;
5509 int _arg1
= (int ) 1;
5510 int _arg2
= (int ) wxSOLID
;
5512 PyObject
* _obj0
= 0;
5513 char *_kwnames
[] = { "colour","width","style", NULL
};
5517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:new_wxPyPen",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
5521 if (! wxColour_helper(_obj0
, &_arg0
))
5525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5526 _result
= (wxPyPen
*)new_wxPyPen(*_arg0
,_arg1
,_arg2
);
5528 wxPyEndAllowThreads(__tstate
);
5529 if (PyErr_Occurred()) return NULL
;
5531 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPen_p");
5532 _resultobj
= Py_BuildValue("s",_ptemp
);
5535 _resultobj
= Py_None
;
5540 #define delete_wxPyPen(_swigobj) (delete _swigobj)
5541 static PyObject
*_wrap_delete_wxPyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5542 PyObject
* _resultobj
;
5544 PyObject
* _argo0
= 0;
5545 char *_kwnames
[] = { "self", NULL
};
5548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyPen",_kwnames
,&_argo0
))
5551 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5552 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPen_p")) {
5553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyPen. Expected _wxPyPen_p.");
5558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5559 delete_wxPyPen(_arg0
);
5561 wxPyEndAllowThreads(__tstate
);
5562 if (PyErr_Occurred()) return NULL
;
5563 } Py_INCREF(Py_None
);
5564 _resultobj
= Py_None
;
5568 #define wxPyPen_SetDashes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDashes(_swigarg0,_swigarg1))
5569 static PyObject
*_wrap_wxPyPen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5570 PyObject
* _resultobj
;
5574 PyObject
* _argo0
= 0;
5575 PyObject
* _obj2
= 0;
5576 char *_kwnames
[] = { "self","choices", NULL
};
5579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyPen_SetDashes",_kwnames
,&_argo0
,&_obj2
))
5582 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5583 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPen_p")) {
5584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPen_SetDashes. Expected _wxPyPen_p.");
5590 _arg2
= (wxDash
*)byte_LIST_helper(_obj2
);
5591 if (_arg2
== NULL
) {
5597 _arg1
= PyList_Size(_obj2
);
5604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5605 wxPyPen_SetDashes(_arg0
,_arg1
,_arg2
);
5607 wxPyEndAllowThreads(__tstate
);
5608 if (PyErr_Occurred()) return NULL
;
5609 } Py_INCREF(Py_None
);
5610 _resultobj
= Py_None
;
5617 static void *SwigwxPenListTowxObject(void *ptr
) {
5620 src
= (wxPenList
*) ptr
;
5621 dest
= (wxObject
*) src
;
5622 return (void *) dest
;
5625 #define wxPenList_AddPen(_swigobj,_swigarg0) (_swigobj->AddPen(_swigarg0))
5626 static PyObject
*_wrap_wxPenList_AddPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5627 PyObject
* _resultobj
;
5630 PyObject
* _argo0
= 0;
5631 PyObject
* _argo1
= 0;
5632 char *_kwnames
[] = { "self","pen", NULL
};
5635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPenList_AddPen",_kwnames
,&_argo0
,&_argo1
))
5638 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5639 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
5640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_AddPen. Expected _wxPenList_p.");
5645 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5646 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
5647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPenList_AddPen. Expected _wxPen_p.");
5652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5653 wxPenList_AddPen(_arg0
,_arg1
);
5655 wxPyEndAllowThreads(__tstate
);
5656 if (PyErr_Occurred()) return NULL
;
5657 } Py_INCREF(Py_None
);
5658 _resultobj
= Py_None
;
5662 #define wxPenList_FindOrCreatePen(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindOrCreatePen(_swigarg0,_swigarg1,_swigarg2))
5663 static PyObject
*_wrap_wxPenList_FindOrCreatePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5664 PyObject
* _resultobj
;
5670 PyObject
* _argo0
= 0;
5672 PyObject
* _obj1
= 0;
5673 char *_kwnames
[] = { "self","colour","width","style", NULL
};
5677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxPenList_FindOrCreatePen",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
))
5680 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5681 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
5682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_FindOrCreatePen. Expected _wxPenList_p.");
5688 if (! wxColour_helper(_obj1
, &_arg1
))
5692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5693 _result
= (wxPen
*)wxPenList_FindOrCreatePen(_arg0
,*_arg1
,_arg2
,_arg3
);
5695 wxPyEndAllowThreads(__tstate
);
5696 if (PyErr_Occurred()) return NULL
;
5698 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
5699 _resultobj
= Py_BuildValue("s",_ptemp
);
5702 _resultobj
= Py_None
;
5707 #define wxPenList_RemovePen(_swigobj,_swigarg0) (_swigobj->RemovePen(_swigarg0))
5708 static PyObject
*_wrap_wxPenList_RemovePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5709 PyObject
* _resultobj
;
5712 PyObject
* _argo0
= 0;
5713 PyObject
* _argo1
= 0;
5714 char *_kwnames
[] = { "self","pen", NULL
};
5717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPenList_RemovePen",_kwnames
,&_argo0
,&_argo1
))
5720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
5722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_RemovePen. Expected _wxPenList_p.");
5727 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5728 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
5729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPenList_RemovePen. Expected _wxPen_p.");
5734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5735 wxPenList_RemovePen(_arg0
,_arg1
);
5737 wxPyEndAllowThreads(__tstate
);
5738 if (PyErr_Occurred()) return NULL
;
5739 } Py_INCREF(Py_None
);
5740 _resultobj
= Py_None
;
5744 #define wxPenList_GetCount(_swigobj) (_swigobj->GetCount())
5745 static PyObject
*_wrap_wxPenList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5746 PyObject
* _resultobj
;
5749 PyObject
* _argo0
= 0;
5750 char *_kwnames
[] = { "self", NULL
};
5753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPenList_GetCount",_kwnames
,&_argo0
))
5756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
5758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_GetCount. Expected _wxPenList_p.");
5763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5764 _result
= (int )wxPenList_GetCount(_arg0
);
5766 wxPyEndAllowThreads(__tstate
);
5767 if (PyErr_Occurred()) return NULL
;
5768 } _resultobj
= Py_BuildValue("i",_result
);
5772 static void *SwigwxBrushTowxGDIObject(void *ptr
) {
5775 src
= (wxBrush
*) ptr
;
5776 dest
= (wxGDIObject
*) src
;
5777 return (void *) dest
;
5780 static void *SwigwxBrushTowxObject(void *ptr
) {
5783 src
= (wxBrush
*) ptr
;
5784 dest
= (wxObject
*) src
;
5785 return (void *) dest
;
5788 #define new_wxBrush(_swigarg0,_swigarg1) (new wxBrush(_swigarg0,_swigarg1))
5789 static PyObject
*_wrap_new_wxBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5790 PyObject
* _resultobj
;
5793 int _arg1
= (int ) wxSOLID
;
5795 PyObject
* _obj0
= 0;
5796 char *_kwnames
[] = { "colour","style", NULL
};
5800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxBrush",_kwnames
,&_obj0
,&_arg1
))
5804 if (! wxColour_helper(_obj0
, &_arg0
))
5808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5809 _result
= (wxBrush
*)new_wxBrush(*_arg0
,_arg1
);
5811 wxPyEndAllowThreads(__tstate
);
5812 if (PyErr_Occurred()) return NULL
;
5814 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
5815 _resultobj
= Py_BuildValue("s",_ptemp
);
5818 _resultobj
= Py_None
;
5823 #define delete_wxBrush(_swigobj) (delete _swigobj)
5824 static PyObject
*_wrap_delete_wxBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5825 PyObject
* _resultobj
;
5827 PyObject
* _argo0
= 0;
5828 char *_kwnames
[] = { "self", NULL
};
5831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBrush",_kwnames
,&_argo0
))
5834 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5835 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
5836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBrush. Expected _wxBrush_p.");
5841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5842 delete_wxBrush(_arg0
);
5844 wxPyEndAllowThreads(__tstate
);
5845 if (PyErr_Occurred()) return NULL
;
5846 } Py_INCREF(Py_None
);
5847 _resultobj
= Py_None
;
5851 #define wxBrush_GetColour(_swigobj) (_swigobj->GetColour())
5852 static PyObject
*_wrap_wxBrush_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5853 PyObject
* _resultobj
;
5856 PyObject
* _argo0
= 0;
5857 char *_kwnames
[] = { "self", NULL
};
5861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetColour",_kwnames
,&_argo0
))
5864 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5865 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
5866 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetColour. Expected _wxBrush_p.");
5871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5872 _result
= new wxColour (wxBrush_GetColour(_arg0
));
5874 wxPyEndAllowThreads(__tstate
);
5875 if (PyErr_Occurred()) return NULL
;
5876 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
5877 _resultobj
= Py_BuildValue("s",_ptemp
);
5881 #define wxBrush_GetStipple(_swigobj) (_swigobj->GetStipple())
5882 static PyObject
*_wrap_wxBrush_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5883 PyObject
* _resultobj
;
5886 PyObject
* _argo0
= 0;
5887 char *_kwnames
[] = { "self", NULL
};
5891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetStipple",_kwnames
,&_argo0
))
5894 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5895 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
5896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStipple. Expected _wxBrush_p.");
5901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5902 _result
= (wxBitmap
*)wxBrush_GetStipple(_arg0
);
5904 wxPyEndAllowThreads(__tstate
);
5905 if (PyErr_Occurred()) return NULL
;
5907 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
5908 _resultobj
= Py_BuildValue("s",_ptemp
);
5911 _resultobj
= Py_None
;
5916 #define wxBrush_GetStyle(_swigobj) (_swigobj->GetStyle())
5917 static PyObject
*_wrap_wxBrush_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5918 PyObject
* _resultobj
;
5921 PyObject
* _argo0
= 0;
5922 char *_kwnames
[] = { "self", NULL
};
5925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetStyle",_kwnames
,&_argo0
))
5928 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5929 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
5930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStyle. Expected _wxBrush_p.");
5935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5936 _result
= (int )wxBrush_GetStyle(_arg0
);
5938 wxPyEndAllowThreads(__tstate
);
5939 if (PyErr_Occurred()) return NULL
;
5940 } _resultobj
= Py_BuildValue("i",_result
);
5944 #define wxBrush_Ok(_swigobj) (_swigobj->Ok())
5945 static PyObject
*_wrap_wxBrush_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5946 PyObject
* _resultobj
;
5949 PyObject
* _argo0
= 0;
5950 char *_kwnames
[] = { "self", NULL
};
5953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_Ok",_kwnames
,&_argo0
))
5956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
5958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_Ok. Expected _wxBrush_p.");
5963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5964 _result
= (bool )wxBrush_Ok(_arg0
);
5966 wxPyEndAllowThreads(__tstate
);
5967 if (PyErr_Occurred()) return NULL
;
5968 } _resultobj
= Py_BuildValue("i",_result
);
5972 #define wxBrush_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
5973 static PyObject
*_wrap_wxBrush_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5974 PyObject
* _resultobj
;
5977 PyObject
* _argo0
= 0;
5979 PyObject
* _obj1
= 0;
5980 char *_kwnames
[] = { "self","colour", NULL
};
5983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrush_SetColour",_kwnames
,&_argo0
,&_obj1
))
5986 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5987 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
5988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetColour. Expected _wxBrush_p.");
5994 if (! wxColour_helper(_obj1
, &_arg1
))
5998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5999 wxBrush_SetColour(_arg0
,*_arg1
);
6001 wxPyEndAllowThreads(__tstate
);
6002 if (PyErr_Occurred()) return NULL
;
6003 } Py_INCREF(Py_None
);
6004 _resultobj
= Py_None
;
6008 #define wxBrush_SetStipple(_swigobj,_swigarg0) (_swigobj->SetStipple(_swigarg0))
6009 static PyObject
*_wrap_wxBrush_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6010 PyObject
* _resultobj
;
6013 PyObject
* _argo0
= 0;
6014 PyObject
* _argo1
= 0;
6015 char *_kwnames
[] = { "self","bitmap", NULL
};
6018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrush_SetStipple",_kwnames
,&_argo0
,&_argo1
))
6021 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6022 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
6023 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStipple. Expected _wxBrush_p.");
6028 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6029 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
6030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrush_SetStipple. Expected _wxBitmap_p.");
6035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6036 wxBrush_SetStipple(_arg0
,*_arg1
);
6038 wxPyEndAllowThreads(__tstate
);
6039 if (PyErr_Occurred()) return NULL
;
6040 } Py_INCREF(Py_None
);
6041 _resultobj
= Py_None
;
6045 #define wxBrush_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
6046 static PyObject
*_wrap_wxBrush_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6047 PyObject
* _resultobj
;
6050 PyObject
* _argo0
= 0;
6051 char *_kwnames
[] = { "self","style", NULL
};
6054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBrush_SetStyle",_kwnames
,&_argo0
,&_arg1
))
6057 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6058 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
6059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStyle. Expected _wxBrush_p.");
6064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6065 wxBrush_SetStyle(_arg0
,_arg1
);
6067 wxPyEndAllowThreads(__tstate
);
6068 if (PyErr_Occurred()) return NULL
;
6069 } Py_INCREF(Py_None
);
6070 _resultobj
= Py_None
;
6074 static void *SwigwxBrushListTowxObject(void *ptr
) {
6077 src
= (wxBrushList
*) ptr
;
6078 dest
= (wxObject
*) src
;
6079 return (void *) dest
;
6082 #define wxBrushList_AddBrush(_swigobj,_swigarg0) (_swigobj->AddBrush(_swigarg0))
6083 static PyObject
*_wrap_wxBrushList_AddBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6084 PyObject
* _resultobj
;
6085 wxBrushList
* _arg0
;
6087 PyObject
* _argo0
= 0;
6088 PyObject
* _argo1
= 0;
6089 char *_kwnames
[] = { "self","brush", NULL
};
6092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrushList_AddBrush",_kwnames
,&_argo0
,&_argo1
))
6095 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6096 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
6097 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_AddBrush. Expected _wxBrushList_p.");
6102 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6103 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
6104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrushList_AddBrush. Expected _wxBrush_p.");
6109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6110 wxBrushList_AddBrush(_arg0
,_arg1
);
6112 wxPyEndAllowThreads(__tstate
);
6113 if (PyErr_Occurred()) return NULL
;
6114 } Py_INCREF(Py_None
);
6115 _resultobj
= Py_None
;
6119 #define wxBrushList_FindOrCreateBrush(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindOrCreateBrush(_swigarg0,_swigarg1))
6120 static PyObject
*_wrap_wxBrushList_FindOrCreateBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6121 PyObject
* _resultobj
;
6123 wxBrushList
* _arg0
;
6126 PyObject
* _argo0
= 0;
6128 PyObject
* _obj1
= 0;
6129 char *_kwnames
[] = { "self","colour","style", NULL
};
6133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxBrushList_FindOrCreateBrush",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
6136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
6138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_FindOrCreateBrush. Expected _wxBrushList_p.");
6144 if (! wxColour_helper(_obj1
, &_arg1
))
6148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6149 _result
= (wxBrush
*)wxBrushList_FindOrCreateBrush(_arg0
,*_arg1
,_arg2
);
6151 wxPyEndAllowThreads(__tstate
);
6152 if (PyErr_Occurred()) return NULL
;
6154 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
6155 _resultobj
= Py_BuildValue("s",_ptemp
);
6158 _resultobj
= Py_None
;
6163 #define wxBrushList_RemoveBrush(_swigobj,_swigarg0) (_swigobj->RemoveBrush(_swigarg0))
6164 static PyObject
*_wrap_wxBrushList_RemoveBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6165 PyObject
* _resultobj
;
6166 wxBrushList
* _arg0
;
6168 PyObject
* _argo0
= 0;
6169 PyObject
* _argo1
= 0;
6170 char *_kwnames
[] = { "self","brush", NULL
};
6173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrushList_RemoveBrush",_kwnames
,&_argo0
,&_argo1
))
6176 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6177 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
6178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_RemoveBrush. Expected _wxBrushList_p.");
6183 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6184 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
6185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrushList_RemoveBrush. Expected _wxBrush_p.");
6190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6191 wxBrushList_RemoveBrush(_arg0
,_arg1
);
6193 wxPyEndAllowThreads(__tstate
);
6194 if (PyErr_Occurred()) return NULL
;
6195 } Py_INCREF(Py_None
);
6196 _resultobj
= Py_None
;
6200 #define wxBrushList_GetCount(_swigobj) (_swigobj->GetCount())
6201 static PyObject
*_wrap_wxBrushList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6202 PyObject
* _resultobj
;
6204 wxBrushList
* _arg0
;
6205 PyObject
* _argo0
= 0;
6206 char *_kwnames
[] = { "self", NULL
};
6209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrushList_GetCount",_kwnames
,&_argo0
))
6212 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6213 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
6214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_GetCount. Expected _wxBrushList_p.");
6219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6220 _result
= (int )wxBrushList_GetCount(_arg0
);
6222 wxPyEndAllowThreads(__tstate
);
6223 if (PyErr_Occurred()) return NULL
;
6224 } _resultobj
= Py_BuildValue("i",_result
);
6228 static void *SwigwxDCTowxObject(void *ptr
) {
6232 dest
= (wxObject
*) src
;
6233 return (void *) dest
;
6236 #define delete_wxDC(_swigobj) (delete _swigobj)
6237 static PyObject
*_wrap_delete_wxDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6238 PyObject
* _resultobj
;
6240 PyObject
* _argo0
= 0;
6241 char *_kwnames
[] = { "self", NULL
};
6244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDC",_kwnames
,&_argo0
))
6247 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6248 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDC. Expected _wxDC_p.");
6254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6257 wxPyEndAllowThreads(__tstate
);
6258 if (PyErr_Occurred()) return NULL
;
6259 } Py_INCREF(Py_None
);
6260 _resultobj
= Py_None
;
6264 #define wxDC_BeginDrawing(_swigobj) (_swigobj->BeginDrawing())
6265 static PyObject
*_wrap_wxDC_BeginDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6266 PyObject
* _resultobj
;
6268 PyObject
* _argo0
= 0;
6269 char *_kwnames
[] = { "self", NULL
};
6272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_BeginDrawing",_kwnames
,&_argo0
))
6275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_BeginDrawing. Expected _wxDC_p.");
6282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6283 wxDC_BeginDrawing(_arg0
);
6285 wxPyEndAllowThreads(__tstate
);
6286 if (PyErr_Occurred()) return NULL
;
6287 } Py_INCREF(Py_None
);
6288 _resultobj
= Py_None
;
6292 #define wxDC_Blit(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Blit(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
6293 static PyObject
*_wrap_wxDC_Blit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6294 PyObject
* _resultobj
;
6304 int _arg8
= (int ) wxCOPY
;
6305 int _arg9
= (int ) FALSE
;
6306 PyObject
* _argo0
= 0;
6307 PyObject
* _argo5
= 0;
6308 char *_kwnames
[] = { "self","xdest","ydest","width","height","source","xsrc","ysrc","logicalFunc","useMask", NULL
};
6311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllllOll|ii:wxDC_Blit",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_argo5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
))
6314 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6315 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Blit. Expected _wxDC_p.");
6321 if (_argo5
== Py_None
) { _arg5
= NULL
; }
6322 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxDC_p")) {
6323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxDC_Blit. Expected _wxDC_p.");
6328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6329 _result
= (bool )wxDC_Blit(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
6331 wxPyEndAllowThreads(__tstate
);
6332 if (PyErr_Occurred()) return NULL
;
6333 } _resultobj
= Py_BuildValue("i",_result
);
6337 #define wxDC_Clear(_swigobj) (_swigobj->Clear())
6338 static PyObject
*_wrap_wxDC_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6339 PyObject
* _resultobj
;
6341 PyObject
* _argo0
= 0;
6342 char *_kwnames
[] = { "self", NULL
};
6345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_Clear",_kwnames
,&_argo0
))
6348 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6349 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Clear. Expected _wxDC_p.");
6355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6358 wxPyEndAllowThreads(__tstate
);
6359 if (PyErr_Occurred()) return NULL
;
6360 } Py_INCREF(Py_None
);
6361 _resultobj
= Py_None
;
6365 #define wxDC_CrossHair(_swigobj,_swigarg0,_swigarg1) (_swigobj->CrossHair(_swigarg0,_swigarg1))
6366 static PyObject
*_wrap_wxDC_CrossHair(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6367 PyObject
* _resultobj
;
6371 PyObject
* _argo0
= 0;
6372 char *_kwnames
[] = { "self","x","y", NULL
};
6375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_CrossHair",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CrossHair. Expected _wxDC_p.");
6385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6386 wxDC_CrossHair(_arg0
,_arg1
,_arg2
);
6388 wxPyEndAllowThreads(__tstate
);
6389 if (PyErr_Occurred()) return NULL
;
6390 } Py_INCREF(Py_None
);
6391 _resultobj
= Py_None
;
6395 #define wxDC_DestroyClippingRegion(_swigobj) (_swigobj->DestroyClippingRegion())
6396 static PyObject
*_wrap_wxDC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6397 PyObject
* _resultobj
;
6399 PyObject
* _argo0
= 0;
6400 char *_kwnames
[] = { "self", NULL
};
6403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_DestroyClippingRegion",_kwnames
,&_argo0
))
6406 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6407 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DestroyClippingRegion. Expected _wxDC_p.");
6413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6414 wxDC_DestroyClippingRegion(_arg0
);
6416 wxPyEndAllowThreads(__tstate
);
6417 if (PyErr_Occurred()) return NULL
;
6418 } Py_INCREF(Py_None
);
6419 _resultobj
= Py_None
;
6423 #define wxDC_DeviceToLogicalX(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalX(_swigarg0))
6424 static PyObject
*_wrap_wxDC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6425 PyObject
* _resultobj
;
6429 PyObject
* _argo0
= 0;
6430 char *_kwnames
[] = { "self","x", NULL
};
6433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalX",_kwnames
,&_argo0
,&_arg1
))
6436 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6437 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalX. Expected _wxDC_p.");
6443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6444 _result
= (long )wxDC_DeviceToLogicalX(_arg0
,_arg1
);
6446 wxPyEndAllowThreads(__tstate
);
6447 if (PyErr_Occurred()) return NULL
;
6448 } _resultobj
= Py_BuildValue("l",_result
);
6452 #define wxDC_DeviceToLogicalXRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalXRel(_swigarg0))
6453 static PyObject
*_wrap_wxDC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6454 PyObject
* _resultobj
;
6458 PyObject
* _argo0
= 0;
6459 char *_kwnames
[] = { "self","x", NULL
};
6462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalXRel",_kwnames
,&_argo0
,&_arg1
))
6465 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6466 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalXRel. Expected _wxDC_p.");
6472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6473 _result
= (long )wxDC_DeviceToLogicalXRel(_arg0
,_arg1
);
6475 wxPyEndAllowThreads(__tstate
);
6476 if (PyErr_Occurred()) return NULL
;
6477 } _resultobj
= Py_BuildValue("l",_result
);
6481 #define wxDC_DeviceToLogicalY(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalY(_swigarg0))
6482 static PyObject
*_wrap_wxDC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6483 PyObject
* _resultobj
;
6487 PyObject
* _argo0
= 0;
6488 char *_kwnames
[] = { "self","y", NULL
};
6491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalY",_kwnames
,&_argo0
,&_arg1
))
6494 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6495 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6496 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalY. Expected _wxDC_p.");
6501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6502 _result
= (long )wxDC_DeviceToLogicalY(_arg0
,_arg1
);
6504 wxPyEndAllowThreads(__tstate
);
6505 if (PyErr_Occurred()) return NULL
;
6506 } _resultobj
= Py_BuildValue("l",_result
);
6510 #define wxDC_DeviceToLogicalYRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalYRel(_swigarg0))
6511 static PyObject
*_wrap_wxDC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6512 PyObject
* _resultobj
;
6516 PyObject
* _argo0
= 0;
6517 char *_kwnames
[] = { "self","y", NULL
};
6520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalYRel",_kwnames
,&_argo0
,&_arg1
))
6523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalYRel. Expected _wxDC_p.");
6530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6531 _result
= (long )wxDC_DeviceToLogicalYRel(_arg0
,_arg1
);
6533 wxPyEndAllowThreads(__tstate
);
6534 if (PyErr_Occurred()) return NULL
;
6535 } _resultobj
= Py_BuildValue("l",_result
);
6539 #define wxDC_DrawArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6540 static PyObject
*_wrap_wxDC_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6541 PyObject
* _resultobj
;
6549 PyObject
* _argo0
= 0;
6550 char *_kwnames
[] = { "self","x1","y1","x2","y2","xc","yc", NULL
};
6553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollllll:wxDC_DrawArc",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
6556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawArc. Expected _wxDC_p.");
6563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6564 wxDC_DrawArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
6566 wxPyEndAllowThreads(__tstate
);
6567 if (PyErr_Occurred()) return NULL
;
6568 } Py_INCREF(Py_None
);
6569 _resultobj
= Py_None
;
6573 #define wxDC_DrawCircle(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawCircle(_swigarg0,_swigarg1,_swigarg2))
6574 static PyObject
*_wrap_wxDC_DrawCircle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6575 PyObject
* _resultobj
;
6580 PyObject
* _argo0
= 0;
6581 char *_kwnames
[] = { "self","x","y","radius", NULL
};
6584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olll:wxDC_DrawCircle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
6587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawCircle. Expected _wxDC_p.");
6594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6595 wxDC_DrawCircle(_arg0
,_arg1
,_arg2
,_arg3
);
6597 wxPyEndAllowThreads(__tstate
);
6598 if (PyErr_Occurred()) return NULL
;
6599 } Py_INCREF(Py_None
);
6600 _resultobj
= Py_None
;
6604 #define wxDC_DrawEllipse(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawEllipse(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6605 static PyObject
*_wrap_wxDC_DrawEllipse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6606 PyObject
* _resultobj
;
6612 PyObject
* _argo0
= 0;
6613 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
6616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_DrawEllipse",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
6619 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6620 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipse. Expected _wxDC_p.");
6626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6627 wxDC_DrawEllipse(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6629 wxPyEndAllowThreads(__tstate
);
6630 if (PyErr_Occurred()) return NULL
;
6631 } Py_INCREF(Py_None
);
6632 _resultobj
= Py_None
;
6636 #define wxDC_DrawEllipticArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawEllipticArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6637 static PyObject
*_wrap_wxDC_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6638 PyObject
* _resultobj
;
6646 PyObject
* _argo0
= 0;
6647 char *_kwnames
[] = { "self","x","y","width","height","start","end", NULL
};
6650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollllll:wxDC_DrawEllipticArc",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
6653 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6654 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipticArc. Expected _wxDC_p.");
6660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6661 wxDC_DrawEllipticArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
6663 wxPyEndAllowThreads(__tstate
);
6664 if (PyErr_Occurred()) return NULL
;
6665 } Py_INCREF(Py_None
);
6666 _resultobj
= Py_None
;
6670 #define wxDC_DrawIcon(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawIcon(_swigarg0,_swigarg1,_swigarg2))
6671 static PyObject
*_wrap_wxDC_DrawIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6672 PyObject
* _resultobj
;
6677 PyObject
* _argo0
= 0;
6678 PyObject
* _argo1
= 0;
6679 char *_kwnames
[] = { "self","icon","x","y", NULL
};
6682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOll:wxDC_DrawIcon",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
6685 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6686 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawIcon. Expected _wxDC_p.");
6692 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6693 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
6694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawIcon. Expected _wxIcon_p.");
6699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6700 wxDC_DrawIcon(_arg0
,*_arg1
,_arg2
,_arg3
);
6702 wxPyEndAllowThreads(__tstate
);
6703 if (PyErr_Occurred()) return NULL
;
6704 } Py_INCREF(Py_None
);
6705 _resultobj
= Py_None
;
6709 #define wxDC_DrawLabel(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLabel(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6710 static PyObject
*_wrap_wxDC_DrawLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6711 PyObject
* _resultobj
;
6715 int _arg3
= (int ) wxALIGN_LEFT
|wxALIGN_TOP
;
6716 int _arg4
= (int ) -1;
6717 PyObject
* _argo0
= 0;
6718 PyObject
* _obj1
= 0;
6720 PyObject
* _obj2
= 0;
6721 char *_kwnames
[] = { "self","text","rect","alignment","indexAccel", NULL
};
6724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|ii:wxDC_DrawLabel",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_arg3
,&_arg4
))
6727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLabel. Expected _wxDC_p.");
6734 _arg1
= wxString_in_helper(_obj1
);
6740 if (! wxRect_helper(_obj2
, &_arg2
))
6744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6745 wxDC_DrawLabel(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
6747 wxPyEndAllowThreads(__tstate
);
6748 if (PyErr_Occurred()) return NULL
;
6749 } Py_INCREF(Py_None
);
6750 _resultobj
= Py_None
;
6758 static wxRect
wxDC_DrawImageLabel(wxDC
*self
,const wxString
& text
,const wxBitmap
& image
,const wxRect
& rect
,int alignment
,int indexAccel
) {
6760 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
6763 static PyObject
*_wrap_wxDC_DrawImageLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6764 PyObject
* _resultobj
;
6770 int _arg4
= (int ) wxALIGN_LEFT
|wxALIGN_TOP
;
6771 int _arg5
= (int ) -1;
6772 PyObject
* _argo0
= 0;
6773 PyObject
* _obj1
= 0;
6774 PyObject
* _argo2
= 0;
6776 PyObject
* _obj3
= 0;
6777 char *_kwnames
[] = { "self","text","image","rect","alignment","indexAccel", NULL
};
6781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|ii:wxDC_DrawImageLabel",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_obj3
,&_arg4
,&_arg5
))
6784 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6785 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawImageLabel. Expected _wxDC_p.");
6791 _arg1
= wxString_in_helper(_obj1
);
6796 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6797 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
6798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDC_DrawImageLabel. Expected _wxBitmap_p.");
6804 if (! wxRect_helper(_obj3
, &_arg3
))
6808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6809 _result
= new wxRect (wxDC_DrawImageLabel(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
));
6811 wxPyEndAllowThreads(__tstate
);
6812 if (PyErr_Occurred()) return NULL
;
6813 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
6814 _resultobj
= Py_BuildValue("s",_ptemp
);
6822 #define wxDC_DrawLine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6823 static PyObject
*_wrap_wxDC_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6824 PyObject
* _resultobj
;
6830 PyObject
* _argo0
= 0;
6831 char *_kwnames
[] = { "self","x1","y1","x2","y2", NULL
};
6834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_DrawLine",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
6837 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6838 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLine. Expected _wxDC_p.");
6844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6845 wxDC_DrawLine(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6847 wxPyEndAllowThreads(__tstate
);
6848 if (PyErr_Occurred()) return NULL
;
6849 } Py_INCREF(Py_None
);
6850 _resultobj
= Py_None
;
6854 #define wxDC_DrawLines(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLines(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6855 static PyObject
*_wrap_wxDC_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6856 PyObject
* _resultobj
;
6860 long _arg3
= (long ) 0;
6861 long _arg4
= (long ) 0;
6862 PyObject
* _argo0
= 0;
6864 PyObject
* _obj2
= 0;
6865 char *_kwnames
[] = { "self","points","xoffset","yoffset", NULL
};
6868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ll:wxDC_DrawLines",_kwnames
,&_argo0
,&_obj2
,&_arg3
,&_arg4
))
6871 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6872 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLines. Expected _wxDC_p.");
6879 _arg2
= wxPoint_LIST_helper(_obj2
, &NPOINTS
);
6880 if (_arg2
== NULL
) {
6888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6889 wxDC_DrawLines(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6891 wxPyEndAllowThreads(__tstate
);
6892 if (PyErr_Occurred()) return NULL
;
6893 } Py_INCREF(Py_None
);
6894 _resultobj
= Py_None
;
6901 #define wxDC_DrawPolygon(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawPolygon(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6902 static PyObject
*_wrap_wxDC_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6903 PyObject
* _resultobj
;
6907 long _arg3
= (long ) 0;
6908 long _arg4
= (long ) 0;
6909 int _arg5
= (int ) wxODDEVEN_RULE
;
6910 PyObject
* _argo0
= 0;
6912 PyObject
* _obj2
= 0;
6913 char *_kwnames
[] = { "self","points","xoffset","yoffset","fill_style", NULL
};
6916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|lli:wxDC_DrawPolygon",_kwnames
,&_argo0
,&_obj2
,&_arg3
,&_arg4
,&_arg5
))
6919 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6920 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPolygon. Expected _wxDC_p.");
6927 _arg2
= wxPoint_LIST_helper(_obj2
, &NPOINTS
);
6928 if (_arg2
== NULL
) {
6936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6937 wxDC_DrawPolygon(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
6939 wxPyEndAllowThreads(__tstate
);
6940 if (PyErr_Occurred()) return NULL
;
6941 } Py_INCREF(Py_None
);
6942 _resultobj
= Py_None
;
6949 #define wxDC_DrawPoint(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawPoint(_swigarg0,_swigarg1))
6950 static PyObject
*_wrap_wxDC_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6951 PyObject
* _resultobj
;
6955 PyObject
* _argo0
= 0;
6956 char *_kwnames
[] = { "self","x","y", NULL
};
6959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_DrawPoint",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6962 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6963 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPoint. Expected _wxDC_p.");
6969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6970 wxDC_DrawPoint(_arg0
,_arg1
,_arg2
);
6972 wxPyEndAllowThreads(__tstate
);
6973 if (PyErr_Occurred()) return NULL
;
6974 } Py_INCREF(Py_None
);
6975 _resultobj
= Py_None
;
6979 #define wxDC_DrawRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6980 static PyObject
*_wrap_wxDC_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6981 PyObject
* _resultobj
;
6987 PyObject
* _argo0
= 0;
6988 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
6991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_DrawRectangle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
6994 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6995 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRectangle. Expected _wxDC_p.");
7001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7002 wxDC_DrawRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7004 wxPyEndAllowThreads(__tstate
);
7005 if (PyErr_Occurred()) return NULL
;
7006 } Py_INCREF(Py_None
);
7007 _resultobj
= Py_None
;
7011 #define wxDC_DrawRotatedText(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRotatedText(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7012 static PyObject
*_wrap_wxDC_DrawRotatedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7013 PyObject
* _resultobj
;
7019 PyObject
* _argo0
= 0;
7020 PyObject
* _obj1
= 0;
7021 char *_kwnames
[] = { "self","text","x","y","angle", NULL
};
7024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiid:wxDC_DrawRotatedText",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_arg4
))
7027 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7028 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRotatedText. Expected _wxDC_p.");
7034 _arg1
= wxString_in_helper(_obj1
);
7039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7040 wxDC_DrawRotatedText(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
7042 wxPyEndAllowThreads(__tstate
);
7043 if (PyErr_Occurred()) return NULL
;
7044 } Py_INCREF(Py_None
);
7045 _resultobj
= Py_None
;
7053 #define wxDC_DrawRoundedRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawRoundedRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7054 static PyObject
*_wrap_wxDC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7055 PyObject
* _resultobj
;
7061 long _arg5
= (long ) 20;
7062 PyObject
* _argo0
= 0;
7063 char *_kwnames
[] = { "self","x","y","width","height","radius", NULL
};
7066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll|l:wxDC_DrawRoundedRectangle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
7069 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7070 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRoundedRectangle. Expected _wxDC_p.");
7076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7077 wxDC_DrawRoundedRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
7079 wxPyEndAllowThreads(__tstate
);
7080 if (PyErr_Occurred()) return NULL
;
7081 } Py_INCREF(Py_None
);
7082 _resultobj
= Py_None
;
7086 #define wxDC_DrawSpline(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawSpline(_swigarg0,_swigarg1))
7087 static PyObject
*_wrap_wxDC_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7088 PyObject
* _resultobj
;
7092 PyObject
* _argo0
= 0;
7094 PyObject
* _obj2
= 0;
7095 char *_kwnames
[] = { "self","points", NULL
};
7098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_DrawSpline",_kwnames
,&_argo0
,&_obj2
))
7101 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7102 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawSpline. Expected _wxDC_p.");
7109 _arg2
= wxPoint_LIST_helper(_obj2
, &NPOINTS
);
7110 if (_arg2
== NULL
) {
7118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7119 wxDC_DrawSpline(_arg0
,_arg1
,_arg2
);
7121 wxPyEndAllowThreads(__tstate
);
7122 if (PyErr_Occurred()) return NULL
;
7123 } Py_INCREF(Py_None
);
7124 _resultobj
= Py_None
;
7131 #define wxDC_DrawText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawText(_swigarg0,_swigarg1,_swigarg2))
7132 static PyObject
*_wrap_wxDC_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7133 PyObject
* _resultobj
;
7138 PyObject
* _argo0
= 0;
7139 PyObject
* _obj1
= 0;
7140 char *_kwnames
[] = { "self","text","x","y", NULL
};
7143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOll:wxDC_DrawText",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
))
7146 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7147 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawText. Expected _wxDC_p.");
7153 _arg1
= wxString_in_helper(_obj1
);
7158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7159 wxDC_DrawText(_arg0
,*_arg1
,_arg2
,_arg3
);
7161 wxPyEndAllowThreads(__tstate
);
7162 if (PyErr_Occurred()) return NULL
;
7163 } Py_INCREF(Py_None
);
7164 _resultobj
= Py_None
;
7172 #define wxDC_EndDoc(_swigobj) (_swigobj->EndDoc())
7173 static PyObject
*_wrap_wxDC_EndDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7174 PyObject
* _resultobj
;
7176 PyObject
* _argo0
= 0;
7177 char *_kwnames
[] = { "self", NULL
};
7180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndDoc",_kwnames
,&_argo0
))
7183 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7184 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDoc. Expected _wxDC_p.");
7190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7193 wxPyEndAllowThreads(__tstate
);
7194 if (PyErr_Occurred()) return NULL
;
7195 } Py_INCREF(Py_None
);
7196 _resultobj
= Py_None
;
7200 #define wxDC_EndDrawing(_swigobj) (_swigobj->EndDrawing())
7201 static PyObject
*_wrap_wxDC_EndDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7202 PyObject
* _resultobj
;
7204 PyObject
* _argo0
= 0;
7205 char *_kwnames
[] = { "self", NULL
};
7208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndDrawing",_kwnames
,&_argo0
))
7211 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7212 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDrawing. Expected _wxDC_p.");
7218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7219 wxDC_EndDrawing(_arg0
);
7221 wxPyEndAllowThreads(__tstate
);
7222 if (PyErr_Occurred()) return NULL
;
7223 } Py_INCREF(Py_None
);
7224 _resultobj
= Py_None
;
7228 #define wxDC_EndPage(_swigobj) (_swigobj->EndPage())
7229 static PyObject
*_wrap_wxDC_EndPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7230 PyObject
* _resultobj
;
7232 PyObject
* _argo0
= 0;
7233 char *_kwnames
[] = { "self", NULL
};
7236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndPage",_kwnames
,&_argo0
))
7239 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7240 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndPage. Expected _wxDC_p.");
7246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7247 wxDC_EndPage(_arg0
);
7249 wxPyEndAllowThreads(__tstate
);
7250 if (PyErr_Occurred()) return NULL
;
7251 } Py_INCREF(Py_None
);
7252 _resultobj
= Py_None
;
7256 #define wxDC_FloodFill(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->FloodFill(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7257 static PyObject
*_wrap_wxDC_FloodFill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7258 PyObject
* _resultobj
;
7263 int _arg4
= (int ) wxFLOOD_SURFACE
;
7264 PyObject
* _argo0
= 0;
7266 PyObject
* _obj3
= 0;
7267 char *_kwnames
[] = { "self","x","y","colour","style", NULL
};
7270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO|i:wxDC_FloodFill",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_arg4
))
7273 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7274 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_FloodFill. Expected _wxDC_p.");
7281 if (! wxColour_helper(_obj3
, &_arg3
))
7285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7286 wxDC_FloodFill(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
7288 wxPyEndAllowThreads(__tstate
);
7289 if (PyErr_Occurred()) return NULL
;
7290 } Py_INCREF(Py_None
);
7291 _resultobj
= Py_None
;
7295 #define wxDC_GetBackground(_swigobj) (_swigobj->GetBackground())
7296 static PyObject
*_wrap_wxDC_GetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7297 PyObject
* _resultobj
;
7300 PyObject
* _argo0
= 0;
7301 char *_kwnames
[] = { "self", NULL
};
7305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBackground",_kwnames
,&_argo0
))
7308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBackground. Expected _wxDC_p.");
7315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7316 _result
= new wxBrush (wxDC_GetBackground(_arg0
));
7318 wxPyEndAllowThreads(__tstate
);
7319 if (PyErr_Occurred()) return NULL
;
7320 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBrush_p");
7321 _resultobj
= Py_BuildValue("s",_ptemp
);
7325 #define wxDC_GetBrush(_swigobj) (_swigobj->GetBrush())
7326 static PyObject
*_wrap_wxDC_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7327 PyObject
* _resultobj
;
7330 PyObject
* _argo0
= 0;
7331 char *_kwnames
[] = { "self", NULL
};
7335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBrush",_kwnames
,&_argo0
))
7338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBrush. Expected _wxDC_p.");
7345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7346 _result
= new wxBrush (wxDC_GetBrush(_arg0
));
7348 wxPyEndAllowThreads(__tstate
);
7349 if (PyErr_Occurred()) return NULL
;
7350 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBrush_p");
7351 _resultobj
= Py_BuildValue("s",_ptemp
);
7355 #define wxDC_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
7356 static PyObject
*_wrap_wxDC_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7357 PyObject
* _resultobj
;
7360 PyObject
* _argo0
= 0;
7361 char *_kwnames
[] = { "self", NULL
};
7364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetCharHeight",_kwnames
,&_argo0
))
7367 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7368 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharHeight. Expected _wxDC_p.");
7374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7375 _result
= (long )wxDC_GetCharHeight(_arg0
);
7377 wxPyEndAllowThreads(__tstate
);
7378 if (PyErr_Occurred()) return NULL
;
7379 } _resultobj
= Py_BuildValue("l",_result
);
7383 #define wxDC_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
7384 static PyObject
*_wrap_wxDC_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7385 PyObject
* _resultobj
;
7388 PyObject
* _argo0
= 0;
7389 char *_kwnames
[] = { "self", NULL
};
7392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetCharWidth",_kwnames
,&_argo0
))
7395 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7396 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharWidth. Expected _wxDC_p.");
7402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7403 _result
= (long )wxDC_GetCharWidth(_arg0
);
7405 wxPyEndAllowThreads(__tstate
);
7406 if (PyErr_Occurred()) return NULL
;
7407 } _resultobj
= Py_BuildValue("l",_result
);
7411 #define wxDC_GetClippingBox(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetClippingBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7412 static PyObject
*_wrap_wxDC_GetClippingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7413 PyObject
* _resultobj
;
7423 PyObject
* _argo0
= 0;
7424 char *_kwnames
[] = { "self", NULL
};
7439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetClippingBox",_kwnames
,&_argo0
))
7442 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7443 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetClippingBox. Expected _wxDC_p.");
7449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7450 wxDC_GetClippingBox(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7452 wxPyEndAllowThreads(__tstate
);
7453 if (PyErr_Occurred()) return NULL
;
7454 } Py_INCREF(Py_None
);
7455 _resultobj
= Py_None
;
7458 o
= PyInt_FromLong((long) (*_arg1
));
7459 _resultobj
= t_output_helper(_resultobj
, o
);
7463 o
= PyInt_FromLong((long) (*_arg2
));
7464 _resultobj
= t_output_helper(_resultobj
, o
);
7468 o
= PyInt_FromLong((long) (*_arg3
));
7469 _resultobj
= t_output_helper(_resultobj
, o
);
7473 o
= PyInt_FromLong((long) (*_arg4
));
7474 _resultobj
= t_output_helper(_resultobj
, o
);
7479 #define wxDC_GetFont(_swigobj) (_swigobj->GetFont())
7480 static PyObject
*_wrap_wxDC_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7481 PyObject
* _resultobj
;
7484 PyObject
* _argo0
= 0;
7485 char *_kwnames
[] = { "self", NULL
};
7489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetFont",_kwnames
,&_argo0
))
7492 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7493 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFont. Expected _wxDC_p.");
7499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7500 _result
= new wxFont (wxDC_GetFont(_arg0
));
7502 wxPyEndAllowThreads(__tstate
);
7503 if (PyErr_Occurred()) return NULL
;
7504 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
7505 _resultobj
= Py_BuildValue("s",_ptemp
);
7509 #define wxDC_GetLogicalFunction(_swigobj) (_swigobj->GetLogicalFunction())
7510 static PyObject
*_wrap_wxDC_GetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7511 PyObject
* _resultobj
;
7514 PyObject
* _argo0
= 0;
7515 char *_kwnames
[] = { "self", NULL
};
7518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalFunction",_kwnames
,&_argo0
))
7521 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7522 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalFunction. Expected _wxDC_p.");
7528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7529 _result
= (int )wxDC_GetLogicalFunction(_arg0
);
7531 wxPyEndAllowThreads(__tstate
);
7532 if (PyErr_Occurred()) return NULL
;
7533 } _resultobj
= Py_BuildValue("i",_result
);
7537 #define wxDC_GetLogicalScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLogicalScale(_swigarg0,_swigarg1))
7538 static PyObject
*_wrap_wxDC_GetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7539 PyObject
* _resultobj
;
7545 PyObject
* _argo0
= 0;
7546 char *_kwnames
[] = { "self", NULL
};
7555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalScale",_kwnames
,&_argo0
))
7558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalScale. Expected _wxDC_p.");
7565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7566 wxDC_GetLogicalScale(_arg0
,_arg1
,_arg2
);
7568 wxPyEndAllowThreads(__tstate
);
7569 if (PyErr_Occurred()) return NULL
;
7570 } Py_INCREF(Py_None
);
7571 _resultobj
= Py_None
;
7574 o
= PyFloat_FromDouble((double) (*_arg1
));
7575 _resultobj
= t_output_helper(_resultobj
, o
);
7579 o
= PyFloat_FromDouble((double) (*_arg2
));
7580 _resultobj
= t_output_helper(_resultobj
, o
);
7585 #define wxDC_GetMapMode(_swigobj) (_swigobj->GetMapMode())
7586 static PyObject
*_wrap_wxDC_GetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7587 PyObject
* _resultobj
;
7590 PyObject
* _argo0
= 0;
7591 char *_kwnames
[] = { "self", NULL
};
7594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetMapMode",_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_GetMapMode. Expected _wxDC_p.");
7604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7605 _result
= (int )wxDC_GetMapMode(_arg0
);
7607 wxPyEndAllowThreads(__tstate
);
7608 if (PyErr_Occurred()) return NULL
;
7609 } _resultobj
= Py_BuildValue("i",_result
);
7613 #define wxDC_GetOptimization(_swigobj) (_swigobj->GetOptimization())
7614 static PyObject
*_wrap_wxDC_GetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7615 PyObject
* _resultobj
;
7618 PyObject
* _argo0
= 0;
7619 char *_kwnames
[] = { "self", NULL
};
7622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetOptimization",_kwnames
,&_argo0
))
7625 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7626 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetOptimization. Expected _wxDC_p.");
7632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7633 _result
= (bool )wxDC_GetOptimization(_arg0
);
7635 wxPyEndAllowThreads(__tstate
);
7636 if (PyErr_Occurred()) return NULL
;
7637 } _resultobj
= Py_BuildValue("i",_result
);
7641 #define wxDC_GetPen(_swigobj) (_swigobj->GetPen())
7642 static PyObject
*_wrap_wxDC_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7643 PyObject
* _resultobj
;
7646 PyObject
* _argo0
= 0;
7647 char *_kwnames
[] = { "self", NULL
};
7651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetPen",_kwnames
,&_argo0
))
7654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPen. Expected _wxDC_p.");
7661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7662 _result
= new wxPen (wxDC_GetPen(_arg0
));
7664 wxPyEndAllowThreads(__tstate
);
7665 if (PyErr_Occurred()) return NULL
;
7666 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPen_p");
7667 _resultobj
= Py_BuildValue("s",_ptemp
);
7671 static wxColour
* wxDC_GetPixel(wxDC
*self
,long x
,long y
) {
7672 wxColour
* wc
= new wxColour();
7673 self
->GetPixel(x
, y
, wc
);
7676 static PyObject
*_wrap_wxDC_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7677 PyObject
* _resultobj
;
7682 PyObject
* _argo0
= 0;
7683 char *_kwnames
[] = { "self","x","y", NULL
};
7687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_GetPixel",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7690 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7691 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPixel. Expected _wxDC_p.");
7697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7698 _result
= (wxColour
*)wxDC_GetPixel(_arg0
,_arg1
,_arg2
);
7700 wxPyEndAllowThreads(__tstate
);
7701 if (PyErr_Occurred()) return NULL
;
7703 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
7704 _resultobj
= Py_BuildValue("s",_ptemp
);
7707 _resultobj
= Py_None
;
7712 #define wxDC_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
7713 static PyObject
*_wrap_wxDC_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7714 PyObject
* _resultobj
;
7720 PyObject
* _argo0
= 0;
7721 char *_kwnames
[] = { "self", NULL
};
7730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSizeTuple",_kwnames
,&_argo0
))
7733 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7734 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSizeTuple. Expected _wxDC_p.");
7740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7741 wxDC_GetSizeTuple(_arg0
,_arg1
,_arg2
);
7743 wxPyEndAllowThreads(__tstate
);
7744 if (PyErr_Occurred()) return NULL
;
7745 } Py_INCREF(Py_None
);
7746 _resultobj
= Py_None
;
7749 o
= PyInt_FromLong((long) (*_arg1
));
7750 _resultobj
= t_output_helper(_resultobj
, o
);
7754 o
= PyInt_FromLong((long) (*_arg2
));
7755 _resultobj
= t_output_helper(_resultobj
, o
);
7760 #define wxDC_GetSize(_swigobj) (_swigobj->GetSize())
7761 static PyObject
*_wrap_wxDC_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7762 PyObject
* _resultobj
;
7765 PyObject
* _argo0
= 0;
7766 char *_kwnames
[] = { "self", NULL
};
7770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSize",_kwnames
,&_argo0
))
7773 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7774 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSize. Expected _wxDC_p.");
7780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7781 _result
= new wxSize (wxDC_GetSize(_arg0
));
7783 wxPyEndAllowThreads(__tstate
);
7784 if (PyErr_Occurred()) return NULL
;
7785 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
7786 _resultobj
= Py_BuildValue("s",_ptemp
);
7790 #define wxDC_GetSizeMM(_swigobj) (_swigobj->GetSizeMM())
7791 static PyObject
*_wrap_wxDC_GetSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7792 PyObject
* _resultobj
;
7795 PyObject
* _argo0
= 0;
7796 char *_kwnames
[] = { "self", NULL
};
7800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSizeMM",_kwnames
,&_argo0
))
7803 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7804 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSizeMM. Expected _wxDC_p.");
7810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7811 _result
= new wxSize (wxDC_GetSizeMM(_arg0
));
7813 wxPyEndAllowThreads(__tstate
);
7814 if (PyErr_Occurred()) return NULL
;
7815 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
7816 _resultobj
= Py_BuildValue("s",_ptemp
);
7820 #define wxDC_GetTextBackground(_swigobj) (_swigobj->GetTextBackground())
7821 static PyObject
*_wrap_wxDC_GetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7822 PyObject
* _resultobj
;
7825 PyObject
* _argo0
= 0;
7826 char *_kwnames
[] = { "self", NULL
};
7830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetTextBackground",_kwnames
,&_argo0
))
7833 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7834 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextBackground. Expected _wxDC_p.");
7840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7841 _result
= new wxColour (wxDC_GetTextBackground(_arg0
));
7843 wxPyEndAllowThreads(__tstate
);
7844 if (PyErr_Occurred()) return NULL
;
7845 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
7846 _resultobj
= Py_BuildValue("s",_ptemp
);
7850 #define wxDC_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
7851 static PyObject
*_wrap_wxDC_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7852 PyObject
* _resultobj
;
7859 PyObject
* _argo0
= 0;
7860 PyObject
* _obj1
= 0;
7861 char *_kwnames
[] = { "self","string", NULL
};
7870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_GetTextExtent",_kwnames
,&_argo0
,&_obj1
))
7873 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7874 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextExtent. Expected _wxDC_p.");
7880 _arg1
= wxString_in_helper(_obj1
);
7885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7886 wxDC_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
7888 wxPyEndAllowThreads(__tstate
);
7889 if (PyErr_Occurred()) return NULL
;
7890 } Py_INCREF(Py_None
);
7891 _resultobj
= Py_None
;
7894 o
= PyInt_FromLong((long) (*_arg2
));
7895 _resultobj
= t_output_helper(_resultobj
, o
);
7899 o
= PyInt_FromLong((long) (*_arg3
));
7900 _resultobj
= t_output_helper(_resultobj
, o
);
7909 #define wxDC_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7910 static PyObject
*_wrap_wxDC_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7911 PyObject
* _resultobj
;
7922 wxFont
* _arg6
= (wxFont
*) NULL
;
7923 PyObject
* _argo0
= 0;
7924 PyObject
* _obj1
= 0;
7925 PyObject
* _argo6
= 0;
7926 char *_kwnames
[] = { "self","string","font", NULL
};
7941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxDC_GetFullTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo6
))
7944 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7945 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFullTextExtent. Expected _wxDC_p.");
7951 _arg1
= wxString_in_helper(_obj1
);
7956 if (_argo6
== Py_None
) { _arg6
= NULL
; }
7957 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
7958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxDC_GetFullTextExtent. Expected _wxFont_p.");
7963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7964 wxDC_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
7966 wxPyEndAllowThreads(__tstate
);
7967 if (PyErr_Occurred()) return NULL
;
7968 } Py_INCREF(Py_None
);
7969 _resultobj
= Py_None
;
7972 o
= PyInt_FromLong((long) (*_arg2
));
7973 _resultobj
= t_output_helper(_resultobj
, o
);
7977 o
= PyInt_FromLong((long) (*_arg3
));
7978 _resultobj
= t_output_helper(_resultobj
, o
);
7982 o
= PyInt_FromLong((long) (*_arg4
));
7983 _resultobj
= t_output_helper(_resultobj
, o
);
7987 o
= PyInt_FromLong((long) (*_arg5
));
7988 _resultobj
= t_output_helper(_resultobj
, o
);
7997 #define wxDC_GetTextForeground(_swigobj) (_swigobj->GetTextForeground())
7998 static PyObject
*_wrap_wxDC_GetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7999 PyObject
* _resultobj
;
8002 PyObject
* _argo0
= 0;
8003 char *_kwnames
[] = { "self", NULL
};
8007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetTextForeground",_kwnames
,&_argo0
))
8010 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8011 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextForeground. Expected _wxDC_p.");
8017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8018 _result
= new wxColour (wxDC_GetTextForeground(_arg0
));
8020 wxPyEndAllowThreads(__tstate
);
8021 if (PyErr_Occurred()) return NULL
;
8022 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
8023 _resultobj
= Py_BuildValue("s",_ptemp
);
8027 #define wxDC_GetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetUserScale(_swigarg0,_swigarg1))
8028 static PyObject
*_wrap_wxDC_GetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8029 PyObject
* _resultobj
;
8035 PyObject
* _argo0
= 0;
8036 char *_kwnames
[] = { "self", NULL
};
8045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetUserScale",_kwnames
,&_argo0
))
8048 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8049 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetUserScale. Expected _wxDC_p.");
8055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8056 wxDC_GetUserScale(_arg0
,_arg1
,_arg2
);
8058 wxPyEndAllowThreads(__tstate
);
8059 if (PyErr_Occurred()) return NULL
;
8060 } Py_INCREF(Py_None
);
8061 _resultobj
= Py_None
;
8064 o
= PyFloat_FromDouble((double) (*_arg1
));
8065 _resultobj
= t_output_helper(_resultobj
, o
);
8069 o
= PyFloat_FromDouble((double) (*_arg2
));
8070 _resultobj
= t_output_helper(_resultobj
, o
);
8075 #define wxDC_LogicalToDeviceX(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceX(_swigarg0))
8076 static PyObject
*_wrap_wxDC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8077 PyObject
* _resultobj
;
8081 PyObject
* _argo0
= 0;
8082 char *_kwnames
[] = { "self","x", NULL
};
8085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceX",_kwnames
,&_argo0
,&_arg1
))
8088 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8089 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceX. Expected _wxDC_p.");
8095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8096 _result
= (long )wxDC_LogicalToDeviceX(_arg0
,_arg1
);
8098 wxPyEndAllowThreads(__tstate
);
8099 if (PyErr_Occurred()) return NULL
;
8100 } _resultobj
= Py_BuildValue("l",_result
);
8104 #define wxDC_LogicalToDeviceXRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceXRel(_swigarg0))
8105 static PyObject
*_wrap_wxDC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8106 PyObject
* _resultobj
;
8110 PyObject
* _argo0
= 0;
8111 char *_kwnames
[] = { "self","x", NULL
};
8114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceXRel",_kwnames
,&_argo0
,&_arg1
))
8117 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8118 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceXRel. Expected _wxDC_p.");
8124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8125 _result
= (long )wxDC_LogicalToDeviceXRel(_arg0
,_arg1
);
8127 wxPyEndAllowThreads(__tstate
);
8128 if (PyErr_Occurred()) return NULL
;
8129 } _resultobj
= Py_BuildValue("l",_result
);
8133 #define wxDC_LogicalToDeviceY(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceY(_swigarg0))
8134 static PyObject
*_wrap_wxDC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8135 PyObject
* _resultobj
;
8139 PyObject
* _argo0
= 0;
8140 char *_kwnames
[] = { "self","y", NULL
};
8143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceY",_kwnames
,&_argo0
,&_arg1
))
8146 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8147 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceY. Expected _wxDC_p.");
8153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8154 _result
= (long )wxDC_LogicalToDeviceY(_arg0
,_arg1
);
8156 wxPyEndAllowThreads(__tstate
);
8157 if (PyErr_Occurred()) return NULL
;
8158 } _resultobj
= Py_BuildValue("l",_result
);
8162 #define wxDC_LogicalToDeviceYRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceYRel(_swigarg0))
8163 static PyObject
*_wrap_wxDC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8164 PyObject
* _resultobj
;
8168 PyObject
* _argo0
= 0;
8169 char *_kwnames
[] = { "self","y", NULL
};
8172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceYRel",_kwnames
,&_argo0
,&_arg1
))
8175 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8176 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceYRel. Expected _wxDC_p.");
8182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8183 _result
= (long )wxDC_LogicalToDeviceYRel(_arg0
,_arg1
);
8185 wxPyEndAllowThreads(__tstate
);
8186 if (PyErr_Occurred()) return NULL
;
8187 } _resultobj
= Py_BuildValue("l",_result
);
8191 #define wxDC_MaxX(_swigobj) (_swigobj->MaxX())
8192 static PyObject
*_wrap_wxDC_MaxX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8193 PyObject
* _resultobj
;
8196 PyObject
* _argo0
= 0;
8197 char *_kwnames
[] = { "self", NULL
};
8200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MaxX",_kwnames
,&_argo0
))
8203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxX. Expected _wxDC_p.");
8210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8211 _result
= (long )wxDC_MaxX(_arg0
);
8213 wxPyEndAllowThreads(__tstate
);
8214 if (PyErr_Occurred()) return NULL
;
8215 } _resultobj
= Py_BuildValue("l",_result
);
8219 #define wxDC_MaxY(_swigobj) (_swigobj->MaxY())
8220 static PyObject
*_wrap_wxDC_MaxY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8221 PyObject
* _resultobj
;
8224 PyObject
* _argo0
= 0;
8225 char *_kwnames
[] = { "self", NULL
};
8228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MaxY",_kwnames
,&_argo0
))
8231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxY. Expected _wxDC_p.");
8238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8239 _result
= (long )wxDC_MaxY(_arg0
);
8241 wxPyEndAllowThreads(__tstate
);
8242 if (PyErr_Occurred()) return NULL
;
8243 } _resultobj
= Py_BuildValue("l",_result
);
8247 #define wxDC_MinX(_swigobj) (_swigobj->MinX())
8248 static PyObject
*_wrap_wxDC_MinX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8249 PyObject
* _resultobj
;
8252 PyObject
* _argo0
= 0;
8253 char *_kwnames
[] = { "self", NULL
};
8256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MinX",_kwnames
,&_argo0
))
8259 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8260 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinX. Expected _wxDC_p.");
8266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8267 _result
= (long )wxDC_MinX(_arg0
);
8269 wxPyEndAllowThreads(__tstate
);
8270 if (PyErr_Occurred()) return NULL
;
8271 } _resultobj
= Py_BuildValue("l",_result
);
8275 #define wxDC_MinY(_swigobj) (_swigobj->MinY())
8276 static PyObject
*_wrap_wxDC_MinY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8277 PyObject
* _resultobj
;
8280 PyObject
* _argo0
= 0;
8281 char *_kwnames
[] = { "self", NULL
};
8284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MinY",_kwnames
,&_argo0
))
8287 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8288 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinY. Expected _wxDC_p.");
8294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8295 _result
= (long )wxDC_MinY(_arg0
);
8297 wxPyEndAllowThreads(__tstate
);
8298 if (PyErr_Occurred()) return NULL
;
8299 } _resultobj
= Py_BuildValue("l",_result
);
8303 #define wxDC_Ok(_swigobj) (_swigobj->Ok())
8304 static PyObject
*_wrap_wxDC_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8305 PyObject
* _resultobj
;
8308 PyObject
* _argo0
= 0;
8309 char *_kwnames
[] = { "self", NULL
};
8312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_Ok",_kwnames
,&_argo0
))
8315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Ok. Expected _wxDC_p.");
8322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8323 _result
= (bool )wxDC_Ok(_arg0
);
8325 wxPyEndAllowThreads(__tstate
);
8326 if (PyErr_Occurred()) return NULL
;
8327 } _resultobj
= Py_BuildValue("i",_result
);
8331 #define wxDC_SetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDeviceOrigin(_swigarg0,_swigarg1))
8332 static PyObject
*_wrap_wxDC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8333 PyObject
* _resultobj
;
8337 PyObject
* _argo0
= 0;
8338 char *_kwnames
[] = { "self","x","y", NULL
};
8341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_SetDeviceOrigin",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8344 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8345 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetDeviceOrigin. Expected _wxDC_p.");
8351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8352 wxDC_SetDeviceOrigin(_arg0
,_arg1
,_arg2
);
8354 wxPyEndAllowThreads(__tstate
);
8355 if (PyErr_Occurred()) return NULL
;
8356 } Py_INCREF(Py_None
);
8357 _resultobj
= Py_None
;
8361 #define wxDC_SetBackground(_swigobj,_swigarg0) (_swigobj->SetBackground(_swigarg0))
8362 static PyObject
*_wrap_wxDC_SetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8363 PyObject
* _resultobj
;
8366 PyObject
* _argo0
= 0;
8367 PyObject
* _argo1
= 0;
8368 char *_kwnames
[] = { "self","brush", NULL
};
8371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetBackground",_kwnames
,&_argo0
,&_argo1
))
8374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackground. Expected _wxDC_p.");
8381 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8382 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
8383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBackground. Expected _wxBrush_p.");
8388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8389 wxDC_SetBackground(_arg0
,*_arg1
);
8391 wxPyEndAllowThreads(__tstate
);
8392 if (PyErr_Occurred()) return NULL
;
8393 } Py_INCREF(Py_None
);
8394 _resultobj
= Py_None
;
8398 #define wxDC_SetBackgroundMode(_swigobj,_swigarg0) (_swigobj->SetBackgroundMode(_swigarg0))
8399 static PyObject
*_wrap_wxDC_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8400 PyObject
* _resultobj
;
8403 PyObject
* _argo0
= 0;
8404 char *_kwnames
[] = { "self","mode", NULL
};
8407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetBackgroundMode",_kwnames
,&_argo0
,&_arg1
))
8410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackgroundMode. Expected _wxDC_p.");
8417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8418 wxDC_SetBackgroundMode(_arg0
,_arg1
);
8420 wxPyEndAllowThreads(__tstate
);
8421 if (PyErr_Occurred()) return NULL
;
8422 } Py_INCREF(Py_None
);
8423 _resultobj
= Py_None
;
8427 #define wxDC_SetClippingRegion(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetClippingRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8428 static PyObject
*_wrap_wxDC_SetClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8429 PyObject
* _resultobj
;
8435 PyObject
* _argo0
= 0;
8436 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
8439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_SetClippingRegion",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
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_SetClippingRegion. Expected _wxDC_p.");
8449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8450 wxDC_SetClippingRegion(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
8452 wxPyEndAllowThreads(__tstate
);
8453 if (PyErr_Occurred()) return NULL
;
8454 } Py_INCREF(Py_None
);
8455 _resultobj
= Py_None
;
8459 #define wxDC_SetClippingRegionAsRegion(_swigobj,_swigarg0) (_swigobj->SetClippingRegion(_swigarg0))
8460 static PyObject
*_wrap_wxDC_SetClippingRegionAsRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8461 PyObject
* _resultobj
;
8464 PyObject
* _argo0
= 0;
8465 PyObject
* _argo1
= 0;
8466 char *_kwnames
[] = { "self","region", NULL
};
8469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetClippingRegionAsRegion",_kwnames
,&_argo0
,&_argo1
))
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_SetClippingRegionAsRegion. Expected _wxDC_p.");
8479 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8480 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
8481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetClippingRegionAsRegion. Expected _wxRegion_p.");
8486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8487 wxDC_SetClippingRegionAsRegion(_arg0
,*_arg1
);
8489 wxPyEndAllowThreads(__tstate
);
8490 if (PyErr_Occurred()) return NULL
;
8491 } Py_INCREF(Py_None
);
8492 _resultobj
= Py_None
;
8496 #define wxDC_SetPalette(_swigobj,_swigarg0) (_swigobj->SetPalette(_swigarg0))
8497 static PyObject
*_wrap_wxDC_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8498 PyObject
* _resultobj
;
8501 PyObject
* _argo0
= 0;
8502 PyObject
* _argo1
= 0;
8503 char *_kwnames
[] = { "self","colourMap", NULL
};
8506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetPalette",_kwnames
,&_argo0
,&_argo1
))
8509 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8510 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8511 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPalette. Expected _wxDC_p.");
8516 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8517 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPalette_p")) {
8518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPalette. Expected _wxPalette_p.");
8523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8524 wxDC_SetPalette(_arg0
,*_arg1
);
8526 wxPyEndAllowThreads(__tstate
);
8527 if (PyErr_Occurred()) return NULL
;
8528 } Py_INCREF(Py_None
);
8529 _resultobj
= Py_None
;
8533 #define wxDC_SetBrush(_swigobj,_swigarg0) (_swigobj->SetBrush(_swigarg0))
8534 static PyObject
*_wrap_wxDC_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8535 PyObject
* _resultobj
;
8538 PyObject
* _argo0
= 0;
8539 PyObject
* _argo1
= 0;
8540 char *_kwnames
[] = { "self","brush", NULL
};
8543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetBrush",_kwnames
,&_argo0
,&_argo1
))
8546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBrush. Expected _wxDC_p.");
8553 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8554 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
8555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBrush. Expected _wxBrush_p.");
8560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8561 wxDC_SetBrush(_arg0
,*_arg1
);
8563 wxPyEndAllowThreads(__tstate
);
8564 if (PyErr_Occurred()) return NULL
;
8565 } Py_INCREF(Py_None
);
8566 _resultobj
= Py_None
;
8570 #define wxDC_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
8571 static PyObject
*_wrap_wxDC_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8572 PyObject
* _resultobj
;
8575 PyObject
* _argo0
= 0;
8576 PyObject
* _argo1
= 0;
8577 char *_kwnames
[] = { "self","font", NULL
};
8580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetFont",_kwnames
,&_argo0
,&_argo1
))
8583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetFont. Expected _wxDC_p.");
8590 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8591 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
8592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetFont. Expected _wxFont_p.");
8597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8598 wxDC_SetFont(_arg0
,*_arg1
);
8600 wxPyEndAllowThreads(__tstate
);
8601 if (PyErr_Occurred()) return NULL
;
8602 } Py_INCREF(Py_None
);
8603 _resultobj
= Py_None
;
8607 #define wxDC_SetLogicalFunction(_swigobj,_swigarg0) (_swigobj->SetLogicalFunction(_swigarg0))
8608 static PyObject
*_wrap_wxDC_SetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8609 PyObject
* _resultobj
;
8612 PyObject
* _argo0
= 0;
8613 char *_kwnames
[] = { "self","function", NULL
};
8616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetLogicalFunction",_kwnames
,&_argo0
,&_arg1
))
8619 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8620 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalFunction. Expected _wxDC_p.");
8626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8627 wxDC_SetLogicalFunction(_arg0
,_arg1
);
8629 wxPyEndAllowThreads(__tstate
);
8630 if (PyErr_Occurred()) return NULL
;
8631 } Py_INCREF(Py_None
);
8632 _resultobj
= Py_None
;
8636 #define wxDC_SetLogicalScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLogicalScale(_swigarg0,_swigarg1))
8637 static PyObject
*_wrap_wxDC_SetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8638 PyObject
* _resultobj
;
8642 PyObject
* _argo0
= 0;
8643 char *_kwnames
[] = { "self","x","y", NULL
};
8646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxDC_SetLogicalScale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8649 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8650 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalScale. Expected _wxDC_p.");
8656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8657 wxDC_SetLogicalScale(_arg0
,_arg1
,_arg2
);
8659 wxPyEndAllowThreads(__tstate
);
8660 if (PyErr_Occurred()) return NULL
;
8661 } Py_INCREF(Py_None
);
8662 _resultobj
= Py_None
;
8666 #define wxDC_SetMapMode(_swigobj,_swigarg0) (_swigobj->SetMapMode(_swigarg0))
8667 static PyObject
*_wrap_wxDC_SetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8668 PyObject
* _resultobj
;
8671 PyObject
* _argo0
= 0;
8672 char *_kwnames
[] = { "self","mode", NULL
};
8675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetMapMode",_kwnames
,&_argo0
,&_arg1
))
8678 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8679 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetMapMode. Expected _wxDC_p.");
8685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8686 wxDC_SetMapMode(_arg0
,_arg1
);
8688 wxPyEndAllowThreads(__tstate
);
8689 if (PyErr_Occurred()) return NULL
;
8690 } Py_INCREF(Py_None
);
8691 _resultobj
= Py_None
;
8695 #define wxDC_SetOptimization(_swigobj,_swigarg0) (_swigobj->SetOptimization(_swigarg0))
8696 static PyObject
*_wrap_wxDC_SetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8697 PyObject
* _resultobj
;
8700 PyObject
* _argo0
= 0;
8702 char *_kwnames
[] = { "self","optimize", NULL
};
8705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetOptimization",_kwnames
,&_argo0
,&tempbool1
))
8708 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8709 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetOptimization. Expected _wxDC_p.");
8714 _arg1
= (bool ) tempbool1
;
8716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8717 wxDC_SetOptimization(_arg0
,_arg1
);
8719 wxPyEndAllowThreads(__tstate
);
8720 if (PyErr_Occurred()) return NULL
;
8721 } Py_INCREF(Py_None
);
8722 _resultobj
= Py_None
;
8726 #define wxDC_SetPen(_swigobj,_swigarg0) (_swigobj->SetPen(_swigarg0))
8727 static PyObject
*_wrap_wxDC_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8728 PyObject
* _resultobj
;
8731 PyObject
* _argo0
= 0;
8732 PyObject
* _argo1
= 0;
8733 char *_kwnames
[] = { "self","pen", NULL
};
8736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetPen",_kwnames
,&_argo0
,&_argo1
))
8739 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8740 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPen. Expected _wxDC_p.");
8746 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8747 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
8748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPen. Expected _wxPen_p.");
8753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8754 wxDC_SetPen(_arg0
,*_arg1
);
8756 wxPyEndAllowThreads(__tstate
);
8757 if (PyErr_Occurred()) return NULL
;
8758 } Py_INCREF(Py_None
);
8759 _resultobj
= Py_None
;
8763 #define wxDC_SetTextBackground(_swigobj,_swigarg0) (_swigobj->SetTextBackground(_swigarg0))
8764 static PyObject
*_wrap_wxDC_SetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8765 PyObject
* _resultobj
;
8768 PyObject
* _argo0
= 0;
8770 PyObject
* _obj1
= 0;
8771 char *_kwnames
[] = { "self","colour", NULL
};
8774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetTextBackground",_kwnames
,&_argo0
,&_obj1
))
8777 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8778 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextBackground. Expected _wxDC_p.");
8785 if (! wxColour_helper(_obj1
, &_arg1
))
8789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8790 wxDC_SetTextBackground(_arg0
,*_arg1
);
8792 wxPyEndAllowThreads(__tstate
);
8793 if (PyErr_Occurred()) return NULL
;
8794 } Py_INCREF(Py_None
);
8795 _resultobj
= Py_None
;
8799 #define wxDC_SetTextForeground(_swigobj,_swigarg0) (_swigobj->SetTextForeground(_swigarg0))
8800 static PyObject
*_wrap_wxDC_SetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8801 PyObject
* _resultobj
;
8804 PyObject
* _argo0
= 0;
8806 PyObject
* _obj1
= 0;
8807 char *_kwnames
[] = { "self","colour", NULL
};
8810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetTextForeground",_kwnames
,&_argo0
,&_obj1
))
8813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextForeground. Expected _wxDC_p.");
8821 if (! wxColour_helper(_obj1
, &_arg1
))
8825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8826 wxDC_SetTextForeground(_arg0
,*_arg1
);
8828 wxPyEndAllowThreads(__tstate
);
8829 if (PyErr_Occurred()) return NULL
;
8830 } Py_INCREF(Py_None
);
8831 _resultobj
= Py_None
;
8835 #define wxDC_SetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetUserScale(_swigarg0,_swigarg1))
8836 static PyObject
*_wrap_wxDC_SetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8837 PyObject
* _resultobj
;
8841 PyObject
* _argo0
= 0;
8842 char *_kwnames
[] = { "self","x_scale","y_scale", NULL
};
8845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxDC_SetUserScale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8848 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8849 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetUserScale. Expected _wxDC_p.");
8855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8856 wxDC_SetUserScale(_arg0
,_arg1
,_arg2
);
8858 wxPyEndAllowThreads(__tstate
);
8859 if (PyErr_Occurred()) return NULL
;
8860 } Py_INCREF(Py_None
);
8861 _resultobj
= Py_None
;
8865 #define wxDC_StartDoc(_swigobj,_swigarg0) (_swigobj->StartDoc(_swigarg0))
8866 static PyObject
*_wrap_wxDC_StartDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8867 PyObject
* _resultobj
;
8871 PyObject
* _argo0
= 0;
8872 PyObject
* _obj1
= 0;
8873 char *_kwnames
[] = { "self","message", NULL
};
8876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_StartDoc",_kwnames
,&_argo0
,&_obj1
))
8879 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8880 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartDoc. Expected _wxDC_p.");
8886 _arg1
= wxString_in_helper(_obj1
);
8891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8892 _result
= (bool )wxDC_StartDoc(_arg0
,*_arg1
);
8894 wxPyEndAllowThreads(__tstate
);
8895 if (PyErr_Occurred()) return NULL
;
8896 } _resultobj
= Py_BuildValue("i",_result
);
8904 #define wxDC_StartPage(_swigobj) (_swigobj->StartPage())
8905 static PyObject
*_wrap_wxDC_StartPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8906 PyObject
* _resultobj
;
8908 PyObject
* _argo0
= 0;
8909 char *_kwnames
[] = { "self", NULL
};
8912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_StartPage",_kwnames
,&_argo0
))
8915 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8916 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartPage. Expected _wxDC_p.");
8922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8923 wxDC_StartPage(_arg0
);
8925 wxPyEndAllowThreads(__tstate
);
8926 if (PyErr_Occurred()) return NULL
;
8927 } Py_INCREF(Py_None
);
8928 _resultobj
= Py_None
;
8932 #define wxDC_DrawBitmap(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8933 static PyObject
*_wrap_wxDC_DrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8934 PyObject
* _resultobj
;
8939 int _arg4
= (int ) FALSE
;
8940 PyObject
* _argo0
= 0;
8941 PyObject
* _argo1
= 0;
8942 char *_kwnames
[] = { "self","bitmap","x","y","useMask", NULL
};
8945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOll|i:wxDC_DrawBitmap",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
))
8948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawBitmap. Expected _wxDC_p.");
8955 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8956 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
8957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawBitmap. Expected _wxBitmap_p.");
8962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8963 wxDC_DrawBitmap(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
8965 wxPyEndAllowThreads(__tstate
);
8966 if (PyErr_Occurred()) return NULL
;
8967 } Py_INCREF(Py_None
);
8968 _resultobj
= Py_None
;
8972 #define wxDC_CanDrawBitmap(_swigobj) (_swigobj->CanDrawBitmap())
8973 static PyObject
*_wrap_wxDC_CanDrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8974 PyObject
* _resultobj
;
8977 PyObject
* _argo0
= 0;
8978 char *_kwnames
[] = { "self", NULL
};
8981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_CanDrawBitmap",_kwnames
,&_argo0
))
8984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CanDrawBitmap. Expected _wxDC_p.");
8991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8992 _result
= (bool )wxDC_CanDrawBitmap(_arg0
);
8994 wxPyEndAllowThreads(__tstate
);
8995 if (PyErr_Occurred()) return NULL
;
8996 } _resultobj
= Py_BuildValue("i",_result
);
9000 #define wxDC_CanGetTextExtent(_swigobj) (_swigobj->CanGetTextExtent())
9001 static PyObject
*_wrap_wxDC_CanGetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9002 PyObject
* _resultobj
;
9005 PyObject
* _argo0
= 0;
9006 char *_kwnames
[] = { "self", NULL
};
9009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_CanGetTextExtent",_kwnames
,&_argo0
))
9012 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9013 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CanGetTextExtent. Expected _wxDC_p.");
9019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9020 _result
= (bool )wxDC_CanGetTextExtent(_arg0
);
9022 wxPyEndAllowThreads(__tstate
);
9023 if (PyErr_Occurred()) return NULL
;
9024 } _resultobj
= Py_BuildValue("i",_result
);
9028 #define wxDC_GetDepth(_swigobj) (_swigobj->GetDepth())
9029 static PyObject
*_wrap_wxDC_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9030 PyObject
* _resultobj
;
9033 PyObject
* _argo0
= 0;
9034 char *_kwnames
[] = { "self", NULL
};
9037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetDepth",_kwnames
,&_argo0
))
9040 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9041 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetDepth. Expected _wxDC_p.");
9047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9048 _result
= (int )wxDC_GetDepth(_arg0
);
9050 wxPyEndAllowThreads(__tstate
);
9051 if (PyErr_Occurred()) return NULL
;
9052 } _resultobj
= Py_BuildValue("i",_result
);
9056 #define wxDC_GetPPI(_swigobj) (_swigobj->GetPPI())
9057 static PyObject
*_wrap_wxDC_GetPPI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9058 PyObject
* _resultobj
;
9061 PyObject
* _argo0
= 0;
9062 char *_kwnames
[] = { "self", NULL
};
9066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetPPI",_kwnames
,&_argo0
))
9069 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9070 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPPI. Expected _wxDC_p.");
9076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9077 _result
= new wxSize (wxDC_GetPPI(_arg0
));
9079 wxPyEndAllowThreads(__tstate
);
9080 if (PyErr_Occurred()) return NULL
;
9081 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
9082 _resultobj
= Py_BuildValue("s",_ptemp
);
9086 #define wxDC_GetLogicalOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLogicalOrigin(_swigarg0,_swigarg1))
9087 static PyObject
*_wrap_wxDC_GetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9088 PyObject
* _resultobj
;
9094 PyObject
* _argo0
= 0;
9095 char *_kwnames
[] = { "self", NULL
};
9104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalOrigin",_kwnames
,&_argo0
))
9107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalOrigin. Expected _wxDC_p.");
9114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9115 wxDC_GetLogicalOrigin(_arg0
,_arg1
,_arg2
);
9117 wxPyEndAllowThreads(__tstate
);
9118 if (PyErr_Occurred()) return NULL
;
9119 } Py_INCREF(Py_None
);
9120 _resultobj
= Py_None
;
9123 o
= PyInt_FromLong((long) (*_arg1
));
9124 _resultobj
= t_output_helper(_resultobj
, o
);
9128 o
= PyInt_FromLong((long) (*_arg2
));
9129 _resultobj
= t_output_helper(_resultobj
, o
);
9134 #define wxDC_SetLogicalOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLogicalOrigin(_swigarg0,_swigarg1))
9135 static PyObject
*_wrap_wxDC_SetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9136 PyObject
* _resultobj
;
9140 PyObject
* _argo0
= 0;
9141 char *_kwnames
[] = { "self","x","y", NULL
};
9144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_SetLogicalOrigin",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9147 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9148 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalOrigin. Expected _wxDC_p.");
9154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9155 wxDC_SetLogicalOrigin(_arg0
,_arg1
,_arg2
);
9157 wxPyEndAllowThreads(__tstate
);
9158 if (PyErr_Occurred()) return NULL
;
9159 } Py_INCREF(Py_None
);
9160 _resultobj
= Py_None
;
9164 #define wxDC_GetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDeviceOrigin(_swigarg0,_swigarg1))
9165 static PyObject
*_wrap_wxDC_GetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9166 PyObject
* _resultobj
;
9172 PyObject
* _argo0
= 0;
9173 char *_kwnames
[] = { "self", NULL
};
9182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetDeviceOrigin",_kwnames
,&_argo0
))
9185 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9186 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetDeviceOrigin. Expected _wxDC_p.");
9192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9193 wxDC_GetDeviceOrigin(_arg0
,_arg1
,_arg2
);
9195 wxPyEndAllowThreads(__tstate
);
9196 if (PyErr_Occurred()) return NULL
;
9197 } Py_INCREF(Py_None
);
9198 _resultobj
= Py_None
;
9201 o
= PyInt_FromLong((long) (*_arg1
));
9202 _resultobj
= t_output_helper(_resultobj
, o
);
9206 o
= PyInt_FromLong((long) (*_arg2
));
9207 _resultobj
= t_output_helper(_resultobj
, o
);
9212 #define wxDC_SetAxisOrientation(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAxisOrientation(_swigarg0,_swigarg1))
9213 static PyObject
*_wrap_wxDC_SetAxisOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9214 PyObject
* _resultobj
;
9218 PyObject
* _argo0
= 0;
9221 char *_kwnames
[] = { "self","xLeftRight","yBottomUp", NULL
};
9224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_SetAxisOrientation",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
9227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetAxisOrientation. Expected _wxDC_p.");
9233 _arg1
= (bool ) tempbool1
;
9234 _arg2
= (bool ) tempbool2
;
9236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9237 wxDC_SetAxisOrientation(_arg0
,_arg1
,_arg2
);
9239 wxPyEndAllowThreads(__tstate
);
9240 if (PyErr_Occurred()) return NULL
;
9241 } Py_INCREF(Py_None
);
9242 _resultobj
= Py_None
;
9246 #define wxDC_CalcBoundingBox(_swigobj,_swigarg0,_swigarg1) (_swigobj->CalcBoundingBox(_swigarg0,_swigarg1))
9247 static PyObject
*_wrap_wxDC_CalcBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9248 PyObject
* _resultobj
;
9252 PyObject
* _argo0
= 0;
9253 char *_kwnames
[] = { "self","x","y", NULL
};
9256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_CalcBoundingBox",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9259 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9260 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CalcBoundingBox. Expected _wxDC_p.");
9266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9267 wxDC_CalcBoundingBox(_arg0
,_arg1
,_arg2
);
9269 wxPyEndAllowThreads(__tstate
);
9270 if (PyErr_Occurred()) return NULL
;
9271 } Py_INCREF(Py_None
);
9272 _resultobj
= Py_None
;
9276 #define wxDC_ResetBoundingBox(_swigobj) (_swigobj->ResetBoundingBox())
9277 static PyObject
*_wrap_wxDC_ResetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9278 PyObject
* _resultobj
;
9280 PyObject
* _argo0
= 0;
9281 char *_kwnames
[] = { "self", NULL
};
9284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_ResetBoundingBox",_kwnames
,&_argo0
))
9287 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9288 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_ResetBoundingBox. Expected _wxDC_p.");
9294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9295 wxDC_ResetBoundingBox(_arg0
);
9297 wxPyEndAllowThreads(__tstate
);
9298 if (PyErr_Occurred()) return NULL
;
9299 } Py_INCREF(Py_None
);
9300 _resultobj
= Py_None
;
9304 static PyObject
*_wrap_wxDC_GetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9305 PyObject
* _resultobj
;
9315 PyObject
* _argo0
= 0;
9316 char *_kwnames
[] = { "self", NULL
};
9331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBoundingBox",_kwnames
,&_argo0
))
9334 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9335 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBoundingBox. Expected _wxDC_p.");
9341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9342 wxDC_GetBoundingBox(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
9344 wxPyEndAllowThreads(__tstate
);
9345 if (PyErr_Occurred()) return NULL
;
9346 } Py_INCREF(Py_None
);
9347 _resultobj
= Py_None
;
9350 o
= PyInt_FromLong((long) (*_arg1
));
9351 _resultobj
= t_output_helper(_resultobj
, o
);
9355 o
= PyInt_FromLong((long) (*_arg2
));
9356 _resultobj
= t_output_helper(_resultobj
, o
);
9360 o
= PyInt_FromLong((long) (*_arg3
));
9361 _resultobj
= t_output_helper(_resultobj
, o
);
9365 o
= PyInt_FromLong((long) (*_arg4
));
9366 _resultobj
= t_output_helper(_resultobj
, o
);
9371 static PyObject
* wxDC__DrawPointList(wxDC
*self
,PyObject
* pyPoints
,PyObject
* pyPens
) {
9372 bool isFastSeq
= PyList_Check(pyPoints
) || PyTuple_Check(pyPoints
);
9373 bool isFastPens
= PyList_Check(pyPens
) || PyTuple_Check(pyPens
);
9381 if (!PySequence_Check(pyPoints
)) {
9384 if (!PySequence_Check(pyPens
)) {
9387 numObjs
= PySequence_Length(pyPoints
);
9388 numPens
= PySequence_Length(pyPens
);
9390 for (i
= 0; i
< numObjs
; i
++) {
9394 obj
= PySequence_Fast_GET_ITEM(pyPens
, i
);
9397 obj
= PySequence_GetItem(pyPens
, i
);
9399 if (SWIG_GetPtrObj(obj
, (void **) &pen
, "_wxPen_p")) {
9410 // Get the point coordinants
9412 obj
= PySequence_Fast_GET_ITEM(pyPoints
, i
);
9415 obj
= PySequence_GetItem(pyPoints
, i
);
9417 if (! _2int_seq_helper(obj
, &x1
, &y1
)) {
9423 // Now draw the point
9424 self
->DrawPoint(x1
, y1
);
9434 PyErr_SetString(PyExc_TypeError
, "Expected a sequence of wxPens");
9437 PyErr_SetString(PyExc_TypeError
, "Expected a sequence of (x,y) sequences.");
9440 static PyObject
*_wrap_wxDC__DrawPointList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9441 PyObject
* _resultobj
;
9446 PyObject
* _argo0
= 0;
9447 PyObject
* _obj1
= 0;
9448 PyObject
* _obj2
= 0;
9449 char *_kwnames
[] = { "self","pyPoints","pyPens", NULL
};
9452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDC__DrawPointList",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
9455 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9456 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC__DrawPointList. Expected _wxDC_p.");
9468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9469 _result
= (PyObject
*)wxDC__DrawPointList(_arg0
,_arg1
,_arg2
);
9471 wxPyEndAllowThreads(__tstate
);
9472 if (PyErr_Occurred()) return NULL
;
9474 _resultobj
= _result
;
9479 static PyObject
* wxDC__DrawLineList(wxDC
*self
,PyObject
* pyLines
,PyObject
* pyPens
) {
9480 bool isFastSeq
= PyList_Check(pyLines
) || PyTuple_Check(pyLines
);
9481 bool isFastPens
= PyList_Check(pyPens
) || PyTuple_Check(pyPens
);
9489 if (!PySequence_Check(pyLines
)) {
9492 if (!PySequence_Check(pyPens
)) {
9495 numObjs
= PySequence_Length(pyLines
);
9496 numPens
= PySequence_Length(pyPens
);
9498 for (i
= 0; i
< numObjs
; i
++) {
9502 obj
= PySequence_Fast_GET_ITEM(pyPens
, i
);
9505 obj
= PySequence_GetItem(pyPens
, i
);
9507 if (SWIG_GetPtrObj(obj
, (void **) &pen
, "_wxPen_p")) {
9518 // Get the line coordinants
9520 obj
= PySequence_Fast_GET_ITEM(pyLines
, i
);
9523 obj
= PySequence_GetItem(pyLines
, i
);
9525 if (! _4int_seq_helper(obj
, &x1
, &y1
, &x2
, &y2
)) {
9531 // Now draw the line
9532 self
->DrawLine(x1
, y1
, x2
, y2
);
9542 PyErr_SetString(PyExc_TypeError
, "Expected a sequence of wxPens");
9545 PyErr_SetString(PyExc_TypeError
, "Expected a sequence of (x1,y1, x2,y2) sequences.");
9548 static PyObject
*_wrap_wxDC__DrawLineList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9549 PyObject
* _resultobj
;
9554 PyObject
* _argo0
= 0;
9555 PyObject
* _obj1
= 0;
9556 PyObject
* _obj2
= 0;
9557 char *_kwnames
[] = { "self","pyLines","pyPens", NULL
};
9560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDC__DrawLineList",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
9563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC__DrawLineList. Expected _wxDC_p.");
9576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9577 _result
= (PyObject
*)wxDC__DrawLineList(_arg0
,_arg1
,_arg2
);
9579 wxPyEndAllowThreads(__tstate
);
9580 if (PyErr_Occurred()) return NULL
;
9582 _resultobj
= _result
;
9587 static void *SwigwxMemoryDCTowxDC(void *ptr
) {
9590 src
= (wxMemoryDC
*) ptr
;
9591 dest
= (wxDC
*) src
;
9592 return (void *) dest
;
9595 static void *SwigwxMemoryDCTowxObject(void *ptr
) {
9598 src
= (wxMemoryDC
*) ptr
;
9599 dest
= (wxObject
*) src
;
9600 return (void *) dest
;
9603 #define new_wxMemoryDC() (new wxMemoryDC())
9604 static PyObject
*_wrap_new_wxMemoryDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9605 PyObject
* _resultobj
;
9606 wxMemoryDC
* _result
;
9607 char *_kwnames
[] = { NULL
};
9611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMemoryDC",_kwnames
))
9614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9615 _result
= (wxMemoryDC
*)new_wxMemoryDC();
9617 wxPyEndAllowThreads(__tstate
);
9618 if (PyErr_Occurred()) return NULL
;
9620 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
9621 _resultobj
= Py_BuildValue("s",_ptemp
);
9624 _resultobj
= Py_None
;
9629 #define wxMemoryDC_SelectObject(_swigobj,_swigarg0) (_swigobj->SelectObject(_swigarg0))
9630 static PyObject
*_wrap_wxMemoryDC_SelectObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9631 PyObject
* _resultobj
;
9634 PyObject
* _argo0
= 0;
9635 PyObject
* _argo1
= 0;
9636 char *_kwnames
[] = { "self","bitmap", NULL
};
9639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMemoryDC_SelectObject",_kwnames
,&_argo0
,&_argo1
))
9642 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9643 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMemoryDC_p")) {
9644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDC_SelectObject. Expected _wxMemoryDC_p.");
9649 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9650 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
9651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMemoryDC_SelectObject. Expected _wxBitmap_p.");
9656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9657 wxMemoryDC_SelectObject(_arg0
,*_arg1
);
9659 wxPyEndAllowThreads(__tstate
);
9660 if (PyErr_Occurred()) return NULL
;
9661 } Py_INCREF(Py_None
);
9662 _resultobj
= Py_None
;
9666 static void *SwigwxScreenDCTowxDC(void *ptr
) {
9669 src
= (wxScreenDC
*) ptr
;
9670 dest
= (wxDC
*) src
;
9671 return (void *) dest
;
9674 static void *SwigwxScreenDCTowxObject(void *ptr
) {
9677 src
= (wxScreenDC
*) ptr
;
9678 dest
= (wxObject
*) src
;
9679 return (void *) dest
;
9682 #define new_wxScreenDC() (new wxScreenDC())
9683 static PyObject
*_wrap_new_wxScreenDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9684 PyObject
* _resultobj
;
9685 wxScreenDC
* _result
;
9686 char *_kwnames
[] = { NULL
};
9690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxScreenDC",_kwnames
))
9693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9694 _result
= (wxScreenDC
*)new_wxScreenDC();
9696 wxPyEndAllowThreads(__tstate
);
9697 if (PyErr_Occurred()) return NULL
;
9699 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScreenDC_p");
9700 _resultobj
= Py_BuildValue("s",_ptemp
);
9703 _resultobj
= Py_None
;
9708 #define wxScreenDC_StartDrawingOnTopWin(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
9709 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTopWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9710 PyObject
* _resultobj
;
9714 PyObject
* _argo0
= 0;
9715 PyObject
* _argo1
= 0;
9716 char *_kwnames
[] = { "self","window", NULL
};
9719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScreenDC_StartDrawingOnTopWin",_kwnames
,&_argo0
,&_argo1
))
9722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
9724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTopWin. Expected _wxScreenDC_p.");
9729 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9730 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
9731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScreenDC_StartDrawingOnTopWin. Expected _wxWindow_p.");
9736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9737 _result
= (bool )wxScreenDC_StartDrawingOnTopWin(_arg0
,_arg1
);
9739 wxPyEndAllowThreads(__tstate
);
9740 if (PyErr_Occurred()) return NULL
;
9741 } _resultobj
= Py_BuildValue("i",_result
);
9745 #define wxScreenDC_StartDrawingOnTop(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
9746 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9747 PyObject
* _resultobj
;
9750 wxRect
* _arg1
= (wxRect
*) NULL
;
9751 PyObject
* _argo0
= 0;
9753 PyObject
* _obj1
= 0;
9754 char *_kwnames
[] = { "self","rect", NULL
};
9757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxScreenDC_StartDrawingOnTop",_kwnames
,&_argo0
,&_obj1
))
9760 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9761 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
9762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTop. Expected _wxScreenDC_p.");
9769 if (! wxRect_helper(_obj1
, &_arg1
))
9773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9774 _result
= (bool )wxScreenDC_StartDrawingOnTop(_arg0
,_arg1
);
9776 wxPyEndAllowThreads(__tstate
);
9777 if (PyErr_Occurred()) return NULL
;
9778 } _resultobj
= Py_BuildValue("i",_result
);
9782 #define wxScreenDC_EndDrawingOnTop(_swigobj) (_swigobj->EndDrawingOnTop())
9783 static PyObject
*_wrap_wxScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9784 PyObject
* _resultobj
;
9787 PyObject
* _argo0
= 0;
9788 char *_kwnames
[] = { "self", NULL
};
9791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScreenDC_EndDrawingOnTop",_kwnames
,&_argo0
))
9794 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9795 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
9796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_EndDrawingOnTop. Expected _wxScreenDC_p.");
9801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9802 _result
= (bool )wxScreenDC_EndDrawingOnTop(_arg0
);
9804 wxPyEndAllowThreads(__tstate
);
9805 if (PyErr_Occurred()) return NULL
;
9806 } _resultobj
= Py_BuildValue("i",_result
);
9810 static void *SwigwxClientDCTowxDC(void *ptr
) {
9813 src
= (wxClientDC
*) ptr
;
9814 dest
= (wxDC
*) src
;
9815 return (void *) dest
;
9818 static void *SwigwxClientDCTowxObject(void *ptr
) {
9821 src
= (wxClientDC
*) ptr
;
9822 dest
= (wxObject
*) src
;
9823 return (void *) dest
;
9826 #define new_wxClientDC(_swigarg0) (new wxClientDC(_swigarg0))
9827 static PyObject
*_wrap_new_wxClientDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9828 PyObject
* _resultobj
;
9829 wxClientDC
* _result
;
9831 PyObject
* _argo0
= 0;
9832 char *_kwnames
[] = { "win", NULL
};
9836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxClientDC",_kwnames
,&_argo0
))
9839 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9840 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxClientDC. Expected _wxWindow_p.");
9846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9847 _result
= (wxClientDC
*)new_wxClientDC(_arg0
);
9849 wxPyEndAllowThreads(__tstate
);
9850 if (PyErr_Occurred()) return NULL
;
9852 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxClientDC_p");
9853 _resultobj
= Py_BuildValue("s",_ptemp
);
9856 _resultobj
= Py_None
;
9861 static void *SwigwxPaintDCTowxDC(void *ptr
) {
9864 src
= (wxPaintDC
*) ptr
;
9865 dest
= (wxDC
*) src
;
9866 return (void *) dest
;
9869 static void *SwigwxPaintDCTowxObject(void *ptr
) {
9872 src
= (wxPaintDC
*) ptr
;
9873 dest
= (wxObject
*) src
;
9874 return (void *) dest
;
9877 #define new_wxPaintDC(_swigarg0) (new wxPaintDC(_swigarg0))
9878 static PyObject
*_wrap_new_wxPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9879 PyObject
* _resultobj
;
9880 wxPaintDC
* _result
;
9882 PyObject
* _argo0
= 0;
9883 char *_kwnames
[] = { "win", NULL
};
9887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPaintDC",_kwnames
,&_argo0
))
9890 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9891 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPaintDC. Expected _wxWindow_p.");
9897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9898 _result
= (wxPaintDC
*)new_wxPaintDC(_arg0
);
9900 wxPyEndAllowThreads(__tstate
);
9901 if (PyErr_Occurred()) return NULL
;
9903 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPaintDC_p");
9904 _resultobj
= Py_BuildValue("s",_ptemp
);
9907 _resultobj
= Py_None
;
9912 static void *SwigwxWindowDCTowxDC(void *ptr
) {
9915 src
= (wxWindowDC
*) ptr
;
9916 dest
= (wxDC
*) src
;
9917 return (void *) dest
;
9920 static void *SwigwxWindowDCTowxObject(void *ptr
) {
9923 src
= (wxWindowDC
*) ptr
;
9924 dest
= (wxObject
*) src
;
9925 return (void *) dest
;
9928 #define new_wxWindowDC(_swigarg0) (new wxWindowDC(_swigarg0))
9929 static PyObject
*_wrap_new_wxWindowDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9930 PyObject
* _resultobj
;
9931 wxWindowDC
* _result
;
9933 PyObject
* _argo0
= 0;
9934 char *_kwnames
[] = { "win", NULL
};
9938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxWindowDC",_kwnames
,&_argo0
))
9941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDC. Expected _wxWindow_p.");
9948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9949 _result
= (wxWindowDC
*)new_wxWindowDC(_arg0
);
9951 wxPyEndAllowThreads(__tstate
);
9952 if (PyErr_Occurred()) return NULL
;
9954 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDC_p");
9955 _resultobj
= Py_BuildValue("s",_ptemp
);
9958 _resultobj
= Py_None
;
9963 static void *SwigwxPaletteTowxGDIObject(void *ptr
) {
9966 src
= (wxPalette
*) ptr
;
9967 dest
= (wxGDIObject
*) src
;
9968 return (void *) dest
;
9971 static void *SwigwxPaletteTowxObject(void *ptr
) {
9974 src
= (wxPalette
*) ptr
;
9975 dest
= (wxObject
*) src
;
9976 return (void *) dest
;
9979 #define new_wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9980 static PyObject
*_wrap_new_wxPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9981 PyObject
* _resultobj
;
9982 wxPalette
* _result
;
9987 PyObject
* _obj1
= 0;
9988 PyObject
* _obj2
= 0;
9989 PyObject
* _obj3
= 0;
9990 char *_kwnames
[] = { "choices","choices","choices", NULL
};
9994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:new_wxPalette",_kwnames
,&_obj1
,&_obj2
,&_obj3
))
9997 _arg1
= byte_LIST_helper(_obj1
);
9998 if (_arg1
== NULL
) {
10003 _arg2
= byte_LIST_helper(_obj2
);
10004 if (_arg2
== NULL
) {
10010 _arg3
= byte_LIST_helper(_obj3
);
10011 if (_arg3
== NULL
) {
10017 _arg0
= PyList_Size(_obj1
);
10024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10025 _result
= (wxPalette
*)new_wxPalette(_arg0
,_arg1
,_arg2
,_arg3
);
10027 wxPyEndAllowThreads(__tstate
);
10028 if (PyErr_Occurred()) return NULL
;
10030 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPalette_p");
10031 _resultobj
= Py_BuildValue("s",_ptemp
);
10033 Py_INCREF(Py_None
);
10034 _resultobj
= Py_None
;
10048 #define delete_wxPalette(_swigobj) (delete _swigobj)
10049 static PyObject
*_wrap_delete_wxPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10050 PyObject
* _resultobj
;
10052 PyObject
* _argo0
= 0;
10053 char *_kwnames
[] = { "self", NULL
};
10056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPalette",_kwnames
,&_argo0
))
10059 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10060 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
10061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPalette. Expected _wxPalette_p.");
10066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10067 delete_wxPalette(_arg0
);
10069 wxPyEndAllowThreads(__tstate
);
10070 if (PyErr_Occurred()) return NULL
;
10071 } Py_INCREF(Py_None
);
10072 _resultobj
= Py_None
;
10076 #define wxPalette_GetPixel(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetPixel(_swigarg0,_swigarg1,_swigarg2))
10077 static PyObject
*_wrap_wxPalette_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10078 PyObject
* _resultobj
;
10084 PyObject
* _argo0
= 0;
10085 char *_kwnames
[] = { "self","red","green","blue", NULL
};
10088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Obbb:wxPalette_GetPixel",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
10091 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10092 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
10093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetPixel. Expected _wxPalette_p.");
10098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10099 _result
= (int )wxPalette_GetPixel(_arg0
,_arg1
,_arg2
,_arg3
);
10101 wxPyEndAllowThreads(__tstate
);
10102 if (PyErr_Occurred()) return NULL
;
10103 } _resultobj
= Py_BuildValue("i",_result
);
10107 #define wxPalette_GetRGB(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetRGB(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10108 static PyObject
*_wrap_wxPalette_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10109 PyObject
* _resultobj
;
10119 PyObject
* _argo0
= 0;
10120 char *_kwnames
[] = { "self","pixel", NULL
};
10124 _arg2
= (byte
*)&temp
;
10127 _arg3
= (byte
*)&temp0
;
10130 _arg4
= (byte
*)&temp1
;
10132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPalette_GetRGB",_kwnames
,&_argo0
,&_arg1
))
10135 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10136 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
10137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetRGB. Expected _wxPalette_p.");
10142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10143 _result
= (bool )wxPalette_GetRGB(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
10145 wxPyEndAllowThreads(__tstate
);
10146 if (PyErr_Occurred()) return NULL
;
10147 } _resultobj
= Py_BuildValue("i",_result
);
10150 o
= PyInt_FromLong((long) (*_arg2
));
10151 _resultobj
= t_output_helper(_resultobj
, o
);
10155 o
= PyInt_FromLong((long) (*_arg3
));
10156 _resultobj
= t_output_helper(_resultobj
, o
);
10160 o
= PyInt_FromLong((long) (*_arg4
));
10161 _resultobj
= t_output_helper(_resultobj
, o
);
10166 #define wxPalette_Ok(_swigobj) (_swigobj->Ok())
10167 static PyObject
*_wrap_wxPalette_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10168 PyObject
* _resultobj
;
10171 PyObject
* _argo0
= 0;
10172 char *_kwnames
[] = { "self", NULL
};
10175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPalette_Ok",_kwnames
,&_argo0
))
10178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
10180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_Ok. Expected _wxPalette_p.");
10185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10186 _result
= (bool )wxPalette_Ok(_arg0
);
10188 wxPyEndAllowThreads(__tstate
);
10189 if (PyErr_Occurred()) return NULL
;
10190 } _resultobj
= Py_BuildValue("i",_result
);
10194 static void *SwigwxImageListTowxObject(void *ptr
) {
10197 src
= (wxImageList
*) ptr
;
10198 dest
= (wxObject
*) src
;
10199 return (void *) dest
;
10202 #define new_wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10203 static PyObject
*_wrap_new_wxImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10204 PyObject
* _resultobj
;
10205 wxImageList
* _result
;
10208 int _arg2
= (int ) TRUE
;
10209 int _arg3
= (int ) 1;
10210 char *_kwnames
[] = { "width","height","mask","initialCount", NULL
};
10214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ii|ii:new_wxImageList",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
10217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10218 _result
= (wxImageList
*)new_wxImageList(_arg0
,_arg1
,_arg2
,_arg3
);
10220 wxPyEndAllowThreads(__tstate
);
10221 if (PyErr_Occurred()) return NULL
;
10223 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
10224 _resultobj
= Py_BuildValue("s",_ptemp
);
10226 Py_INCREF(Py_None
);
10227 _resultobj
= Py_None
;
10232 #define delete_wxImageList(_swigobj) (delete _swigobj)
10233 static PyObject
*_wrap_delete_wxImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10234 PyObject
* _resultobj
;
10235 wxImageList
* _arg0
;
10236 PyObject
* _argo0
= 0;
10237 char *_kwnames
[] = { "self", NULL
};
10240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxImageList",_kwnames
,&_argo0
))
10243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxImageList. Expected _wxImageList_p.");
10250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10251 delete_wxImageList(_arg0
);
10253 wxPyEndAllowThreads(__tstate
);
10254 if (PyErr_Occurred()) return NULL
;
10255 } Py_INCREF(Py_None
);
10256 _resultobj
= Py_None
;
10260 #define wxImageList_Add(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
10261 static PyObject
*_wrap_wxImageList_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10262 PyObject
* _resultobj
;
10264 wxImageList
* _arg0
;
10266 wxBitmap
* _arg2
= (wxBitmap
*) &wxNullBitmap
;
10267 PyObject
* _argo0
= 0;
10268 PyObject
* _argo1
= 0;
10269 PyObject
* _argo2
= 0;
10270 char *_kwnames
[] = { "self","bitmap","mask", NULL
};
10273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxImageList_Add",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
10276 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10277 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Add. Expected _wxImageList_p.");
10283 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10284 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
10285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_Add. Expected _wxBitmap_p.");
10290 if (_argo2
== Py_None
) { _arg2
= NULL
; }
10291 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
10292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Add. Expected _wxBitmap_p.");
10297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10298 _result
= (int )wxImageList_Add(_arg0
,*_arg1
,*_arg2
);
10300 wxPyEndAllowThreads(__tstate
);
10301 if (PyErr_Occurred()) return NULL
;
10302 } _resultobj
= Py_BuildValue("i",_result
);
10306 #define wxImageList_AddWithColourMask(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
10307 static PyObject
*_wrap_wxImageList_AddWithColourMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10308 PyObject
* _resultobj
;
10310 wxImageList
* _arg0
;
10313 PyObject
* _argo0
= 0;
10314 PyObject
* _argo1
= 0;
10316 PyObject
* _obj2
= 0;
10317 char *_kwnames
[] = { "self","bitmap","maskColour", NULL
};
10320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxImageList_AddWithColourMask",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
10323 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10324 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_AddWithColourMask. Expected _wxImageList_p.");
10330 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10331 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
10332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_AddWithColourMask. Expected _wxBitmap_p.");
10338 if (! wxColour_helper(_obj2
, &_arg2
))
10342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10343 _result
= (int )wxImageList_AddWithColourMask(_arg0
,*_arg1
,*_arg2
);
10345 wxPyEndAllowThreads(__tstate
);
10346 if (PyErr_Occurred()) return NULL
;
10347 } _resultobj
= Py_BuildValue("i",_result
);
10351 #define wxImageList_AddIcon(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
10352 static PyObject
*_wrap_wxImageList_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10353 PyObject
* _resultobj
;
10355 wxImageList
* _arg0
;
10357 PyObject
* _argo0
= 0;
10358 PyObject
* _argo1
= 0;
10359 char *_kwnames
[] = { "self","icon", NULL
};
10362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxImageList_AddIcon",_kwnames
,&_argo0
,&_argo1
))
10365 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10366 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_AddIcon. Expected _wxImageList_p.");
10372 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10373 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
10374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_AddIcon. Expected _wxIcon_p.");
10379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10380 _result
= (int )wxImageList_AddIcon(_arg0
,*_arg1
);
10382 wxPyEndAllowThreads(__tstate
);
10383 if (PyErr_Occurred()) return NULL
;
10384 } _resultobj
= Py_BuildValue("i",_result
);
10388 #define wxImageList_Replace(_swigobj,_swigarg0,_swigarg1) (_swigobj->Replace(_swigarg0,_swigarg1))
10389 static PyObject
*_wrap_wxImageList_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10390 PyObject
* _resultobj
;
10392 wxImageList
* _arg0
;
10395 PyObject
* _argo0
= 0;
10396 PyObject
* _argo2
= 0;
10397 char *_kwnames
[] = { "self","index","bitmap", NULL
};
10400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxImageList_Replace",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
10403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Replace. Expected _wxImageList_p.");
10410 if (_argo2
== Py_None
) { _arg2
= NULL
; }
10411 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
10412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Replace. Expected _wxBitmap_p.");
10417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10418 _result
= (bool )wxImageList_Replace(_arg0
,_arg1
,*_arg2
);
10420 wxPyEndAllowThreads(__tstate
);
10421 if (PyErr_Occurred()) return NULL
;
10422 } _resultobj
= Py_BuildValue("i",_result
);
10426 #define wxImageList_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
10427 static PyObject
*_wrap_wxImageList_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10428 PyObject
* _resultobj
;
10430 wxImageList
* _arg0
;
10435 int _arg5
= (int ) (wxIMAGELIST_DRAW_NORMAL
);
10436 bool _arg6
= (bool ) FALSE
;
10437 PyObject
* _argo0
= 0;
10438 PyObject
* _argo2
= 0;
10439 int tempbool6
= (int) FALSE
;
10440 char *_kwnames
[] = { "self","index","dc","x","x","flags","solidBackground", NULL
};
10443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOii|ii:wxImageList_Draw",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
10446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Draw. Expected _wxImageList_p.");
10453 if (_argo2
== Py_None
) { _arg2
= NULL
; }
10454 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDC_p")) {
10455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Draw. Expected _wxDC_p.");
10459 _arg6
= (bool ) tempbool6
;
10461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10462 _result
= (bool )wxImageList_Draw(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
10464 wxPyEndAllowThreads(__tstate
);
10465 if (PyErr_Occurred()) return NULL
;
10466 } _resultobj
= Py_BuildValue("i",_result
);
10470 #define wxImageList_GetImageCount(_swigobj) (_swigobj->GetImageCount())
10471 static PyObject
*_wrap_wxImageList_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10472 PyObject
* _resultobj
;
10474 wxImageList
* _arg0
;
10475 PyObject
* _argo0
= 0;
10476 char *_kwnames
[] = { "self", NULL
};
10479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxImageList_GetImageCount",_kwnames
,&_argo0
))
10482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_GetImageCount. Expected _wxImageList_p.");
10489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10490 _result
= (int )wxImageList_GetImageCount(_arg0
);
10492 wxPyEndAllowThreads(__tstate
);
10493 if (PyErr_Occurred()) return NULL
;
10494 } _resultobj
= Py_BuildValue("i",_result
);
10498 #define wxImageList_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
10499 static PyObject
*_wrap_wxImageList_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10500 PyObject
* _resultobj
;
10502 wxImageList
* _arg0
;
10504 PyObject
* _argo0
= 0;
10505 char *_kwnames
[] = { "self","index", NULL
};
10508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxImageList_Remove",_kwnames
,&_argo0
,&_arg1
))
10511 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10512 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Remove. Expected _wxImageList_p.");
10518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10519 _result
= (bool )wxImageList_Remove(_arg0
,_arg1
);
10521 wxPyEndAllowThreads(__tstate
);
10522 if (PyErr_Occurred()) return NULL
;
10523 } _resultobj
= Py_BuildValue("i",_result
);
10527 #define wxImageList_RemoveAll(_swigobj) (_swigobj->RemoveAll())
10528 static PyObject
*_wrap_wxImageList_RemoveAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10529 PyObject
* _resultobj
;
10531 wxImageList
* _arg0
;
10532 PyObject
* _argo0
= 0;
10533 char *_kwnames
[] = { "self", NULL
};
10536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxImageList_RemoveAll",_kwnames
,&_argo0
))
10539 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10540 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_RemoveAll. Expected _wxImageList_p.");
10546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10547 _result
= (bool )wxImageList_RemoveAll(_arg0
);
10549 wxPyEndAllowThreads(__tstate
);
10550 if (PyErr_Occurred()) return NULL
;
10551 } _resultobj
= Py_BuildValue("i",_result
);
10555 #define wxImageList_GetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetSize(_swigarg0,_swigarg1,_swigarg2))
10556 static PyObject
*_wrap_wxImageList_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10557 PyObject
* _resultobj
;
10558 wxImageList
* _arg0
;
10564 PyObject
* _argo0
= 0;
10565 char *_kwnames
[] = { "self","index", NULL
};
10574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxImageList_GetSize",_kwnames
,&_argo0
,&_arg1
))
10577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_GetSize. Expected _wxImageList_p.");
10584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10585 wxImageList_GetSize(_arg0
,_arg1
,*_arg2
,*_arg3
);
10587 wxPyEndAllowThreads(__tstate
);
10588 if (PyErr_Occurred()) return NULL
;
10589 } Py_INCREF(Py_None
);
10590 _resultobj
= Py_None
;
10593 o
= PyInt_FromLong((long) (*_arg2
));
10594 _resultobj
= t_output_helper(_resultobj
, o
);
10598 o
= PyInt_FromLong((long) (*_arg3
));
10599 _resultobj
= t_output_helper(_resultobj
, o
);
10604 static void *SwigwxRegionTowxGDIObject(void *ptr
) {
10607 src
= (wxRegion
*) ptr
;
10608 dest
= (wxGDIObject
*) src
;
10609 return (void *) dest
;
10612 static void *SwigwxRegionTowxObject(void *ptr
) {
10615 src
= (wxRegion
*) ptr
;
10616 dest
= (wxObject
*) src
;
10617 return (void *) dest
;
10620 #define new_wxRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10621 static PyObject
*_wrap_new_wxRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10622 PyObject
* _resultobj
;
10623 wxRegion
* _result
;
10624 long _arg0
= (long ) 0;
10625 long _arg1
= (long ) 0;
10626 long _arg2
= (long ) 0;
10627 long _arg3
= (long ) 0;
10628 char *_kwnames
[] = { "x","y","width","height", NULL
};
10632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|llll:new_wxRegion",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
10635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10636 _result
= (wxRegion
*)new_wxRegion(_arg0
,_arg1
,_arg2
,_arg3
);
10638 wxPyEndAllowThreads(__tstate
);
10639 if (PyErr_Occurred()) return NULL
;
10641 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegion_p");
10642 _resultobj
= Py_BuildValue("s",_ptemp
);
10644 Py_INCREF(Py_None
);
10645 _resultobj
= Py_None
;
10650 #define delete_wxRegion(_swigobj) (delete _swigobj)
10651 static PyObject
*_wrap_delete_wxRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10652 PyObject
* _resultobj
;
10654 PyObject
* _argo0
= 0;
10655 char *_kwnames
[] = { "self", NULL
};
10658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRegion",_kwnames
,&_argo0
))
10661 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10662 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegion. Expected _wxRegion_p.");
10668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10669 delete_wxRegion(_arg0
);
10671 wxPyEndAllowThreads(__tstate
);
10672 if (PyErr_Occurred()) return NULL
;
10673 } Py_INCREF(Py_None
);
10674 _resultobj
= Py_None
;
10678 #define wxRegion_Clear(_swigobj) (_swigobj->Clear())
10679 static PyObject
*_wrap_wxRegion_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10680 PyObject
* _resultobj
;
10682 PyObject
* _argo0
= 0;
10683 char *_kwnames
[] = { "self", NULL
};
10686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_Clear",_kwnames
,&_argo0
))
10689 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10690 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Clear. Expected _wxRegion_p.");
10696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10697 wxRegion_Clear(_arg0
);
10699 wxPyEndAllowThreads(__tstate
);
10700 if (PyErr_Occurred()) return NULL
;
10701 } Py_INCREF(Py_None
);
10702 _resultobj
= Py_None
;
10706 #define wxRegion_Contains(_swigobj,_swigarg0,_swigarg1) (_swigobj->Contains(_swigarg0,_swigarg1))
10707 static PyObject
*_wrap_wxRegion_Contains(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10708 PyObject
* _resultobj
;
10709 wxRegionContain _result
;
10713 PyObject
* _argo0
= 0;
10714 char *_kwnames
[] = { "self","x","y", NULL
};
10717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxRegion_Contains",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Contains. Expected _wxRegion_p.");
10727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10728 _result
= (wxRegionContain
)wxRegion_Contains(_arg0
,_arg1
,_arg2
);
10730 wxPyEndAllowThreads(__tstate
);
10731 if (PyErr_Occurred()) return NULL
;
10732 } _resultobj
= Py_BuildValue("i",_result
);
10736 #define wxRegion_ContainsPoint(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
10737 static PyObject
*_wrap_wxRegion_ContainsPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10738 PyObject
* _resultobj
;
10739 wxRegionContain _result
;
10742 PyObject
* _argo0
= 0;
10744 PyObject
* _obj1
= 0;
10745 char *_kwnames
[] = { "self","pt", NULL
};
10748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_ContainsPoint",_kwnames
,&_argo0
,&_obj1
))
10751 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10752 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsPoint. Expected _wxRegion_p.");
10759 if (! wxPoint_helper(_obj1
, &_arg1
))
10763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10764 _result
= (wxRegionContain
)wxRegion_ContainsPoint(_arg0
,*_arg1
);
10766 wxPyEndAllowThreads(__tstate
);
10767 if (PyErr_Occurred()) return NULL
;
10768 } _resultobj
= Py_BuildValue("i",_result
);
10772 #define wxRegion_ContainsRect(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
10773 static PyObject
*_wrap_wxRegion_ContainsRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10774 PyObject
* _resultobj
;
10775 wxRegionContain _result
;
10778 PyObject
* _argo0
= 0;
10780 PyObject
* _obj1
= 0;
10781 char *_kwnames
[] = { "self","rect", NULL
};
10784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_ContainsRect",_kwnames
,&_argo0
,&_obj1
))
10787 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10788 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsRect. Expected _wxRegion_p.");
10795 if (! wxRect_helper(_obj1
, &_arg1
))
10799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10800 _result
= (wxRegionContain
)wxRegion_ContainsRect(_arg0
,*_arg1
);
10802 wxPyEndAllowThreads(__tstate
);
10803 if (PyErr_Occurred()) return NULL
;
10804 } _resultobj
= Py_BuildValue("i",_result
);
10808 #define wxRegion_ContainsRectDim(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Contains(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10809 static PyObject
*_wrap_wxRegion_ContainsRectDim(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10810 PyObject
* _resultobj
;
10811 wxRegionContain _result
;
10817 PyObject
* _argo0
= 0;
10818 char *_kwnames
[] = { "self","x","y","w","h", NULL
};
10821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_ContainsRectDim",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
10824 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10825 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsRectDim. Expected _wxRegion_p.");
10831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10832 _result
= (wxRegionContain
)wxRegion_ContainsRectDim(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
10834 wxPyEndAllowThreads(__tstate
);
10835 if (PyErr_Occurred()) return NULL
;
10836 } _resultobj
= Py_BuildValue("i",_result
);
10840 #define wxRegion_GetBox(_swigobj) (_swigobj->GetBox())
10841 static PyObject
*_wrap_wxRegion_GetBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10842 PyObject
* _resultobj
;
10845 PyObject
* _argo0
= 0;
10846 char *_kwnames
[] = { "self", NULL
};
10850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_GetBox",_kwnames
,&_argo0
))
10853 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10854 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_GetBox. Expected _wxRegion_p.");
10860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10861 _result
= new wxRect (wxRegion_GetBox(_arg0
));
10863 wxPyEndAllowThreads(__tstate
);
10864 if (PyErr_Occurred()) return NULL
;
10865 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
10866 _resultobj
= Py_BuildValue("s",_ptemp
);
10870 #define wxRegion_Intersect(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Intersect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10871 static PyObject
*_wrap_wxRegion_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10872 PyObject
* _resultobj
;
10879 PyObject
* _argo0
= 0;
10880 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
10883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Intersect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
10886 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10887 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Intersect. Expected _wxRegion_p.");
10893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10894 _result
= (bool )wxRegion_Intersect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
10896 wxPyEndAllowThreads(__tstate
);
10897 if (PyErr_Occurred()) return NULL
;
10898 } _resultobj
= Py_BuildValue("i",_result
);
10902 #define wxRegion_IntersectRect(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
10903 static PyObject
*_wrap_wxRegion_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10904 PyObject
* _resultobj
;
10908 PyObject
* _argo0
= 0;
10910 PyObject
* _obj1
= 0;
10911 char *_kwnames
[] = { "self","rect", NULL
};
10914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_IntersectRect",_kwnames
,&_argo0
,&_obj1
))
10917 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10918 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IntersectRect. Expected _wxRegion_p.");
10925 if (! wxRect_helper(_obj1
, &_arg1
))
10929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10930 _result
= (bool )wxRegion_IntersectRect(_arg0
,*_arg1
);
10932 wxPyEndAllowThreads(__tstate
);
10933 if (PyErr_Occurred()) return NULL
;
10934 } _resultobj
= Py_BuildValue("i",_result
);
10938 #define wxRegion_IntersectRegion(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
10939 static PyObject
*_wrap_wxRegion_IntersectRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10940 PyObject
* _resultobj
;
10944 PyObject
* _argo0
= 0;
10945 PyObject
* _argo1
= 0;
10946 char *_kwnames
[] = { "self","region", NULL
};
10949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_IntersectRegion",_kwnames
,&_argo0
,&_argo1
))
10952 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10953 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IntersectRegion. Expected _wxRegion_p.");
10959 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10960 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
10961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_IntersectRegion. Expected _wxRegion_p.");
10966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10967 _result
= (bool )wxRegion_IntersectRegion(_arg0
,*_arg1
);
10969 wxPyEndAllowThreads(__tstate
);
10970 if (PyErr_Occurred()) return NULL
;
10971 } _resultobj
= Py_BuildValue("i",_result
);
10975 #define wxRegion_IsEmpty(_swigobj) (_swigobj->IsEmpty())
10976 static PyObject
*_wrap_wxRegion_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10977 PyObject
* _resultobj
;
10980 PyObject
* _argo0
= 0;
10981 char *_kwnames
[] = { "self", NULL
};
10984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_IsEmpty",_kwnames
,&_argo0
))
10987 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10988 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IsEmpty. Expected _wxRegion_p.");
10994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10995 _result
= (bool )wxRegion_IsEmpty(_arg0
);
10997 wxPyEndAllowThreads(__tstate
);
10998 if (PyErr_Occurred()) return NULL
;
10999 } _resultobj
= Py_BuildValue("i",_result
);
11003 #define wxRegion_Union(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Union(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11004 static PyObject
*_wrap_wxRegion_Union(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11005 PyObject
* _resultobj
;
11012 PyObject
* _argo0
= 0;
11013 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
11016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Union",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
11019 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11020 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Union. Expected _wxRegion_p.");
11026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11027 _result
= (bool )wxRegion_Union(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
11029 wxPyEndAllowThreads(__tstate
);
11030 if (PyErr_Occurred()) return NULL
;
11031 } _resultobj
= Py_BuildValue("i",_result
);
11035 #define wxRegion_UnionRect(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
11036 static PyObject
*_wrap_wxRegion_UnionRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11037 PyObject
* _resultobj
;
11041 PyObject
* _argo0
= 0;
11043 PyObject
* _obj1
= 0;
11044 char *_kwnames
[] = { "self","rect", NULL
};
11047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_UnionRect",_kwnames
,&_argo0
,&_obj1
))
11050 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11051 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_UnionRect. Expected _wxRegion_p.");
11058 if (! wxRect_helper(_obj1
, &_arg1
))
11062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11063 _result
= (bool )wxRegion_UnionRect(_arg0
,*_arg1
);
11065 wxPyEndAllowThreads(__tstate
);
11066 if (PyErr_Occurred()) return NULL
;
11067 } _resultobj
= Py_BuildValue("i",_result
);
11071 #define wxRegion_UnionRegion(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
11072 static PyObject
*_wrap_wxRegion_UnionRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11073 PyObject
* _resultobj
;
11077 PyObject
* _argo0
= 0;
11078 PyObject
* _argo1
= 0;
11079 char *_kwnames
[] = { "self","region", NULL
};
11082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_UnionRegion",_kwnames
,&_argo0
,&_argo1
))
11085 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11086 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_UnionRegion. Expected _wxRegion_p.");
11092 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11093 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
11094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_UnionRegion. Expected _wxRegion_p.");
11099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11100 _result
= (bool )wxRegion_UnionRegion(_arg0
,*_arg1
);
11102 wxPyEndAllowThreads(__tstate
);
11103 if (PyErr_Occurred()) return NULL
;
11104 } _resultobj
= Py_BuildValue("i",_result
);
11108 #define wxRegion_Subtract(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Subtract(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11109 static PyObject
*_wrap_wxRegion_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11110 PyObject
* _resultobj
;
11117 PyObject
* _argo0
= 0;
11118 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
11121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Subtract",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
11124 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11125 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Subtract. Expected _wxRegion_p.");
11131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11132 _result
= (bool )wxRegion_Subtract(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
11134 wxPyEndAllowThreads(__tstate
);
11135 if (PyErr_Occurred()) return NULL
;
11136 } _resultobj
= Py_BuildValue("i",_result
);
11140 #define wxRegion_SubtractRect(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
11141 static PyObject
*_wrap_wxRegion_SubtractRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11142 PyObject
* _resultobj
;
11146 PyObject
* _argo0
= 0;
11148 PyObject
* _obj1
= 0;
11149 char *_kwnames
[] = { "self","rect", NULL
};
11152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_SubtractRect",_kwnames
,&_argo0
,&_obj1
))
11155 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11156 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_SubtractRect. Expected _wxRegion_p.");
11163 if (! wxRect_helper(_obj1
, &_arg1
))
11167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11168 _result
= (bool )wxRegion_SubtractRect(_arg0
,*_arg1
);
11170 wxPyEndAllowThreads(__tstate
);
11171 if (PyErr_Occurred()) return NULL
;
11172 } _resultobj
= Py_BuildValue("i",_result
);
11176 #define wxRegion_SubtractRegion(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
11177 static PyObject
*_wrap_wxRegion_SubtractRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11178 PyObject
* _resultobj
;
11182 PyObject
* _argo0
= 0;
11183 PyObject
* _argo1
= 0;
11184 char *_kwnames
[] = { "self","region", NULL
};
11187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_SubtractRegion",_kwnames
,&_argo0
,&_argo1
))
11190 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11191 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_SubtractRegion. Expected _wxRegion_p.");
11197 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11198 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
11199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_SubtractRegion. Expected _wxRegion_p.");
11204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11205 _result
= (bool )wxRegion_SubtractRegion(_arg0
,*_arg1
);
11207 wxPyEndAllowThreads(__tstate
);
11208 if (PyErr_Occurred()) return NULL
;
11209 } _resultobj
= Py_BuildValue("i",_result
);
11213 #define wxRegion_Xor(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Xor(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11214 static PyObject
*_wrap_wxRegion_Xor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11215 PyObject
* _resultobj
;
11222 PyObject
* _argo0
= 0;
11223 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
11226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Xor",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
11229 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11230 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Xor. Expected _wxRegion_p.");
11236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11237 _result
= (bool )wxRegion_Xor(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
11239 wxPyEndAllowThreads(__tstate
);
11240 if (PyErr_Occurred()) return NULL
;
11241 } _resultobj
= Py_BuildValue("i",_result
);
11245 #define wxRegion_XorRect(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
11246 static PyObject
*_wrap_wxRegion_XorRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11247 PyObject
* _resultobj
;
11251 PyObject
* _argo0
= 0;
11253 PyObject
* _obj1
= 0;
11254 char *_kwnames
[] = { "self","rect", NULL
};
11257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_XorRect",_kwnames
,&_argo0
,&_obj1
))
11260 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11261 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_XorRect. Expected _wxRegion_p.");
11268 if (! wxRect_helper(_obj1
, &_arg1
))
11272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11273 _result
= (bool )wxRegion_XorRect(_arg0
,*_arg1
);
11275 wxPyEndAllowThreads(__tstate
);
11276 if (PyErr_Occurred()) return NULL
;
11277 } _resultobj
= Py_BuildValue("i",_result
);
11281 #define wxRegion_XorRegion(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
11282 static PyObject
*_wrap_wxRegion_XorRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11283 PyObject
* _resultobj
;
11287 PyObject
* _argo0
= 0;
11288 PyObject
* _argo1
= 0;
11289 char *_kwnames
[] = { "self","region", NULL
};
11292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_XorRegion",_kwnames
,&_argo0
,&_argo1
))
11295 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11296 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_XorRegion. Expected _wxRegion_p.");
11302 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11303 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
11304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_XorRegion. Expected _wxRegion_p.");
11309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11310 _result
= (bool )wxRegion_XorRegion(_arg0
,*_arg1
);
11312 wxPyEndAllowThreads(__tstate
);
11313 if (PyErr_Occurred()) return NULL
;
11314 } _resultobj
= Py_BuildValue("i",_result
);
11318 static void *SwigwxRegionIteratorTowxObject(void *ptr
) {
11319 wxRegionIterator
*src
;
11321 src
= (wxRegionIterator
*) ptr
;
11322 dest
= (wxObject
*) src
;
11323 return (void *) dest
;
11326 #define new_wxRegionIterator(_swigarg0) (new wxRegionIterator(_swigarg0))
11327 static PyObject
*_wrap_new_wxRegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11328 PyObject
* _resultobj
;
11329 wxRegionIterator
* _result
;
11331 PyObject
* _argo0
= 0;
11332 char *_kwnames
[] = { "region", NULL
};
11336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxRegionIterator",_kwnames
,&_argo0
))
11339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRegionIterator. Expected _wxRegion_p.");
11346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11347 _result
= (wxRegionIterator
*)new_wxRegionIterator(*_arg0
);
11349 wxPyEndAllowThreads(__tstate
);
11350 if (PyErr_Occurred()) return NULL
;
11352 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegionIterator_p");
11353 _resultobj
= Py_BuildValue("s",_ptemp
);
11355 Py_INCREF(Py_None
);
11356 _resultobj
= Py_None
;
11361 #define delete_wxRegionIterator(_swigobj) (delete _swigobj)
11362 static PyObject
*_wrap_delete_wxRegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11363 PyObject
* _resultobj
;
11364 wxRegionIterator
* _arg0
;
11365 PyObject
* _argo0
= 0;
11366 char *_kwnames
[] = { "self", NULL
};
11369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRegionIterator",_kwnames
,&_argo0
))
11372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegionIterator. Expected _wxRegionIterator_p.");
11379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11380 delete_wxRegionIterator(_arg0
);
11382 wxPyEndAllowThreads(__tstate
);
11383 if (PyErr_Occurred()) return NULL
;
11384 } Py_INCREF(Py_None
);
11385 _resultobj
= Py_None
;
11389 #define wxRegionIterator_GetX(_swigobj) (_swigobj->GetX())
11390 static PyObject
*_wrap_wxRegionIterator_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11391 PyObject
* _resultobj
;
11393 wxRegionIterator
* _arg0
;
11394 PyObject
* _argo0
= 0;
11395 char *_kwnames
[] = { "self", NULL
};
11398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetX",_kwnames
,&_argo0
))
11401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetX. Expected _wxRegionIterator_p.");
11408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11409 _result
= (long )wxRegionIterator_GetX(_arg0
);
11411 wxPyEndAllowThreads(__tstate
);
11412 if (PyErr_Occurred()) return NULL
;
11413 } _resultobj
= Py_BuildValue("l",_result
);
11417 #define wxRegionIterator_GetY(_swigobj) (_swigobj->GetY())
11418 static PyObject
*_wrap_wxRegionIterator_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11419 PyObject
* _resultobj
;
11421 wxRegionIterator
* _arg0
;
11422 PyObject
* _argo0
= 0;
11423 char *_kwnames
[] = { "self", NULL
};
11426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetY",_kwnames
,&_argo0
))
11429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetY. Expected _wxRegionIterator_p.");
11436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11437 _result
= (long )wxRegionIterator_GetY(_arg0
);
11439 wxPyEndAllowThreads(__tstate
);
11440 if (PyErr_Occurred()) return NULL
;
11441 } _resultobj
= Py_BuildValue("l",_result
);
11445 #define wxRegionIterator_GetW(_swigobj) (_swigobj->GetW())
11446 static PyObject
*_wrap_wxRegionIterator_GetW(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11447 PyObject
* _resultobj
;
11449 wxRegionIterator
* _arg0
;
11450 PyObject
* _argo0
= 0;
11451 char *_kwnames
[] = { "self", NULL
};
11454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetW",_kwnames
,&_argo0
))
11457 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11458 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetW. Expected _wxRegionIterator_p.");
11464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11465 _result
= (long )wxRegionIterator_GetW(_arg0
);
11467 wxPyEndAllowThreads(__tstate
);
11468 if (PyErr_Occurred()) return NULL
;
11469 } _resultobj
= Py_BuildValue("l",_result
);
11473 #define wxRegionIterator_GetWidth(_swigobj) (_swigobj->GetWidth())
11474 static PyObject
*_wrap_wxRegionIterator_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11475 PyObject
* _resultobj
;
11477 wxRegionIterator
* _arg0
;
11478 PyObject
* _argo0
= 0;
11479 char *_kwnames
[] = { "self", NULL
};
11482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetWidth",_kwnames
,&_argo0
))
11485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetWidth. Expected _wxRegionIterator_p.");
11492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11493 _result
= (long )wxRegionIterator_GetWidth(_arg0
);
11495 wxPyEndAllowThreads(__tstate
);
11496 if (PyErr_Occurred()) return NULL
;
11497 } _resultobj
= Py_BuildValue("l",_result
);
11501 #define wxRegionIterator_GetH(_swigobj) (_swigobj->GetH())
11502 static PyObject
*_wrap_wxRegionIterator_GetH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11503 PyObject
* _resultobj
;
11505 wxRegionIterator
* _arg0
;
11506 PyObject
* _argo0
= 0;
11507 char *_kwnames
[] = { "self", NULL
};
11510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetH",_kwnames
,&_argo0
))
11513 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11514 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetH. Expected _wxRegionIterator_p.");
11520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11521 _result
= (long )wxRegionIterator_GetH(_arg0
);
11523 wxPyEndAllowThreads(__tstate
);
11524 if (PyErr_Occurred()) return NULL
;
11525 } _resultobj
= Py_BuildValue("l",_result
);
11529 #define wxRegionIterator_GetHeight(_swigobj) (_swigobj->GetHeight())
11530 static PyObject
*_wrap_wxRegionIterator_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11531 PyObject
* _resultobj
;
11533 wxRegionIterator
* _arg0
;
11534 PyObject
* _argo0
= 0;
11535 char *_kwnames
[] = { "self", NULL
};
11538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetHeight",_kwnames
,&_argo0
))
11541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetHeight. Expected _wxRegionIterator_p.");
11548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11549 _result
= (long )wxRegionIterator_GetHeight(_arg0
);
11551 wxPyEndAllowThreads(__tstate
);
11552 if (PyErr_Occurred()) return NULL
;
11553 } _resultobj
= Py_BuildValue("l",_result
);
11557 #define wxRegionIterator_GetRect(_swigobj) (_swigobj->GetRect())
11558 static PyObject
*_wrap_wxRegionIterator_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11559 PyObject
* _resultobj
;
11561 wxRegionIterator
* _arg0
;
11562 PyObject
* _argo0
= 0;
11563 char *_kwnames
[] = { "self", NULL
};
11567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetRect",_kwnames
,&_argo0
))
11570 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11571 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetRect. Expected _wxRegionIterator_p.");
11577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11578 _result
= new wxRect (wxRegionIterator_GetRect(_arg0
));
11580 wxPyEndAllowThreads(__tstate
);
11581 if (PyErr_Occurred()) return NULL
;
11582 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
11583 _resultobj
= Py_BuildValue("s",_ptemp
);
11587 #define wxRegionIterator_HaveRects(_swigobj) (_swigobj->HaveRects())
11588 static PyObject
*_wrap_wxRegionIterator_HaveRects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11589 PyObject
* _resultobj
;
11591 wxRegionIterator
* _arg0
;
11592 PyObject
* _argo0
= 0;
11593 char *_kwnames
[] = { "self", NULL
};
11596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_HaveRects",_kwnames
,&_argo0
))
11599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_HaveRects. Expected _wxRegionIterator_p.");
11606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11607 _result
= (bool )wxRegionIterator_HaveRects(_arg0
);
11609 wxPyEndAllowThreads(__tstate
);
11610 if (PyErr_Occurred()) return NULL
;
11611 } _resultobj
= Py_BuildValue("i",_result
);
11615 #define wxRegionIterator_Reset(_swigobj) (_swigobj->Reset())
11616 static PyObject
*_wrap_wxRegionIterator_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11617 PyObject
* _resultobj
;
11618 wxRegionIterator
* _arg0
;
11619 PyObject
* _argo0
= 0;
11620 char *_kwnames
[] = { "self", NULL
};
11623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_Reset",_kwnames
,&_argo0
))
11626 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11627 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Reset. Expected _wxRegionIterator_p.");
11633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11634 wxRegionIterator_Reset(_arg0
);
11636 wxPyEndAllowThreads(__tstate
);
11637 if (PyErr_Occurred()) return NULL
;
11638 } Py_INCREF(Py_None
);
11639 _resultobj
= Py_None
;
11643 static void wxRegionIterator_Next(wxRegionIterator
*self
) {
11646 static PyObject
*_wrap_wxRegionIterator_Next(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11647 PyObject
* _resultobj
;
11648 wxRegionIterator
* _arg0
;
11649 PyObject
* _argo0
= 0;
11650 char *_kwnames
[] = { "self", NULL
};
11653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_Next",_kwnames
,&_argo0
))
11656 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11657 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Next. Expected _wxRegionIterator_p.");
11663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11664 wxRegionIterator_Next(_arg0
);
11666 wxPyEndAllowThreads(__tstate
);
11667 if (PyErr_Occurred()) return NULL
;
11668 } Py_INCREF(Py_None
);
11669 _resultobj
= Py_None
;
11673 static PyMethodDef gdicMethods
[] = {
11674 { "wxRegionIterator_Next", (PyCFunction
) _wrap_wxRegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
},
11675 { "wxRegionIterator_Reset", (PyCFunction
) _wrap_wxRegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
},
11676 { "wxRegionIterator_HaveRects", (PyCFunction
) _wrap_wxRegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
},
11677 { "wxRegionIterator_GetRect", (PyCFunction
) _wrap_wxRegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
11678 { "wxRegionIterator_GetHeight", (PyCFunction
) _wrap_wxRegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
11679 { "wxRegionIterator_GetH", (PyCFunction
) _wrap_wxRegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
},
11680 { "wxRegionIterator_GetWidth", (PyCFunction
) _wrap_wxRegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11681 { "wxRegionIterator_GetW", (PyCFunction
) _wrap_wxRegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
},
11682 { "wxRegionIterator_GetY", (PyCFunction
) _wrap_wxRegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
},
11683 { "wxRegionIterator_GetX", (PyCFunction
) _wrap_wxRegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
},
11684 { "delete_wxRegionIterator", (PyCFunction
) _wrap_delete_wxRegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
11685 { "new_wxRegionIterator", (PyCFunction
) _wrap_new_wxRegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
11686 { "wxRegion_XorRegion", (PyCFunction
) _wrap_wxRegion_XorRegion
, METH_VARARGS
| METH_KEYWORDS
},
11687 { "wxRegion_XorRect", (PyCFunction
) _wrap_wxRegion_XorRect
, METH_VARARGS
| METH_KEYWORDS
},
11688 { "wxRegion_Xor", (PyCFunction
) _wrap_wxRegion_Xor
, METH_VARARGS
| METH_KEYWORDS
},
11689 { "wxRegion_SubtractRegion", (PyCFunction
) _wrap_wxRegion_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
},
11690 { "wxRegion_SubtractRect", (PyCFunction
) _wrap_wxRegion_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
},
11691 { "wxRegion_Subtract", (PyCFunction
) _wrap_wxRegion_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
11692 { "wxRegion_UnionRegion", (PyCFunction
) _wrap_wxRegion_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
},
11693 { "wxRegion_UnionRect", (PyCFunction
) _wrap_wxRegion_UnionRect
, METH_VARARGS
| METH_KEYWORDS
},
11694 { "wxRegion_Union", (PyCFunction
) _wrap_wxRegion_Union
, METH_VARARGS
| METH_KEYWORDS
},
11695 { "wxRegion_IsEmpty", (PyCFunction
) _wrap_wxRegion_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
11696 { "wxRegion_IntersectRegion", (PyCFunction
) _wrap_wxRegion_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
},
11697 { "wxRegion_IntersectRect", (PyCFunction
) _wrap_wxRegion_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
11698 { "wxRegion_Intersect", (PyCFunction
) _wrap_wxRegion_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
11699 { "wxRegion_GetBox", (PyCFunction
) _wrap_wxRegion_GetBox
, METH_VARARGS
| METH_KEYWORDS
},
11700 { "wxRegion_ContainsRectDim", (PyCFunction
) _wrap_wxRegion_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
},
11701 { "wxRegion_ContainsRect", (PyCFunction
) _wrap_wxRegion_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
},
11702 { "wxRegion_ContainsPoint", (PyCFunction
) _wrap_wxRegion_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
},
11703 { "wxRegion_Contains", (PyCFunction
) _wrap_wxRegion_Contains
, METH_VARARGS
| METH_KEYWORDS
},
11704 { "wxRegion_Clear", (PyCFunction
) _wrap_wxRegion_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11705 { "delete_wxRegion", (PyCFunction
) _wrap_delete_wxRegion
, METH_VARARGS
| METH_KEYWORDS
},
11706 { "new_wxRegion", (PyCFunction
) _wrap_new_wxRegion
, METH_VARARGS
| METH_KEYWORDS
},
11707 { "wxImageList_GetSize", (PyCFunction
) _wrap_wxImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
11708 { "wxImageList_RemoveAll", (PyCFunction
) _wrap_wxImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
},
11709 { "wxImageList_Remove", (PyCFunction
) _wrap_wxImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
},
11710 { "wxImageList_GetImageCount", (PyCFunction
) _wrap_wxImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
11711 { "wxImageList_Draw", (PyCFunction
) _wrap_wxImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
},
11712 { "wxImageList_Replace", (PyCFunction
) _wrap_wxImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
},
11713 { "wxImageList_AddIcon", (PyCFunction
) _wrap_wxImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
11714 { "wxImageList_AddWithColourMask", (PyCFunction
) _wrap_wxImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
},
11715 { "wxImageList_Add", (PyCFunction
) _wrap_wxImageList_Add
, METH_VARARGS
| METH_KEYWORDS
},
11716 { "delete_wxImageList", (PyCFunction
) _wrap_delete_wxImageList
, METH_VARARGS
| METH_KEYWORDS
},
11717 { "new_wxImageList", (PyCFunction
) _wrap_new_wxImageList
, METH_VARARGS
| METH_KEYWORDS
},
11718 { "wxPalette_Ok", (PyCFunction
) _wrap_wxPalette_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11719 { "wxPalette_GetRGB", (PyCFunction
) _wrap_wxPalette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
11720 { "wxPalette_GetPixel", (PyCFunction
) _wrap_wxPalette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
11721 { "delete_wxPalette", (PyCFunction
) _wrap_delete_wxPalette
, METH_VARARGS
| METH_KEYWORDS
},
11722 { "new_wxPalette", (PyCFunction
) _wrap_new_wxPalette
, METH_VARARGS
| METH_KEYWORDS
},
11723 { "new_wxWindowDC", (PyCFunction
) _wrap_new_wxWindowDC
, METH_VARARGS
| METH_KEYWORDS
},
11724 { "new_wxPaintDC", (PyCFunction
) _wrap_new_wxPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
11725 { "new_wxClientDC", (PyCFunction
) _wrap_new_wxClientDC
, METH_VARARGS
| METH_KEYWORDS
},
11726 { "wxScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_wxScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
11727 { "wxScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_wxScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
11728 { "wxScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_wxScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
},
11729 { "new_wxScreenDC", (PyCFunction
) _wrap_new_wxScreenDC
, METH_VARARGS
| METH_KEYWORDS
},
11730 { "wxMemoryDC_SelectObject", (PyCFunction
) _wrap_wxMemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
},
11731 { "new_wxMemoryDC", (PyCFunction
) _wrap_new_wxMemoryDC
, METH_VARARGS
| METH_KEYWORDS
},
11732 { "wxDC__DrawLineList", (PyCFunction
) _wrap_wxDC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
},
11733 { "wxDC__DrawPointList", (PyCFunction
) _wrap_wxDC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
},
11734 { "wxDC_GetBoundingBox", (PyCFunction
) _wrap_wxDC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
11735 { "wxDC_ResetBoundingBox", (PyCFunction
) _wrap_wxDC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
11736 { "wxDC_CalcBoundingBox", (PyCFunction
) _wrap_wxDC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
11737 { "wxDC_SetAxisOrientation", (PyCFunction
) _wrap_wxDC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
},
11738 { "wxDC_GetDeviceOrigin", (PyCFunction
) _wrap_wxDC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
11739 { "wxDC_SetLogicalOrigin", (PyCFunction
) _wrap_wxDC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
11740 { "wxDC_GetLogicalOrigin", (PyCFunction
) _wrap_wxDC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
11741 { "wxDC_GetPPI", (PyCFunction
) _wrap_wxDC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
},
11742 { "wxDC_GetDepth", (PyCFunction
) _wrap_wxDC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
11743 { "wxDC_CanGetTextExtent", (PyCFunction
) _wrap_wxDC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
11744 { "wxDC_CanDrawBitmap", (PyCFunction
) _wrap_wxDC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11745 { "wxDC_DrawBitmap", (PyCFunction
) _wrap_wxDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11746 { "wxDC_StartPage", (PyCFunction
) _wrap_wxDC_StartPage
, METH_VARARGS
| METH_KEYWORDS
},
11747 { "wxDC_StartDoc", (PyCFunction
) _wrap_wxDC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
},
11748 { "wxDC_SetUserScale", (PyCFunction
) _wrap_wxDC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
11749 { "wxDC_SetTextForeground", (PyCFunction
) _wrap_wxDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
11750 { "wxDC_SetTextBackground", (PyCFunction
) _wrap_wxDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
11751 { "wxDC_SetPen", (PyCFunction
) _wrap_wxDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
11752 { "wxDC_SetOptimization", (PyCFunction
) _wrap_wxDC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
11753 { "wxDC_SetMapMode", (PyCFunction
) _wrap_wxDC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
11754 { "wxDC_SetLogicalScale", (PyCFunction
) _wrap_wxDC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
11755 { "wxDC_SetLogicalFunction", (PyCFunction
) _wrap_wxDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
11756 { "wxDC_SetFont", (PyCFunction
) _wrap_wxDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
11757 { "wxDC_SetBrush", (PyCFunction
) _wrap_wxDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
11758 { "wxDC_SetPalette", (PyCFunction
) _wrap_wxDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
11759 { "wxDC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_wxDC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
},
11760 { "wxDC_SetClippingRegion", (PyCFunction
) _wrap_wxDC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
11761 { "wxDC_SetBackgroundMode", (PyCFunction
) _wrap_wxDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
11762 { "wxDC_SetBackground", (PyCFunction
) _wrap_wxDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
},
11763 { "wxDC_SetDeviceOrigin", (PyCFunction
) _wrap_wxDC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
11764 { "wxDC_Ok", (PyCFunction
) _wrap_wxDC_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11765 { "wxDC_MinY", (PyCFunction
) _wrap_wxDC_MinY
, METH_VARARGS
| METH_KEYWORDS
},
11766 { "wxDC_MinX", (PyCFunction
) _wrap_wxDC_MinX
, METH_VARARGS
| METH_KEYWORDS
},
11767 { "wxDC_MaxY", (PyCFunction
) _wrap_wxDC_MaxY
, METH_VARARGS
| METH_KEYWORDS
},
11768 { "wxDC_MaxX", (PyCFunction
) _wrap_wxDC_MaxX
, METH_VARARGS
| METH_KEYWORDS
},
11769 { "wxDC_LogicalToDeviceYRel", (PyCFunction
) _wrap_wxDC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
},
11770 { "wxDC_LogicalToDeviceY", (PyCFunction
) _wrap_wxDC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
},
11771 { "wxDC_LogicalToDeviceXRel", (PyCFunction
) _wrap_wxDC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
},
11772 { "wxDC_LogicalToDeviceX", (PyCFunction
) _wrap_wxDC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
},
11773 { "wxDC_GetUserScale", (PyCFunction
) _wrap_wxDC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
11774 { "wxDC_GetTextForeground", (PyCFunction
) _wrap_wxDC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
11775 { "wxDC_GetFullTextExtent", (PyCFunction
) _wrap_wxDC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
11776 { "wxDC_GetTextExtent", (PyCFunction
) _wrap_wxDC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
11777 { "wxDC_GetTextBackground", (PyCFunction
) _wrap_wxDC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
11778 { "wxDC_GetSizeMM", (PyCFunction
) _wrap_wxDC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
11779 { "wxDC_GetSize", (PyCFunction
) _wrap_wxDC_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
11780 { "wxDC_GetSizeTuple", (PyCFunction
) _wrap_wxDC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
11781 { "wxDC_GetPixel", (PyCFunction
) _wrap_wxDC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
11782 { "wxDC_GetPen", (PyCFunction
) _wrap_wxDC_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
11783 { "wxDC_GetOptimization", (PyCFunction
) _wrap_wxDC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
11784 { "wxDC_GetMapMode", (PyCFunction
) _wrap_wxDC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
11785 { "wxDC_GetLogicalScale", (PyCFunction
) _wrap_wxDC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
11786 { "wxDC_GetLogicalFunction", (PyCFunction
) _wrap_wxDC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
11787 { "wxDC_GetFont", (PyCFunction
) _wrap_wxDC_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
11788 { "wxDC_GetClippingBox", (PyCFunction
) _wrap_wxDC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
},
11789 { "wxDC_GetCharWidth", (PyCFunction
) _wrap_wxDC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
11790 { "wxDC_GetCharHeight", (PyCFunction
) _wrap_wxDC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
11791 { "wxDC_GetBrush", (PyCFunction
) _wrap_wxDC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
11792 { "wxDC_GetBackground", (PyCFunction
) _wrap_wxDC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
},
11793 { "wxDC_FloodFill", (PyCFunction
) _wrap_wxDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
},
11794 { "wxDC_EndPage", (PyCFunction
) _wrap_wxDC_EndPage
, METH_VARARGS
| METH_KEYWORDS
},
11795 { "wxDC_EndDrawing", (PyCFunction
) _wrap_wxDC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
},
11796 { "wxDC_EndDoc", (PyCFunction
) _wrap_wxDC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
},
11797 { "wxDC_DrawText", (PyCFunction
) _wrap_wxDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
11798 { "wxDC_DrawSpline", (PyCFunction
) _wrap_wxDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
11799 { "wxDC_DrawRoundedRectangle", (PyCFunction
) _wrap_wxDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
11800 { "wxDC_DrawRotatedText", (PyCFunction
) _wrap_wxDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
},
11801 { "wxDC_DrawRectangle", (PyCFunction
) _wrap_wxDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
11802 { "wxDC_DrawPoint", (PyCFunction
) _wrap_wxDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
11803 { "wxDC_DrawPolygon", (PyCFunction
) _wrap_wxDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
11804 { "wxDC_DrawLines", (PyCFunction
) _wrap_wxDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
11805 { "wxDC_DrawLine", (PyCFunction
) _wrap_wxDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
11806 { "wxDC_DrawImageLabel", (PyCFunction
) _wrap_wxDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
},
11807 { "wxDC_DrawLabel", (PyCFunction
) _wrap_wxDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
},
11808 { "wxDC_DrawIcon", (PyCFunction
) _wrap_wxDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
},
11809 { "wxDC_DrawEllipticArc", (PyCFunction
) _wrap_wxDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
11810 { "wxDC_DrawEllipse", (PyCFunction
) _wrap_wxDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
11811 { "wxDC_DrawCircle", (PyCFunction
) _wrap_wxDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
},
11812 { "wxDC_DrawArc", (PyCFunction
) _wrap_wxDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
11813 { "wxDC_DeviceToLogicalYRel", (PyCFunction
) _wrap_wxDC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
},
11814 { "wxDC_DeviceToLogicalY", (PyCFunction
) _wrap_wxDC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
},
11815 { "wxDC_DeviceToLogicalXRel", (PyCFunction
) _wrap_wxDC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
},
11816 { "wxDC_DeviceToLogicalX", (PyCFunction
) _wrap_wxDC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
},
11817 { "wxDC_DestroyClippingRegion", (PyCFunction
) _wrap_wxDC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
11818 { "wxDC_CrossHair", (PyCFunction
) _wrap_wxDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
},
11819 { "wxDC_Clear", (PyCFunction
) _wrap_wxDC_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11820 { "wxDC_Blit", (PyCFunction
) _wrap_wxDC_Blit
, METH_VARARGS
| METH_KEYWORDS
},
11821 { "wxDC_BeginDrawing", (PyCFunction
) _wrap_wxDC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
},
11822 { "delete_wxDC", (PyCFunction
) _wrap_delete_wxDC
, METH_VARARGS
| METH_KEYWORDS
},
11823 { "wxBrushList_GetCount", (PyCFunction
) _wrap_wxBrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11824 { "wxBrushList_RemoveBrush", (PyCFunction
) _wrap_wxBrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
},
11825 { "wxBrushList_FindOrCreateBrush", (PyCFunction
) _wrap_wxBrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
},
11826 { "wxBrushList_AddBrush", (PyCFunction
) _wrap_wxBrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
},
11827 { "wxBrush_SetStyle", (PyCFunction
) _wrap_wxBrush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11828 { "wxBrush_SetStipple", (PyCFunction
) _wrap_wxBrush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
11829 { "wxBrush_SetColour", (PyCFunction
) _wrap_wxBrush_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
11830 { "wxBrush_Ok", (PyCFunction
) _wrap_wxBrush_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11831 { "wxBrush_GetStyle", (PyCFunction
) _wrap_wxBrush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11832 { "wxBrush_GetStipple", (PyCFunction
) _wrap_wxBrush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
11833 { "wxBrush_GetColour", (PyCFunction
) _wrap_wxBrush_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
11834 { "delete_wxBrush", (PyCFunction
) _wrap_delete_wxBrush
, METH_VARARGS
| METH_KEYWORDS
},
11835 { "new_wxBrush", (PyCFunction
) _wrap_new_wxBrush
, METH_VARARGS
| METH_KEYWORDS
},
11836 { "wxPenList_GetCount", (PyCFunction
) _wrap_wxPenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11837 { "wxPenList_RemovePen", (PyCFunction
) _wrap_wxPenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
},
11838 { "wxPenList_FindOrCreatePen", (PyCFunction
) _wrap_wxPenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
},
11839 { "wxPenList_AddPen", (PyCFunction
) _wrap_wxPenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
},
11840 { "wxPyPen_SetDashes", (PyCFunction
) _wrap_wxPyPen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
11841 { "delete_wxPyPen", (PyCFunction
) _wrap_delete_wxPyPen
, METH_VARARGS
| METH_KEYWORDS
},
11842 { "new_wxPyPen", (PyCFunction
) _wrap_new_wxPyPen
, METH_VARARGS
| METH_KEYWORDS
},
11843 { "wxPen_SetDashes", (PyCFunction
) _wrap_wxPen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
11844 { "wxPen_SetWidth", (PyCFunction
) _wrap_wxPen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11845 { "wxPen_SetStyle", (PyCFunction
) _wrap_wxPen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11846 { "wxPen_SetJoin", (PyCFunction
) _wrap_wxPen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
},
11847 { "wxPen_SetColour", (PyCFunction
) _wrap_wxPen_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
11848 { "wxPen_SetCap", (PyCFunction
) _wrap_wxPen_SetCap
, METH_VARARGS
| METH_KEYWORDS
},
11849 { "wxPen_Ok", (PyCFunction
) _wrap_wxPen_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11850 { "wxPen_GetWidth", (PyCFunction
) _wrap_wxPen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11851 { "wxPen_GetStyle", (PyCFunction
) _wrap_wxPen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11852 { "wxPen_GetJoin", (PyCFunction
) _wrap_wxPen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
},
11853 { "wxPen_GetColour", (PyCFunction
) _wrap_wxPen_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
11854 { "wxPen_GetCap", (PyCFunction
) _wrap_wxPen_GetCap
, METH_VARARGS
| METH_KEYWORDS
},
11855 { "delete_wxPen", (PyCFunction
) _wrap_delete_wxPen
, METH_VARARGS
| METH_KEYWORDS
},
11856 { "new_wxPen", (PyCFunction
) _wrap_new_wxPen
, METH_VARARGS
| METH_KEYWORDS
},
11857 { "wxColourDatabase_Append", (PyCFunction
) _wrap_wxColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
},
11858 { "wxColourDatabase_FindName", (PyCFunction
) _wrap_wxColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
},
11859 { "wxColourDatabase_FindColour", (PyCFunction
) _wrap_wxColourDatabase_FindColour
, METH_VARARGS
| METH_KEYWORDS
},
11860 { "wxColour_Get", (PyCFunction
) _wrap_wxColour_Get
, METH_VARARGS
| METH_KEYWORDS
},
11861 { "wxColour_Set", (PyCFunction
) _wrap_wxColour_Set
, METH_VARARGS
| METH_KEYWORDS
},
11862 { "wxColour_Ok", (PyCFunction
) _wrap_wxColour_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11863 { "wxColour_Blue", (PyCFunction
) _wrap_wxColour_Blue
, METH_VARARGS
| METH_KEYWORDS
},
11864 { "wxColour_Green", (PyCFunction
) _wrap_wxColour_Green
, METH_VARARGS
| METH_KEYWORDS
},
11865 { "wxColour_Red", (PyCFunction
) _wrap_wxColour_Red
, METH_VARARGS
| METH_KEYWORDS
},
11866 { "delete_wxColour", (PyCFunction
) _wrap_delete_wxColour
, METH_VARARGS
| METH_KEYWORDS
},
11867 { "new_wxColour", (PyCFunction
) _wrap_new_wxColour
, METH_VARARGS
| METH_KEYWORDS
},
11868 { "wxFontList_GetCount", (PyCFunction
) _wrap_wxFontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11869 { "wxFontList_RemoveFont", (PyCFunction
) _wrap_wxFontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
},
11870 { "wxFontList_FindOrCreateFont", (PyCFunction
) _wrap_wxFontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
},
11871 { "wxFontList_AddFont", (PyCFunction
) _wrap_wxFontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
},
11872 { "wxFont_SetDefaultEncoding", (PyCFunction
) _wrap_wxFont_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
11873 { "wxFont_GetDefaultEncoding", (PyCFunction
) _wrap_wxFont_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
11874 { "wxFont_GetWeightString", (PyCFunction
) _wrap_wxFont_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
},
11875 { "wxFont_GetStyleString", (PyCFunction
) _wrap_wxFont_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
},
11876 { "wxFont_GetFamilyString", (PyCFunction
) _wrap_wxFont_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
},
11877 { "wxFont_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_wxFont_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
11878 { "wxFont_SetNativeFontInfo", (PyCFunction
) _wrap_wxFont_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
11879 { "wxFont_SetEncoding", (PyCFunction
) _wrap_wxFont_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
11880 { "wxFont_SetUnderlined", (PyCFunction
) _wrap_wxFont_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
11881 { "wxFont_SetFaceName", (PyCFunction
) _wrap_wxFont_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
11882 { "wxFont_SetWeight", (PyCFunction
) _wrap_wxFont_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
11883 { "wxFont_SetStyle", (PyCFunction
) _wrap_wxFont_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11884 { "wxFont_SetFamily", (PyCFunction
) _wrap_wxFont_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
11885 { "wxFont_SetPointSize", (PyCFunction
) _wrap_wxFont_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
11886 { "wxFont_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_wxFont_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
11887 { "wxFont_GetNativeFontInfoDesc", (PyCFunction
) _wrap_wxFont_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
},
11888 { "wxFont_GetNativeFontInfo", (PyCFunction
) _wrap_wxFont_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
11889 { "wxFont_IsFixedWidth", (PyCFunction
) _wrap_wxFont_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
},
11890 { "wxFont_GetEncoding", (PyCFunction
) _wrap_wxFont_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
11891 { "wxFont_GetFaceName", (PyCFunction
) _wrap_wxFont_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
11892 { "wxFont_GetUnderlined", (PyCFunction
) _wrap_wxFont_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
11893 { "wxFont_GetWeight", (PyCFunction
) _wrap_wxFont_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
11894 { "wxFont_GetStyle", (PyCFunction
) _wrap_wxFont_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11895 { "wxFont_GetFamily", (PyCFunction
) _wrap_wxFont_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
11896 { "wxFont_GetPointSize", (PyCFunction
) _wrap_wxFont_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
11897 { "wxFont_Ok", (PyCFunction
) _wrap_wxFont_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11898 { "delete_wxFont", (PyCFunction
) _wrap_delete_wxFont
, METH_VARARGS
| METH_KEYWORDS
},
11899 { "new_wxFontFromNativeInfo", (PyCFunction
) _wrap_new_wxFontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
},
11900 { "new_wxFont", (PyCFunction
) _wrap_new_wxFont
, METH_VARARGS
| METH_KEYWORDS
},
11901 { "wxFontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_wxFontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
11902 { "wxFontMapper_SetConfigPath", (PyCFunction
) _wrap_wxFontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
11903 { "wxFontMapper_SetConfig", (PyCFunction
) _wrap_wxFontMapper_SetConfig
, METH_VARARGS
| METH_KEYWORDS
},
11904 { "wxFontMapper_SetDialogTitle", (PyCFunction
) _wrap_wxFontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
},
11905 { "wxFontMapper_SetDialogParent", (PyCFunction
) _wrap_wxFontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
},
11906 { "wxFontMapper_GetEncodingDescription", (PyCFunction
) _wrap_wxFontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
},
11907 { "wxFontMapper_GetEncodingName", (PyCFunction
) _wrap_wxFontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
11908 { "wxFontMapper_CharsetToEncoding", (PyCFunction
) _wrap_wxFontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
},
11909 { "wxFontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_wxFontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
},
11910 { "wxFontMapper_GetAltForEncoding", (PyCFunction
) _wrap_wxFontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
},
11911 { "delete_wxFontMapper", (PyCFunction
) _wrap_delete_wxFontMapper
, METH_VARARGS
| METH_KEYWORDS
},
11912 { "new_wxFontMapper", (PyCFunction
) _wrap_new_wxFontMapper
, METH_VARARGS
| METH_KEYWORDS
},
11913 { "wxNativeFontInfo_ToUserString", (PyCFunction
) _wrap_wxNativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
},
11914 { "wxNativeFontInfo_FromUserString", (PyCFunction
) _wrap_wxNativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
},
11915 { "wxNativeFontInfo___str__", (PyCFunction
) _wrap_wxNativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
},
11916 { "wxNativeFontInfo_ToString", (PyCFunction
) _wrap_wxNativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
11917 { "wxNativeFontInfo_FromString", (PyCFunction
) _wrap_wxNativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
11918 { "wxNativeFontInfo_SetEncoding", (PyCFunction
) _wrap_wxNativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
11919 { "wxNativeFontInfo_SetFamily", (PyCFunction
) _wrap_wxNativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
11920 { "wxNativeFontInfo_SetFaceName", (PyCFunction
) _wrap_wxNativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
11921 { "wxNativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_wxNativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
11922 { "wxNativeFontInfo_SetWeight", (PyCFunction
) _wrap_wxNativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
11923 { "wxNativeFontInfo_SetStyle", (PyCFunction
) _wrap_wxNativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11924 { "wxNativeFontInfo_SetPointSize", (PyCFunction
) _wrap_wxNativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
11925 { "wxNativeFontInfo_GetEncoding", (PyCFunction
) _wrap_wxNativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
11926 { "wxNativeFontInfo_GetFamily", (PyCFunction
) _wrap_wxNativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
11927 { "wxNativeFontInfo_GetFaceName", (PyCFunction
) _wrap_wxNativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
11928 { "wxNativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_wxNativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
11929 { "wxNativeFontInfo_GetWeight", (PyCFunction
) _wrap_wxNativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
11930 { "wxNativeFontInfo_GetStyle", (PyCFunction
) _wrap_wxNativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11931 { "wxNativeFontInfo_GetPointSize", (PyCFunction
) _wrap_wxNativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
11932 { "wxNativeFontInfo_Init", (PyCFunction
) _wrap_wxNativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
},
11933 { "new_wxNativeFontInfo", (PyCFunction
) _wrap_new_wxNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
11934 { "wxCursor_Ok", (PyCFunction
) _wrap_wxCursor_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11935 { "delete_wxCursor", (PyCFunction
) _wrap_delete_wxCursor
, METH_VARARGS
| METH_KEYWORDS
},
11936 { "wxIcon_CopyFromBitmap", (PyCFunction
) _wrap_wxIcon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11937 { "wxIcon_SetDepth", (PyCFunction
) _wrap_wxIcon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
11938 { "wxIcon_SetHeight", (PyCFunction
) _wrap_wxIcon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
11939 { "wxIcon_SetWidth", (PyCFunction
) _wrap_wxIcon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11940 { "wxIcon_GetDepth", (PyCFunction
) _wrap_wxIcon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
11941 { "wxIcon_GetHeight", (PyCFunction
) _wrap_wxIcon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
11942 { "wxIcon_GetWidth", (PyCFunction
) _wrap_wxIcon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11943 { "wxIcon_Ok", (PyCFunction
) _wrap_wxIcon_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11944 { "delete_wxIcon", (PyCFunction
) _wrap_delete_wxIcon
, METH_VARARGS
| METH_KEYWORDS
},
11945 { "new_wxIcon", (PyCFunction
) _wrap_new_wxIcon
, METH_VARARGS
| METH_KEYWORDS
},
11946 { "wxMask_Destroy", (PyCFunction
) _wrap_wxMask_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
11947 { "new_wxMask", (PyCFunction
) _wrap_new_wxMask
, METH_VARARGS
| METH_KEYWORDS
},
11948 { "wxBitmap_CopyFromIcon", (PyCFunction
) _wrap_wxBitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
11949 { "wxBitmap_GetSubBitmap", (PyCFunction
) _wrap_wxBitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11950 { "wxBitmap_SetDepth", (PyCFunction
) _wrap_wxBitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
11951 { "wxBitmap_SetHeight", (PyCFunction
) _wrap_wxBitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
11952 { "wxBitmap_SetWidth", (PyCFunction
) _wrap_wxBitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11953 { "wxBitmap_GetDepth", (PyCFunction
) _wrap_wxBitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
11954 { "wxBitmap_GetHeight", (PyCFunction
) _wrap_wxBitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
11955 { "wxBitmap_GetWidth", (PyCFunction
) _wrap_wxBitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11956 { "wxBitmap_Ok", (PyCFunction
) _wrap_wxBitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11957 { "wxBitmap_SetMask", (PyCFunction
) _wrap_wxBitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
11958 { "wxBitmap_SaveFile", (PyCFunction
) _wrap_wxBitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
11959 { "wxBitmap_LoadFile", (PyCFunction
) _wrap_wxBitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
11960 { "wxBitmap_GetMask", (PyCFunction
) _wrap_wxBitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
11961 { "wxBitmap_GetPalette", (PyCFunction
) _wrap_wxBitmap_GetPalette
, METH_VARARGS
| METH_KEYWORDS
},
11962 { "delete_wxBitmap", (PyCFunction
) _wrap_delete_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11963 { "new_wxBitmap", (PyCFunction
) _wrap_new_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11964 { "wxGDIObject_IsNull", (PyCFunction
) _wrap_wxGDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
11965 { "wxGDIObject_SetVisible", (PyCFunction
) _wrap_wxGDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
},
11966 { "wxGDIObject_GetVisible", (PyCFunction
) _wrap_wxGDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
},
11967 { "delete_wxGDIObject", (PyCFunction
) _wrap_delete_wxGDIObject
, METH_VARARGS
| METH_KEYWORDS
},
11968 { "new_wxGDIObject", (PyCFunction
) _wrap_new_wxGDIObject
, METH_VARARGS
| METH_KEYWORDS
},
11969 { "wxMemoryDCFromDC", (PyCFunction
) _wrap_wxMemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
},
11970 { "wxNamedColour", (PyCFunction
) _wrap_wxNamedColour
, METH_VARARGS
| METH_KEYWORDS
},
11971 { "wxStockCursor", (PyCFunction
) _wrap_wxStockCursor
, METH_VARARGS
| METH_KEYWORDS
},
11972 { "wxIconFromBitmap", (PyCFunction
) _wrap_wxIconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11973 { "wxIconFromXPMData", (PyCFunction
) _wrap_wxIconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
11974 { "wxEmptyIcon", (PyCFunction
) _wrap_wxEmptyIcon
, METH_VARARGS
| METH_KEYWORDS
},
11975 { "wxMaskColour", (PyCFunction
) _wrap_wxMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
11976 { "wxBitmapFromBits", (PyCFunction
) _wrap_wxBitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
},
11977 { "wxBitmapFromIcon", (PyCFunction
) _wrap_wxBitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
11978 { "wxBitmapFromXPMData", (PyCFunction
) _wrap_wxBitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
11979 { "wxEmptyBitmap", (PyCFunction
) _wrap_wxEmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11986 * This table is used by the pointer type-checker
11988 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
11989 { "_signed_long","_long",0},
11990 { "_wxPrintQuality","_wxCoord",0},
11991 { "_wxPrintQuality","_int",0},
11992 { "_wxPrintQuality","_signed_int",0},
11993 { "_wxPrintQuality","_unsigned_int",0},
11994 { "_wxPrintQuality","_wxWindowID",0},
11995 { "_wxPrintQuality","_uint",0},
11996 { "_wxPrintQuality","_EBool",0},
11997 { "_wxPrintQuality","_size_t",0},
11998 { "_wxPrintQuality","_time_t",0},
11999 { "_wxPen","_wxPyPen",SwigwxPyPenTowxPen
},
12000 { "_byte","_unsigned_char",0},
12001 { "_long","_unsigned_long",0},
12002 { "_long","_signed_long",0},
12003 { "_wxGDIObject","_wxRegion",SwigwxRegionTowxGDIObject
},
12004 { "_wxGDIObject","_wxPalette",SwigwxPaletteTowxGDIObject
},
12005 { "_wxGDIObject","_wxBrush",SwigwxBrushTowxGDIObject
},
12006 { "_wxGDIObject","_wxPyPen",SwigwxPyPenTowxGDIObject
},
12007 { "_wxGDIObject","_wxPen",SwigwxPenTowxGDIObject
},
12008 { "_wxGDIObject","_wxFont",SwigwxFontTowxGDIObject
},
12009 { "_wxGDIObject","_wxCursor",SwigwxCursorTowxGDIObject
},
12010 { "_wxGDIObject","_wxIcon",SwigwxIconTowxGDIObject
},
12011 { "_wxGDIObject","_wxBitmap",SwigwxBitmapTowxGDIObject
},
12012 { "_wxDC","_wxWindowDC",SwigwxWindowDCTowxDC
},
12013 { "_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC
},
12014 { "_wxDC","_wxClientDC",SwigwxClientDCTowxDC
},
12015 { "_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC
},
12016 { "_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC
},
12017 { "_size_t","_wxCoord",0},
12018 { "_size_t","_wxPrintQuality",0},
12019 { "_size_t","_time_t",0},
12020 { "_size_t","_unsigned_int",0},
12021 { "_size_t","_int",0},
12022 { "_size_t","_wxWindowID",0},
12023 { "_size_t","_uint",0},
12024 { "_uint","_wxCoord",0},
12025 { "_uint","_wxPrintQuality",0},
12026 { "_uint","_time_t",0},
12027 { "_uint","_size_t",0},
12028 { "_uint","_unsigned_int",0},
12029 { "_uint","_int",0},
12030 { "_uint","_wxWindowID",0},
12031 { "_wxChar","_char",0},
12032 { "_char","_wxChar",0},
12033 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
12034 { "_EBool","_wxCoord",0},
12035 { "_EBool","_wxPrintQuality",0},
12036 { "_EBool","_signed_int",0},
12037 { "_EBool","_int",0},
12038 { "_EBool","_wxWindowID",0},
12039 { "_unsigned_long","_long",0},
12040 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
12041 { "_signed_int","_wxCoord",0},
12042 { "_signed_int","_wxPrintQuality",0},
12043 { "_signed_int","_EBool",0},
12044 { "_signed_int","_wxWindowID",0},
12045 { "_signed_int","_int",0},
12046 { "_WXTYPE","_short",0},
12047 { "_WXTYPE","_signed_short",0},
12048 { "_WXTYPE","_unsigned_short",0},
12049 { "_unsigned_short","_WXTYPE",0},
12050 { "_unsigned_short","_short",0},
12051 { "_wxObject","_wxRegionIterator",SwigwxRegionIteratorTowxObject
},
12052 { "_wxObject","_wxRegion",SwigwxRegionTowxObject
},
12053 { "_wxObject","_wxImageList",SwigwxImageListTowxObject
},
12054 { "_wxObject","_wxPalette",SwigwxPaletteTowxObject
},
12055 { "_wxObject","_wxWindowDC",SwigwxWindowDCTowxObject
},
12056 { "_wxObject","_wxPaintDC",SwigwxPaintDCTowxObject
},
12057 { "_wxObject","_wxClientDC",SwigwxClientDCTowxObject
},
12058 { "_wxObject","_wxScreenDC",SwigwxScreenDCTowxObject
},
12059 { "_wxObject","_wxMemoryDC",SwigwxMemoryDCTowxObject
},
12060 { "_wxObject","_wxDC",SwigwxDCTowxObject
},
12061 { "_wxObject","_wxBrushList",SwigwxBrushListTowxObject
},
12062 { "_wxObject","_wxBrush",SwigwxBrushTowxObject
},
12063 { "_wxObject","_wxPenList",SwigwxPenListTowxObject
},
12064 { "_wxObject","_wxPyPen",SwigwxPyPenTowxObject
},
12065 { "_wxObject","_wxPen",SwigwxPenTowxObject
},
12066 { "_wxObject","_wxColourDatabase",SwigwxColourDatabaseTowxObject
},
12067 { "_wxObject","_wxColour",SwigwxColourTowxObject
},
12068 { "_wxObject","_wxFontList",SwigwxFontListTowxObject
},
12069 { "_wxObject","_wxFont",SwigwxFontTowxObject
},
12070 { "_wxObject","_wxCursor",SwigwxCursorTowxObject
},
12071 { "_wxObject","_wxIcon",SwigwxIconTowxObject
},
12072 { "_wxObject","_wxMask",SwigwxMaskTowxObject
},
12073 { "_wxObject","_wxBitmap",SwigwxBitmapTowxObject
},
12074 { "_wxObject","_wxGDIObject",SwigwxGDIObjectTowxObject
},
12075 { "_signed_short","_WXTYPE",0},
12076 { "_signed_short","_short",0},
12077 { "_unsigned_char","_byte",0},
12078 { "_unsigned_int","_wxCoord",0},
12079 { "_unsigned_int","_wxPrintQuality",0},
12080 { "_unsigned_int","_time_t",0},
12081 { "_unsigned_int","_size_t",0},
12082 { "_unsigned_int","_uint",0},
12083 { "_unsigned_int","_wxWindowID",0},
12084 { "_unsigned_int","_int",0},
12085 { "_short","_WXTYPE",0},
12086 { "_short","_unsigned_short",0},
12087 { "_short","_signed_short",0},
12088 { "_wxWindowID","_wxCoord",0},
12089 { "_wxWindowID","_wxPrintQuality",0},
12090 { "_wxWindowID","_time_t",0},
12091 { "_wxWindowID","_size_t",0},
12092 { "_wxWindowID","_EBool",0},
12093 { "_wxWindowID","_uint",0},
12094 { "_wxWindowID","_int",0},
12095 { "_wxWindowID","_signed_int",0},
12096 { "_wxWindowID","_unsigned_int",0},
12097 { "_int","_wxCoord",0},
12098 { "_int","_wxPrintQuality",0},
12099 { "_int","_time_t",0},
12100 { "_int","_size_t",0},
12101 { "_int","_EBool",0},
12102 { "_int","_uint",0},
12103 { "_int","_wxWindowID",0},
12104 { "_int","_unsigned_int",0},
12105 { "_int","_signed_int",0},
12106 { "_time_t","_wxCoord",0},
12107 { "_time_t","_wxPrintQuality",0},
12108 { "_time_t","_unsigned_int",0},
12109 { "_time_t","_int",0},
12110 { "_time_t","_wxWindowID",0},
12111 { "_time_t","_uint",0},
12112 { "_time_t","_size_t",0},
12113 { "_wxCoord","_int",0},
12114 { "_wxCoord","_signed_int",0},
12115 { "_wxCoord","_unsigned_int",0},
12116 { "_wxCoord","_wxWindowID",0},
12117 { "_wxCoord","_uint",0},
12118 { "_wxCoord","_EBool",0},
12119 { "_wxCoord","_size_t",0},
12120 { "_wxCoord","_time_t",0},
12121 { "_wxCoord","_wxPrintQuality",0},
12124 static PyObject
*SWIG_globals
;
12128 SWIGEXPORT(void) initgdic() {
12130 SWIG_globals
= SWIG_newvarlink();
12131 m
= Py_InitModule("gdic", gdicMethods
);
12132 d
= PyModule_GetDict(m
);
12133 PyDict_SetItemString(d
,"wxFONTFAMILY_DEFAULT", PyInt_FromLong((long) wxFONTFAMILY_DEFAULT
));
12134 PyDict_SetItemString(d
,"wxFONTFAMILY_DECORATIVE", PyInt_FromLong((long) wxFONTFAMILY_DECORATIVE
));
12135 PyDict_SetItemString(d
,"wxFONTFAMILY_ROMAN", PyInt_FromLong((long) wxFONTFAMILY_ROMAN
));
12136 PyDict_SetItemString(d
,"wxFONTFAMILY_SCRIPT", PyInt_FromLong((long) wxFONTFAMILY_SCRIPT
));
12137 PyDict_SetItemString(d
,"wxFONTFAMILY_SWISS", PyInt_FromLong((long) wxFONTFAMILY_SWISS
));
12138 PyDict_SetItemString(d
,"wxFONTFAMILY_MODERN", PyInt_FromLong((long) wxFONTFAMILY_MODERN
));
12139 PyDict_SetItemString(d
,"wxFONTFAMILY_TELETYPE", PyInt_FromLong((long) wxFONTFAMILY_TELETYPE
));
12140 PyDict_SetItemString(d
,"wxFONTFAMILY_MAX", PyInt_FromLong((long) wxFONTFAMILY_MAX
));
12141 PyDict_SetItemString(d
,"wxFONTFAMILY_UNKNOWN", PyInt_FromLong((long) wxFONTFAMILY_UNKNOWN
));
12142 PyDict_SetItemString(d
,"wxFONTSTYLE_NORMAL", PyInt_FromLong((long) wxFONTSTYLE_NORMAL
));
12143 PyDict_SetItemString(d
,"wxFONTSTYLE_ITALIC", PyInt_FromLong((long) wxFONTSTYLE_ITALIC
));
12144 PyDict_SetItemString(d
,"wxFONTSTYLE_SLANT", PyInt_FromLong((long) wxFONTSTYLE_SLANT
));
12145 PyDict_SetItemString(d
,"wxFONTSTYLE_MAX", PyInt_FromLong((long) wxFONTSTYLE_MAX
));
12146 PyDict_SetItemString(d
,"wxFONTWEIGHT_NORMAL", PyInt_FromLong((long) wxFONTWEIGHT_NORMAL
));
12147 PyDict_SetItemString(d
,"wxFONTWEIGHT_LIGHT", PyInt_FromLong((long) wxFONTWEIGHT_LIGHT
));
12148 PyDict_SetItemString(d
,"wxFONTWEIGHT_BOLD", PyInt_FromLong((long) wxFONTWEIGHT_BOLD
));
12149 PyDict_SetItemString(d
,"wxFONTWEIGHT_MAX", PyInt_FromLong((long) wxFONTWEIGHT_MAX
));
12150 PyDict_SetItemString(d
,"wxFONTENCODING_SYSTEM", PyInt_FromLong((long) wxFONTENCODING_SYSTEM
));
12151 PyDict_SetItemString(d
,"wxFONTENCODING_DEFAULT", PyInt_FromLong((long) wxFONTENCODING_DEFAULT
));
12152 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_1", PyInt_FromLong((long) wxFONTENCODING_ISO8859_1
));
12153 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_2", PyInt_FromLong((long) wxFONTENCODING_ISO8859_2
));
12154 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_3", PyInt_FromLong((long) wxFONTENCODING_ISO8859_3
));
12155 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_4", PyInt_FromLong((long) wxFONTENCODING_ISO8859_4
));
12156 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_5", PyInt_FromLong((long) wxFONTENCODING_ISO8859_5
));
12157 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_6", PyInt_FromLong((long) wxFONTENCODING_ISO8859_6
));
12158 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_7", PyInt_FromLong((long) wxFONTENCODING_ISO8859_7
));
12159 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_8", PyInt_FromLong((long) wxFONTENCODING_ISO8859_8
));
12160 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_9", PyInt_FromLong((long) wxFONTENCODING_ISO8859_9
));
12161 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_10", PyInt_FromLong((long) wxFONTENCODING_ISO8859_10
));
12162 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_11", PyInt_FromLong((long) wxFONTENCODING_ISO8859_11
));
12163 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_12", PyInt_FromLong((long) wxFONTENCODING_ISO8859_12
));
12164 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_13", PyInt_FromLong((long) wxFONTENCODING_ISO8859_13
));
12165 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_14", PyInt_FromLong((long) wxFONTENCODING_ISO8859_14
));
12166 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_15", PyInt_FromLong((long) wxFONTENCODING_ISO8859_15
));
12167 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_MAX", PyInt_FromLong((long) wxFONTENCODING_ISO8859_MAX
));
12168 PyDict_SetItemString(d
,"wxFONTENCODING_KOI8", PyInt_FromLong((long) wxFONTENCODING_KOI8
));
12169 PyDict_SetItemString(d
,"wxFONTENCODING_ALTERNATIVE", PyInt_FromLong((long) wxFONTENCODING_ALTERNATIVE
));
12170 PyDict_SetItemString(d
,"wxFONTENCODING_BULGARIAN", PyInt_FromLong((long) wxFONTENCODING_BULGARIAN
));
12171 PyDict_SetItemString(d
,"wxFONTENCODING_CP437", PyInt_FromLong((long) wxFONTENCODING_CP437
));
12172 PyDict_SetItemString(d
,"wxFONTENCODING_CP850", PyInt_FromLong((long) wxFONTENCODING_CP850
));
12173 PyDict_SetItemString(d
,"wxFONTENCODING_CP852", PyInt_FromLong((long) wxFONTENCODING_CP852
));
12174 PyDict_SetItemString(d
,"wxFONTENCODING_CP855", PyInt_FromLong((long) wxFONTENCODING_CP855
));
12175 PyDict_SetItemString(d
,"wxFONTENCODING_CP866", PyInt_FromLong((long) wxFONTENCODING_CP866
));
12176 PyDict_SetItemString(d
,"wxFONTENCODING_CP874", PyInt_FromLong((long) wxFONTENCODING_CP874
));
12177 PyDict_SetItemString(d
,"wxFONTENCODING_CP932", PyInt_FromLong((long) wxFONTENCODING_CP932
));
12178 PyDict_SetItemString(d
,"wxFONTENCODING_CP936", PyInt_FromLong((long) wxFONTENCODING_CP936
));
12179 PyDict_SetItemString(d
,"wxFONTENCODING_CP949", PyInt_FromLong((long) wxFONTENCODING_CP949
));
12180 PyDict_SetItemString(d
,"wxFONTENCODING_CP950", PyInt_FromLong((long) wxFONTENCODING_CP950
));
12181 PyDict_SetItemString(d
,"wxFONTENCODING_CP1250", PyInt_FromLong((long) wxFONTENCODING_CP1250
));
12182 PyDict_SetItemString(d
,"wxFONTENCODING_CP1251", PyInt_FromLong((long) wxFONTENCODING_CP1251
));
12183 PyDict_SetItemString(d
,"wxFONTENCODING_CP1252", PyInt_FromLong((long) wxFONTENCODING_CP1252
));
12184 PyDict_SetItemString(d
,"wxFONTENCODING_CP1253", PyInt_FromLong((long) wxFONTENCODING_CP1253
));
12185 PyDict_SetItemString(d
,"wxFONTENCODING_CP1254", PyInt_FromLong((long) wxFONTENCODING_CP1254
));
12186 PyDict_SetItemString(d
,"wxFONTENCODING_CP1255", PyInt_FromLong((long) wxFONTENCODING_CP1255
));
12187 PyDict_SetItemString(d
,"wxFONTENCODING_CP1256", PyInt_FromLong((long) wxFONTENCODING_CP1256
));
12188 PyDict_SetItemString(d
,"wxFONTENCODING_CP1257", PyInt_FromLong((long) wxFONTENCODING_CP1257
));
12189 PyDict_SetItemString(d
,"wxFONTENCODING_CP12_MAX", PyInt_FromLong((long) wxFONTENCODING_CP12_MAX
));
12190 PyDict_SetItemString(d
,"wxFONTENCODING_UTF7", PyInt_FromLong((long) wxFONTENCODING_UTF7
));
12191 PyDict_SetItemString(d
,"wxFONTENCODING_UTF8", PyInt_FromLong((long) wxFONTENCODING_UTF8
));
12192 PyDict_SetItemString(d
,"wxFONTENCODING_UNICODE", PyInt_FromLong((long) wxFONTENCODING_UNICODE
));
12193 PyDict_SetItemString(d
,"wxFONTENCODING_MAX", PyInt_FromLong((long) wxFONTENCODING_MAX
));
12194 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_NORMAL", PyInt_FromLong((long) wxIMAGELIST_DRAW_NORMAL
));
12195 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_TRANSPARENT", PyInt_FromLong((long) wxIMAGELIST_DRAW_TRANSPARENT
));
12196 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_SELECTED", PyInt_FromLong((long) wxIMAGELIST_DRAW_SELECTED
));
12197 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_FOCUSED", PyInt_FromLong((long) wxIMAGELIST_DRAW_FOCUSED
));
12198 PyDict_SetItemString(d
,"wxIMAGE_LIST_NORMAL", PyInt_FromLong((long) wxIMAGE_LIST_NORMAL
));
12199 PyDict_SetItemString(d
,"wxIMAGE_LIST_SMALL", PyInt_FromLong((long) wxIMAGE_LIST_SMALL
));
12200 PyDict_SetItemString(d
,"wxIMAGE_LIST_STATE", PyInt_FromLong((long) wxIMAGE_LIST_STATE
));
12201 PyDict_SetItemString(d
,"wxOutRegion", PyInt_FromLong((long) wxOutRegion
));
12202 PyDict_SetItemString(d
,"wxPartRegion", PyInt_FromLong((long) wxPartRegion
));
12203 PyDict_SetItemString(d
,"wxInRegion", PyInt_FromLong((long) wxInRegion
));
12204 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
12205 SWIG_addvarlink(SWIG_globals
,"wxNORMAL_FONT",_wrap_wxNORMAL_FONT_get
, _wrap_wxNORMAL_FONT_set
);
12206 SWIG_addvarlink(SWIG_globals
,"wxSMALL_FONT",_wrap_wxSMALL_FONT_get
, _wrap_wxSMALL_FONT_set
);
12207 SWIG_addvarlink(SWIG_globals
,"wxITALIC_FONT",_wrap_wxITALIC_FONT_get
, _wrap_wxITALIC_FONT_set
);
12208 SWIG_addvarlink(SWIG_globals
,"wxSWISS_FONT",_wrap_wxSWISS_FONT_get
, _wrap_wxSWISS_FONT_set
);
12209 SWIG_addvarlink(SWIG_globals
,"wxRED_PEN",_wrap_wxRED_PEN_get
, _wrap_wxRED_PEN_set
);
12210 SWIG_addvarlink(SWIG_globals
,"wxCYAN_PEN",_wrap_wxCYAN_PEN_get
, _wrap_wxCYAN_PEN_set
);
12211 SWIG_addvarlink(SWIG_globals
,"wxGREEN_PEN",_wrap_wxGREEN_PEN_get
, _wrap_wxGREEN_PEN_set
);
12212 SWIG_addvarlink(SWIG_globals
,"wxBLACK_PEN",_wrap_wxBLACK_PEN_get
, _wrap_wxBLACK_PEN_set
);
12213 SWIG_addvarlink(SWIG_globals
,"wxWHITE_PEN",_wrap_wxWHITE_PEN_get
, _wrap_wxWHITE_PEN_set
);
12214 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_PEN",_wrap_wxTRANSPARENT_PEN_get
, _wrap_wxTRANSPARENT_PEN_set
);
12215 SWIG_addvarlink(SWIG_globals
,"wxBLACK_DASHED_PEN",_wrap_wxBLACK_DASHED_PEN_get
, _wrap_wxBLACK_DASHED_PEN_set
);
12216 SWIG_addvarlink(SWIG_globals
,"wxGREY_PEN",_wrap_wxGREY_PEN_get
, _wrap_wxGREY_PEN_set
);
12217 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_PEN",_wrap_wxMEDIUM_GREY_PEN_get
, _wrap_wxMEDIUM_GREY_PEN_set
);
12218 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_PEN",_wrap_wxLIGHT_GREY_PEN_get
, _wrap_wxLIGHT_GREY_PEN_set
);
12219 SWIG_addvarlink(SWIG_globals
,"wxBLUE_BRUSH",_wrap_wxBLUE_BRUSH_get
, _wrap_wxBLUE_BRUSH_set
);
12220 SWIG_addvarlink(SWIG_globals
,"wxGREEN_BRUSH",_wrap_wxGREEN_BRUSH_get
, _wrap_wxGREEN_BRUSH_set
);
12221 SWIG_addvarlink(SWIG_globals
,"wxWHITE_BRUSH",_wrap_wxWHITE_BRUSH_get
, _wrap_wxWHITE_BRUSH_set
);
12222 SWIG_addvarlink(SWIG_globals
,"wxBLACK_BRUSH",_wrap_wxBLACK_BRUSH_get
, _wrap_wxBLACK_BRUSH_set
);
12223 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_BRUSH",_wrap_wxTRANSPARENT_BRUSH_get
, _wrap_wxTRANSPARENT_BRUSH_set
);
12224 SWIG_addvarlink(SWIG_globals
,"wxCYAN_BRUSH",_wrap_wxCYAN_BRUSH_get
, _wrap_wxCYAN_BRUSH_set
);
12225 SWIG_addvarlink(SWIG_globals
,"wxRED_BRUSH",_wrap_wxRED_BRUSH_get
, _wrap_wxRED_BRUSH_set
);
12226 SWIG_addvarlink(SWIG_globals
,"wxGREY_BRUSH",_wrap_wxGREY_BRUSH_get
, _wrap_wxGREY_BRUSH_set
);
12227 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_BRUSH",_wrap_wxMEDIUM_GREY_BRUSH_get
, _wrap_wxMEDIUM_GREY_BRUSH_set
);
12228 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_BRUSH",_wrap_wxLIGHT_GREY_BRUSH_get
, _wrap_wxLIGHT_GREY_BRUSH_set
);
12229 SWIG_addvarlink(SWIG_globals
,"wxBLACK",_wrap_wxBLACK_get
, _wrap_wxBLACK_set
);
12230 SWIG_addvarlink(SWIG_globals
,"wxWHITE",_wrap_wxWHITE_get
, _wrap_wxWHITE_set
);
12231 SWIG_addvarlink(SWIG_globals
,"wxRED",_wrap_wxRED_get
, _wrap_wxRED_set
);
12232 SWIG_addvarlink(SWIG_globals
,"wxBLUE",_wrap_wxBLUE_get
, _wrap_wxBLUE_set
);
12233 SWIG_addvarlink(SWIG_globals
,"wxGREEN",_wrap_wxGREEN_get
, _wrap_wxGREEN_set
);
12234 SWIG_addvarlink(SWIG_globals
,"wxCYAN",_wrap_wxCYAN_get
, _wrap_wxCYAN_set
);
12235 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY",_wrap_wxLIGHT_GREY_get
, _wrap_wxLIGHT_GREY_set
);
12236 SWIG_addvarlink(SWIG_globals
,"wxSTANDARD_CURSOR",_wrap_wxSTANDARD_CURSOR_get
, _wrap_wxSTANDARD_CURSOR_set
);
12237 SWIG_addvarlink(SWIG_globals
,"wxHOURGLASS_CURSOR",_wrap_wxHOURGLASS_CURSOR_get
, _wrap_wxHOURGLASS_CURSOR_set
);
12238 SWIG_addvarlink(SWIG_globals
,"wxCROSS_CURSOR",_wrap_wxCROSS_CURSOR_get
, _wrap_wxCROSS_CURSOR_set
);
12239 SWIG_addvarlink(SWIG_globals
,"wxNullBitmap",_wrap_wxNullBitmap_get
, _wrap_wxNullBitmap_set
);
12240 SWIG_addvarlink(SWIG_globals
,"wxNullIcon",_wrap_wxNullIcon_get
, _wrap_wxNullIcon_set
);
12241 SWIG_addvarlink(SWIG_globals
,"wxNullCursor",_wrap_wxNullCursor_get
, _wrap_wxNullCursor_set
);
12242 SWIG_addvarlink(SWIG_globals
,"wxNullPen",_wrap_wxNullPen_get
, _wrap_wxNullPen_set
);
12243 SWIG_addvarlink(SWIG_globals
,"wxNullBrush",_wrap_wxNullBrush_get
, _wrap_wxNullBrush_set
);
12244 SWIG_addvarlink(SWIG_globals
,"wxNullPalette",_wrap_wxNullPalette_get
, _wrap_wxNullPalette_set
);
12245 SWIG_addvarlink(SWIG_globals
,"wxNullFont",_wrap_wxNullFont_get
, _wrap_wxNullFont_set
);
12246 SWIG_addvarlink(SWIG_globals
,"wxNullColour",_wrap_wxNullColour_get
, _wrap_wxNullColour_set
);
12247 SWIG_addvarlink(SWIG_globals
,"wxTheFontList",_wrap_wxTheFontList_get
, _wrap_wxTheFontList_set
);
12248 SWIG_addvarlink(SWIG_globals
,"wxThePenList",_wrap_wxThePenList_get
, _wrap_wxThePenList_set
);
12249 SWIG_addvarlink(SWIG_globals
,"wxTheBrushList",_wrap_wxTheBrushList_get
, _wrap_wxTheBrushList_set
);
12250 SWIG_addvarlink(SWIG_globals
,"wxTheColourDatabase",_wrap_wxTheColourDatabase_get
, _wrap_wxTheColourDatabase_set
);
12253 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
12254 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);