2 * FILE : src/gtk/gdi.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initgdic
56 #define SWIG_name "gdic"
59 #include <wx/imaglist.h>
60 #include <wx/fontmap.h>
61 #include <wx/fontenc.h>
62 #include <wx/fontmap.h>
63 #include <wx/fontutil.h>
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_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
2166 static PyObject
*_wrap_wxIcon_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2167 PyObject
* _resultobj
;
2172 PyObject
* _argo0
= 0;
2173 PyObject
* _obj1
= 0;
2174 char *_kwnames
[] = { "self","name","flags", NULL
};
2177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOl:wxIcon_LoadFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
2180 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2181 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_LoadFile. Expected _wxIcon_p.");
2187 _arg1
= wxString_in_helper(_obj1
);
2192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2193 _result
= (bool )wxIcon_LoadFile(_arg0
,*_arg1
,_arg2
);
2195 wxPyEndAllowThreads(__tstate
);
2196 if (PyErr_Occurred()) return NULL
;
2197 } _resultobj
= Py_BuildValue("i",_result
);
2205 #define wxIcon_Ok(_swigobj) (_swigobj->Ok())
2206 static PyObject
*_wrap_wxIcon_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2207 PyObject
* _resultobj
;
2210 PyObject
* _argo0
= 0;
2211 char *_kwnames
[] = { "self", NULL
};
2214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_Ok",_kwnames
,&_argo0
))
2217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_Ok. Expected _wxIcon_p.");
2224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2225 _result
= (bool )wxIcon_Ok(_arg0
);
2227 wxPyEndAllowThreads(__tstate
);
2228 if (PyErr_Occurred()) return NULL
;
2229 } _resultobj
= Py_BuildValue("i",_result
);
2233 #define wxIcon_GetWidth(_swigobj) (_swigobj->GetWidth())
2234 static PyObject
*_wrap_wxIcon_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2235 PyObject
* _resultobj
;
2238 PyObject
* _argo0
= 0;
2239 char *_kwnames
[] = { "self", NULL
};
2242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetWidth",_kwnames
,&_argo0
))
2245 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2246 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetWidth. Expected _wxIcon_p.");
2252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2253 _result
= (int )wxIcon_GetWidth(_arg0
);
2255 wxPyEndAllowThreads(__tstate
);
2256 if (PyErr_Occurred()) return NULL
;
2257 } _resultobj
= Py_BuildValue("i",_result
);
2261 #define wxIcon_GetHeight(_swigobj) (_swigobj->GetHeight())
2262 static PyObject
*_wrap_wxIcon_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2263 PyObject
* _resultobj
;
2266 PyObject
* _argo0
= 0;
2267 char *_kwnames
[] = { "self", NULL
};
2270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetHeight",_kwnames
,&_argo0
))
2273 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2274 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetHeight. Expected _wxIcon_p.");
2280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2281 _result
= (int )wxIcon_GetHeight(_arg0
);
2283 wxPyEndAllowThreads(__tstate
);
2284 if (PyErr_Occurred()) return NULL
;
2285 } _resultobj
= Py_BuildValue("i",_result
);
2289 #define wxIcon_GetDepth(_swigobj) (_swigobj->GetDepth())
2290 static PyObject
*_wrap_wxIcon_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2291 PyObject
* _resultobj
;
2294 PyObject
* _argo0
= 0;
2295 char *_kwnames
[] = { "self", NULL
};
2298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetDepth",_kwnames
,&_argo0
))
2301 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2302 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetDepth. Expected _wxIcon_p.");
2308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2309 _result
= (int )wxIcon_GetDepth(_arg0
);
2311 wxPyEndAllowThreads(__tstate
);
2312 if (PyErr_Occurred()) return NULL
;
2313 } _resultobj
= Py_BuildValue("i",_result
);
2317 #define wxIcon_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2318 static PyObject
*_wrap_wxIcon_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2319 PyObject
* _resultobj
;
2322 PyObject
* _argo0
= 0;
2323 char *_kwnames
[] = { "self","w", NULL
};
2326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetWidth",_kwnames
,&_argo0
,&_arg1
))
2329 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2330 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetWidth. Expected _wxIcon_p.");
2336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2337 wxIcon_SetWidth(_arg0
,_arg1
);
2339 wxPyEndAllowThreads(__tstate
);
2340 if (PyErr_Occurred()) return NULL
;
2341 } Py_INCREF(Py_None
);
2342 _resultobj
= Py_None
;
2346 #define wxIcon_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
2347 static PyObject
*_wrap_wxIcon_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2348 PyObject
* _resultobj
;
2351 PyObject
* _argo0
= 0;
2352 char *_kwnames
[] = { "self","h", NULL
};
2355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetHeight",_kwnames
,&_argo0
,&_arg1
))
2358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetHeight. Expected _wxIcon_p.");
2365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2366 wxIcon_SetHeight(_arg0
,_arg1
);
2368 wxPyEndAllowThreads(__tstate
);
2369 if (PyErr_Occurred()) return NULL
;
2370 } Py_INCREF(Py_None
);
2371 _resultobj
= Py_None
;
2375 #define wxIcon_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
2376 static PyObject
*_wrap_wxIcon_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2377 PyObject
* _resultobj
;
2380 PyObject
* _argo0
= 0;
2381 char *_kwnames
[] = { "self","d", NULL
};
2384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetDepth",_kwnames
,&_argo0
,&_arg1
))
2387 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2388 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetDepth. Expected _wxIcon_p.");
2394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2395 wxIcon_SetDepth(_arg0
,_arg1
);
2397 wxPyEndAllowThreads(__tstate
);
2398 if (PyErr_Occurred()) return NULL
;
2399 } Py_INCREF(Py_None
);
2400 _resultobj
= Py_None
;
2404 #define wxIcon_CopyFromBitmap(_swigobj,_swigarg0) (_swigobj->CopyFromBitmap(_swigarg0))
2405 static PyObject
*_wrap_wxIcon_CopyFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2406 PyObject
* _resultobj
;
2409 PyObject
* _argo0
= 0;
2410 PyObject
* _argo1
= 0;
2411 char *_kwnames
[] = { "self","bmp", NULL
};
2414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxIcon_CopyFromBitmap",_kwnames
,&_argo0
,&_argo1
))
2417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_CopyFromBitmap. Expected _wxIcon_p.");
2424 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2425 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
2426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIcon_CopyFromBitmap. Expected _wxBitmap_p.");
2431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2432 wxIcon_CopyFromBitmap(_arg0
,*_arg1
);
2434 wxPyEndAllowThreads(__tstate
);
2435 if (PyErr_Occurred()) return NULL
;
2436 } Py_INCREF(Py_None
);
2437 _resultobj
= Py_None
;
2441 static void *SwigwxCursorTowxGDIObject(void *ptr
) {
2444 src
= (wxCursor
*) ptr
;
2445 dest
= (wxGDIObject
*) src
;
2446 return (void *) dest
;
2449 static void *SwigwxCursorTowxObject(void *ptr
) {
2452 src
= (wxCursor
*) ptr
;
2453 dest
= (wxObject
*) src
;
2454 return (void *) dest
;
2457 #define delete_wxCursor(_swigobj) (delete _swigobj)
2458 static PyObject
*_wrap_delete_wxCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2459 PyObject
* _resultobj
;
2461 PyObject
* _argo0
= 0;
2462 char *_kwnames
[] = { "self", NULL
};
2465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCursor",_kwnames
,&_argo0
))
2468 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2469 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
2470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCursor. Expected _wxCursor_p.");
2475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2476 delete_wxCursor(_arg0
);
2478 wxPyEndAllowThreads(__tstate
);
2479 if (PyErr_Occurred()) return NULL
;
2480 } Py_INCREF(Py_None
);
2481 _resultobj
= Py_None
;
2485 #define wxCursor_Ok(_swigobj) (_swigobj->Ok())
2486 static PyObject
*_wrap_wxCursor_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2487 PyObject
* _resultobj
;
2490 PyObject
* _argo0
= 0;
2491 char *_kwnames
[] = { "self", NULL
};
2494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCursor_Ok",_kwnames
,&_argo0
))
2497 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2498 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
2499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_Ok. Expected _wxCursor_p.");
2504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2505 _result
= (bool )wxCursor_Ok(_arg0
);
2507 wxPyEndAllowThreads(__tstate
);
2508 if (PyErr_Occurred()) return NULL
;
2509 } _resultobj
= Py_BuildValue("i",_result
);
2513 #define wxNativeFontInfo_FromXFontName(_swigobj,_swigarg0) (_swigobj->FromXFontName(_swigarg0))
2514 static PyObject
*_wrap_wxNativeFontInfo_FromXFontName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2515 PyObject
* _resultobj
;
2517 wxNativeFontInfo
* _arg0
;
2519 PyObject
* _argo0
= 0;
2520 PyObject
* _obj1
= 0;
2521 char *_kwnames
[] = { "self","xFontName", NULL
};
2524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNativeFontInfo_FromXFontName",_kwnames
,&_argo0
,&_obj1
))
2527 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2528 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_FromXFontName. Expected _wxNativeFontInfo_p.");
2534 _arg1
= wxString_in_helper(_obj1
);
2539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2540 _result
= (bool )wxNativeFontInfo_FromXFontName(_arg0
,*_arg1
);
2542 wxPyEndAllowThreads(__tstate
);
2543 if (PyErr_Occurred()) return NULL
;
2544 } _resultobj
= Py_BuildValue("i",_result
);
2552 #define wxNativeFontInfo_IsDefault(_swigobj) (_swigobj->IsDefault())
2553 static PyObject
*_wrap_wxNativeFontInfo_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2554 PyObject
* _resultobj
;
2556 wxNativeFontInfo
* _arg0
;
2557 PyObject
* _argo0
= 0;
2558 char *_kwnames
[] = { "self", NULL
};
2561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_IsDefault",_kwnames
,&_argo0
))
2564 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2565 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_IsDefault. Expected _wxNativeFontInfo_p.");
2571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2572 _result
= (bool )wxNativeFontInfo_IsDefault(_arg0
);
2574 wxPyEndAllowThreads(__tstate
);
2575 if (PyErr_Occurred()) return NULL
;
2576 } _resultobj
= Py_BuildValue("i",_result
);
2580 #define wxNativeFontInfo_GetXFontName(_swigobj) (_swigobj->GetXFontName())
2581 static PyObject
*_wrap_wxNativeFontInfo_GetXFontName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2582 PyObject
* _resultobj
;
2584 wxNativeFontInfo
* _arg0
;
2585 PyObject
* _argo0
= 0;
2586 char *_kwnames
[] = { "self", NULL
};
2589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_GetXFontName",_kwnames
,&_argo0
))
2592 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2593 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_GetXFontName. Expected _wxNativeFontInfo_p.");
2599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2600 _result
= new wxString (wxNativeFontInfo_GetXFontName(_arg0
));
2602 wxPyEndAllowThreads(__tstate
);
2603 if (PyErr_Occurred()) return NULL
;
2606 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2608 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2617 #define wxNativeFontInfo_SetXFontName(_swigobj,_swigarg0) (_swigobj->SetXFontName(_swigarg0))
2618 static PyObject
*_wrap_wxNativeFontInfo_SetXFontName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2619 PyObject
* _resultobj
;
2620 wxNativeFontInfo
* _arg0
;
2622 PyObject
* _argo0
= 0;
2623 PyObject
* _obj1
= 0;
2624 char *_kwnames
[] = { "self","xFontName", NULL
};
2627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNativeFontInfo_SetXFontName",_kwnames
,&_argo0
,&_obj1
))
2630 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2631 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_SetXFontName. Expected _wxNativeFontInfo_p.");
2637 _arg1
= wxString_in_helper(_obj1
);
2642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2643 wxNativeFontInfo_SetXFontName(_arg0
,*_arg1
);
2645 wxPyEndAllowThreads(__tstate
);
2646 if (PyErr_Occurred()) return NULL
;
2647 } Py_INCREF(Py_None
);
2648 _resultobj
= Py_None
;
2656 #define new_wxNativeFontInfo() (new wxNativeFontInfo())
2657 static PyObject
*_wrap_new_wxNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2658 PyObject
* _resultobj
;
2659 wxNativeFontInfo
* _result
;
2660 char *_kwnames
[] = { NULL
};
2664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxNativeFontInfo",_kwnames
))
2667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2668 _result
= (wxNativeFontInfo
*)new_wxNativeFontInfo();
2670 wxPyEndAllowThreads(__tstate
);
2671 if (PyErr_Occurred()) return NULL
;
2673 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNativeFontInfo_p");
2674 _resultobj
= Py_BuildValue("s",_ptemp
);
2677 _resultobj
= Py_None
;
2682 #define wxNativeFontInfo_Init(_swigobj) (_swigobj->Init())
2683 static PyObject
*_wrap_wxNativeFontInfo_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2684 PyObject
* _resultobj
;
2685 wxNativeFontInfo
* _arg0
;
2686 PyObject
* _argo0
= 0;
2687 char *_kwnames
[] = { "self", NULL
};
2690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_Init",_kwnames
,&_argo0
))
2693 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2694 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_Init. Expected _wxNativeFontInfo_p.");
2700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2701 wxNativeFontInfo_Init(_arg0
);
2703 wxPyEndAllowThreads(__tstate
);
2704 if (PyErr_Occurred()) return NULL
;
2705 } Py_INCREF(Py_None
);
2706 _resultobj
= Py_None
;
2710 #define wxNativeFontInfo_FromString(_swigobj,_swigarg0) (_swigobj->FromString(_swigarg0))
2711 static PyObject
*_wrap_wxNativeFontInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2712 PyObject
* _resultobj
;
2714 wxNativeFontInfo
* _arg0
;
2716 PyObject
* _argo0
= 0;
2717 PyObject
* _obj1
= 0;
2718 char *_kwnames
[] = { "self","s", NULL
};
2721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNativeFontInfo_FromString",_kwnames
,&_argo0
,&_obj1
))
2724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_FromString. Expected _wxNativeFontInfo_p.");
2731 _arg1
= wxString_in_helper(_obj1
);
2736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2737 _result
= (bool )wxNativeFontInfo_FromString(_arg0
,*_arg1
);
2739 wxPyEndAllowThreads(__tstate
);
2740 if (PyErr_Occurred()) return NULL
;
2741 } _resultobj
= Py_BuildValue("i",_result
);
2749 #define wxNativeFontInfo_ToString(_swigobj) (_swigobj->ToString())
2750 static PyObject
*_wrap_wxNativeFontInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2751 PyObject
* _resultobj
;
2753 wxNativeFontInfo
* _arg0
;
2754 PyObject
* _argo0
= 0;
2755 char *_kwnames
[] = { "self", NULL
};
2758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_ToString",_kwnames
,&_argo0
))
2761 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2762 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_ToString. Expected _wxNativeFontInfo_p.");
2768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2769 _result
= new wxString (wxNativeFontInfo_ToString(_arg0
));
2771 wxPyEndAllowThreads(__tstate
);
2772 if (PyErr_Occurred()) return NULL
;
2775 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2777 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2786 static wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
) {
2787 return self
->ToString();
2789 static PyObject
*_wrap_wxNativeFontInfo___str__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2790 PyObject
* _resultobj
;
2792 wxNativeFontInfo
* _arg0
;
2793 PyObject
* _argo0
= 0;
2794 char *_kwnames
[] = { "self", NULL
};
2797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo___str__",_kwnames
,&_argo0
))
2800 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2801 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo___str__. Expected _wxNativeFontInfo_p.");
2807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2808 _result
= new wxString (wxNativeFontInfo___str__(_arg0
));
2810 wxPyEndAllowThreads(__tstate
);
2811 if (PyErr_Occurred()) return NULL
;
2814 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2816 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2825 #define wxNativeFontInfo_FromUserString(_swigobj,_swigarg0) (_swigobj->FromUserString(_swigarg0))
2826 static PyObject
*_wrap_wxNativeFontInfo_FromUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2827 PyObject
* _resultobj
;
2829 wxNativeFontInfo
* _arg0
;
2831 PyObject
* _argo0
= 0;
2832 PyObject
* _obj1
= 0;
2833 char *_kwnames
[] = { "self","s", NULL
};
2836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNativeFontInfo_FromUserString",_kwnames
,&_argo0
,&_obj1
))
2839 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2840 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_FromUserString. Expected _wxNativeFontInfo_p.");
2846 _arg1
= wxString_in_helper(_obj1
);
2851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2852 _result
= (bool )wxNativeFontInfo_FromUserString(_arg0
,*_arg1
);
2854 wxPyEndAllowThreads(__tstate
);
2855 if (PyErr_Occurred()) return NULL
;
2856 } _resultobj
= Py_BuildValue("i",_result
);
2864 #define wxNativeFontInfo_ToUserString(_swigobj) (_swigobj->ToUserString())
2865 static PyObject
*_wrap_wxNativeFontInfo_ToUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2866 PyObject
* _resultobj
;
2868 wxNativeFontInfo
* _arg0
;
2869 PyObject
* _argo0
= 0;
2870 char *_kwnames
[] = { "self", NULL
};
2873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_ToUserString",_kwnames
,&_argo0
))
2876 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2877 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_ToUserString. Expected _wxNativeFontInfo_p.");
2883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2884 _result
= new wxString (wxNativeFontInfo_ToUserString(_arg0
));
2886 wxPyEndAllowThreads(__tstate
);
2887 if (PyErr_Occurred()) return NULL
;
2890 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2892 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2901 #define new_wxFontMapper() (new wxFontMapper())
2902 static PyObject
*_wrap_new_wxFontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2903 PyObject
* _resultobj
;
2904 wxFontMapper
* _result
;
2905 char *_kwnames
[] = { NULL
};
2909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFontMapper",_kwnames
))
2912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2913 _result
= (wxFontMapper
*)new_wxFontMapper();
2915 wxPyEndAllowThreads(__tstate
);
2916 if (PyErr_Occurred()) return NULL
;
2918 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFontMapper_p");
2919 _resultobj
= Py_BuildValue("s",_ptemp
);
2922 _resultobj
= Py_None
;
2927 #define delete_wxFontMapper(_swigobj) (delete _swigobj)
2928 static PyObject
*_wrap_delete_wxFontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2929 PyObject
* _resultobj
;
2930 wxFontMapper
* _arg0
;
2931 PyObject
* _argo0
= 0;
2932 char *_kwnames
[] = { "self", NULL
};
2935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFontMapper",_kwnames
,&_argo0
))
2938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
2940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFontMapper. Expected _wxFontMapper_p.");
2945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2946 delete_wxFontMapper(_arg0
);
2948 wxPyEndAllowThreads(__tstate
);
2949 if (PyErr_Occurred()) return NULL
;
2950 } Py_INCREF(Py_None
);
2951 _resultobj
= Py_None
;
2955 static PyObject
* wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,const wxString
& facename
,bool interactive
) {
2956 wxFontEncoding alt_enc
;
2957 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
2958 return PyInt_FromLong(alt_enc
);
2964 static PyObject
*_wrap_wxFontMapper_GetAltForEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2965 PyObject
* _resultobj
;
2967 wxFontMapper
* _arg0
;
2968 wxFontEncoding _arg1
;
2969 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
2970 bool _arg3
= (bool ) TRUE
;
2971 PyObject
* _argo0
= 0;
2972 PyObject
* _obj2
= 0;
2973 int tempbool3
= (int) TRUE
;
2974 char *_kwnames
[] = { "self","encoding","facename","interactive", NULL
};
2977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|Oi:wxFontMapper_GetAltForEncoding",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&tempbool3
))
2980 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2981 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
2982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_GetAltForEncoding. Expected _wxFontMapper_p.");
2988 _arg2
= wxString_in_helper(_obj2
);
2992 _arg3
= (bool ) tempbool3
;
2994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2995 _result
= (PyObject
*)wxFontMapper_GetAltForEncoding(_arg0
,_arg1
,*_arg2
,_arg3
);
2997 wxPyEndAllowThreads(__tstate
);
2998 if (PyErr_Occurred()) return NULL
;
3000 _resultobj
= _result
;
3009 #define wxFontMapper_IsEncodingAvailable(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsEncodingAvailable(_swigarg0,_swigarg1))
3010 static PyObject
*_wrap_wxFontMapper_IsEncodingAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3011 PyObject
* _resultobj
;
3013 wxFontMapper
* _arg0
;
3014 wxFontEncoding _arg1
;
3015 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
3016 PyObject
* _argo0
= 0;
3017 PyObject
* _obj2
= 0;
3018 char *_kwnames
[] = { "self","encoding","facename", NULL
};
3021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|O:wxFontMapper_IsEncodingAvailable",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3024 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3025 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
3026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_IsEncodingAvailable. Expected _wxFontMapper_p.");
3032 _arg2
= wxString_in_helper(_obj2
);
3037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3038 _result
= (bool )wxFontMapper_IsEncodingAvailable(_arg0
,_arg1
,*_arg2
);
3040 wxPyEndAllowThreads(__tstate
);
3041 if (PyErr_Occurred()) return NULL
;
3042 } _resultobj
= Py_BuildValue("i",_result
);
3050 #define wxFontMapper_CharsetToEncoding(_swigobj,_swigarg0,_swigarg1) (_swigobj->CharsetToEncoding(_swigarg0,_swigarg1))
3051 static PyObject
*_wrap_wxFontMapper_CharsetToEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3052 PyObject
* _resultobj
;
3053 wxFontEncoding _result
;
3054 wxFontMapper
* _arg0
;
3056 bool _arg2
= (bool ) TRUE
;
3057 PyObject
* _argo0
= 0;
3058 PyObject
* _obj1
= 0;
3059 int tempbool2
= (int) TRUE
;
3060 char *_kwnames
[] = { "self","charset","interactive", NULL
};
3063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFontMapper_CharsetToEncoding",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
3066 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3067 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
3068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_CharsetToEncoding. Expected _wxFontMapper_p.");
3073 _arg1
= wxString_in_helper(_obj1
);
3077 _arg2
= (bool ) tempbool2
;
3079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3080 _result
= (wxFontEncoding
)wxFontMapper_CharsetToEncoding(_arg0
,*_arg1
,_arg2
);
3082 wxPyEndAllowThreads(__tstate
);
3083 if (PyErr_Occurred()) return NULL
;
3084 } _resultobj
= Py_BuildValue("i",_result
);
3092 static PyObject
*_wrap_wxFontMapper_GetEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3093 PyObject
* _resultobj
;
3095 wxFontEncoding _arg0
;
3096 char *_kwnames
[] = { "encoding", NULL
};
3099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxFontMapper_GetEncodingName",_kwnames
,&_arg0
))
3102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3103 _result
= new wxString (wxFontMapper::GetEncodingName(_arg0
));
3105 wxPyEndAllowThreads(__tstate
);
3106 if (PyErr_Occurred()) return NULL
;
3109 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3111 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3120 static PyObject
*_wrap_wxFontMapper_GetEncodingDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3121 PyObject
* _resultobj
;
3123 wxFontEncoding _arg0
;
3124 char *_kwnames
[] = { "encoding", NULL
};
3127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxFontMapper_GetEncodingDescription",_kwnames
,&_arg0
))
3130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3131 _result
= new wxString (wxFontMapper::GetEncodingDescription(_arg0
));
3133 wxPyEndAllowThreads(__tstate
);
3134 if (PyErr_Occurred()) return NULL
;
3137 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3139 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3148 #define wxFontMapper_SetDialogParent(_swigobj,_swigarg0) (_swigobj->SetDialogParent(_swigarg0))
3149 static PyObject
*_wrap_wxFontMapper_SetDialogParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3150 PyObject
* _resultobj
;
3151 wxFontMapper
* _arg0
;
3153 PyObject
* _argo0
= 0;
3154 PyObject
* _argo1
= 0;
3155 char *_kwnames
[] = { "self","parent", NULL
};
3158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontMapper_SetDialogParent",_kwnames
,&_argo0
,&_argo1
))
3161 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3162 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
3163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_SetDialogParent. Expected _wxFontMapper_p.");
3168 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3169 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontMapper_SetDialogParent. Expected _wxWindow_p.");
3175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3176 wxFontMapper_SetDialogParent(_arg0
,_arg1
);
3178 wxPyEndAllowThreads(__tstate
);
3179 if (PyErr_Occurred()) return NULL
;
3180 } Py_INCREF(Py_None
);
3181 _resultobj
= Py_None
;
3185 #define wxFontMapper_SetDialogTitle(_swigobj,_swigarg0) (_swigobj->SetDialogTitle(_swigarg0))
3186 static PyObject
*_wrap_wxFontMapper_SetDialogTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3187 PyObject
* _resultobj
;
3188 wxFontMapper
* _arg0
;
3190 PyObject
* _argo0
= 0;
3191 PyObject
* _obj1
= 0;
3192 char *_kwnames
[] = { "self","title", NULL
};
3195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontMapper_SetDialogTitle",_kwnames
,&_argo0
,&_obj1
))
3198 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3199 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
3200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_SetDialogTitle. Expected _wxFontMapper_p.");
3205 _arg1
= wxString_in_helper(_obj1
);
3210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3211 wxFontMapper_SetDialogTitle(_arg0
,*_arg1
);
3213 wxPyEndAllowThreads(__tstate
);
3214 if (PyErr_Occurred()) return NULL
;
3215 } Py_INCREF(Py_None
);
3216 _resultobj
= Py_None
;
3224 #define wxFontMapper_SetConfig(_swigobj,_swigarg0) (_swigobj->SetConfig(_swigarg0))
3225 static PyObject
*_wrap_wxFontMapper_SetConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3226 PyObject
* _resultobj
;
3227 wxFontMapper
* _arg0
;
3228 wxConfigBase
* _arg1
;
3229 PyObject
* _argo0
= 0;
3230 PyObject
* _argo1
= 0;
3231 char *_kwnames
[] = { "self","config", NULL
};
3234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontMapper_SetConfig",_kwnames
,&_argo0
,&_argo1
))
3237 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3238 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
3239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_SetConfig. Expected _wxFontMapper_p.");
3244 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3245 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
3246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontMapper_SetConfig. Expected _wxConfigBase_p.");
3251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3252 wxFontMapper_SetConfig(_arg0
,_arg1
);
3254 wxPyEndAllowThreads(__tstate
);
3255 if (PyErr_Occurred()) return NULL
;
3256 } Py_INCREF(Py_None
);
3257 _resultobj
= Py_None
;
3261 #define wxFontMapper_SetConfigPath(_swigobj,_swigarg0) (_swigobj->SetConfigPath(_swigarg0))
3262 static PyObject
*_wrap_wxFontMapper_SetConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3263 PyObject
* _resultobj
;
3264 wxFontMapper
* _arg0
;
3266 PyObject
* _argo0
= 0;
3267 PyObject
* _obj1
= 0;
3268 char *_kwnames
[] = { "self","prefix", NULL
};
3271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontMapper_SetConfigPath",_kwnames
,&_argo0
,&_obj1
))
3274 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3275 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
3276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_SetConfigPath. Expected _wxFontMapper_p.");
3281 _arg1
= wxString_in_helper(_obj1
);
3286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3287 wxFontMapper_SetConfigPath(_arg0
,*_arg1
);
3289 wxPyEndAllowThreads(__tstate
);
3290 if (PyErr_Occurred()) return NULL
;
3291 } Py_INCREF(Py_None
);
3292 _resultobj
= Py_None
;
3300 static PyObject
*_wrap_wxFontMapper_GetDefaultConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3301 PyObject
* _resultobj
;
3303 char *_kwnames
[] = { NULL
};
3306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxFontMapper_GetDefaultConfigPath",_kwnames
))
3309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3310 _result
= (wxChar
*)wxFontMapper::GetDefaultConfigPath();
3312 wxPyEndAllowThreads(__tstate
);
3313 if (PyErr_Occurred()) return NULL
;
3314 } _resultobj
= Py_BuildValue("s", _result
);
3318 static void *SwigwxFontTowxGDIObject(void *ptr
) {
3321 src
= (wxFont
*) ptr
;
3322 dest
= (wxGDIObject
*) src
;
3323 return (void *) dest
;
3326 static void *SwigwxFontTowxObject(void *ptr
) {
3329 src
= (wxFont
*) ptr
;
3330 dest
= (wxObject
*) src
;
3331 return (void *) dest
;
3334 #define new_wxFont(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxFont(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3335 static PyObject
*_wrap_new_wxFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3336 PyObject
* _resultobj
;
3342 int _arg4
= (int ) FALSE
;
3343 char * _arg5
= (char *) "";
3344 wxFontEncoding _arg6
= (wxFontEncoding
) (wxFONTENCODING_DEFAULT
);
3345 char *_kwnames
[] = { "pointSize","family","style","weight","underline","faceName","encoding", NULL
};
3349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiii|isi:new_wxFont",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
3352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3353 _result
= (wxFont
*)new_wxFont(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
3355 wxPyEndAllowThreads(__tstate
);
3356 if (PyErr_Occurred()) return NULL
;
3358 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
3359 _resultobj
= Py_BuildValue("s",_ptemp
);
3362 _resultobj
= Py_None
;
3367 #define new_wxFontFromNativeInfo(_swigarg0) (new wxFont(_swigarg0))
3368 static PyObject
*_wrap_new_wxFontFromNativeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3369 PyObject
* _resultobj
;
3371 wxNativeFontInfo
* _arg0
;
3372 PyObject
* _argo0
= 0;
3373 char *_kwnames
[] = { "info", NULL
};
3377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFontFromNativeInfo",_kwnames
,&_argo0
))
3380 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3381 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFontFromNativeInfo. Expected _wxNativeFontInfo_p.");
3387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3388 _result
= (wxFont
*)new_wxFontFromNativeInfo(*_arg0
);
3390 wxPyEndAllowThreads(__tstate
);
3391 if (PyErr_Occurred()) return NULL
;
3393 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
3394 _resultobj
= Py_BuildValue("s",_ptemp
);
3397 _resultobj
= Py_None
;
3402 #define delete_wxFont(_swigobj) (delete _swigobj)
3403 static PyObject
*_wrap_delete_wxFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3404 PyObject
* _resultobj
;
3406 PyObject
* _argo0
= 0;
3407 char *_kwnames
[] = { "self", NULL
};
3410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFont",_kwnames
,&_argo0
))
3413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFont. Expected _wxFont_p.");
3420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3421 delete_wxFont(_arg0
);
3423 wxPyEndAllowThreads(__tstate
);
3424 if (PyErr_Occurred()) return NULL
;
3425 } Py_INCREF(Py_None
);
3426 _resultobj
= Py_None
;
3430 #define wxFont_Ok(_swigobj) (_swigobj->Ok())
3431 static PyObject
*_wrap_wxFont_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3432 PyObject
* _resultobj
;
3435 PyObject
* _argo0
= 0;
3436 char *_kwnames
[] = { "self", NULL
};
3439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_Ok",_kwnames
,&_argo0
))
3442 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3443 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_Ok. Expected _wxFont_p.");
3449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3450 _result
= (bool )wxFont_Ok(_arg0
);
3452 wxPyEndAllowThreads(__tstate
);
3453 if (PyErr_Occurred()) return NULL
;
3454 } _resultobj
= Py_BuildValue("i",_result
);
3458 #define wxFont_GetPointSize(_swigobj) (_swigobj->GetPointSize())
3459 static PyObject
*_wrap_wxFont_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3460 PyObject
* _resultobj
;
3463 PyObject
* _argo0
= 0;
3464 char *_kwnames
[] = { "self", NULL
};
3467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetPointSize",_kwnames
,&_argo0
))
3470 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3471 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetPointSize. Expected _wxFont_p.");
3477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3478 _result
= (int )wxFont_GetPointSize(_arg0
);
3480 wxPyEndAllowThreads(__tstate
);
3481 if (PyErr_Occurred()) return NULL
;
3482 } _resultobj
= Py_BuildValue("i",_result
);
3486 #define wxFont_GetFamily(_swigobj) (_swigobj->GetFamily())
3487 static PyObject
*_wrap_wxFont_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3488 PyObject
* _resultobj
;
3491 PyObject
* _argo0
= 0;
3492 char *_kwnames
[] = { "self", NULL
};
3495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFamily",_kwnames
,&_argo0
))
3498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFamily. Expected _wxFont_p.");
3505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3506 _result
= (int )wxFont_GetFamily(_arg0
);
3508 wxPyEndAllowThreads(__tstate
);
3509 if (PyErr_Occurred()) return NULL
;
3510 } _resultobj
= Py_BuildValue("i",_result
);
3514 #define wxFont_GetStyle(_swigobj) (_swigobj->GetStyle())
3515 static PyObject
*_wrap_wxFont_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3516 PyObject
* _resultobj
;
3519 PyObject
* _argo0
= 0;
3520 char *_kwnames
[] = { "self", NULL
};
3523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetStyle",_kwnames
,&_argo0
))
3526 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3527 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetStyle. Expected _wxFont_p.");
3533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3534 _result
= (int )wxFont_GetStyle(_arg0
);
3536 wxPyEndAllowThreads(__tstate
);
3537 if (PyErr_Occurred()) return NULL
;
3538 } _resultobj
= Py_BuildValue("i",_result
);
3542 #define wxFont_GetWeight(_swigobj) (_swigobj->GetWeight())
3543 static PyObject
*_wrap_wxFont_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3544 PyObject
* _resultobj
;
3547 PyObject
* _argo0
= 0;
3548 char *_kwnames
[] = { "self", NULL
};
3551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetWeight",_kwnames
,&_argo0
))
3554 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3555 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetWeight. Expected _wxFont_p.");
3561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3562 _result
= (int )wxFont_GetWeight(_arg0
);
3564 wxPyEndAllowThreads(__tstate
);
3565 if (PyErr_Occurred()) return NULL
;
3566 } _resultobj
= Py_BuildValue("i",_result
);
3570 #define wxFont_GetUnderlined(_swigobj) (_swigobj->GetUnderlined())
3571 static PyObject
*_wrap_wxFont_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3572 PyObject
* _resultobj
;
3575 PyObject
* _argo0
= 0;
3576 char *_kwnames
[] = { "self", NULL
};
3579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetUnderlined",_kwnames
,&_argo0
))
3582 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3583 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetUnderlined. Expected _wxFont_p.");
3589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3590 _result
= (bool )wxFont_GetUnderlined(_arg0
);
3592 wxPyEndAllowThreads(__tstate
);
3593 if (PyErr_Occurred()) return NULL
;
3594 } _resultobj
= Py_BuildValue("i",_result
);
3598 #define wxFont_GetFaceName(_swigobj) (_swigobj->GetFaceName())
3599 static PyObject
*_wrap_wxFont_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3600 PyObject
* _resultobj
;
3603 PyObject
* _argo0
= 0;
3604 char *_kwnames
[] = { "self", NULL
};
3607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFaceName",_kwnames
,&_argo0
))
3610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFaceName. Expected _wxFont_p.");
3617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3618 _result
= new wxString (wxFont_GetFaceName(_arg0
));
3620 wxPyEndAllowThreads(__tstate
);
3621 if (PyErr_Occurred()) return NULL
;
3624 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3626 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3635 #define wxFont_GetEncoding(_swigobj) (_swigobj->GetEncoding())
3636 static PyObject
*_wrap_wxFont_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3637 PyObject
* _resultobj
;
3638 wxFontEncoding _result
;
3640 PyObject
* _argo0
= 0;
3641 char *_kwnames
[] = { "self", NULL
};
3644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetEncoding",_kwnames
,&_argo0
))
3647 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3648 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetEncoding. Expected _wxFont_p.");
3654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3655 _result
= (wxFontEncoding
)wxFont_GetEncoding(_arg0
);
3657 wxPyEndAllowThreads(__tstate
);
3658 if (PyErr_Occurred()) return NULL
;
3659 } _resultobj
= Py_BuildValue("i",_result
);
3663 #define wxFont_IsFixedWidth(_swigobj) (_swigobj->IsFixedWidth())
3664 static PyObject
*_wrap_wxFont_IsFixedWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3665 PyObject
* _resultobj
;
3668 PyObject
* _argo0
= 0;
3669 char *_kwnames
[] = { "self", NULL
};
3672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_IsFixedWidth",_kwnames
,&_argo0
))
3675 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3676 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_IsFixedWidth. Expected _wxFont_p.");
3682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3683 _result
= (bool )wxFont_IsFixedWidth(_arg0
);
3685 wxPyEndAllowThreads(__tstate
);
3686 if (PyErr_Occurred()) return NULL
;
3687 } _resultobj
= Py_BuildValue("i",_result
);
3691 #define wxFont_GetNativeFontInfo(_swigobj) (_swigobj->GetNativeFontInfo())
3692 static PyObject
*_wrap_wxFont_GetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3693 PyObject
* _resultobj
;
3694 wxNativeFontInfo
* _result
;
3696 PyObject
* _argo0
= 0;
3697 char *_kwnames
[] = { "self", NULL
};
3701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetNativeFontInfo",_kwnames
,&_argo0
))
3704 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3705 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetNativeFontInfo. Expected _wxFont_p.");
3711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3712 _result
= (wxNativeFontInfo
*)wxFont_GetNativeFontInfo(_arg0
);
3714 wxPyEndAllowThreads(__tstate
);
3715 if (PyErr_Occurred()) return NULL
;
3717 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNativeFontInfo_p");
3718 _resultobj
= Py_BuildValue("s",_ptemp
);
3721 _resultobj
= Py_None
;
3726 #define wxFont_GetNativeFontInfoDesc(_swigobj) (_swigobj->GetNativeFontInfoDesc())
3727 static PyObject
*_wrap_wxFont_GetNativeFontInfoDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3728 PyObject
* _resultobj
;
3731 PyObject
* _argo0
= 0;
3732 char *_kwnames
[] = { "self", NULL
};
3735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetNativeFontInfoDesc",_kwnames
,&_argo0
))
3738 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3739 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetNativeFontInfoDesc. Expected _wxFont_p.");
3745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3746 _result
= new wxString (wxFont_GetNativeFontInfoDesc(_arg0
));
3748 wxPyEndAllowThreads(__tstate
);
3749 if (PyErr_Occurred()) return NULL
;
3752 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3754 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3763 #define wxFont_GetNativeFontInfoUserDesc(_swigobj) (_swigobj->GetNativeFontInfoUserDesc())
3764 static PyObject
*_wrap_wxFont_GetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3765 PyObject
* _resultobj
;
3768 PyObject
* _argo0
= 0;
3769 char *_kwnames
[] = { "self", NULL
};
3772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetNativeFontInfoUserDesc",_kwnames
,&_argo0
))
3775 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3776 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetNativeFontInfoUserDesc. Expected _wxFont_p.");
3782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3783 _result
= new wxString (wxFont_GetNativeFontInfoUserDesc(_arg0
));
3785 wxPyEndAllowThreads(__tstate
);
3786 if (PyErr_Occurred()) return NULL
;
3789 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3791 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3800 #define wxFont_SetPointSize(_swigobj,_swigarg0) (_swigobj->SetPointSize(_swigarg0))
3801 static PyObject
*_wrap_wxFont_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3802 PyObject
* _resultobj
;
3805 PyObject
* _argo0
= 0;
3806 char *_kwnames
[] = { "self","pointSize", NULL
};
3809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetPointSize",_kwnames
,&_argo0
,&_arg1
))
3812 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3813 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetPointSize. Expected _wxFont_p.");
3819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3820 wxFont_SetPointSize(_arg0
,_arg1
);
3822 wxPyEndAllowThreads(__tstate
);
3823 if (PyErr_Occurred()) return NULL
;
3824 } Py_INCREF(Py_None
);
3825 _resultobj
= Py_None
;
3829 #define wxFont_SetFamily(_swigobj,_swigarg0) (_swigobj->SetFamily(_swigarg0))
3830 static PyObject
*_wrap_wxFont_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3831 PyObject
* _resultobj
;
3834 PyObject
* _argo0
= 0;
3835 char *_kwnames
[] = { "self","family", NULL
};
3838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetFamily",_kwnames
,&_argo0
,&_arg1
))
3841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetFamily. Expected _wxFont_p.");
3848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3849 wxFont_SetFamily(_arg0
,_arg1
);
3851 wxPyEndAllowThreads(__tstate
);
3852 if (PyErr_Occurred()) return NULL
;
3853 } Py_INCREF(Py_None
);
3854 _resultobj
= Py_None
;
3858 #define wxFont_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
3859 static PyObject
*_wrap_wxFont_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3860 PyObject
* _resultobj
;
3863 PyObject
* _argo0
= 0;
3864 char *_kwnames
[] = { "self","style", NULL
};
3867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetStyle",_kwnames
,&_argo0
,&_arg1
))
3870 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3871 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetStyle. Expected _wxFont_p.");
3877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3878 wxFont_SetStyle(_arg0
,_arg1
);
3880 wxPyEndAllowThreads(__tstate
);
3881 if (PyErr_Occurred()) return NULL
;
3882 } Py_INCREF(Py_None
);
3883 _resultobj
= Py_None
;
3887 #define wxFont_SetWeight(_swigobj,_swigarg0) (_swigobj->SetWeight(_swigarg0))
3888 static PyObject
*_wrap_wxFont_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3889 PyObject
* _resultobj
;
3892 PyObject
* _argo0
= 0;
3893 char *_kwnames
[] = { "self","weight", NULL
};
3896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetWeight",_kwnames
,&_argo0
,&_arg1
))
3899 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3900 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetWeight. Expected _wxFont_p.");
3906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3907 wxFont_SetWeight(_arg0
,_arg1
);
3909 wxPyEndAllowThreads(__tstate
);
3910 if (PyErr_Occurred()) return NULL
;
3911 } Py_INCREF(Py_None
);
3912 _resultobj
= Py_None
;
3916 #define wxFont_SetFaceName(_swigobj,_swigarg0) (_swigobj->SetFaceName(_swigarg0))
3917 static PyObject
*_wrap_wxFont_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3918 PyObject
* _resultobj
;
3921 PyObject
* _argo0
= 0;
3922 PyObject
* _obj1
= 0;
3923 char *_kwnames
[] = { "self","faceName", NULL
};
3926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFont_SetFaceName",_kwnames
,&_argo0
,&_obj1
))
3929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetFaceName. Expected _wxFont_p.");
3936 _arg1
= wxString_in_helper(_obj1
);
3941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3942 wxFont_SetFaceName(_arg0
,*_arg1
);
3944 wxPyEndAllowThreads(__tstate
);
3945 if (PyErr_Occurred()) return NULL
;
3946 } Py_INCREF(Py_None
);
3947 _resultobj
= Py_None
;
3955 #define wxFont_SetUnderlined(_swigobj,_swigarg0) (_swigobj->SetUnderlined(_swigarg0))
3956 static PyObject
*_wrap_wxFont_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3957 PyObject
* _resultobj
;
3960 PyObject
* _argo0
= 0;
3962 char *_kwnames
[] = { "self","underlined", NULL
};
3965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetUnderlined",_kwnames
,&_argo0
,&tempbool1
))
3968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetUnderlined. Expected _wxFont_p.");
3974 _arg1
= (bool ) tempbool1
;
3976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3977 wxFont_SetUnderlined(_arg0
,_arg1
);
3979 wxPyEndAllowThreads(__tstate
);
3980 if (PyErr_Occurred()) return NULL
;
3981 } Py_INCREF(Py_None
);
3982 _resultobj
= Py_None
;
3986 #define wxFont_SetEncoding(_swigobj,_swigarg0) (_swigobj->SetEncoding(_swigarg0))
3987 static PyObject
*_wrap_wxFont_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3988 PyObject
* _resultobj
;
3990 wxFontEncoding _arg1
;
3991 PyObject
* _argo0
= 0;
3992 char *_kwnames
[] = { "self","encoding", NULL
};
3995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetEncoding",_kwnames
,&_argo0
,&_arg1
))
3998 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3999 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetEncoding. Expected _wxFont_p.");
4005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4006 wxFont_SetEncoding(_arg0
,_arg1
);
4008 wxPyEndAllowThreads(__tstate
);
4009 if (PyErr_Occurred()) return NULL
;
4010 } Py_INCREF(Py_None
);
4011 _resultobj
= Py_None
;
4015 #define wxFont_SetNativeFontInfo(_swigobj,_swigarg0) (_swigobj->SetNativeFontInfo(_swigarg0))
4016 static PyObject
*_wrap_wxFont_SetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4017 PyObject
* _resultobj
;
4019 wxNativeFontInfo
* _arg1
;
4020 PyObject
* _argo0
= 0;
4021 PyObject
* _argo1
= 0;
4022 char *_kwnames
[] = { "self","info", NULL
};
4025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFont_SetNativeFontInfo",_kwnames
,&_argo0
,&_argo1
))
4028 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4029 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetNativeFontInfo. Expected _wxFont_p.");
4035 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4036 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxNativeFontInfo_p")) {
4037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFont_SetNativeFontInfo. Expected _wxNativeFontInfo_p.");
4042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4043 wxFont_SetNativeFontInfo(_arg0
,*_arg1
);
4045 wxPyEndAllowThreads(__tstate
);
4046 if (PyErr_Occurred()) return NULL
;
4047 } Py_INCREF(Py_None
);
4048 _resultobj
= Py_None
;
4052 #define wxFont_SetNativeFontInfoUserDesc(_swigobj,_swigarg0) (_swigobj->SetNativeFontInfoUserDesc(_swigarg0))
4053 static PyObject
*_wrap_wxFont_SetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4054 PyObject
* _resultobj
;
4057 PyObject
* _argo0
= 0;
4058 PyObject
* _obj1
= 0;
4059 char *_kwnames
[] = { "self","info", NULL
};
4062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFont_SetNativeFontInfoUserDesc",_kwnames
,&_argo0
,&_obj1
))
4065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetNativeFontInfoUserDesc. Expected _wxFont_p.");
4072 _arg1
= wxString_in_helper(_obj1
);
4077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4078 wxFont_SetNativeFontInfoUserDesc(_arg0
,*_arg1
);
4080 wxPyEndAllowThreads(__tstate
);
4081 if (PyErr_Occurred()) return NULL
;
4082 } Py_INCREF(Py_None
);
4083 _resultobj
= Py_None
;
4091 #define wxFont_GetFamilyString(_swigobj) (_swigobj->GetFamilyString())
4092 static PyObject
*_wrap_wxFont_GetFamilyString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4093 PyObject
* _resultobj
;
4096 PyObject
* _argo0
= 0;
4097 char *_kwnames
[] = { "self", NULL
};
4100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFamilyString",_kwnames
,&_argo0
))
4103 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4104 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFamilyString. Expected _wxFont_p.");
4110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4111 _result
= new wxString (wxFont_GetFamilyString(_arg0
));
4113 wxPyEndAllowThreads(__tstate
);
4114 if (PyErr_Occurred()) return NULL
;
4117 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
4119 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4128 #define wxFont_GetStyleString(_swigobj) (_swigobj->GetStyleString())
4129 static PyObject
*_wrap_wxFont_GetStyleString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4130 PyObject
* _resultobj
;
4133 PyObject
* _argo0
= 0;
4134 char *_kwnames
[] = { "self", NULL
};
4137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetStyleString",_kwnames
,&_argo0
))
4140 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4141 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetStyleString. Expected _wxFont_p.");
4147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4148 _result
= new wxString (wxFont_GetStyleString(_arg0
));
4150 wxPyEndAllowThreads(__tstate
);
4151 if (PyErr_Occurred()) return NULL
;
4154 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
4156 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4165 #define wxFont_GetWeightString(_swigobj) (_swigobj->GetWeightString())
4166 static PyObject
*_wrap_wxFont_GetWeightString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4167 PyObject
* _resultobj
;
4170 PyObject
* _argo0
= 0;
4171 char *_kwnames
[] = { "self", NULL
};
4174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetWeightString",_kwnames
,&_argo0
))
4177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetWeightString. Expected _wxFont_p.");
4184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4185 _result
= new wxString (wxFont_GetWeightString(_arg0
));
4187 wxPyEndAllowThreads(__tstate
);
4188 if (PyErr_Occurred()) return NULL
;
4191 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
4193 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4202 static PyObject
*_wrap_wxFont_GetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4203 PyObject
* _resultobj
;
4204 wxFontEncoding _result
;
4205 char *_kwnames
[] = { NULL
};
4208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxFont_GetDefaultEncoding",_kwnames
))
4211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4212 _result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
4214 wxPyEndAllowThreads(__tstate
);
4215 if (PyErr_Occurred()) return NULL
;
4216 } _resultobj
= Py_BuildValue("i",_result
);
4220 static PyObject
*_wrap_wxFont_SetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4221 PyObject
* _resultobj
;
4222 wxFontEncoding _arg0
;
4223 char *_kwnames
[] = { "encoding", NULL
};
4226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxFont_SetDefaultEncoding",_kwnames
,&_arg0
))
4229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4230 wxFont::SetDefaultEncoding(_arg0
);
4232 wxPyEndAllowThreads(__tstate
);
4233 if (PyErr_Occurred()) return NULL
;
4234 } Py_INCREF(Py_None
);
4235 _resultobj
= Py_None
;
4239 static void *SwigwxFontListTowxObject(void *ptr
) {
4242 src
= (wxFontList
*) ptr
;
4243 dest
= (wxObject
*) src
;
4244 return (void *) dest
;
4247 #define wxFontList_AddFont(_swigobj,_swigarg0) (_swigobj->AddFont(_swigarg0))
4248 static PyObject
*_wrap_wxFontList_AddFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4249 PyObject
* _resultobj
;
4252 PyObject
* _argo0
= 0;
4253 PyObject
* _argo1
= 0;
4254 char *_kwnames
[] = { "self","font", NULL
};
4257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontList_AddFont",_kwnames
,&_argo0
,&_argo1
))
4260 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4261 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontList_p")) {
4262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontList_AddFont. Expected _wxFontList_p.");
4267 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4268 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
4269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontList_AddFont. Expected _wxFont_p.");
4274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4275 wxFontList_AddFont(_arg0
,_arg1
);
4277 wxPyEndAllowThreads(__tstate
);
4278 if (PyErr_Occurred()) return NULL
;
4279 } Py_INCREF(Py_None
);
4280 _resultobj
= Py_None
;
4284 #define wxFontList_FindOrCreateFont(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->FindOrCreateFont(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4285 static PyObject
*_wrap_wxFontList_FindOrCreateFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4286 PyObject
* _resultobj
;
4293 bool _arg5
= (bool ) FALSE
;
4294 char * _arg6
= (char *) NULL
;
4295 wxFontEncoding _arg7
= (wxFontEncoding
) (wxFONTENCODING_DEFAULT
);
4296 PyObject
* _argo0
= 0;
4297 int tempbool5
= (int) FALSE
;
4298 char *_kwnames
[] = { "self","point_size","family","style","weight","underline","facename","encoding", NULL
};
4302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|isi:wxFontList_FindOrCreateFont",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
,&_arg6
,&_arg7
))
4305 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4306 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontList_p")) {
4307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontList_FindOrCreateFont. Expected _wxFontList_p.");
4311 _arg5
= (bool ) tempbool5
;
4313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4314 _result
= (wxFont
*)wxFontList_FindOrCreateFont(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
);
4316 wxPyEndAllowThreads(__tstate
);
4317 if (PyErr_Occurred()) return NULL
;
4319 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
4320 _resultobj
= Py_BuildValue("s",_ptemp
);
4323 _resultobj
= Py_None
;
4328 #define wxFontList_RemoveFont(_swigobj,_swigarg0) (_swigobj->RemoveFont(_swigarg0))
4329 static PyObject
*_wrap_wxFontList_RemoveFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4330 PyObject
* _resultobj
;
4333 PyObject
* _argo0
= 0;
4334 PyObject
* _argo1
= 0;
4335 char *_kwnames
[] = { "self","font", NULL
};
4338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontList_RemoveFont",_kwnames
,&_argo0
,&_argo1
))
4341 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4342 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontList_p")) {
4343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontList_RemoveFont. Expected _wxFontList_p.");
4348 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4349 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
4350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontList_RemoveFont. Expected _wxFont_p.");
4355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4356 wxFontList_RemoveFont(_arg0
,_arg1
);
4358 wxPyEndAllowThreads(__tstate
);
4359 if (PyErr_Occurred()) return NULL
;
4360 } Py_INCREF(Py_None
);
4361 _resultobj
= Py_None
;
4365 #define wxFontList_GetCount(_swigobj) (_swigobj->GetCount())
4366 static PyObject
*_wrap_wxFontList_GetCount(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:wxFontList_GetCount",_kwnames
,&_argo0
))
4377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontList_p")) {
4379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontList_GetCount. Expected _wxFontList_p.");
4384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4385 _result
= (int )wxFontList_GetCount(_arg0
);
4387 wxPyEndAllowThreads(__tstate
);
4388 if (PyErr_Occurred()) return NULL
;
4389 } _resultobj
= Py_BuildValue("i",_result
);
4393 static void *SwigwxColourTowxObject(void *ptr
) {
4396 src
= (wxColour
*) ptr
;
4397 dest
= (wxObject
*) src
;
4398 return (void *) dest
;
4401 #define new_wxColour(_swigarg0,_swigarg1,_swigarg2) (new wxColour(_swigarg0,_swigarg1,_swigarg2))
4402 static PyObject
*_wrap_new_wxColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4403 PyObject
* _resultobj
;
4405 unsigned char _arg0
= (unsigned char ) 0;
4406 unsigned char _arg1
= (unsigned char ) 0;
4407 unsigned char _arg2
= (unsigned char ) 0;
4408 char *_kwnames
[] = { "red","green","blue", NULL
};
4412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|bbb:new_wxColour",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
4415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4416 _result
= (wxColour
*)new_wxColour(_arg0
,_arg1
,_arg2
);
4418 wxPyEndAllowThreads(__tstate
);
4419 if (PyErr_Occurred()) return NULL
;
4421 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
4422 _resultobj
= Py_BuildValue("s",_ptemp
);
4425 _resultobj
= Py_None
;
4430 #define delete_wxColour(_swigobj) (delete _swigobj)
4431 static PyObject
*_wrap_delete_wxColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4432 PyObject
* _resultobj
;
4435 PyObject
* _obj0
= 0;
4436 char *_kwnames
[] = { "self", NULL
};
4439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxColour",_kwnames
,&_obj0
))
4443 if (! wxColour_helper(_obj0
, &_arg0
))
4447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4448 delete_wxColour(_arg0
);
4450 wxPyEndAllowThreads(__tstate
);
4451 if (PyErr_Occurred()) return NULL
;
4452 } Py_INCREF(Py_None
);
4453 _resultobj
= Py_None
;
4457 #define wxColour_Red(_swigobj) (_swigobj->Red())
4458 static PyObject
*_wrap_wxColour_Red(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4459 PyObject
* _resultobj
;
4460 unsigned char _result
;
4463 PyObject
* _obj0
= 0;
4464 char *_kwnames
[] = { "self", NULL
};
4467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Red",_kwnames
,&_obj0
))
4471 if (! wxColour_helper(_obj0
, &_arg0
))
4475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4476 _result
= (unsigned char )wxColour_Red(_arg0
);
4478 wxPyEndAllowThreads(__tstate
);
4479 if (PyErr_Occurred()) return NULL
;
4480 } _resultobj
= Py_BuildValue("b",_result
);
4484 #define wxColour_Green(_swigobj) (_swigobj->Green())
4485 static PyObject
*_wrap_wxColour_Green(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4486 PyObject
* _resultobj
;
4487 unsigned char _result
;
4490 PyObject
* _obj0
= 0;
4491 char *_kwnames
[] = { "self", NULL
};
4494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Green",_kwnames
,&_obj0
))
4498 if (! wxColour_helper(_obj0
, &_arg0
))
4502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4503 _result
= (unsigned char )wxColour_Green(_arg0
);
4505 wxPyEndAllowThreads(__tstate
);
4506 if (PyErr_Occurred()) return NULL
;
4507 } _resultobj
= Py_BuildValue("b",_result
);
4511 #define wxColour_Blue(_swigobj) (_swigobj->Blue())
4512 static PyObject
*_wrap_wxColour_Blue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4513 PyObject
* _resultobj
;
4514 unsigned char _result
;
4517 PyObject
* _obj0
= 0;
4518 char *_kwnames
[] = { "self", NULL
};
4521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Blue",_kwnames
,&_obj0
))
4525 if (! wxColour_helper(_obj0
, &_arg0
))
4529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4530 _result
= (unsigned char )wxColour_Blue(_arg0
);
4532 wxPyEndAllowThreads(__tstate
);
4533 if (PyErr_Occurred()) return NULL
;
4534 } _resultobj
= Py_BuildValue("b",_result
);
4538 #define wxColour_Ok(_swigobj) (_swigobj->Ok())
4539 static PyObject
*_wrap_wxColour_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4540 PyObject
* _resultobj
;
4544 PyObject
* _obj0
= 0;
4545 char *_kwnames
[] = { "self", NULL
};
4548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Ok",_kwnames
,&_obj0
))
4552 if (! wxColour_helper(_obj0
, &_arg0
))
4556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4557 _result
= (bool )wxColour_Ok(_arg0
);
4559 wxPyEndAllowThreads(__tstate
);
4560 if (PyErr_Occurred()) return NULL
;
4561 } _resultobj
= Py_BuildValue("i",_result
);
4565 #define wxColour_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
4566 static PyObject
*_wrap_wxColour_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4567 PyObject
* _resultobj
;
4569 unsigned char _arg1
;
4570 unsigned char _arg2
;
4571 unsigned char _arg3
;
4573 PyObject
* _obj0
= 0;
4574 char *_kwnames
[] = { "self","red","green","blue", NULL
};
4577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Obbb:wxColour_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_arg3
))
4581 if (! wxColour_helper(_obj0
, &_arg0
))
4585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4586 wxColour_Set(_arg0
,_arg1
,_arg2
,_arg3
);
4588 wxPyEndAllowThreads(__tstate
);
4589 if (PyErr_Occurred()) return NULL
;
4590 } Py_INCREF(Py_None
);
4591 _resultobj
= Py_None
;
4595 static PyObject
* wxColour_Get(wxColour
*self
) {
4596 PyObject
* rv
= PyTuple_New(3);
4597 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
4598 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
4599 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
4602 static PyObject
*_wrap_wxColour_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4603 PyObject
* _resultobj
;
4607 PyObject
* _obj0
= 0;
4608 char *_kwnames
[] = { "self", NULL
};
4611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Get",_kwnames
,&_obj0
))
4615 if (! wxColour_helper(_obj0
, &_arg0
))
4619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4620 _result
= (PyObject
*)wxColour_Get(_arg0
);
4622 wxPyEndAllowThreads(__tstate
);
4623 if (PyErr_Occurred()) return NULL
;
4625 _resultobj
= _result
;
4630 static void *SwigwxColourDatabaseTowxObject(void *ptr
) {
4631 wxColourDatabase
*src
;
4633 src
= (wxColourDatabase
*) ptr
;
4634 dest
= (wxObject
*) src
;
4635 return (void *) dest
;
4638 #define wxColourDatabase_FindColour(_swigobj,_swigarg0) (_swigobj->FindColour(_swigarg0))
4639 static PyObject
*_wrap_wxColourDatabase_FindColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4640 PyObject
* _resultobj
;
4642 wxColourDatabase
* _arg0
;
4644 PyObject
* _argo0
= 0;
4645 PyObject
* _obj1
= 0;
4646 char *_kwnames
[] = { "self","colour", NULL
};
4650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxColourDatabase_FindColour",_kwnames
,&_argo0
,&_obj1
))
4653 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4654 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDatabase_p")) {
4655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDatabase_FindColour. Expected _wxColourDatabase_p.");
4660 _arg1
= wxString_in_helper(_obj1
);
4665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4666 _result
= (wxColour
*)wxColourDatabase_FindColour(_arg0
,*_arg1
);
4668 wxPyEndAllowThreads(__tstate
);
4669 if (PyErr_Occurred()) return NULL
;
4671 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
4672 _resultobj
= Py_BuildValue("s",_ptemp
);
4675 _resultobj
= Py_None
;
4684 #define wxColourDatabase_FindName(_swigobj,_swigarg0) (_swigobj->FindName(_swigarg0))
4685 static PyObject
*_wrap_wxColourDatabase_FindName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4686 PyObject
* _resultobj
;
4688 wxColourDatabase
* _arg0
;
4690 PyObject
* _argo0
= 0;
4692 PyObject
* _obj1
= 0;
4693 char *_kwnames
[] = { "self","colour", NULL
};
4696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxColourDatabase_FindName",_kwnames
,&_argo0
,&_obj1
))
4699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDatabase_p")) {
4701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDatabase_FindName. Expected _wxColourDatabase_p.");
4707 if (! wxColour_helper(_obj1
, &_arg1
))
4711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4712 _result
= new wxString (wxColourDatabase_FindName(_arg0
,*_arg1
));
4714 wxPyEndAllowThreads(__tstate
);
4715 if (PyErr_Occurred()) return NULL
;
4718 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
4720 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4729 static void wxColourDatabase_Append(wxColourDatabase
*self
,const wxString
& name
,int red
,int green
,int blue
) {
4730 // first see if the name is already there
4731 wxString cName
= name
;
4733 wxString cName2
= cName
;
4734 if ( !cName2
.Replace(wxT("GRAY"), wxT("GREY")) )
4737 wxNode
*node
= self
->First();
4739 const wxChar
*key
= node
->GetKeyString();
4740 if ( cName
== key
|| cName2
== key
) {
4741 wxColour
* c
= (wxColour
*)node
->Data();
4742 c
->Set(red
, green
, blue
);
4745 node
= node
->Next();
4748 // otherwise append the new colour
4749 self
->Append(name
.c_str(), new wxColour(red
, green
, blue
));
4751 static PyObject
*_wrap_wxColourDatabase_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4752 PyObject
* _resultobj
;
4753 wxColourDatabase
* _arg0
;
4758 PyObject
* _argo0
= 0;
4759 PyObject
* _obj1
= 0;
4760 char *_kwnames
[] = { "self","name","red","green","blue", NULL
};
4763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiii:wxColourDatabase_Append",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_arg4
))
4766 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4767 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDatabase_p")) {
4768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDatabase_Append. Expected _wxColourDatabase_p.");
4773 _arg1
= wxString_in_helper(_obj1
);
4778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4779 wxColourDatabase_Append(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
4781 wxPyEndAllowThreads(__tstate
);
4782 if (PyErr_Occurred()) return NULL
;
4783 } Py_INCREF(Py_None
);
4784 _resultobj
= Py_None
;
4792 static void *SwigwxPenTowxGDIObject(void *ptr
) {
4795 src
= (wxPen
*) ptr
;
4796 dest
= (wxGDIObject
*) src
;
4797 return (void *) dest
;
4800 static void *SwigwxPenTowxObject(void *ptr
) {
4803 src
= (wxPen
*) ptr
;
4804 dest
= (wxObject
*) src
;
4805 return (void *) dest
;
4808 #define new_wxPen(_swigarg0,_swigarg1,_swigarg2) (new wxPen(_swigarg0,_swigarg1,_swigarg2))
4809 static PyObject
*_wrap_new_wxPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4810 PyObject
* _resultobj
;
4813 int _arg1
= (int ) 1;
4814 int _arg2
= (int ) wxSOLID
;
4816 PyObject
* _obj0
= 0;
4817 char *_kwnames
[] = { "colour","width","style", NULL
};
4821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:new_wxPen",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
4825 if (! wxColour_helper(_obj0
, &_arg0
))
4829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4830 _result
= (wxPen
*)new_wxPen(*_arg0
,_arg1
,_arg2
);
4832 wxPyEndAllowThreads(__tstate
);
4833 if (PyErr_Occurred()) return NULL
;
4835 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
4836 _resultobj
= Py_BuildValue("s",_ptemp
);
4839 _resultobj
= Py_None
;
4844 #define delete_wxPen(_swigobj) (delete _swigobj)
4845 static PyObject
*_wrap_delete_wxPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4846 PyObject
* _resultobj
;
4848 PyObject
* _argo0
= 0;
4849 char *_kwnames
[] = { "self", NULL
};
4852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPen",_kwnames
,&_argo0
))
4855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
4857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPen. Expected _wxPen_p.");
4862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4863 delete_wxPen(_arg0
);
4865 wxPyEndAllowThreads(__tstate
);
4866 if (PyErr_Occurred()) return NULL
;
4867 } Py_INCREF(Py_None
);
4868 _resultobj
= Py_None
;
4872 #define wxPen_GetCap(_swigobj) (_swigobj->GetCap())
4873 static PyObject
*_wrap_wxPen_GetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4874 PyObject
* _resultobj
;
4877 PyObject
* _argo0
= 0;
4878 char *_kwnames
[] = { "self", NULL
};
4881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetCap",_kwnames
,&_argo0
))
4884 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4885 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
4886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetCap. Expected _wxPen_p.");
4891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4892 _result
= (int )wxPen_GetCap(_arg0
);
4894 wxPyEndAllowThreads(__tstate
);
4895 if (PyErr_Occurred()) return NULL
;
4896 } _resultobj
= Py_BuildValue("i",_result
);
4900 #define wxPen_GetColour(_swigobj) (_swigobj->GetColour())
4901 static PyObject
*_wrap_wxPen_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4902 PyObject
* _resultobj
;
4905 PyObject
* _argo0
= 0;
4906 char *_kwnames
[] = { "self", NULL
};
4910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetColour",_kwnames
,&_argo0
))
4913 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4914 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
4915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetColour. Expected _wxPen_p.");
4920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4921 _result
= new wxColour (wxPen_GetColour(_arg0
));
4923 wxPyEndAllowThreads(__tstate
);
4924 if (PyErr_Occurred()) return NULL
;
4925 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
4926 _resultobj
= Py_BuildValue("s",_ptemp
);
4930 #define wxPen_GetJoin(_swigobj) (_swigobj->GetJoin())
4931 static PyObject
*_wrap_wxPen_GetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4932 PyObject
* _resultobj
;
4935 PyObject
* _argo0
= 0;
4936 char *_kwnames
[] = { "self", NULL
};
4939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetJoin",_kwnames
,&_argo0
))
4942 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4943 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
4944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetJoin. Expected _wxPen_p.");
4949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4950 _result
= (int )wxPen_GetJoin(_arg0
);
4952 wxPyEndAllowThreads(__tstate
);
4953 if (PyErr_Occurred()) return NULL
;
4954 } _resultobj
= Py_BuildValue("i",_result
);
4958 #define wxPen_GetStyle(_swigobj) (_swigobj->GetStyle())
4959 static PyObject
*_wrap_wxPen_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4960 PyObject
* _resultobj
;
4963 PyObject
* _argo0
= 0;
4964 char *_kwnames
[] = { "self", NULL
};
4967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetStyle",_kwnames
,&_argo0
))
4970 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4971 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
4972 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetStyle. Expected _wxPen_p.");
4977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4978 _result
= (int )wxPen_GetStyle(_arg0
);
4980 wxPyEndAllowThreads(__tstate
);
4981 if (PyErr_Occurred()) return NULL
;
4982 } _resultobj
= Py_BuildValue("i",_result
);
4986 #define wxPen_GetWidth(_swigobj) (_swigobj->GetWidth())
4987 static PyObject
*_wrap_wxPen_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4988 PyObject
* _resultobj
;
4991 PyObject
* _argo0
= 0;
4992 char *_kwnames
[] = { "self", NULL
};
4995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetWidth",_kwnames
,&_argo0
))
4998 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4999 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetWidth. Expected _wxPen_p.");
5005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5006 _result
= (int )wxPen_GetWidth(_arg0
);
5008 wxPyEndAllowThreads(__tstate
);
5009 if (PyErr_Occurred()) return NULL
;
5010 } _resultobj
= Py_BuildValue("i",_result
);
5014 #define wxPen_Ok(_swigobj) (_swigobj->Ok())
5015 static PyObject
*_wrap_wxPen_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5016 PyObject
* _resultobj
;
5019 PyObject
* _argo0
= 0;
5020 char *_kwnames
[] = { "self", NULL
};
5023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_Ok",_kwnames
,&_argo0
))
5026 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5027 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_Ok. Expected _wxPen_p.");
5033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5034 _result
= (bool )wxPen_Ok(_arg0
);
5036 wxPyEndAllowThreads(__tstate
);
5037 if (PyErr_Occurred()) return NULL
;
5038 } _resultobj
= Py_BuildValue("i",_result
);
5042 #define wxPen_SetCap(_swigobj,_swigarg0) (_swigobj->SetCap(_swigarg0))
5043 static PyObject
*_wrap_wxPen_SetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5044 PyObject
* _resultobj
;
5047 PyObject
* _argo0
= 0;
5048 char *_kwnames
[] = { "self","cap_style", NULL
};
5051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetCap",_kwnames
,&_argo0
,&_arg1
))
5054 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5055 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetCap. Expected _wxPen_p.");
5061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5062 wxPen_SetCap(_arg0
,_arg1
);
5064 wxPyEndAllowThreads(__tstate
);
5065 if (PyErr_Occurred()) return NULL
;
5066 } Py_INCREF(Py_None
);
5067 _resultobj
= Py_None
;
5071 #define wxPen_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
5072 static PyObject
*_wrap_wxPen_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5073 PyObject
* _resultobj
;
5076 PyObject
* _argo0
= 0;
5078 PyObject
* _obj1
= 0;
5079 char *_kwnames
[] = { "self","colour", NULL
};
5082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_SetColour",_kwnames
,&_argo0
,&_obj1
))
5085 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5086 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetColour. Expected _wxPen_p.");
5093 if (! wxColour_helper(_obj1
, &_arg1
))
5097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5098 wxPen_SetColour(_arg0
,*_arg1
);
5100 wxPyEndAllowThreads(__tstate
);
5101 if (PyErr_Occurred()) return NULL
;
5102 } Py_INCREF(Py_None
);
5103 _resultobj
= Py_None
;
5107 #define wxPen_SetJoin(_swigobj,_swigarg0) (_swigobj->SetJoin(_swigarg0))
5108 static PyObject
*_wrap_wxPen_SetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5109 PyObject
* _resultobj
;
5112 PyObject
* _argo0
= 0;
5113 char *_kwnames
[] = { "self","join_style", NULL
};
5116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetJoin",_kwnames
,&_argo0
,&_arg1
))
5119 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5120 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetJoin. Expected _wxPen_p.");
5126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5127 wxPen_SetJoin(_arg0
,_arg1
);
5129 wxPyEndAllowThreads(__tstate
);
5130 if (PyErr_Occurred()) return NULL
;
5131 } Py_INCREF(Py_None
);
5132 _resultobj
= Py_None
;
5136 #define wxPen_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
5137 static PyObject
*_wrap_wxPen_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5138 PyObject
* _resultobj
;
5141 PyObject
* _argo0
= 0;
5142 char *_kwnames
[] = { "self","style", NULL
};
5145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetStyle",_kwnames
,&_argo0
,&_arg1
))
5148 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5149 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetStyle. Expected _wxPen_p.");
5155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5156 wxPen_SetStyle(_arg0
,_arg1
);
5158 wxPyEndAllowThreads(__tstate
);
5159 if (PyErr_Occurred()) return NULL
;
5160 } Py_INCREF(Py_None
);
5161 _resultobj
= Py_None
;
5165 #define wxPen_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
5166 static PyObject
*_wrap_wxPen_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5167 PyObject
* _resultobj
;
5170 PyObject
* _argo0
= 0;
5171 char *_kwnames
[] = { "self","width", NULL
};
5174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetWidth",_kwnames
,&_argo0
,&_arg1
))
5177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetWidth. Expected _wxPen_p.");
5184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5185 wxPen_SetWidth(_arg0
,_arg1
);
5187 wxPyEndAllowThreads(__tstate
);
5188 if (PyErr_Occurred()) return NULL
;
5189 } Py_INCREF(Py_None
);
5190 _resultobj
= Py_None
;
5194 #define wxPen_SetDashes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDashes(_swigarg0,_swigarg1))
5195 static PyObject
*_wrap_wxPen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5196 PyObject
* _resultobj
;
5200 PyObject
* _argo0
= 0;
5201 PyObject
* _obj2
= 0;
5202 char *_kwnames
[] = { "self","choices", NULL
};
5205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_SetDashes",_kwnames
,&_argo0
,&_obj2
))
5208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetDashes. Expected _wxPen_p.");
5216 _arg2
= (wxDash
*)byte_LIST_helper(_obj2
);
5217 if (_arg2
== NULL
) {
5223 _arg1
= PyList_Size(_obj2
);
5230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5231 wxPen_SetDashes(_arg0
,_arg1
,_arg2
);
5233 wxPyEndAllowThreads(__tstate
);
5234 if (PyErr_Occurred()) return NULL
;
5235 } Py_INCREF(Py_None
);
5236 _resultobj
= Py_None
;
5243 static void *SwigwxPyPenTowxPen(void *ptr
) {
5246 src
= (wxPyPen
*) ptr
;
5247 dest
= (wxPen
*) src
;
5248 return (void *) dest
;
5251 static void *SwigwxPyPenTowxGDIObject(void *ptr
) {
5254 src
= (wxPyPen
*) ptr
;
5255 dest
= (wxGDIObject
*) src
;
5256 return (void *) dest
;
5259 static void *SwigwxPyPenTowxObject(void *ptr
) {
5262 src
= (wxPyPen
*) ptr
;
5263 dest
= (wxObject
*) src
;
5264 return (void *) dest
;
5267 #define new_wxPyPen(_swigarg0,_swigarg1,_swigarg2) (new wxPyPen(_swigarg0,_swigarg1,_swigarg2))
5268 static PyObject
*_wrap_new_wxPyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5269 PyObject
* _resultobj
;
5272 int _arg1
= (int ) 1;
5273 int _arg2
= (int ) wxSOLID
;
5275 PyObject
* _obj0
= 0;
5276 char *_kwnames
[] = { "colour","width","style", NULL
};
5280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:new_wxPyPen",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
5284 if (! wxColour_helper(_obj0
, &_arg0
))
5288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5289 _result
= (wxPyPen
*)new_wxPyPen(*_arg0
,_arg1
,_arg2
);
5291 wxPyEndAllowThreads(__tstate
);
5292 if (PyErr_Occurred()) return NULL
;
5294 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPen_p");
5295 _resultobj
= Py_BuildValue("s",_ptemp
);
5298 _resultobj
= Py_None
;
5303 #define delete_wxPyPen(_swigobj) (delete _swigobj)
5304 static PyObject
*_wrap_delete_wxPyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5305 PyObject
* _resultobj
;
5307 PyObject
* _argo0
= 0;
5308 char *_kwnames
[] = { "self", NULL
};
5311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyPen",_kwnames
,&_argo0
))
5314 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5315 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPen_p")) {
5316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyPen. Expected _wxPyPen_p.");
5321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5322 delete_wxPyPen(_arg0
);
5324 wxPyEndAllowThreads(__tstate
);
5325 if (PyErr_Occurred()) return NULL
;
5326 } Py_INCREF(Py_None
);
5327 _resultobj
= Py_None
;
5331 #define wxPyPen_SetDashes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDashes(_swigarg0,_swigarg1))
5332 static PyObject
*_wrap_wxPyPen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5333 PyObject
* _resultobj
;
5337 PyObject
* _argo0
= 0;
5338 PyObject
* _obj2
= 0;
5339 char *_kwnames
[] = { "self","choices", NULL
};
5342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyPen_SetDashes",_kwnames
,&_argo0
,&_obj2
))
5345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPen_p")) {
5347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPen_SetDashes. Expected _wxPyPen_p.");
5353 _arg2
= (wxDash
*)byte_LIST_helper(_obj2
);
5354 if (_arg2
== NULL
) {
5360 _arg1
= PyList_Size(_obj2
);
5367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5368 wxPyPen_SetDashes(_arg0
,_arg1
,_arg2
);
5370 wxPyEndAllowThreads(__tstate
);
5371 if (PyErr_Occurred()) return NULL
;
5372 } Py_INCREF(Py_None
);
5373 _resultobj
= Py_None
;
5380 static void *SwigwxPenListTowxObject(void *ptr
) {
5383 src
= (wxPenList
*) ptr
;
5384 dest
= (wxObject
*) src
;
5385 return (void *) dest
;
5388 #define wxPenList_AddPen(_swigobj,_swigarg0) (_swigobj->AddPen(_swigarg0))
5389 static PyObject
*_wrap_wxPenList_AddPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5390 PyObject
* _resultobj
;
5393 PyObject
* _argo0
= 0;
5394 PyObject
* _argo1
= 0;
5395 char *_kwnames
[] = { "self","pen", NULL
};
5398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPenList_AddPen",_kwnames
,&_argo0
,&_argo1
))
5401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
5403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_AddPen. Expected _wxPenList_p.");
5408 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5409 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
5410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPenList_AddPen. Expected _wxPen_p.");
5415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5416 wxPenList_AddPen(_arg0
,_arg1
);
5418 wxPyEndAllowThreads(__tstate
);
5419 if (PyErr_Occurred()) return NULL
;
5420 } Py_INCREF(Py_None
);
5421 _resultobj
= Py_None
;
5425 #define wxPenList_FindOrCreatePen(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindOrCreatePen(_swigarg0,_swigarg1,_swigarg2))
5426 static PyObject
*_wrap_wxPenList_FindOrCreatePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5427 PyObject
* _resultobj
;
5433 PyObject
* _argo0
= 0;
5435 PyObject
* _obj1
= 0;
5436 char *_kwnames
[] = { "self","colour","width","style", NULL
};
5440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxPenList_FindOrCreatePen",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
))
5443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
5445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_FindOrCreatePen. Expected _wxPenList_p.");
5451 if (! wxColour_helper(_obj1
, &_arg1
))
5455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5456 _result
= (wxPen
*)wxPenList_FindOrCreatePen(_arg0
,*_arg1
,_arg2
,_arg3
);
5458 wxPyEndAllowThreads(__tstate
);
5459 if (PyErr_Occurred()) return NULL
;
5461 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
5462 _resultobj
= Py_BuildValue("s",_ptemp
);
5465 _resultobj
= Py_None
;
5470 #define wxPenList_RemovePen(_swigobj,_swigarg0) (_swigobj->RemovePen(_swigarg0))
5471 static PyObject
*_wrap_wxPenList_RemovePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5472 PyObject
* _resultobj
;
5475 PyObject
* _argo0
= 0;
5476 PyObject
* _argo1
= 0;
5477 char *_kwnames
[] = { "self","pen", NULL
};
5480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPenList_RemovePen",_kwnames
,&_argo0
,&_argo1
))
5483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
5485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_RemovePen. Expected _wxPenList_p.");
5490 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5491 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
5492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPenList_RemovePen. Expected _wxPen_p.");
5497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5498 wxPenList_RemovePen(_arg0
,_arg1
);
5500 wxPyEndAllowThreads(__tstate
);
5501 if (PyErr_Occurred()) return NULL
;
5502 } Py_INCREF(Py_None
);
5503 _resultobj
= Py_None
;
5507 #define wxPenList_GetCount(_swigobj) (_swigobj->GetCount())
5508 static PyObject
*_wrap_wxPenList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5509 PyObject
* _resultobj
;
5512 PyObject
* _argo0
= 0;
5513 char *_kwnames
[] = { "self", NULL
};
5516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPenList_GetCount",_kwnames
,&_argo0
))
5519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
5521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_GetCount. Expected _wxPenList_p.");
5526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5527 _result
= (int )wxPenList_GetCount(_arg0
);
5529 wxPyEndAllowThreads(__tstate
);
5530 if (PyErr_Occurred()) return NULL
;
5531 } _resultobj
= Py_BuildValue("i",_result
);
5535 static void *SwigwxBrushTowxGDIObject(void *ptr
) {
5538 src
= (wxBrush
*) ptr
;
5539 dest
= (wxGDIObject
*) src
;
5540 return (void *) dest
;
5543 static void *SwigwxBrushTowxObject(void *ptr
) {
5546 src
= (wxBrush
*) ptr
;
5547 dest
= (wxObject
*) src
;
5548 return (void *) dest
;
5551 #define new_wxBrush(_swigarg0,_swigarg1) (new wxBrush(_swigarg0,_swigarg1))
5552 static PyObject
*_wrap_new_wxBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5553 PyObject
* _resultobj
;
5556 int _arg1
= (int ) wxSOLID
;
5558 PyObject
* _obj0
= 0;
5559 char *_kwnames
[] = { "colour","style", NULL
};
5563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxBrush",_kwnames
,&_obj0
,&_arg1
))
5567 if (! wxColour_helper(_obj0
, &_arg0
))
5571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5572 _result
= (wxBrush
*)new_wxBrush(*_arg0
,_arg1
);
5574 wxPyEndAllowThreads(__tstate
);
5575 if (PyErr_Occurred()) return NULL
;
5577 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
5578 _resultobj
= Py_BuildValue("s",_ptemp
);
5581 _resultobj
= Py_None
;
5586 #define delete_wxBrush(_swigobj) (delete _swigobj)
5587 static PyObject
*_wrap_delete_wxBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5588 PyObject
* _resultobj
;
5590 PyObject
* _argo0
= 0;
5591 char *_kwnames
[] = { "self", NULL
};
5594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBrush",_kwnames
,&_argo0
))
5597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
5599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBrush. Expected _wxBrush_p.");
5604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5605 delete_wxBrush(_arg0
);
5607 wxPyEndAllowThreads(__tstate
);
5608 if (PyErr_Occurred()) return NULL
;
5609 } Py_INCREF(Py_None
);
5610 _resultobj
= Py_None
;
5614 #define wxBrush_GetColour(_swigobj) (_swigobj->GetColour())
5615 static PyObject
*_wrap_wxBrush_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5616 PyObject
* _resultobj
;
5619 PyObject
* _argo0
= 0;
5620 char *_kwnames
[] = { "self", NULL
};
5624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetColour",_kwnames
,&_argo0
))
5627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
5629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetColour. Expected _wxBrush_p.");
5634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5635 _result
= new wxColour (wxBrush_GetColour(_arg0
));
5637 wxPyEndAllowThreads(__tstate
);
5638 if (PyErr_Occurred()) return NULL
;
5639 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
5640 _resultobj
= Py_BuildValue("s",_ptemp
);
5644 #define wxBrush_GetStipple(_swigobj) (_swigobj->GetStipple())
5645 static PyObject
*_wrap_wxBrush_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5646 PyObject
* _resultobj
;
5649 PyObject
* _argo0
= 0;
5650 char *_kwnames
[] = { "self", NULL
};
5654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetStipple",_kwnames
,&_argo0
))
5657 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5658 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
5659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStipple. Expected _wxBrush_p.");
5664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5665 _result
= (wxBitmap
*)wxBrush_GetStipple(_arg0
);
5667 wxPyEndAllowThreads(__tstate
);
5668 if (PyErr_Occurred()) return NULL
;
5670 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
5671 _resultobj
= Py_BuildValue("s",_ptemp
);
5674 _resultobj
= Py_None
;
5679 #define wxBrush_GetStyle(_swigobj) (_swigobj->GetStyle())
5680 static PyObject
*_wrap_wxBrush_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5681 PyObject
* _resultobj
;
5684 PyObject
* _argo0
= 0;
5685 char *_kwnames
[] = { "self", NULL
};
5688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetStyle",_kwnames
,&_argo0
))
5691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
5693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStyle. Expected _wxBrush_p.");
5698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5699 _result
= (int )wxBrush_GetStyle(_arg0
);
5701 wxPyEndAllowThreads(__tstate
);
5702 if (PyErr_Occurred()) return NULL
;
5703 } _resultobj
= Py_BuildValue("i",_result
);
5707 #define wxBrush_Ok(_swigobj) (_swigobj->Ok())
5708 static PyObject
*_wrap_wxBrush_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5709 PyObject
* _resultobj
;
5712 PyObject
* _argo0
= 0;
5713 char *_kwnames
[] = { "self", NULL
};
5716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_Ok",_kwnames
,&_argo0
))
5719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
5721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_Ok. Expected _wxBrush_p.");
5726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5727 _result
= (bool )wxBrush_Ok(_arg0
);
5729 wxPyEndAllowThreads(__tstate
);
5730 if (PyErr_Occurred()) return NULL
;
5731 } _resultobj
= Py_BuildValue("i",_result
);
5735 #define wxBrush_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
5736 static PyObject
*_wrap_wxBrush_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5737 PyObject
* _resultobj
;
5740 PyObject
* _argo0
= 0;
5742 PyObject
* _obj1
= 0;
5743 char *_kwnames
[] = { "self","colour", NULL
};
5746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrush_SetColour",_kwnames
,&_argo0
,&_obj1
))
5749 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5750 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
5751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetColour. Expected _wxBrush_p.");
5757 if (! wxColour_helper(_obj1
, &_arg1
))
5761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5762 wxBrush_SetColour(_arg0
,*_arg1
);
5764 wxPyEndAllowThreads(__tstate
);
5765 if (PyErr_Occurred()) return NULL
;
5766 } Py_INCREF(Py_None
);
5767 _resultobj
= Py_None
;
5771 #define wxBrush_SetStipple(_swigobj,_swigarg0) (_swigobj->SetStipple(_swigarg0))
5772 static PyObject
*_wrap_wxBrush_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5773 PyObject
* _resultobj
;
5776 PyObject
* _argo0
= 0;
5777 PyObject
* _argo1
= 0;
5778 char *_kwnames
[] = { "self","bitmap", NULL
};
5781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrush_SetStipple",_kwnames
,&_argo0
,&_argo1
))
5784 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5785 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
5786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStipple. Expected _wxBrush_p.");
5791 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5792 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
5793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrush_SetStipple. Expected _wxBitmap_p.");
5798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5799 wxBrush_SetStipple(_arg0
,*_arg1
);
5801 wxPyEndAllowThreads(__tstate
);
5802 if (PyErr_Occurred()) return NULL
;
5803 } Py_INCREF(Py_None
);
5804 _resultobj
= Py_None
;
5808 #define wxBrush_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
5809 static PyObject
*_wrap_wxBrush_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5810 PyObject
* _resultobj
;
5813 PyObject
* _argo0
= 0;
5814 char *_kwnames
[] = { "self","style", NULL
};
5817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBrush_SetStyle",_kwnames
,&_argo0
,&_arg1
))
5820 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5821 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
5822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStyle. Expected _wxBrush_p.");
5827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5828 wxBrush_SetStyle(_arg0
,_arg1
);
5830 wxPyEndAllowThreads(__tstate
);
5831 if (PyErr_Occurred()) return NULL
;
5832 } Py_INCREF(Py_None
);
5833 _resultobj
= Py_None
;
5837 static void *SwigwxBrushListTowxObject(void *ptr
) {
5840 src
= (wxBrushList
*) ptr
;
5841 dest
= (wxObject
*) src
;
5842 return (void *) dest
;
5845 #define wxBrushList_AddBrush(_swigobj,_swigarg0) (_swigobj->AddBrush(_swigarg0))
5846 static PyObject
*_wrap_wxBrushList_AddBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5847 PyObject
* _resultobj
;
5848 wxBrushList
* _arg0
;
5850 PyObject
* _argo0
= 0;
5851 PyObject
* _argo1
= 0;
5852 char *_kwnames
[] = { "self","brush", NULL
};
5855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrushList_AddBrush",_kwnames
,&_argo0
,&_argo1
))
5858 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5859 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
5860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_AddBrush. Expected _wxBrushList_p.");
5865 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5866 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
5867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrushList_AddBrush. Expected _wxBrush_p.");
5872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5873 wxBrushList_AddBrush(_arg0
,_arg1
);
5875 wxPyEndAllowThreads(__tstate
);
5876 if (PyErr_Occurred()) return NULL
;
5877 } Py_INCREF(Py_None
);
5878 _resultobj
= Py_None
;
5882 #define wxBrushList_FindOrCreateBrush(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindOrCreateBrush(_swigarg0,_swigarg1))
5883 static PyObject
*_wrap_wxBrushList_FindOrCreateBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5884 PyObject
* _resultobj
;
5886 wxBrushList
* _arg0
;
5889 PyObject
* _argo0
= 0;
5891 PyObject
* _obj1
= 0;
5892 char *_kwnames
[] = { "self","colour","style", NULL
};
5896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxBrushList_FindOrCreateBrush",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5899 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5900 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
5901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_FindOrCreateBrush. Expected _wxBrushList_p.");
5907 if (! wxColour_helper(_obj1
, &_arg1
))
5911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5912 _result
= (wxBrush
*)wxBrushList_FindOrCreateBrush(_arg0
,*_arg1
,_arg2
);
5914 wxPyEndAllowThreads(__tstate
);
5915 if (PyErr_Occurred()) return NULL
;
5917 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
5918 _resultobj
= Py_BuildValue("s",_ptemp
);
5921 _resultobj
= Py_None
;
5926 #define wxBrushList_RemoveBrush(_swigobj,_swigarg0) (_swigobj->RemoveBrush(_swigarg0))
5927 static PyObject
*_wrap_wxBrushList_RemoveBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5928 PyObject
* _resultobj
;
5929 wxBrushList
* _arg0
;
5931 PyObject
* _argo0
= 0;
5932 PyObject
* _argo1
= 0;
5933 char *_kwnames
[] = { "self","brush", NULL
};
5936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrushList_RemoveBrush",_kwnames
,&_argo0
,&_argo1
))
5939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
5941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_RemoveBrush. Expected _wxBrushList_p.");
5946 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5947 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
5948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrushList_RemoveBrush. Expected _wxBrush_p.");
5953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5954 wxBrushList_RemoveBrush(_arg0
,_arg1
);
5956 wxPyEndAllowThreads(__tstate
);
5957 if (PyErr_Occurred()) return NULL
;
5958 } Py_INCREF(Py_None
);
5959 _resultobj
= Py_None
;
5963 #define wxBrushList_GetCount(_swigobj) (_swigobj->GetCount())
5964 static PyObject
*_wrap_wxBrushList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5965 PyObject
* _resultobj
;
5967 wxBrushList
* _arg0
;
5968 PyObject
* _argo0
= 0;
5969 char *_kwnames
[] = { "self", NULL
};
5972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrushList_GetCount",_kwnames
,&_argo0
))
5975 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5976 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
5977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_GetCount. Expected _wxBrushList_p.");
5982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5983 _result
= (int )wxBrushList_GetCount(_arg0
);
5985 wxPyEndAllowThreads(__tstate
);
5986 if (PyErr_Occurred()) return NULL
;
5987 } _resultobj
= Py_BuildValue("i",_result
);
5991 static void *SwigwxDCTowxObject(void *ptr
) {
5995 dest
= (wxObject
*) src
;
5996 return (void *) dest
;
5999 #define delete_wxDC(_swigobj) (delete _swigobj)
6000 static PyObject
*_wrap_delete_wxDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6001 PyObject
* _resultobj
;
6003 PyObject
* _argo0
= 0;
6004 char *_kwnames
[] = { "self", NULL
};
6007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDC",_kwnames
,&_argo0
))
6010 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6011 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDC. Expected _wxDC_p.");
6017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6020 wxPyEndAllowThreads(__tstate
);
6021 if (PyErr_Occurred()) return NULL
;
6022 } Py_INCREF(Py_None
);
6023 _resultobj
= Py_None
;
6027 #define wxDC_BeginDrawing(_swigobj) (_swigobj->BeginDrawing())
6028 static PyObject
*_wrap_wxDC_BeginDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6029 PyObject
* _resultobj
;
6031 PyObject
* _argo0
= 0;
6032 char *_kwnames
[] = { "self", NULL
};
6035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_BeginDrawing",_kwnames
,&_argo0
))
6038 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6039 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_BeginDrawing. Expected _wxDC_p.");
6045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6046 wxDC_BeginDrawing(_arg0
);
6048 wxPyEndAllowThreads(__tstate
);
6049 if (PyErr_Occurred()) return NULL
;
6050 } Py_INCREF(Py_None
);
6051 _resultobj
= Py_None
;
6055 #define wxDC_Blit(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Blit(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
6056 static PyObject
*_wrap_wxDC_Blit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6057 PyObject
* _resultobj
;
6067 int _arg8
= (int ) wxCOPY
;
6068 int _arg9
= (int ) FALSE
;
6069 PyObject
* _argo0
= 0;
6070 PyObject
* _argo5
= 0;
6071 char *_kwnames
[] = { "self","xdest","ydest","width","height","source","xsrc","ysrc","logicalFunc","useMask", NULL
};
6074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllllOll|ii:wxDC_Blit",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_argo5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
))
6077 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6078 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Blit. Expected _wxDC_p.");
6084 if (_argo5
== Py_None
) { _arg5
= NULL
; }
6085 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxDC_p")) {
6086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxDC_Blit. Expected _wxDC_p.");
6091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6092 _result
= (bool )wxDC_Blit(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
6094 wxPyEndAllowThreads(__tstate
);
6095 if (PyErr_Occurred()) return NULL
;
6096 } _resultobj
= Py_BuildValue("i",_result
);
6100 #define wxDC_Clear(_swigobj) (_swigobj->Clear())
6101 static PyObject
*_wrap_wxDC_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6102 PyObject
* _resultobj
;
6104 PyObject
* _argo0
= 0;
6105 char *_kwnames
[] = { "self", NULL
};
6108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_Clear",_kwnames
,&_argo0
))
6111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Clear. Expected _wxDC_p.");
6118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6121 wxPyEndAllowThreads(__tstate
);
6122 if (PyErr_Occurred()) return NULL
;
6123 } Py_INCREF(Py_None
);
6124 _resultobj
= Py_None
;
6128 #define wxDC_CrossHair(_swigobj,_swigarg0,_swigarg1) (_swigobj->CrossHair(_swigarg0,_swigarg1))
6129 static PyObject
*_wrap_wxDC_CrossHair(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6130 PyObject
* _resultobj
;
6134 PyObject
* _argo0
= 0;
6135 char *_kwnames
[] = { "self","x","y", NULL
};
6138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_CrossHair",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CrossHair. Expected _wxDC_p.");
6148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6149 wxDC_CrossHair(_arg0
,_arg1
,_arg2
);
6151 wxPyEndAllowThreads(__tstate
);
6152 if (PyErr_Occurred()) return NULL
;
6153 } Py_INCREF(Py_None
);
6154 _resultobj
= Py_None
;
6158 #define wxDC_DestroyClippingRegion(_swigobj) (_swigobj->DestroyClippingRegion())
6159 static PyObject
*_wrap_wxDC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6160 PyObject
* _resultobj
;
6162 PyObject
* _argo0
= 0;
6163 char *_kwnames
[] = { "self", NULL
};
6166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_DestroyClippingRegion",_kwnames
,&_argo0
))
6169 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6170 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DestroyClippingRegion. Expected _wxDC_p.");
6176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6177 wxDC_DestroyClippingRegion(_arg0
);
6179 wxPyEndAllowThreads(__tstate
);
6180 if (PyErr_Occurred()) return NULL
;
6181 } Py_INCREF(Py_None
);
6182 _resultobj
= Py_None
;
6186 #define wxDC_DeviceToLogicalX(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalX(_swigarg0))
6187 static PyObject
*_wrap_wxDC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6188 PyObject
* _resultobj
;
6192 PyObject
* _argo0
= 0;
6193 char *_kwnames
[] = { "self","x", NULL
};
6196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalX",_kwnames
,&_argo0
,&_arg1
))
6199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalX. Expected _wxDC_p.");
6206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6207 _result
= (long )wxDC_DeviceToLogicalX(_arg0
,_arg1
);
6209 wxPyEndAllowThreads(__tstate
);
6210 if (PyErr_Occurred()) return NULL
;
6211 } _resultobj
= Py_BuildValue("l",_result
);
6215 #define wxDC_DeviceToLogicalXRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalXRel(_swigarg0))
6216 static PyObject
*_wrap_wxDC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6217 PyObject
* _resultobj
;
6221 PyObject
* _argo0
= 0;
6222 char *_kwnames
[] = { "self","x", NULL
};
6225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalXRel",_kwnames
,&_argo0
,&_arg1
))
6228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalXRel. Expected _wxDC_p.");
6235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6236 _result
= (long )wxDC_DeviceToLogicalXRel(_arg0
,_arg1
);
6238 wxPyEndAllowThreads(__tstate
);
6239 if (PyErr_Occurred()) return NULL
;
6240 } _resultobj
= Py_BuildValue("l",_result
);
6244 #define wxDC_DeviceToLogicalY(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalY(_swigarg0))
6245 static PyObject
*_wrap_wxDC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6246 PyObject
* _resultobj
;
6250 PyObject
* _argo0
= 0;
6251 char *_kwnames
[] = { "self","y", NULL
};
6254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalY",_kwnames
,&_argo0
,&_arg1
))
6257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalY. Expected _wxDC_p.");
6264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6265 _result
= (long )wxDC_DeviceToLogicalY(_arg0
,_arg1
);
6267 wxPyEndAllowThreads(__tstate
);
6268 if (PyErr_Occurred()) return NULL
;
6269 } _resultobj
= Py_BuildValue("l",_result
);
6273 #define wxDC_DeviceToLogicalYRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalYRel(_swigarg0))
6274 static PyObject
*_wrap_wxDC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6275 PyObject
* _resultobj
;
6279 PyObject
* _argo0
= 0;
6280 char *_kwnames
[] = { "self","y", NULL
};
6283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalYRel",_kwnames
,&_argo0
,&_arg1
))
6286 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6287 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalYRel. Expected _wxDC_p.");
6293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6294 _result
= (long )wxDC_DeviceToLogicalYRel(_arg0
,_arg1
);
6296 wxPyEndAllowThreads(__tstate
);
6297 if (PyErr_Occurred()) return NULL
;
6298 } _resultobj
= Py_BuildValue("l",_result
);
6302 #define wxDC_DrawArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6303 static PyObject
*_wrap_wxDC_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6304 PyObject
* _resultobj
;
6312 PyObject
* _argo0
= 0;
6313 char *_kwnames
[] = { "self","x1","y1","x2","y2","xc","yc", NULL
};
6316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollllll:wxDC_DrawArc",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
6319 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6320 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawArc. Expected _wxDC_p.");
6326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6327 wxDC_DrawArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
6329 wxPyEndAllowThreads(__tstate
);
6330 if (PyErr_Occurred()) return NULL
;
6331 } Py_INCREF(Py_None
);
6332 _resultobj
= Py_None
;
6336 #define wxDC_DrawCircle(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawCircle(_swigarg0,_swigarg1,_swigarg2))
6337 static PyObject
*_wrap_wxDC_DrawCircle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6338 PyObject
* _resultobj
;
6343 PyObject
* _argo0
= 0;
6344 char *_kwnames
[] = { "self","x","y","radius", NULL
};
6347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olll:wxDC_DrawCircle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
6350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawCircle. Expected _wxDC_p.");
6357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6358 wxDC_DrawCircle(_arg0
,_arg1
,_arg2
,_arg3
);
6360 wxPyEndAllowThreads(__tstate
);
6361 if (PyErr_Occurred()) return NULL
;
6362 } Py_INCREF(Py_None
);
6363 _resultobj
= Py_None
;
6367 #define wxDC_DrawEllipse(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawEllipse(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6368 static PyObject
*_wrap_wxDC_DrawEllipse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6369 PyObject
* _resultobj
;
6375 PyObject
* _argo0
= 0;
6376 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
6379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_DrawEllipse",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
6382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipse. Expected _wxDC_p.");
6389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6390 wxDC_DrawEllipse(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6392 wxPyEndAllowThreads(__tstate
);
6393 if (PyErr_Occurred()) return NULL
;
6394 } Py_INCREF(Py_None
);
6395 _resultobj
= Py_None
;
6399 #define wxDC_DrawEllipticArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawEllipticArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6400 static PyObject
*_wrap_wxDC_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6401 PyObject
* _resultobj
;
6409 PyObject
* _argo0
= 0;
6410 char *_kwnames
[] = { "self","x","y","width","height","start","end", NULL
};
6413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollllll:wxDC_DrawEllipticArc",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
6416 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6417 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipticArc. Expected _wxDC_p.");
6423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6424 wxDC_DrawEllipticArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
6426 wxPyEndAllowThreads(__tstate
);
6427 if (PyErr_Occurred()) return NULL
;
6428 } Py_INCREF(Py_None
);
6429 _resultobj
= Py_None
;
6433 #define wxDC_DrawIcon(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawIcon(_swigarg0,_swigarg1,_swigarg2))
6434 static PyObject
*_wrap_wxDC_DrawIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6435 PyObject
* _resultobj
;
6440 PyObject
* _argo0
= 0;
6441 PyObject
* _argo1
= 0;
6442 char *_kwnames
[] = { "self","icon","x","y", NULL
};
6445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOll:wxDC_DrawIcon",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
6448 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6449 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawIcon. Expected _wxDC_p.");
6455 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6456 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
6457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawIcon. Expected _wxIcon_p.");
6462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6463 wxDC_DrawIcon(_arg0
,*_arg1
,_arg2
,_arg3
);
6465 wxPyEndAllowThreads(__tstate
);
6466 if (PyErr_Occurred()) return NULL
;
6467 } Py_INCREF(Py_None
);
6468 _resultobj
= Py_None
;
6472 #define wxDC_DrawLabel(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLabel(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6473 static PyObject
*_wrap_wxDC_DrawLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6474 PyObject
* _resultobj
;
6478 int _arg3
= (int ) wxALIGN_LEFT
|wxALIGN_TOP
;
6479 int _arg4
= (int ) -1;
6480 PyObject
* _argo0
= 0;
6481 PyObject
* _obj1
= 0;
6483 PyObject
* _obj2
= 0;
6484 char *_kwnames
[] = { "self","text","rect","alignment","indexAccel", NULL
};
6487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|ii:wxDC_DrawLabel",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_arg3
,&_arg4
))
6490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLabel. Expected _wxDC_p.");
6497 _arg1
= wxString_in_helper(_obj1
);
6503 if (! wxRect_helper(_obj2
, &_arg2
))
6507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6508 wxDC_DrawLabel(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
6510 wxPyEndAllowThreads(__tstate
);
6511 if (PyErr_Occurred()) return NULL
;
6512 } Py_INCREF(Py_None
);
6513 _resultobj
= Py_None
;
6521 static wxRect
wxDC_DrawImageLabel(wxDC
*self
,const wxString
& text
,const wxBitmap
& image
,const wxRect
& rect
,int alignment
,int indexAccel
) {
6523 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
6526 static PyObject
*_wrap_wxDC_DrawImageLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6527 PyObject
* _resultobj
;
6533 int _arg4
= (int ) wxALIGN_LEFT
|wxALIGN_TOP
;
6534 int _arg5
= (int ) -1;
6535 PyObject
* _argo0
= 0;
6536 PyObject
* _obj1
= 0;
6537 PyObject
* _argo2
= 0;
6539 PyObject
* _obj3
= 0;
6540 char *_kwnames
[] = { "self","text","image","rect","alignment","indexAccel", NULL
};
6544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|ii:wxDC_DrawImageLabel",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_obj3
,&_arg4
,&_arg5
))
6547 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6548 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawImageLabel. Expected _wxDC_p.");
6554 _arg1
= wxString_in_helper(_obj1
);
6559 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6560 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
6561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDC_DrawImageLabel. Expected _wxBitmap_p.");
6567 if (! wxRect_helper(_obj3
, &_arg3
))
6571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6572 _result
= new wxRect (wxDC_DrawImageLabel(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
));
6574 wxPyEndAllowThreads(__tstate
);
6575 if (PyErr_Occurred()) return NULL
;
6576 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
6577 _resultobj
= Py_BuildValue("s",_ptemp
);
6585 #define wxDC_DrawLine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6586 static PyObject
*_wrap_wxDC_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6587 PyObject
* _resultobj
;
6593 PyObject
* _argo0
= 0;
6594 char *_kwnames
[] = { "self","x1","y1","x2","y2", NULL
};
6597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_DrawLine",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
6600 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6601 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLine. Expected _wxDC_p.");
6607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6608 wxDC_DrawLine(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6610 wxPyEndAllowThreads(__tstate
);
6611 if (PyErr_Occurred()) return NULL
;
6612 } Py_INCREF(Py_None
);
6613 _resultobj
= Py_None
;
6617 #define wxDC_DrawLines(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLines(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6618 static PyObject
*_wrap_wxDC_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6619 PyObject
* _resultobj
;
6623 long _arg3
= (long ) 0;
6624 long _arg4
= (long ) 0;
6625 PyObject
* _argo0
= 0;
6627 PyObject
* _obj2
= 0;
6628 char *_kwnames
[] = { "self","points","xoffset","yoffset", NULL
};
6631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ll:wxDC_DrawLines",_kwnames
,&_argo0
,&_obj2
,&_arg3
,&_arg4
))
6634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLines. Expected _wxDC_p.");
6642 _arg2
= wxPoint_LIST_helper(_obj2
, &NPOINTS
);
6643 if (_arg2
== NULL
) {
6651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6652 wxDC_DrawLines(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6654 wxPyEndAllowThreads(__tstate
);
6655 if (PyErr_Occurred()) return NULL
;
6656 } Py_INCREF(Py_None
);
6657 _resultobj
= Py_None
;
6664 #define wxDC_DrawPolygon(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawPolygon(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6665 static PyObject
*_wrap_wxDC_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6666 PyObject
* _resultobj
;
6670 long _arg3
= (long ) 0;
6671 long _arg4
= (long ) 0;
6672 int _arg5
= (int ) wxODDEVEN_RULE
;
6673 PyObject
* _argo0
= 0;
6675 PyObject
* _obj2
= 0;
6676 char *_kwnames
[] = { "self","points","xoffset","yoffset","fill_style", NULL
};
6679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|lli:wxDC_DrawPolygon",_kwnames
,&_argo0
,&_obj2
,&_arg3
,&_arg4
,&_arg5
))
6682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPolygon. Expected _wxDC_p.");
6690 _arg2
= wxPoint_LIST_helper(_obj2
, &NPOINTS
);
6691 if (_arg2
== NULL
) {
6699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6700 wxDC_DrawPolygon(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
6702 wxPyEndAllowThreads(__tstate
);
6703 if (PyErr_Occurred()) return NULL
;
6704 } Py_INCREF(Py_None
);
6705 _resultobj
= Py_None
;
6712 #define wxDC_DrawPoint(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawPoint(_swigarg0,_swigarg1))
6713 static PyObject
*_wrap_wxDC_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6714 PyObject
* _resultobj
;
6718 PyObject
* _argo0
= 0;
6719 char *_kwnames
[] = { "self","x","y", NULL
};
6722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_DrawPoint",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6725 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6726 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPoint. Expected _wxDC_p.");
6732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6733 wxDC_DrawPoint(_arg0
,_arg1
,_arg2
);
6735 wxPyEndAllowThreads(__tstate
);
6736 if (PyErr_Occurred()) return NULL
;
6737 } Py_INCREF(Py_None
);
6738 _resultobj
= Py_None
;
6742 #define wxDC_DrawRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6743 static PyObject
*_wrap_wxDC_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6744 PyObject
* _resultobj
;
6750 PyObject
* _argo0
= 0;
6751 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
6754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_DrawRectangle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
6757 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6758 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRectangle. Expected _wxDC_p.");
6764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6765 wxDC_DrawRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6767 wxPyEndAllowThreads(__tstate
);
6768 if (PyErr_Occurred()) return NULL
;
6769 } Py_INCREF(Py_None
);
6770 _resultobj
= Py_None
;
6774 #define wxDC_DrawRotatedText(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRotatedText(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6775 static PyObject
*_wrap_wxDC_DrawRotatedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6776 PyObject
* _resultobj
;
6782 PyObject
* _argo0
= 0;
6783 PyObject
* _obj1
= 0;
6784 char *_kwnames
[] = { "self","text","x","y","angle", NULL
};
6787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiid:wxDC_DrawRotatedText",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_arg4
))
6790 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6791 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRotatedText. Expected _wxDC_p.");
6797 _arg1
= wxString_in_helper(_obj1
);
6802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6803 wxDC_DrawRotatedText(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
6805 wxPyEndAllowThreads(__tstate
);
6806 if (PyErr_Occurred()) return NULL
;
6807 } Py_INCREF(Py_None
);
6808 _resultobj
= Py_None
;
6816 #define wxDC_DrawRoundedRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawRoundedRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6817 static PyObject
*_wrap_wxDC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6818 PyObject
* _resultobj
;
6824 long _arg5
= (long ) 20;
6825 PyObject
* _argo0
= 0;
6826 char *_kwnames
[] = { "self","x","y","width","height","radius", NULL
};
6829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll|l:wxDC_DrawRoundedRectangle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
6832 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6833 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRoundedRectangle. Expected _wxDC_p.");
6839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6840 wxDC_DrawRoundedRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
6842 wxPyEndAllowThreads(__tstate
);
6843 if (PyErr_Occurred()) return NULL
;
6844 } Py_INCREF(Py_None
);
6845 _resultobj
= Py_None
;
6849 #define wxDC_DrawSpline(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawSpline(_swigarg0,_swigarg1))
6850 static PyObject
*_wrap_wxDC_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6851 PyObject
* _resultobj
;
6855 PyObject
* _argo0
= 0;
6857 PyObject
* _obj2
= 0;
6858 char *_kwnames
[] = { "self","points", NULL
};
6861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_DrawSpline",_kwnames
,&_argo0
,&_obj2
))
6864 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6865 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6866 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawSpline. Expected _wxDC_p.");
6872 _arg2
= wxPoint_LIST_helper(_obj2
, &NPOINTS
);
6873 if (_arg2
== NULL
) {
6881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6882 wxDC_DrawSpline(_arg0
,_arg1
,_arg2
);
6884 wxPyEndAllowThreads(__tstate
);
6885 if (PyErr_Occurred()) return NULL
;
6886 } Py_INCREF(Py_None
);
6887 _resultobj
= Py_None
;
6894 #define wxDC_DrawText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawText(_swigarg0,_swigarg1,_swigarg2))
6895 static PyObject
*_wrap_wxDC_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6896 PyObject
* _resultobj
;
6901 PyObject
* _argo0
= 0;
6902 PyObject
* _obj1
= 0;
6903 char *_kwnames
[] = { "self","text","x","y", NULL
};
6906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOll:wxDC_DrawText",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
))
6909 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6910 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawText. Expected _wxDC_p.");
6916 _arg1
= wxString_in_helper(_obj1
);
6921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6922 wxDC_DrawText(_arg0
,*_arg1
,_arg2
,_arg3
);
6924 wxPyEndAllowThreads(__tstate
);
6925 if (PyErr_Occurred()) return NULL
;
6926 } Py_INCREF(Py_None
);
6927 _resultobj
= Py_None
;
6935 #define wxDC_EndDoc(_swigobj) (_swigobj->EndDoc())
6936 static PyObject
*_wrap_wxDC_EndDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6937 PyObject
* _resultobj
;
6939 PyObject
* _argo0
= 0;
6940 char *_kwnames
[] = { "self", NULL
};
6943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndDoc",_kwnames
,&_argo0
))
6946 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6947 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDoc. Expected _wxDC_p.");
6953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6956 wxPyEndAllowThreads(__tstate
);
6957 if (PyErr_Occurred()) return NULL
;
6958 } Py_INCREF(Py_None
);
6959 _resultobj
= Py_None
;
6963 #define wxDC_EndDrawing(_swigobj) (_swigobj->EndDrawing())
6964 static PyObject
*_wrap_wxDC_EndDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6965 PyObject
* _resultobj
;
6967 PyObject
* _argo0
= 0;
6968 char *_kwnames
[] = { "self", NULL
};
6971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndDrawing",_kwnames
,&_argo0
))
6974 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6975 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDrawing. Expected _wxDC_p.");
6981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6982 wxDC_EndDrawing(_arg0
);
6984 wxPyEndAllowThreads(__tstate
);
6985 if (PyErr_Occurred()) return NULL
;
6986 } Py_INCREF(Py_None
);
6987 _resultobj
= Py_None
;
6991 #define wxDC_EndPage(_swigobj) (_swigobj->EndPage())
6992 static PyObject
*_wrap_wxDC_EndPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6993 PyObject
* _resultobj
;
6995 PyObject
* _argo0
= 0;
6996 char *_kwnames
[] = { "self", NULL
};
6999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndPage",_kwnames
,&_argo0
))
7002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndPage. Expected _wxDC_p.");
7009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7010 wxDC_EndPage(_arg0
);
7012 wxPyEndAllowThreads(__tstate
);
7013 if (PyErr_Occurred()) return NULL
;
7014 } Py_INCREF(Py_None
);
7015 _resultobj
= Py_None
;
7019 #define wxDC_FloodFill(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->FloodFill(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7020 static PyObject
*_wrap_wxDC_FloodFill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7021 PyObject
* _resultobj
;
7026 int _arg4
= (int ) wxFLOOD_SURFACE
;
7027 PyObject
* _argo0
= 0;
7029 PyObject
* _obj3
= 0;
7030 char *_kwnames
[] = { "self","x","y","colour","style", NULL
};
7033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO|i:wxDC_FloodFill",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_arg4
))
7036 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7037 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_FloodFill. Expected _wxDC_p.");
7044 if (! wxColour_helper(_obj3
, &_arg3
))
7048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7049 wxDC_FloodFill(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
7051 wxPyEndAllowThreads(__tstate
);
7052 if (PyErr_Occurred()) return NULL
;
7053 } Py_INCREF(Py_None
);
7054 _resultobj
= Py_None
;
7058 #define wxDC_GetBackground(_swigobj) (_swigobj->GetBackground())
7059 static PyObject
*_wrap_wxDC_GetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7060 PyObject
* _resultobj
;
7063 PyObject
* _argo0
= 0;
7064 char *_kwnames
[] = { "self", NULL
};
7068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBackground",_kwnames
,&_argo0
))
7071 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7072 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBackground. Expected _wxDC_p.");
7078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7079 _result
= new wxBrush (wxDC_GetBackground(_arg0
));
7081 wxPyEndAllowThreads(__tstate
);
7082 if (PyErr_Occurred()) return NULL
;
7083 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBrush_p");
7084 _resultobj
= Py_BuildValue("s",_ptemp
);
7088 #define wxDC_GetBrush(_swigobj) (_swigobj->GetBrush())
7089 static PyObject
*_wrap_wxDC_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7090 PyObject
* _resultobj
;
7093 PyObject
* _argo0
= 0;
7094 char *_kwnames
[] = { "self", NULL
};
7098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBrush",_kwnames
,&_argo0
))
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_GetBrush. Expected _wxDC_p.");
7108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7109 _result
= new wxBrush (wxDC_GetBrush(_arg0
));
7111 wxPyEndAllowThreads(__tstate
);
7112 if (PyErr_Occurred()) return NULL
;
7113 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBrush_p");
7114 _resultobj
= Py_BuildValue("s",_ptemp
);
7118 #define wxDC_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
7119 static PyObject
*_wrap_wxDC_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7120 PyObject
* _resultobj
;
7123 PyObject
* _argo0
= 0;
7124 char *_kwnames
[] = { "self", NULL
};
7127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetCharHeight",_kwnames
,&_argo0
))
7130 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7131 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharHeight. Expected _wxDC_p.");
7137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7138 _result
= (long )wxDC_GetCharHeight(_arg0
);
7140 wxPyEndAllowThreads(__tstate
);
7141 if (PyErr_Occurred()) return NULL
;
7142 } _resultobj
= Py_BuildValue("l",_result
);
7146 #define wxDC_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
7147 static PyObject
*_wrap_wxDC_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7148 PyObject
* _resultobj
;
7151 PyObject
* _argo0
= 0;
7152 char *_kwnames
[] = { "self", NULL
};
7155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetCharWidth",_kwnames
,&_argo0
))
7158 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7159 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharWidth. Expected _wxDC_p.");
7165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7166 _result
= (long )wxDC_GetCharWidth(_arg0
);
7168 wxPyEndAllowThreads(__tstate
);
7169 if (PyErr_Occurred()) return NULL
;
7170 } _resultobj
= Py_BuildValue("l",_result
);
7174 #define wxDC_GetClippingBox(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetClippingBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7175 static PyObject
*_wrap_wxDC_GetClippingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7176 PyObject
* _resultobj
;
7186 PyObject
* _argo0
= 0;
7187 char *_kwnames
[] = { "self", NULL
};
7202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetClippingBox",_kwnames
,&_argo0
))
7205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetClippingBox. Expected _wxDC_p.");
7212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7213 wxDC_GetClippingBox(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7215 wxPyEndAllowThreads(__tstate
);
7216 if (PyErr_Occurred()) return NULL
;
7217 } Py_INCREF(Py_None
);
7218 _resultobj
= Py_None
;
7221 o
= PyInt_FromLong((long) (*_arg1
));
7222 _resultobj
= t_output_helper(_resultobj
, o
);
7226 o
= PyInt_FromLong((long) (*_arg2
));
7227 _resultobj
= t_output_helper(_resultobj
, o
);
7231 o
= PyInt_FromLong((long) (*_arg3
));
7232 _resultobj
= t_output_helper(_resultobj
, o
);
7236 o
= PyInt_FromLong((long) (*_arg4
));
7237 _resultobj
= t_output_helper(_resultobj
, o
);
7242 #define wxDC_GetFont(_swigobj) (_swigobj->GetFont())
7243 static PyObject
*_wrap_wxDC_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7244 PyObject
* _resultobj
;
7247 PyObject
* _argo0
= 0;
7248 char *_kwnames
[] = { "self", NULL
};
7252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetFont",_kwnames
,&_argo0
))
7255 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7256 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFont. Expected _wxDC_p.");
7262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7263 _result
= new wxFont (wxDC_GetFont(_arg0
));
7265 wxPyEndAllowThreads(__tstate
);
7266 if (PyErr_Occurred()) return NULL
;
7267 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
7268 _resultobj
= Py_BuildValue("s",_ptemp
);
7272 #define wxDC_GetLogicalFunction(_swigobj) (_swigobj->GetLogicalFunction())
7273 static PyObject
*_wrap_wxDC_GetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7274 PyObject
* _resultobj
;
7277 PyObject
* _argo0
= 0;
7278 char *_kwnames
[] = { "self", NULL
};
7281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalFunction",_kwnames
,&_argo0
))
7284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalFunction. Expected _wxDC_p.");
7291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7292 _result
= (int )wxDC_GetLogicalFunction(_arg0
);
7294 wxPyEndAllowThreads(__tstate
);
7295 if (PyErr_Occurred()) return NULL
;
7296 } _resultobj
= Py_BuildValue("i",_result
);
7300 #define wxDC_GetLogicalScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLogicalScale(_swigarg0,_swigarg1))
7301 static PyObject
*_wrap_wxDC_GetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7302 PyObject
* _resultobj
;
7308 PyObject
* _argo0
= 0;
7309 char *_kwnames
[] = { "self", NULL
};
7318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalScale",_kwnames
,&_argo0
))
7321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalScale. Expected _wxDC_p.");
7328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7329 wxDC_GetLogicalScale(_arg0
,_arg1
,_arg2
);
7331 wxPyEndAllowThreads(__tstate
);
7332 if (PyErr_Occurred()) return NULL
;
7333 } Py_INCREF(Py_None
);
7334 _resultobj
= Py_None
;
7337 o
= PyFloat_FromDouble((double) (*_arg1
));
7338 _resultobj
= t_output_helper(_resultobj
, o
);
7342 o
= PyFloat_FromDouble((double) (*_arg2
));
7343 _resultobj
= t_output_helper(_resultobj
, o
);
7348 #define wxDC_GetMapMode(_swigobj) (_swigobj->GetMapMode())
7349 static PyObject
*_wrap_wxDC_GetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7350 PyObject
* _resultobj
;
7353 PyObject
* _argo0
= 0;
7354 char *_kwnames
[] = { "self", NULL
};
7357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetMapMode",_kwnames
,&_argo0
))
7360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetMapMode. Expected _wxDC_p.");
7367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7368 _result
= (int )wxDC_GetMapMode(_arg0
);
7370 wxPyEndAllowThreads(__tstate
);
7371 if (PyErr_Occurred()) return NULL
;
7372 } _resultobj
= Py_BuildValue("i",_result
);
7376 #define wxDC_GetOptimization(_swigobj) (_swigobj->GetOptimization())
7377 static PyObject
*_wrap_wxDC_GetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7378 PyObject
* _resultobj
;
7381 PyObject
* _argo0
= 0;
7382 char *_kwnames
[] = { "self", NULL
};
7385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetOptimization",_kwnames
,&_argo0
))
7388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetOptimization. Expected _wxDC_p.");
7395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7396 _result
= (bool )wxDC_GetOptimization(_arg0
);
7398 wxPyEndAllowThreads(__tstate
);
7399 if (PyErr_Occurred()) return NULL
;
7400 } _resultobj
= Py_BuildValue("i",_result
);
7404 #define wxDC_GetPen(_swigobj) (_swigobj->GetPen())
7405 static PyObject
*_wrap_wxDC_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7406 PyObject
* _resultobj
;
7409 PyObject
* _argo0
= 0;
7410 char *_kwnames
[] = { "self", NULL
};
7414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetPen",_kwnames
,&_argo0
))
7417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPen. Expected _wxDC_p.");
7424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7425 _result
= new wxPen (wxDC_GetPen(_arg0
));
7427 wxPyEndAllowThreads(__tstate
);
7428 if (PyErr_Occurred()) return NULL
;
7429 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPen_p");
7430 _resultobj
= Py_BuildValue("s",_ptemp
);
7434 static wxColour
* wxDC_GetPixel(wxDC
*self
,long x
,long y
) {
7435 wxColour
* wc
= new wxColour();
7436 self
->GetPixel(x
, y
, wc
);
7439 static PyObject
*_wrap_wxDC_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7440 PyObject
* _resultobj
;
7445 PyObject
* _argo0
= 0;
7446 char *_kwnames
[] = { "self","x","y", NULL
};
7450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_GetPixel",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7453 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7454 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPixel. Expected _wxDC_p.");
7460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7461 _result
= (wxColour
*)wxDC_GetPixel(_arg0
,_arg1
,_arg2
);
7463 wxPyEndAllowThreads(__tstate
);
7464 if (PyErr_Occurred()) return NULL
;
7466 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
7467 _resultobj
= Py_BuildValue("s",_ptemp
);
7470 _resultobj
= Py_None
;
7475 #define wxDC_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
7476 static PyObject
*_wrap_wxDC_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7477 PyObject
* _resultobj
;
7483 PyObject
* _argo0
= 0;
7484 char *_kwnames
[] = { "self", NULL
};
7493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSizeTuple",_kwnames
,&_argo0
))
7496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSizeTuple. Expected _wxDC_p.");
7503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7504 wxDC_GetSizeTuple(_arg0
,_arg1
,_arg2
);
7506 wxPyEndAllowThreads(__tstate
);
7507 if (PyErr_Occurred()) return NULL
;
7508 } Py_INCREF(Py_None
);
7509 _resultobj
= Py_None
;
7512 o
= PyInt_FromLong((long) (*_arg1
));
7513 _resultobj
= t_output_helper(_resultobj
, o
);
7517 o
= PyInt_FromLong((long) (*_arg2
));
7518 _resultobj
= t_output_helper(_resultobj
, o
);
7523 #define wxDC_GetSize(_swigobj) (_swigobj->GetSize())
7524 static PyObject
*_wrap_wxDC_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7525 PyObject
* _resultobj
;
7528 PyObject
* _argo0
= 0;
7529 char *_kwnames
[] = { "self", NULL
};
7533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSize",_kwnames
,&_argo0
))
7536 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7537 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSize. Expected _wxDC_p.");
7543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7544 _result
= new wxSize (wxDC_GetSize(_arg0
));
7546 wxPyEndAllowThreads(__tstate
);
7547 if (PyErr_Occurred()) return NULL
;
7548 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
7549 _resultobj
= Py_BuildValue("s",_ptemp
);
7553 #define wxDC_GetSizeMM(_swigobj) (_swigobj->GetSizeMM())
7554 static PyObject
*_wrap_wxDC_GetSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7555 PyObject
* _resultobj
;
7558 PyObject
* _argo0
= 0;
7559 char *_kwnames
[] = { "self", NULL
};
7563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSizeMM",_kwnames
,&_argo0
))
7566 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7567 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSizeMM. Expected _wxDC_p.");
7573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7574 _result
= new wxSize (wxDC_GetSizeMM(_arg0
));
7576 wxPyEndAllowThreads(__tstate
);
7577 if (PyErr_Occurred()) return NULL
;
7578 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
7579 _resultobj
= Py_BuildValue("s",_ptemp
);
7583 #define wxDC_GetTextBackground(_swigobj) (_swigobj->GetTextBackground())
7584 static PyObject
*_wrap_wxDC_GetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7585 PyObject
* _resultobj
;
7588 PyObject
* _argo0
= 0;
7589 char *_kwnames
[] = { "self", NULL
};
7593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetTextBackground",_kwnames
,&_argo0
))
7596 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7597 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextBackground. Expected _wxDC_p.");
7603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7604 _result
= new wxColour (wxDC_GetTextBackground(_arg0
));
7606 wxPyEndAllowThreads(__tstate
);
7607 if (PyErr_Occurred()) return NULL
;
7608 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
7609 _resultobj
= Py_BuildValue("s",_ptemp
);
7613 #define wxDC_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
7614 static PyObject
*_wrap_wxDC_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7615 PyObject
* _resultobj
;
7622 PyObject
* _argo0
= 0;
7623 PyObject
* _obj1
= 0;
7624 char *_kwnames
[] = { "self","string", NULL
};
7633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_GetTextExtent",_kwnames
,&_argo0
,&_obj1
))
7636 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7637 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextExtent. Expected _wxDC_p.");
7643 _arg1
= wxString_in_helper(_obj1
);
7648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7649 wxDC_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
7651 wxPyEndAllowThreads(__tstate
);
7652 if (PyErr_Occurred()) return NULL
;
7653 } Py_INCREF(Py_None
);
7654 _resultobj
= Py_None
;
7657 o
= PyInt_FromLong((long) (*_arg2
));
7658 _resultobj
= t_output_helper(_resultobj
, o
);
7662 o
= PyInt_FromLong((long) (*_arg3
));
7663 _resultobj
= t_output_helper(_resultobj
, o
);
7672 #define wxDC_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7673 static PyObject
*_wrap_wxDC_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7674 PyObject
* _resultobj
;
7685 wxFont
* _arg6
= (wxFont
*) NULL
;
7686 PyObject
* _argo0
= 0;
7687 PyObject
* _obj1
= 0;
7688 PyObject
* _argo6
= 0;
7689 char *_kwnames
[] = { "self","string","font", NULL
};
7704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxDC_GetFullTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo6
))
7707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFullTextExtent. Expected _wxDC_p.");
7714 _arg1
= wxString_in_helper(_obj1
);
7719 if (_argo6
== Py_None
) { _arg6
= NULL
; }
7720 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
7721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxDC_GetFullTextExtent. Expected _wxFont_p.");
7726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7727 wxDC_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
7729 wxPyEndAllowThreads(__tstate
);
7730 if (PyErr_Occurred()) return NULL
;
7731 } Py_INCREF(Py_None
);
7732 _resultobj
= Py_None
;
7735 o
= PyInt_FromLong((long) (*_arg2
));
7736 _resultobj
= t_output_helper(_resultobj
, o
);
7740 o
= PyInt_FromLong((long) (*_arg3
));
7741 _resultobj
= t_output_helper(_resultobj
, o
);
7745 o
= PyInt_FromLong((long) (*_arg4
));
7746 _resultobj
= t_output_helper(_resultobj
, o
);
7750 o
= PyInt_FromLong((long) (*_arg5
));
7751 _resultobj
= t_output_helper(_resultobj
, o
);
7760 #define wxDC_GetTextForeground(_swigobj) (_swigobj->GetTextForeground())
7761 static PyObject
*_wrap_wxDC_GetTextForeground(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_GetTextForeground",_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_GetTextForeground. Expected _wxDC_p.");
7780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7781 _result
= new wxColour (wxDC_GetTextForeground(_arg0
));
7783 wxPyEndAllowThreads(__tstate
);
7784 if (PyErr_Occurred()) return NULL
;
7785 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
7786 _resultobj
= Py_BuildValue("s",_ptemp
);
7790 #define wxDC_GetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetUserScale(_swigarg0,_swigarg1))
7791 static PyObject
*_wrap_wxDC_GetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7792 PyObject
* _resultobj
;
7798 PyObject
* _argo0
= 0;
7799 char *_kwnames
[] = { "self", NULL
};
7808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetUserScale",_kwnames
,&_argo0
))
7811 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7812 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetUserScale. Expected _wxDC_p.");
7818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7819 wxDC_GetUserScale(_arg0
,_arg1
,_arg2
);
7821 wxPyEndAllowThreads(__tstate
);
7822 if (PyErr_Occurred()) return NULL
;
7823 } Py_INCREF(Py_None
);
7824 _resultobj
= Py_None
;
7827 o
= PyFloat_FromDouble((double) (*_arg1
));
7828 _resultobj
= t_output_helper(_resultobj
, o
);
7832 o
= PyFloat_FromDouble((double) (*_arg2
));
7833 _resultobj
= t_output_helper(_resultobj
, o
);
7838 #define wxDC_LogicalToDeviceX(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceX(_swigarg0))
7839 static PyObject
*_wrap_wxDC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7840 PyObject
* _resultobj
;
7844 PyObject
* _argo0
= 0;
7845 char *_kwnames
[] = { "self","x", NULL
};
7848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceX",_kwnames
,&_argo0
,&_arg1
))
7851 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7852 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceX. Expected _wxDC_p.");
7858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7859 _result
= (long )wxDC_LogicalToDeviceX(_arg0
,_arg1
);
7861 wxPyEndAllowThreads(__tstate
);
7862 if (PyErr_Occurred()) return NULL
;
7863 } _resultobj
= Py_BuildValue("l",_result
);
7867 #define wxDC_LogicalToDeviceXRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceXRel(_swigarg0))
7868 static PyObject
*_wrap_wxDC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7869 PyObject
* _resultobj
;
7873 PyObject
* _argo0
= 0;
7874 char *_kwnames
[] = { "self","x", NULL
};
7877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceXRel",_kwnames
,&_argo0
,&_arg1
))
7880 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7881 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceXRel. Expected _wxDC_p.");
7887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7888 _result
= (long )wxDC_LogicalToDeviceXRel(_arg0
,_arg1
);
7890 wxPyEndAllowThreads(__tstate
);
7891 if (PyErr_Occurred()) return NULL
;
7892 } _resultobj
= Py_BuildValue("l",_result
);
7896 #define wxDC_LogicalToDeviceY(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceY(_swigarg0))
7897 static PyObject
*_wrap_wxDC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7898 PyObject
* _resultobj
;
7902 PyObject
* _argo0
= 0;
7903 char *_kwnames
[] = { "self","y", NULL
};
7906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceY",_kwnames
,&_argo0
,&_arg1
))
7909 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7910 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceY. Expected _wxDC_p.");
7916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7917 _result
= (long )wxDC_LogicalToDeviceY(_arg0
,_arg1
);
7919 wxPyEndAllowThreads(__tstate
);
7920 if (PyErr_Occurred()) return NULL
;
7921 } _resultobj
= Py_BuildValue("l",_result
);
7925 #define wxDC_LogicalToDeviceYRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceYRel(_swigarg0))
7926 static PyObject
*_wrap_wxDC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7927 PyObject
* _resultobj
;
7931 PyObject
* _argo0
= 0;
7932 char *_kwnames
[] = { "self","y", NULL
};
7935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceYRel",_kwnames
,&_argo0
,&_arg1
))
7938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceYRel. Expected _wxDC_p.");
7945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7946 _result
= (long )wxDC_LogicalToDeviceYRel(_arg0
,_arg1
);
7948 wxPyEndAllowThreads(__tstate
);
7949 if (PyErr_Occurred()) return NULL
;
7950 } _resultobj
= Py_BuildValue("l",_result
);
7954 #define wxDC_MaxX(_swigobj) (_swigobj->MaxX())
7955 static PyObject
*_wrap_wxDC_MaxX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7956 PyObject
* _resultobj
;
7959 PyObject
* _argo0
= 0;
7960 char *_kwnames
[] = { "self", NULL
};
7963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MaxX",_kwnames
,&_argo0
))
7966 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7967 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxX. Expected _wxDC_p.");
7973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7974 _result
= (long )wxDC_MaxX(_arg0
);
7976 wxPyEndAllowThreads(__tstate
);
7977 if (PyErr_Occurred()) return NULL
;
7978 } _resultobj
= Py_BuildValue("l",_result
);
7982 #define wxDC_MaxY(_swigobj) (_swigobj->MaxY())
7983 static PyObject
*_wrap_wxDC_MaxY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7984 PyObject
* _resultobj
;
7987 PyObject
* _argo0
= 0;
7988 char *_kwnames
[] = { "self", NULL
};
7991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MaxY",_kwnames
,&_argo0
))
7994 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7995 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxY. Expected _wxDC_p.");
8001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8002 _result
= (long )wxDC_MaxY(_arg0
);
8004 wxPyEndAllowThreads(__tstate
);
8005 if (PyErr_Occurred()) return NULL
;
8006 } _resultobj
= Py_BuildValue("l",_result
);
8010 #define wxDC_MinX(_swigobj) (_swigobj->MinX())
8011 static PyObject
*_wrap_wxDC_MinX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8012 PyObject
* _resultobj
;
8015 PyObject
* _argo0
= 0;
8016 char *_kwnames
[] = { "self", NULL
};
8019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MinX",_kwnames
,&_argo0
))
8022 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8023 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinX. Expected _wxDC_p.");
8029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8030 _result
= (long )wxDC_MinX(_arg0
);
8032 wxPyEndAllowThreads(__tstate
);
8033 if (PyErr_Occurred()) return NULL
;
8034 } _resultobj
= Py_BuildValue("l",_result
);
8038 #define wxDC_MinY(_swigobj) (_swigobj->MinY())
8039 static PyObject
*_wrap_wxDC_MinY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8040 PyObject
* _resultobj
;
8043 PyObject
* _argo0
= 0;
8044 char *_kwnames
[] = { "self", NULL
};
8047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MinY",_kwnames
,&_argo0
))
8050 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8051 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinY. Expected _wxDC_p.");
8057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8058 _result
= (long )wxDC_MinY(_arg0
);
8060 wxPyEndAllowThreads(__tstate
);
8061 if (PyErr_Occurred()) return NULL
;
8062 } _resultobj
= Py_BuildValue("l",_result
);
8066 #define wxDC_Ok(_swigobj) (_swigobj->Ok())
8067 static PyObject
*_wrap_wxDC_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8068 PyObject
* _resultobj
;
8071 PyObject
* _argo0
= 0;
8072 char *_kwnames
[] = { "self", NULL
};
8075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_Ok",_kwnames
,&_argo0
))
8078 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8079 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Ok. Expected _wxDC_p.");
8085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8086 _result
= (bool )wxDC_Ok(_arg0
);
8088 wxPyEndAllowThreads(__tstate
);
8089 if (PyErr_Occurred()) return NULL
;
8090 } _resultobj
= Py_BuildValue("i",_result
);
8094 #define wxDC_SetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDeviceOrigin(_swigarg0,_swigarg1))
8095 static PyObject
*_wrap_wxDC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8096 PyObject
* _resultobj
;
8100 PyObject
* _argo0
= 0;
8101 char *_kwnames
[] = { "self","x","y", NULL
};
8104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_SetDeviceOrigin",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetDeviceOrigin. Expected _wxDC_p.");
8114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8115 wxDC_SetDeviceOrigin(_arg0
,_arg1
,_arg2
);
8117 wxPyEndAllowThreads(__tstate
);
8118 if (PyErr_Occurred()) return NULL
;
8119 } Py_INCREF(Py_None
);
8120 _resultobj
= Py_None
;
8124 #define wxDC_SetBackground(_swigobj,_swigarg0) (_swigobj->SetBackground(_swigarg0))
8125 static PyObject
*_wrap_wxDC_SetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8126 PyObject
* _resultobj
;
8129 PyObject
* _argo0
= 0;
8130 PyObject
* _argo1
= 0;
8131 char *_kwnames
[] = { "self","brush", NULL
};
8134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetBackground",_kwnames
,&_argo0
,&_argo1
))
8137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackground. Expected _wxDC_p.");
8144 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8145 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
8146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBackground. Expected _wxBrush_p.");
8151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8152 wxDC_SetBackground(_arg0
,*_arg1
);
8154 wxPyEndAllowThreads(__tstate
);
8155 if (PyErr_Occurred()) return NULL
;
8156 } Py_INCREF(Py_None
);
8157 _resultobj
= Py_None
;
8161 #define wxDC_SetBackgroundMode(_swigobj,_swigarg0) (_swigobj->SetBackgroundMode(_swigarg0))
8162 static PyObject
*_wrap_wxDC_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8163 PyObject
* _resultobj
;
8166 PyObject
* _argo0
= 0;
8167 char *_kwnames
[] = { "self","mode", NULL
};
8170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetBackgroundMode",_kwnames
,&_argo0
,&_arg1
))
8173 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8174 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackgroundMode. Expected _wxDC_p.");
8180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8181 wxDC_SetBackgroundMode(_arg0
,_arg1
);
8183 wxPyEndAllowThreads(__tstate
);
8184 if (PyErr_Occurred()) return NULL
;
8185 } Py_INCREF(Py_None
);
8186 _resultobj
= Py_None
;
8190 #define wxDC_SetClippingRegion(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetClippingRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8191 static PyObject
*_wrap_wxDC_SetClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8192 PyObject
* _resultobj
;
8198 PyObject
* _argo0
= 0;
8199 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
8202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_SetClippingRegion",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
8205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetClippingRegion. Expected _wxDC_p.");
8212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8213 wxDC_SetClippingRegion(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
8215 wxPyEndAllowThreads(__tstate
);
8216 if (PyErr_Occurred()) return NULL
;
8217 } Py_INCREF(Py_None
);
8218 _resultobj
= Py_None
;
8222 #define wxDC_SetClippingRegionAsRegion(_swigobj,_swigarg0) (_swigobj->SetClippingRegion(_swigarg0))
8223 static PyObject
*_wrap_wxDC_SetClippingRegionAsRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8224 PyObject
* _resultobj
;
8227 PyObject
* _argo0
= 0;
8228 PyObject
* _argo1
= 0;
8229 char *_kwnames
[] = { "self","region", NULL
};
8232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetClippingRegionAsRegion",_kwnames
,&_argo0
,&_argo1
))
8235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetClippingRegionAsRegion. Expected _wxDC_p.");
8242 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8243 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
8244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetClippingRegionAsRegion. Expected _wxRegion_p.");
8249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8250 wxDC_SetClippingRegionAsRegion(_arg0
,*_arg1
);
8252 wxPyEndAllowThreads(__tstate
);
8253 if (PyErr_Occurred()) return NULL
;
8254 } Py_INCREF(Py_None
);
8255 _resultobj
= Py_None
;
8259 #define wxDC_SetPalette(_swigobj,_swigarg0) (_swigobj->SetPalette(_swigarg0))
8260 static PyObject
*_wrap_wxDC_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8261 PyObject
* _resultobj
;
8264 PyObject
* _argo0
= 0;
8265 PyObject
* _argo1
= 0;
8266 char *_kwnames
[] = { "self","colourMap", NULL
};
8269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetPalette",_kwnames
,&_argo0
,&_argo1
))
8272 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8273 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPalette. Expected _wxDC_p.");
8279 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8280 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPalette_p")) {
8281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPalette. Expected _wxPalette_p.");
8286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8287 wxDC_SetPalette(_arg0
,*_arg1
);
8289 wxPyEndAllowThreads(__tstate
);
8290 if (PyErr_Occurred()) return NULL
;
8291 } Py_INCREF(Py_None
);
8292 _resultobj
= Py_None
;
8296 #define wxDC_SetBrush(_swigobj,_swigarg0) (_swigobj->SetBrush(_swigarg0))
8297 static PyObject
*_wrap_wxDC_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8298 PyObject
* _resultobj
;
8301 PyObject
* _argo0
= 0;
8302 PyObject
* _argo1
= 0;
8303 char *_kwnames
[] = { "self","brush", NULL
};
8306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetBrush",_kwnames
,&_argo0
,&_argo1
))
8309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBrush. Expected _wxDC_p.");
8316 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8317 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
8318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBrush. Expected _wxBrush_p.");
8323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8324 wxDC_SetBrush(_arg0
,*_arg1
);
8326 wxPyEndAllowThreads(__tstate
);
8327 if (PyErr_Occurred()) return NULL
;
8328 } Py_INCREF(Py_None
);
8329 _resultobj
= Py_None
;
8333 #define wxDC_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
8334 static PyObject
*_wrap_wxDC_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8335 PyObject
* _resultobj
;
8338 PyObject
* _argo0
= 0;
8339 PyObject
* _argo1
= 0;
8340 char *_kwnames
[] = { "self","font", NULL
};
8343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetFont",_kwnames
,&_argo0
,&_argo1
))
8346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetFont. Expected _wxDC_p.");
8353 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8354 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
8355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetFont. Expected _wxFont_p.");
8360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8361 wxDC_SetFont(_arg0
,*_arg1
);
8363 wxPyEndAllowThreads(__tstate
);
8364 if (PyErr_Occurred()) return NULL
;
8365 } Py_INCREF(Py_None
);
8366 _resultobj
= Py_None
;
8370 #define wxDC_SetLogicalFunction(_swigobj,_swigarg0) (_swigobj->SetLogicalFunction(_swigarg0))
8371 static PyObject
*_wrap_wxDC_SetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8372 PyObject
* _resultobj
;
8375 PyObject
* _argo0
= 0;
8376 char *_kwnames
[] = { "self","function", NULL
};
8379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetLogicalFunction",_kwnames
,&_argo0
,&_arg1
))
8382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalFunction. Expected _wxDC_p.");
8389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8390 wxDC_SetLogicalFunction(_arg0
,_arg1
);
8392 wxPyEndAllowThreads(__tstate
);
8393 if (PyErr_Occurred()) return NULL
;
8394 } Py_INCREF(Py_None
);
8395 _resultobj
= Py_None
;
8399 #define wxDC_SetLogicalScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLogicalScale(_swigarg0,_swigarg1))
8400 static PyObject
*_wrap_wxDC_SetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8401 PyObject
* _resultobj
;
8405 PyObject
* _argo0
= 0;
8406 char *_kwnames
[] = { "self","x","y", NULL
};
8409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxDC_SetLogicalScale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8412 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8413 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalScale. Expected _wxDC_p.");
8419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8420 wxDC_SetLogicalScale(_arg0
,_arg1
,_arg2
);
8422 wxPyEndAllowThreads(__tstate
);
8423 if (PyErr_Occurred()) return NULL
;
8424 } Py_INCREF(Py_None
);
8425 _resultobj
= Py_None
;
8429 #define wxDC_SetMapMode(_swigobj,_swigarg0) (_swigobj->SetMapMode(_swigarg0))
8430 static PyObject
*_wrap_wxDC_SetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8431 PyObject
* _resultobj
;
8434 PyObject
* _argo0
= 0;
8435 char *_kwnames
[] = { "self","mode", NULL
};
8438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetMapMode",_kwnames
,&_argo0
,&_arg1
))
8441 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8442 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8443 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetMapMode. Expected _wxDC_p.");
8448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8449 wxDC_SetMapMode(_arg0
,_arg1
);
8451 wxPyEndAllowThreads(__tstate
);
8452 if (PyErr_Occurred()) return NULL
;
8453 } Py_INCREF(Py_None
);
8454 _resultobj
= Py_None
;
8458 #define wxDC_SetOptimization(_swigobj,_swigarg0) (_swigobj->SetOptimization(_swigarg0))
8459 static PyObject
*_wrap_wxDC_SetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8460 PyObject
* _resultobj
;
8463 PyObject
* _argo0
= 0;
8465 char *_kwnames
[] = { "self","optimize", NULL
};
8468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetOptimization",_kwnames
,&_argo0
,&tempbool1
))
8471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetOptimization. Expected _wxDC_p.");
8477 _arg1
= (bool ) tempbool1
;
8479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8480 wxDC_SetOptimization(_arg0
,_arg1
);
8482 wxPyEndAllowThreads(__tstate
);
8483 if (PyErr_Occurred()) return NULL
;
8484 } Py_INCREF(Py_None
);
8485 _resultobj
= Py_None
;
8489 #define wxDC_SetPen(_swigobj,_swigarg0) (_swigobj->SetPen(_swigarg0))
8490 static PyObject
*_wrap_wxDC_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8491 PyObject
* _resultobj
;
8494 PyObject
* _argo0
= 0;
8495 PyObject
* _argo1
= 0;
8496 char *_kwnames
[] = { "self","pen", NULL
};
8499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetPen",_kwnames
,&_argo0
,&_argo1
))
8502 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8503 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPen. Expected _wxDC_p.");
8509 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8510 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
8511 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPen. Expected _wxPen_p.");
8516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8517 wxDC_SetPen(_arg0
,*_arg1
);
8519 wxPyEndAllowThreads(__tstate
);
8520 if (PyErr_Occurred()) return NULL
;
8521 } Py_INCREF(Py_None
);
8522 _resultobj
= Py_None
;
8526 #define wxDC_SetTextBackground(_swigobj,_swigarg0) (_swigobj->SetTextBackground(_swigarg0))
8527 static PyObject
*_wrap_wxDC_SetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8528 PyObject
* _resultobj
;
8531 PyObject
* _argo0
= 0;
8533 PyObject
* _obj1
= 0;
8534 char *_kwnames
[] = { "self","colour", NULL
};
8537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetTextBackground",_kwnames
,&_argo0
,&_obj1
))
8540 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8541 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextBackground. Expected _wxDC_p.");
8548 if (! wxColour_helper(_obj1
, &_arg1
))
8552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8553 wxDC_SetTextBackground(_arg0
,*_arg1
);
8555 wxPyEndAllowThreads(__tstate
);
8556 if (PyErr_Occurred()) return NULL
;
8557 } Py_INCREF(Py_None
);
8558 _resultobj
= Py_None
;
8562 #define wxDC_SetTextForeground(_swigobj,_swigarg0) (_swigobj->SetTextForeground(_swigarg0))
8563 static PyObject
*_wrap_wxDC_SetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8564 PyObject
* _resultobj
;
8567 PyObject
* _argo0
= 0;
8569 PyObject
* _obj1
= 0;
8570 char *_kwnames
[] = { "self","colour", NULL
};
8573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetTextForeground",_kwnames
,&_argo0
,&_obj1
))
8576 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8577 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextForeground. Expected _wxDC_p.");
8584 if (! wxColour_helper(_obj1
, &_arg1
))
8588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8589 wxDC_SetTextForeground(_arg0
,*_arg1
);
8591 wxPyEndAllowThreads(__tstate
);
8592 if (PyErr_Occurred()) return NULL
;
8593 } Py_INCREF(Py_None
);
8594 _resultobj
= Py_None
;
8598 #define wxDC_SetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetUserScale(_swigarg0,_swigarg1))
8599 static PyObject
*_wrap_wxDC_SetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8600 PyObject
* _resultobj
;
8604 PyObject
* _argo0
= 0;
8605 char *_kwnames
[] = { "self","x_scale","y_scale", NULL
};
8608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxDC_SetUserScale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8611 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8612 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetUserScale. Expected _wxDC_p.");
8618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8619 wxDC_SetUserScale(_arg0
,_arg1
,_arg2
);
8621 wxPyEndAllowThreads(__tstate
);
8622 if (PyErr_Occurred()) return NULL
;
8623 } Py_INCREF(Py_None
);
8624 _resultobj
= Py_None
;
8628 #define wxDC_StartDoc(_swigobj,_swigarg0) (_swigobj->StartDoc(_swigarg0))
8629 static PyObject
*_wrap_wxDC_StartDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8630 PyObject
* _resultobj
;
8634 PyObject
* _argo0
= 0;
8635 PyObject
* _obj1
= 0;
8636 char *_kwnames
[] = { "self","message", NULL
};
8639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_StartDoc",_kwnames
,&_argo0
,&_obj1
))
8642 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8643 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartDoc. Expected _wxDC_p.");
8649 _arg1
= wxString_in_helper(_obj1
);
8654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8655 _result
= (bool )wxDC_StartDoc(_arg0
,*_arg1
);
8657 wxPyEndAllowThreads(__tstate
);
8658 if (PyErr_Occurred()) return NULL
;
8659 } _resultobj
= Py_BuildValue("i",_result
);
8667 #define wxDC_StartPage(_swigobj) (_swigobj->StartPage())
8668 static PyObject
*_wrap_wxDC_StartPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8669 PyObject
* _resultobj
;
8671 PyObject
* _argo0
= 0;
8672 char *_kwnames
[] = { "self", NULL
};
8675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_StartPage",_kwnames
,&_argo0
))
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_StartPage. Expected _wxDC_p.");
8685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8686 wxDC_StartPage(_arg0
);
8688 wxPyEndAllowThreads(__tstate
);
8689 if (PyErr_Occurred()) return NULL
;
8690 } Py_INCREF(Py_None
);
8691 _resultobj
= Py_None
;
8695 #define wxDC_DrawBitmap(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8696 static PyObject
*_wrap_wxDC_DrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8697 PyObject
* _resultobj
;
8702 int _arg4
= (int ) FALSE
;
8703 PyObject
* _argo0
= 0;
8704 PyObject
* _argo1
= 0;
8705 char *_kwnames
[] = { "self","bitmap","x","y","useMask", NULL
};
8708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOll|i:wxDC_DrawBitmap",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
))
8711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawBitmap. Expected _wxDC_p.");
8718 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8719 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
8720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawBitmap. Expected _wxBitmap_p.");
8725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8726 wxDC_DrawBitmap(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
8728 wxPyEndAllowThreads(__tstate
);
8729 if (PyErr_Occurred()) return NULL
;
8730 } Py_INCREF(Py_None
);
8731 _resultobj
= Py_None
;
8735 #define wxDC_CanDrawBitmap(_swigobj) (_swigobj->CanDrawBitmap())
8736 static PyObject
*_wrap_wxDC_CanDrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8737 PyObject
* _resultobj
;
8740 PyObject
* _argo0
= 0;
8741 char *_kwnames
[] = { "self", NULL
};
8744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_CanDrawBitmap",_kwnames
,&_argo0
))
8747 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8748 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CanDrawBitmap. Expected _wxDC_p.");
8754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8755 _result
= (bool )wxDC_CanDrawBitmap(_arg0
);
8757 wxPyEndAllowThreads(__tstate
);
8758 if (PyErr_Occurred()) return NULL
;
8759 } _resultobj
= Py_BuildValue("i",_result
);
8763 #define wxDC_CanGetTextExtent(_swigobj) (_swigobj->CanGetTextExtent())
8764 static PyObject
*_wrap_wxDC_CanGetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8765 PyObject
* _resultobj
;
8768 PyObject
* _argo0
= 0;
8769 char *_kwnames
[] = { "self", NULL
};
8772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_CanGetTextExtent",_kwnames
,&_argo0
))
8775 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8776 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CanGetTextExtent. Expected _wxDC_p.");
8782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8783 _result
= (bool )wxDC_CanGetTextExtent(_arg0
);
8785 wxPyEndAllowThreads(__tstate
);
8786 if (PyErr_Occurred()) return NULL
;
8787 } _resultobj
= Py_BuildValue("i",_result
);
8791 #define wxDC_GetDepth(_swigobj) (_swigobj->GetDepth())
8792 static PyObject
*_wrap_wxDC_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8793 PyObject
* _resultobj
;
8796 PyObject
* _argo0
= 0;
8797 char *_kwnames
[] = { "self", NULL
};
8800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetDepth",_kwnames
,&_argo0
))
8803 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8804 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetDepth. Expected _wxDC_p.");
8810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8811 _result
= (int )wxDC_GetDepth(_arg0
);
8813 wxPyEndAllowThreads(__tstate
);
8814 if (PyErr_Occurred()) return NULL
;
8815 } _resultobj
= Py_BuildValue("i",_result
);
8819 #define wxDC_GetPPI(_swigobj) (_swigobj->GetPPI())
8820 static PyObject
*_wrap_wxDC_GetPPI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8821 PyObject
* _resultobj
;
8824 PyObject
* _argo0
= 0;
8825 char *_kwnames
[] = { "self", NULL
};
8829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetPPI",_kwnames
,&_argo0
))
8832 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8833 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPPI. Expected _wxDC_p.");
8839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8840 _result
= new wxSize (wxDC_GetPPI(_arg0
));
8842 wxPyEndAllowThreads(__tstate
);
8843 if (PyErr_Occurred()) return NULL
;
8844 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
8845 _resultobj
= Py_BuildValue("s",_ptemp
);
8849 #define wxDC_GetLogicalOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLogicalOrigin(_swigarg0,_swigarg1))
8850 static PyObject
*_wrap_wxDC_GetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8851 PyObject
* _resultobj
;
8857 PyObject
* _argo0
= 0;
8858 char *_kwnames
[] = { "self", NULL
};
8867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalOrigin",_kwnames
,&_argo0
))
8870 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8871 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalOrigin. Expected _wxDC_p.");
8877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8878 wxDC_GetLogicalOrigin(_arg0
,_arg1
,_arg2
);
8880 wxPyEndAllowThreads(__tstate
);
8881 if (PyErr_Occurred()) return NULL
;
8882 } Py_INCREF(Py_None
);
8883 _resultobj
= Py_None
;
8886 o
= PyInt_FromLong((long) (*_arg1
));
8887 _resultobj
= t_output_helper(_resultobj
, o
);
8891 o
= PyInt_FromLong((long) (*_arg2
));
8892 _resultobj
= t_output_helper(_resultobj
, o
);
8897 #define wxDC_SetLogicalOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLogicalOrigin(_swigarg0,_swigarg1))
8898 static PyObject
*_wrap_wxDC_SetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8899 PyObject
* _resultobj
;
8903 PyObject
* _argo0
= 0;
8904 char *_kwnames
[] = { "self","x","y", NULL
};
8907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_SetLogicalOrigin",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8910 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8911 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalOrigin. Expected _wxDC_p.");
8917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8918 wxDC_SetLogicalOrigin(_arg0
,_arg1
,_arg2
);
8920 wxPyEndAllowThreads(__tstate
);
8921 if (PyErr_Occurred()) return NULL
;
8922 } Py_INCREF(Py_None
);
8923 _resultobj
= Py_None
;
8927 #define wxDC_GetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDeviceOrigin(_swigarg0,_swigarg1))
8928 static PyObject
*_wrap_wxDC_GetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8929 PyObject
* _resultobj
;
8935 PyObject
* _argo0
= 0;
8936 char *_kwnames
[] = { "self", NULL
};
8945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetDeviceOrigin",_kwnames
,&_argo0
))
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_GetDeviceOrigin. Expected _wxDC_p.");
8955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8956 wxDC_GetDeviceOrigin(_arg0
,_arg1
,_arg2
);
8958 wxPyEndAllowThreads(__tstate
);
8959 if (PyErr_Occurred()) return NULL
;
8960 } Py_INCREF(Py_None
);
8961 _resultobj
= Py_None
;
8964 o
= PyInt_FromLong((long) (*_arg1
));
8965 _resultobj
= t_output_helper(_resultobj
, o
);
8969 o
= PyInt_FromLong((long) (*_arg2
));
8970 _resultobj
= t_output_helper(_resultobj
, o
);
8975 #define wxDC_SetAxisOrientation(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAxisOrientation(_swigarg0,_swigarg1))
8976 static PyObject
*_wrap_wxDC_SetAxisOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8977 PyObject
* _resultobj
;
8981 PyObject
* _argo0
= 0;
8984 char *_kwnames
[] = { "self","xLeftRight","yBottomUp", NULL
};
8987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_SetAxisOrientation",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
8990 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8991 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetAxisOrientation. Expected _wxDC_p.");
8996 _arg1
= (bool ) tempbool1
;
8997 _arg2
= (bool ) tempbool2
;
8999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9000 wxDC_SetAxisOrientation(_arg0
,_arg1
,_arg2
);
9002 wxPyEndAllowThreads(__tstate
);
9003 if (PyErr_Occurred()) return NULL
;
9004 } Py_INCREF(Py_None
);
9005 _resultobj
= Py_None
;
9009 #define wxDC_CalcBoundingBox(_swigobj,_swigarg0,_swigarg1) (_swigobj->CalcBoundingBox(_swigarg0,_swigarg1))
9010 static PyObject
*_wrap_wxDC_CalcBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9011 PyObject
* _resultobj
;
9015 PyObject
* _argo0
= 0;
9016 char *_kwnames
[] = { "self","x","y", NULL
};
9019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_CalcBoundingBox",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9022 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9023 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CalcBoundingBox. Expected _wxDC_p.");
9029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9030 wxDC_CalcBoundingBox(_arg0
,_arg1
,_arg2
);
9032 wxPyEndAllowThreads(__tstate
);
9033 if (PyErr_Occurred()) return NULL
;
9034 } Py_INCREF(Py_None
);
9035 _resultobj
= Py_None
;
9039 #define wxDC_ResetBoundingBox(_swigobj) (_swigobj->ResetBoundingBox())
9040 static PyObject
*_wrap_wxDC_ResetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9041 PyObject
* _resultobj
;
9043 PyObject
* _argo0
= 0;
9044 char *_kwnames
[] = { "self", NULL
};
9047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_ResetBoundingBox",_kwnames
,&_argo0
))
9050 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9051 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_ResetBoundingBox. Expected _wxDC_p.");
9057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9058 wxDC_ResetBoundingBox(_arg0
);
9060 wxPyEndAllowThreads(__tstate
);
9061 if (PyErr_Occurred()) return NULL
;
9062 } Py_INCREF(Py_None
);
9063 _resultobj
= Py_None
;
9067 static PyObject
*_wrap_wxDC_GetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9068 PyObject
* _resultobj
;
9078 PyObject
* _argo0
= 0;
9079 char *_kwnames
[] = { "self", NULL
};
9094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBoundingBox",_kwnames
,&_argo0
))
9097 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9098 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBoundingBox. Expected _wxDC_p.");
9104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9105 wxDC_GetBoundingBox(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
9107 wxPyEndAllowThreads(__tstate
);
9108 if (PyErr_Occurred()) return NULL
;
9109 } Py_INCREF(Py_None
);
9110 _resultobj
= Py_None
;
9113 o
= PyInt_FromLong((long) (*_arg1
));
9114 _resultobj
= t_output_helper(_resultobj
, o
);
9118 o
= PyInt_FromLong((long) (*_arg2
));
9119 _resultobj
= t_output_helper(_resultobj
, o
);
9123 o
= PyInt_FromLong((long) (*_arg3
));
9124 _resultobj
= t_output_helper(_resultobj
, o
);
9128 o
= PyInt_FromLong((long) (*_arg4
));
9129 _resultobj
= t_output_helper(_resultobj
, o
);
9134 static PyObject
* wxDC__DrawPointList(wxDC
*self
,PyObject
* pyPoints
,PyObject
* pyPens
) {
9135 bool isFastSeq
= PyList_Check(pyPoints
) || PyTuple_Check(pyPoints
);
9136 bool isFastPens
= PyList_Check(pyPens
) || PyTuple_Check(pyPens
);
9144 if (!PySequence_Check(pyPoints
)) {
9147 if (!PySequence_Check(pyPens
)) {
9150 numObjs
= PySequence_Length(pyPoints
);
9151 numPens
= PySequence_Length(pyPens
);
9153 for (i
= 0; i
< numObjs
; i
++) {
9157 obj
= PySequence_Fast_GET_ITEM(pyPens
, i
);
9160 obj
= PySequence_GetItem(pyPens
, i
);
9162 if (SWIG_GetPtrObj(obj
, (void **) &pen
, "_wxPen_p")) {
9173 // Get the point coordinants
9175 obj
= PySequence_Fast_GET_ITEM(pyPoints
, i
);
9178 obj
= PySequence_GetItem(pyPoints
, i
);
9180 if (! _2int_seq_helper(obj
, &x1
, &y1
)) {
9186 // Now draw the point
9187 self
->DrawPoint(x1
, y1
);
9197 PyErr_SetString(PyExc_TypeError
, "Expected a sequence of wxPens");
9200 PyErr_SetString(PyExc_TypeError
, "Expected a sequence of (x,y) sequences.");
9203 static PyObject
*_wrap_wxDC__DrawPointList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9204 PyObject
* _resultobj
;
9209 PyObject
* _argo0
= 0;
9210 PyObject
* _obj1
= 0;
9211 PyObject
* _obj2
= 0;
9212 char *_kwnames
[] = { "self","pyPoints","pyPens", NULL
};
9215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDC__DrawPointList",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
9218 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9219 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC__DrawPointList. Expected _wxDC_p.");
9231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9232 _result
= (PyObject
*)wxDC__DrawPointList(_arg0
,_arg1
,_arg2
);
9234 wxPyEndAllowThreads(__tstate
);
9235 if (PyErr_Occurred()) return NULL
;
9237 _resultobj
= _result
;
9242 static PyObject
* wxDC__DrawLineList(wxDC
*self
,PyObject
* pyLines
,PyObject
* pyPens
) {
9243 bool isFastSeq
= PyList_Check(pyLines
) || PyTuple_Check(pyLines
);
9244 bool isFastPens
= PyList_Check(pyPens
) || PyTuple_Check(pyPens
);
9252 if (!PySequence_Check(pyLines
)) {
9255 if (!PySequence_Check(pyPens
)) {
9258 numObjs
= PySequence_Length(pyLines
);
9259 numPens
= PySequence_Length(pyPens
);
9261 for (i
= 0; i
< numObjs
; i
++) {
9265 obj
= PySequence_Fast_GET_ITEM(pyPens
, i
);
9268 obj
= PySequence_GetItem(pyPens
, i
);
9270 if (SWIG_GetPtrObj(obj
, (void **) &pen
, "_wxPen_p")) {
9281 // Get the line coordinants
9283 obj
= PySequence_Fast_GET_ITEM(pyLines
, i
);
9286 obj
= PySequence_GetItem(pyLines
, i
);
9288 if (! _4int_seq_helper(obj
, &x1
, &y1
, &x2
, &y2
)) {
9294 // Now draw the line
9295 self
->DrawLine(x1
, y1
, x2
, y2
);
9305 PyErr_SetString(PyExc_TypeError
, "Expected a sequence of wxPens");
9308 PyErr_SetString(PyExc_TypeError
, "Expected a sequence of (x1,y1, x2,y2) sequences.");
9311 static PyObject
*_wrap_wxDC__DrawLineList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9312 PyObject
* _resultobj
;
9317 PyObject
* _argo0
= 0;
9318 PyObject
* _obj1
= 0;
9319 PyObject
* _obj2
= 0;
9320 char *_kwnames
[] = { "self","pyLines","pyPens", NULL
};
9323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDC__DrawLineList",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
9326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC__DrawLineList. Expected _wxDC_p.");
9339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9340 _result
= (PyObject
*)wxDC__DrawLineList(_arg0
,_arg1
,_arg2
);
9342 wxPyEndAllowThreads(__tstate
);
9343 if (PyErr_Occurred()) return NULL
;
9345 _resultobj
= _result
;
9350 static void *SwigwxMemoryDCTowxDC(void *ptr
) {
9353 src
= (wxMemoryDC
*) ptr
;
9354 dest
= (wxDC
*) src
;
9355 return (void *) dest
;
9358 static void *SwigwxMemoryDCTowxObject(void *ptr
) {
9361 src
= (wxMemoryDC
*) ptr
;
9362 dest
= (wxObject
*) src
;
9363 return (void *) dest
;
9366 #define new_wxMemoryDC() (new wxMemoryDC())
9367 static PyObject
*_wrap_new_wxMemoryDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9368 PyObject
* _resultobj
;
9369 wxMemoryDC
* _result
;
9370 char *_kwnames
[] = { NULL
};
9374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMemoryDC",_kwnames
))
9377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9378 _result
= (wxMemoryDC
*)new_wxMemoryDC();
9380 wxPyEndAllowThreads(__tstate
);
9381 if (PyErr_Occurred()) return NULL
;
9383 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
9384 _resultobj
= Py_BuildValue("s",_ptemp
);
9387 _resultobj
= Py_None
;
9392 #define wxMemoryDC_SelectObject(_swigobj,_swigarg0) (_swigobj->SelectObject(_swigarg0))
9393 static PyObject
*_wrap_wxMemoryDC_SelectObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9394 PyObject
* _resultobj
;
9397 PyObject
* _argo0
= 0;
9398 PyObject
* _argo1
= 0;
9399 char *_kwnames
[] = { "self","bitmap", NULL
};
9402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMemoryDC_SelectObject",_kwnames
,&_argo0
,&_argo1
))
9405 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9406 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMemoryDC_p")) {
9407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDC_SelectObject. Expected _wxMemoryDC_p.");
9412 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9413 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
9414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMemoryDC_SelectObject. Expected _wxBitmap_p.");
9419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9420 wxMemoryDC_SelectObject(_arg0
,*_arg1
);
9422 wxPyEndAllowThreads(__tstate
);
9423 if (PyErr_Occurred()) return NULL
;
9424 } Py_INCREF(Py_None
);
9425 _resultobj
= Py_None
;
9429 static void *SwigwxScreenDCTowxDC(void *ptr
) {
9432 src
= (wxScreenDC
*) ptr
;
9433 dest
= (wxDC
*) src
;
9434 return (void *) dest
;
9437 static void *SwigwxScreenDCTowxObject(void *ptr
) {
9440 src
= (wxScreenDC
*) ptr
;
9441 dest
= (wxObject
*) src
;
9442 return (void *) dest
;
9445 #define new_wxScreenDC() (new wxScreenDC())
9446 static PyObject
*_wrap_new_wxScreenDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9447 PyObject
* _resultobj
;
9448 wxScreenDC
* _result
;
9449 char *_kwnames
[] = { NULL
};
9453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxScreenDC",_kwnames
))
9456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9457 _result
= (wxScreenDC
*)new_wxScreenDC();
9459 wxPyEndAllowThreads(__tstate
);
9460 if (PyErr_Occurred()) return NULL
;
9462 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScreenDC_p");
9463 _resultobj
= Py_BuildValue("s",_ptemp
);
9466 _resultobj
= Py_None
;
9471 #define wxScreenDC_StartDrawingOnTopWin(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
9472 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTopWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9473 PyObject
* _resultobj
;
9477 PyObject
* _argo0
= 0;
9478 PyObject
* _argo1
= 0;
9479 char *_kwnames
[] = { "self","window", NULL
};
9482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScreenDC_StartDrawingOnTopWin",_kwnames
,&_argo0
,&_argo1
))
9485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
9487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTopWin. Expected _wxScreenDC_p.");
9492 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9493 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
9494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScreenDC_StartDrawingOnTopWin. Expected _wxWindow_p.");
9499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9500 _result
= (bool )wxScreenDC_StartDrawingOnTopWin(_arg0
,_arg1
);
9502 wxPyEndAllowThreads(__tstate
);
9503 if (PyErr_Occurred()) return NULL
;
9504 } _resultobj
= Py_BuildValue("i",_result
);
9508 #define wxScreenDC_StartDrawingOnTop(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
9509 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9510 PyObject
* _resultobj
;
9513 wxRect
* _arg1
= (wxRect
*) NULL
;
9514 PyObject
* _argo0
= 0;
9516 PyObject
* _obj1
= 0;
9517 char *_kwnames
[] = { "self","rect", NULL
};
9520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxScreenDC_StartDrawingOnTop",_kwnames
,&_argo0
,&_obj1
))
9523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
9525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTop. Expected _wxScreenDC_p.");
9532 if (! wxRect_helper(_obj1
, &_arg1
))
9536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9537 _result
= (bool )wxScreenDC_StartDrawingOnTop(_arg0
,_arg1
);
9539 wxPyEndAllowThreads(__tstate
);
9540 if (PyErr_Occurred()) return NULL
;
9541 } _resultobj
= Py_BuildValue("i",_result
);
9545 #define wxScreenDC_EndDrawingOnTop(_swigobj) (_swigobj->EndDrawingOnTop())
9546 static PyObject
*_wrap_wxScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9547 PyObject
* _resultobj
;
9550 PyObject
* _argo0
= 0;
9551 char *_kwnames
[] = { "self", NULL
};
9554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScreenDC_EndDrawingOnTop",_kwnames
,&_argo0
))
9557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
9559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_EndDrawingOnTop. Expected _wxScreenDC_p.");
9564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9565 _result
= (bool )wxScreenDC_EndDrawingOnTop(_arg0
);
9567 wxPyEndAllowThreads(__tstate
);
9568 if (PyErr_Occurred()) return NULL
;
9569 } _resultobj
= Py_BuildValue("i",_result
);
9573 static void *SwigwxClientDCTowxDC(void *ptr
) {
9576 src
= (wxClientDC
*) ptr
;
9577 dest
= (wxDC
*) src
;
9578 return (void *) dest
;
9581 static void *SwigwxClientDCTowxObject(void *ptr
) {
9584 src
= (wxClientDC
*) ptr
;
9585 dest
= (wxObject
*) src
;
9586 return (void *) dest
;
9589 #define new_wxClientDC(_swigarg0) (new wxClientDC(_swigarg0))
9590 static PyObject
*_wrap_new_wxClientDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9591 PyObject
* _resultobj
;
9592 wxClientDC
* _result
;
9594 PyObject
* _argo0
= 0;
9595 char *_kwnames
[] = { "win", NULL
};
9599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxClientDC",_kwnames
,&_argo0
))
9602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxClientDC. Expected _wxWindow_p.");
9609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9610 _result
= (wxClientDC
*)new_wxClientDC(_arg0
);
9612 wxPyEndAllowThreads(__tstate
);
9613 if (PyErr_Occurred()) return NULL
;
9615 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxClientDC_p");
9616 _resultobj
= Py_BuildValue("s",_ptemp
);
9619 _resultobj
= Py_None
;
9624 static void *SwigwxPaintDCTowxDC(void *ptr
) {
9627 src
= (wxPaintDC
*) ptr
;
9628 dest
= (wxDC
*) src
;
9629 return (void *) dest
;
9632 static void *SwigwxPaintDCTowxObject(void *ptr
) {
9635 src
= (wxPaintDC
*) ptr
;
9636 dest
= (wxObject
*) src
;
9637 return (void *) dest
;
9640 #define new_wxPaintDC(_swigarg0) (new wxPaintDC(_swigarg0))
9641 static PyObject
*_wrap_new_wxPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9642 PyObject
* _resultobj
;
9643 wxPaintDC
* _result
;
9645 PyObject
* _argo0
= 0;
9646 char *_kwnames
[] = { "win", NULL
};
9650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPaintDC",_kwnames
,&_argo0
))
9653 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9654 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPaintDC. Expected _wxWindow_p.");
9660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9661 _result
= (wxPaintDC
*)new_wxPaintDC(_arg0
);
9663 wxPyEndAllowThreads(__tstate
);
9664 if (PyErr_Occurred()) return NULL
;
9666 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPaintDC_p");
9667 _resultobj
= Py_BuildValue("s",_ptemp
);
9670 _resultobj
= Py_None
;
9675 static void *SwigwxWindowDCTowxDC(void *ptr
) {
9678 src
= (wxWindowDC
*) ptr
;
9679 dest
= (wxDC
*) src
;
9680 return (void *) dest
;
9683 static void *SwigwxWindowDCTowxObject(void *ptr
) {
9686 src
= (wxWindowDC
*) ptr
;
9687 dest
= (wxObject
*) src
;
9688 return (void *) dest
;
9691 #define new_wxWindowDC(_swigarg0) (new wxWindowDC(_swigarg0))
9692 static PyObject
*_wrap_new_wxWindowDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9693 PyObject
* _resultobj
;
9694 wxWindowDC
* _result
;
9696 PyObject
* _argo0
= 0;
9697 char *_kwnames
[] = { "win", NULL
};
9701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxWindowDC",_kwnames
,&_argo0
))
9704 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9705 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDC. Expected _wxWindow_p.");
9711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9712 _result
= (wxWindowDC
*)new_wxWindowDC(_arg0
);
9714 wxPyEndAllowThreads(__tstate
);
9715 if (PyErr_Occurred()) return NULL
;
9717 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDC_p");
9718 _resultobj
= Py_BuildValue("s",_ptemp
);
9721 _resultobj
= Py_None
;
9726 static void *SwigwxPaletteTowxGDIObject(void *ptr
) {
9729 src
= (wxPalette
*) ptr
;
9730 dest
= (wxGDIObject
*) src
;
9731 return (void *) dest
;
9734 static void *SwigwxPaletteTowxObject(void *ptr
) {
9737 src
= (wxPalette
*) ptr
;
9738 dest
= (wxObject
*) src
;
9739 return (void *) dest
;
9742 #define new_wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9743 static PyObject
*_wrap_new_wxPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9744 PyObject
* _resultobj
;
9745 wxPalette
* _result
;
9750 PyObject
* _obj1
= 0;
9751 PyObject
* _obj2
= 0;
9752 PyObject
* _obj3
= 0;
9753 char *_kwnames
[] = { "choices","choices","choices", NULL
};
9757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:new_wxPalette",_kwnames
,&_obj1
,&_obj2
,&_obj3
))
9760 _arg1
= byte_LIST_helper(_obj1
);
9761 if (_arg1
== NULL
) {
9766 _arg2
= byte_LIST_helper(_obj2
);
9767 if (_arg2
== NULL
) {
9773 _arg3
= byte_LIST_helper(_obj3
);
9774 if (_arg3
== NULL
) {
9780 _arg0
= PyList_Size(_obj1
);
9787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9788 _result
= (wxPalette
*)new_wxPalette(_arg0
,_arg1
,_arg2
,_arg3
);
9790 wxPyEndAllowThreads(__tstate
);
9791 if (PyErr_Occurred()) return NULL
;
9793 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPalette_p");
9794 _resultobj
= Py_BuildValue("s",_ptemp
);
9797 _resultobj
= Py_None
;
9811 #define delete_wxPalette(_swigobj) (delete _swigobj)
9812 static PyObject
*_wrap_delete_wxPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9813 PyObject
* _resultobj
;
9815 PyObject
* _argo0
= 0;
9816 char *_kwnames
[] = { "self", NULL
};
9819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPalette",_kwnames
,&_argo0
))
9822 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9823 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
9824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPalette. Expected _wxPalette_p.");
9829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9830 delete_wxPalette(_arg0
);
9832 wxPyEndAllowThreads(__tstate
);
9833 if (PyErr_Occurred()) return NULL
;
9834 } Py_INCREF(Py_None
);
9835 _resultobj
= Py_None
;
9839 #define wxPalette_GetPixel(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetPixel(_swigarg0,_swigarg1,_swigarg2))
9840 static PyObject
*_wrap_wxPalette_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9841 PyObject
* _resultobj
;
9847 PyObject
* _argo0
= 0;
9848 char *_kwnames
[] = { "self","red","green","blue", NULL
};
9851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Obbb:wxPalette_GetPixel",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
9854 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9855 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
9856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetPixel. Expected _wxPalette_p.");
9861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9862 _result
= (int )wxPalette_GetPixel(_arg0
,_arg1
,_arg2
,_arg3
);
9864 wxPyEndAllowThreads(__tstate
);
9865 if (PyErr_Occurred()) return NULL
;
9866 } _resultobj
= Py_BuildValue("i",_result
);
9870 #define wxPalette_GetRGB(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetRGB(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9871 static PyObject
*_wrap_wxPalette_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9872 PyObject
* _resultobj
;
9882 PyObject
* _argo0
= 0;
9883 char *_kwnames
[] = { "self","pixel", NULL
};
9887 _arg2
= (byte
*)&temp
;
9890 _arg3
= (byte
*)&temp0
;
9893 _arg4
= (byte
*)&temp1
;
9895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPalette_GetRGB",_kwnames
,&_argo0
,&_arg1
))
9898 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9899 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
9900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetRGB. Expected _wxPalette_p.");
9905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9906 _result
= (bool )wxPalette_GetRGB(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
9908 wxPyEndAllowThreads(__tstate
);
9909 if (PyErr_Occurred()) return NULL
;
9910 } _resultobj
= Py_BuildValue("i",_result
);
9913 o
= PyInt_FromLong((long) (*_arg2
));
9914 _resultobj
= t_output_helper(_resultobj
, o
);
9918 o
= PyInt_FromLong((long) (*_arg3
));
9919 _resultobj
= t_output_helper(_resultobj
, o
);
9923 o
= PyInt_FromLong((long) (*_arg4
));
9924 _resultobj
= t_output_helper(_resultobj
, o
);
9929 #define wxPalette_Ok(_swigobj) (_swigobj->Ok())
9930 static PyObject
*_wrap_wxPalette_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9931 PyObject
* _resultobj
;
9934 PyObject
* _argo0
= 0;
9935 char *_kwnames
[] = { "self", NULL
};
9938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPalette_Ok",_kwnames
,&_argo0
))
9941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
9943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_Ok. Expected _wxPalette_p.");
9948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9949 _result
= (bool )wxPalette_Ok(_arg0
);
9951 wxPyEndAllowThreads(__tstate
);
9952 if (PyErr_Occurred()) return NULL
;
9953 } _resultobj
= Py_BuildValue("i",_result
);
9957 static void *SwigwxImageListTowxObject(void *ptr
) {
9960 src
= (wxImageList
*) ptr
;
9961 dest
= (wxObject
*) src
;
9962 return (void *) dest
;
9965 #define new_wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9966 static PyObject
*_wrap_new_wxImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9967 PyObject
* _resultobj
;
9968 wxImageList
* _result
;
9971 int _arg2
= (int ) TRUE
;
9972 int _arg3
= (int ) 1;
9973 char *_kwnames
[] = { "width","height","mask","initialCount", NULL
};
9977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ii|ii:new_wxImageList",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
9980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9981 _result
= (wxImageList
*)new_wxImageList(_arg0
,_arg1
,_arg2
,_arg3
);
9983 wxPyEndAllowThreads(__tstate
);
9984 if (PyErr_Occurred()) return NULL
;
9986 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
9987 _resultobj
= Py_BuildValue("s",_ptemp
);
9990 _resultobj
= Py_None
;
9995 #define delete_wxImageList(_swigobj) (delete _swigobj)
9996 static PyObject
*_wrap_delete_wxImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9997 PyObject
* _resultobj
;
9998 wxImageList
* _arg0
;
9999 PyObject
* _argo0
= 0;
10000 char *_kwnames
[] = { "self", NULL
};
10003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxImageList",_kwnames
,&_argo0
))
10006 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10007 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxImageList. Expected _wxImageList_p.");
10013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10014 delete_wxImageList(_arg0
);
10016 wxPyEndAllowThreads(__tstate
);
10017 if (PyErr_Occurred()) return NULL
;
10018 } Py_INCREF(Py_None
);
10019 _resultobj
= Py_None
;
10023 #define wxImageList_Add(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
10024 static PyObject
*_wrap_wxImageList_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10025 PyObject
* _resultobj
;
10027 wxImageList
* _arg0
;
10029 wxBitmap
* _arg2
= (wxBitmap
*) &wxNullBitmap
;
10030 PyObject
* _argo0
= 0;
10031 PyObject
* _argo1
= 0;
10032 PyObject
* _argo2
= 0;
10033 char *_kwnames
[] = { "self","bitmap","mask", NULL
};
10036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxImageList_Add",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
10039 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10040 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Add. Expected _wxImageList_p.");
10046 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10047 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
10048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_Add. Expected _wxBitmap_p.");
10053 if (_argo2
== Py_None
) { _arg2
= NULL
; }
10054 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
10055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Add. Expected _wxBitmap_p.");
10060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10061 _result
= (int )wxImageList_Add(_arg0
,*_arg1
,*_arg2
);
10063 wxPyEndAllowThreads(__tstate
);
10064 if (PyErr_Occurred()) return NULL
;
10065 } _resultobj
= Py_BuildValue("i",_result
);
10069 #define wxImageList_AddWithColourMask(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
10070 static PyObject
*_wrap_wxImageList_AddWithColourMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10071 PyObject
* _resultobj
;
10073 wxImageList
* _arg0
;
10076 PyObject
* _argo0
= 0;
10077 PyObject
* _argo1
= 0;
10079 PyObject
* _obj2
= 0;
10080 char *_kwnames
[] = { "self","bitmap","maskColour", NULL
};
10083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxImageList_AddWithColourMask",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
10086 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10087 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_AddWithColourMask. Expected _wxImageList_p.");
10093 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10094 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
10095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_AddWithColourMask. Expected _wxBitmap_p.");
10101 if (! wxColour_helper(_obj2
, &_arg2
))
10105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10106 _result
= (int )wxImageList_AddWithColourMask(_arg0
,*_arg1
,*_arg2
);
10108 wxPyEndAllowThreads(__tstate
);
10109 if (PyErr_Occurred()) return NULL
;
10110 } _resultobj
= Py_BuildValue("i",_result
);
10114 #define wxImageList_AddIcon(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
10115 static PyObject
*_wrap_wxImageList_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10116 PyObject
* _resultobj
;
10118 wxImageList
* _arg0
;
10120 PyObject
* _argo0
= 0;
10121 PyObject
* _argo1
= 0;
10122 char *_kwnames
[] = { "self","icon", NULL
};
10125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxImageList_AddIcon",_kwnames
,&_argo0
,&_argo1
))
10128 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10129 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_AddIcon. Expected _wxImageList_p.");
10135 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10136 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
10137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_AddIcon. Expected _wxIcon_p.");
10142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10143 _result
= (int )wxImageList_AddIcon(_arg0
,*_arg1
);
10145 wxPyEndAllowThreads(__tstate
);
10146 if (PyErr_Occurred()) return NULL
;
10147 } _resultobj
= Py_BuildValue("i",_result
);
10151 #define wxImageList_Replace(_swigobj,_swigarg0,_swigarg1) (_swigobj->Replace(_swigarg0,_swigarg1))
10152 static PyObject
*_wrap_wxImageList_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10153 PyObject
* _resultobj
;
10155 wxImageList
* _arg0
;
10158 PyObject
* _argo0
= 0;
10159 PyObject
* _argo2
= 0;
10160 char *_kwnames
[] = { "self","index","bitmap", NULL
};
10163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxImageList_Replace",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
10166 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10167 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Replace. Expected _wxImageList_p.");
10173 if (_argo2
== Py_None
) { _arg2
= NULL
; }
10174 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
10175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Replace. Expected _wxBitmap_p.");
10180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10181 _result
= (bool )wxImageList_Replace(_arg0
,_arg1
,*_arg2
);
10183 wxPyEndAllowThreads(__tstate
);
10184 if (PyErr_Occurred()) return NULL
;
10185 } _resultobj
= Py_BuildValue("i",_result
);
10189 #define wxImageList_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
10190 static PyObject
*_wrap_wxImageList_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10191 PyObject
* _resultobj
;
10193 wxImageList
* _arg0
;
10198 int _arg5
= (int ) (wxIMAGELIST_DRAW_NORMAL
);
10199 bool _arg6
= (bool ) FALSE
;
10200 PyObject
* _argo0
= 0;
10201 PyObject
* _argo2
= 0;
10202 int tempbool6
= (int) FALSE
;
10203 char *_kwnames
[] = { "self","index","dc","x","x","flags","solidBackground", NULL
};
10206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOii|ii:wxImageList_Draw",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
10209 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10210 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Draw. Expected _wxImageList_p.");
10216 if (_argo2
== Py_None
) { _arg2
= NULL
; }
10217 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDC_p")) {
10218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Draw. Expected _wxDC_p.");
10222 _arg6
= (bool ) tempbool6
;
10224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10225 _result
= (bool )wxImageList_Draw(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
10227 wxPyEndAllowThreads(__tstate
);
10228 if (PyErr_Occurred()) return NULL
;
10229 } _resultobj
= Py_BuildValue("i",_result
);
10233 #define wxImageList_GetImageCount(_swigobj) (_swigobj->GetImageCount())
10234 static PyObject
*_wrap_wxImageList_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10235 PyObject
* _resultobj
;
10237 wxImageList
* _arg0
;
10238 PyObject
* _argo0
= 0;
10239 char *_kwnames
[] = { "self", NULL
};
10242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxImageList_GetImageCount",_kwnames
,&_argo0
))
10245 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10246 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_GetImageCount. Expected _wxImageList_p.");
10252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10253 _result
= (int )wxImageList_GetImageCount(_arg0
);
10255 wxPyEndAllowThreads(__tstate
);
10256 if (PyErr_Occurred()) return NULL
;
10257 } _resultobj
= Py_BuildValue("i",_result
);
10261 #define wxImageList_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
10262 static PyObject
*_wrap_wxImageList_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10263 PyObject
* _resultobj
;
10265 wxImageList
* _arg0
;
10267 PyObject
* _argo0
= 0;
10268 char *_kwnames
[] = { "self","index", NULL
};
10271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxImageList_Remove",_kwnames
,&_argo0
,&_arg1
))
10274 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10275 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Remove. Expected _wxImageList_p.");
10281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10282 _result
= (bool )wxImageList_Remove(_arg0
,_arg1
);
10284 wxPyEndAllowThreads(__tstate
);
10285 if (PyErr_Occurred()) return NULL
;
10286 } _resultobj
= Py_BuildValue("i",_result
);
10290 #define wxImageList_RemoveAll(_swigobj) (_swigobj->RemoveAll())
10291 static PyObject
*_wrap_wxImageList_RemoveAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10292 PyObject
* _resultobj
;
10294 wxImageList
* _arg0
;
10295 PyObject
* _argo0
= 0;
10296 char *_kwnames
[] = { "self", NULL
};
10299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxImageList_RemoveAll",_kwnames
,&_argo0
))
10302 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10303 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_RemoveAll. Expected _wxImageList_p.");
10309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10310 _result
= (bool )wxImageList_RemoveAll(_arg0
);
10312 wxPyEndAllowThreads(__tstate
);
10313 if (PyErr_Occurred()) return NULL
;
10314 } _resultobj
= Py_BuildValue("i",_result
);
10318 #define wxImageList_GetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetSize(_swigarg0,_swigarg1,_swigarg2))
10319 static PyObject
*_wrap_wxImageList_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10320 PyObject
* _resultobj
;
10321 wxImageList
* _arg0
;
10327 PyObject
* _argo0
= 0;
10328 char *_kwnames
[] = { "self","index", NULL
};
10337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxImageList_GetSize",_kwnames
,&_argo0
,&_arg1
))
10340 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10341 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_GetSize. Expected _wxImageList_p.");
10347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10348 wxImageList_GetSize(_arg0
,_arg1
,*_arg2
,*_arg3
);
10350 wxPyEndAllowThreads(__tstate
);
10351 if (PyErr_Occurred()) return NULL
;
10352 } Py_INCREF(Py_None
);
10353 _resultobj
= Py_None
;
10356 o
= PyInt_FromLong((long) (*_arg2
));
10357 _resultobj
= t_output_helper(_resultobj
, o
);
10361 o
= PyInt_FromLong((long) (*_arg3
));
10362 _resultobj
= t_output_helper(_resultobj
, o
);
10367 static void *SwigwxRegionTowxGDIObject(void *ptr
) {
10370 src
= (wxRegion
*) ptr
;
10371 dest
= (wxGDIObject
*) src
;
10372 return (void *) dest
;
10375 static void *SwigwxRegionTowxObject(void *ptr
) {
10378 src
= (wxRegion
*) ptr
;
10379 dest
= (wxObject
*) src
;
10380 return (void *) dest
;
10383 #define new_wxRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10384 static PyObject
*_wrap_new_wxRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10385 PyObject
* _resultobj
;
10386 wxRegion
* _result
;
10387 long _arg0
= (long ) 0;
10388 long _arg1
= (long ) 0;
10389 long _arg2
= (long ) 0;
10390 long _arg3
= (long ) 0;
10391 char *_kwnames
[] = { "x","y","width","height", NULL
};
10395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|llll:new_wxRegion",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
10398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10399 _result
= (wxRegion
*)new_wxRegion(_arg0
,_arg1
,_arg2
,_arg3
);
10401 wxPyEndAllowThreads(__tstate
);
10402 if (PyErr_Occurred()) return NULL
;
10404 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegion_p");
10405 _resultobj
= Py_BuildValue("s",_ptemp
);
10407 Py_INCREF(Py_None
);
10408 _resultobj
= Py_None
;
10413 #define delete_wxRegion(_swigobj) (delete _swigobj)
10414 static PyObject
*_wrap_delete_wxRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10415 PyObject
* _resultobj
;
10417 PyObject
* _argo0
= 0;
10418 char *_kwnames
[] = { "self", NULL
};
10421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRegion",_kwnames
,&_argo0
))
10424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegion. Expected _wxRegion_p.");
10431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10432 delete_wxRegion(_arg0
);
10434 wxPyEndAllowThreads(__tstate
);
10435 if (PyErr_Occurred()) return NULL
;
10436 } Py_INCREF(Py_None
);
10437 _resultobj
= Py_None
;
10441 #define wxRegion_Clear(_swigobj) (_swigobj->Clear())
10442 static PyObject
*_wrap_wxRegion_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10443 PyObject
* _resultobj
;
10445 PyObject
* _argo0
= 0;
10446 char *_kwnames
[] = { "self", NULL
};
10449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_Clear",_kwnames
,&_argo0
))
10452 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10453 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Clear. Expected _wxRegion_p.");
10459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10460 wxRegion_Clear(_arg0
);
10462 wxPyEndAllowThreads(__tstate
);
10463 if (PyErr_Occurred()) return NULL
;
10464 } Py_INCREF(Py_None
);
10465 _resultobj
= Py_None
;
10469 #define wxRegion_Offset(_swigobj,_swigarg0,_swigarg1) (_swigobj->Offset(_swigarg0,_swigarg1))
10470 static PyObject
*_wrap_wxRegion_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10471 PyObject
* _resultobj
;
10476 PyObject
* _argo0
= 0;
10477 char *_kwnames
[] = { "self","x","y", NULL
};
10480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRegion_Offset",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Offset. Expected _wxRegion_p.");
10490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10491 _result
= (bool )wxRegion_Offset(_arg0
,_arg1
,_arg2
);
10493 wxPyEndAllowThreads(__tstate
);
10494 if (PyErr_Occurred()) return NULL
;
10495 } _resultobj
= Py_BuildValue("i",_result
);
10499 #define wxRegion_Contains(_swigobj,_swigarg0,_swigarg1) (_swigobj->Contains(_swigarg0,_swigarg1))
10500 static PyObject
*_wrap_wxRegion_Contains(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10501 PyObject
* _resultobj
;
10502 wxRegionContain _result
;
10506 PyObject
* _argo0
= 0;
10507 char *_kwnames
[] = { "self","x","y", NULL
};
10510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxRegion_Contains",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10513 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10514 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Contains. Expected _wxRegion_p.");
10520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10521 _result
= (wxRegionContain
)wxRegion_Contains(_arg0
,_arg1
,_arg2
);
10523 wxPyEndAllowThreads(__tstate
);
10524 if (PyErr_Occurred()) return NULL
;
10525 } _resultobj
= Py_BuildValue("i",_result
);
10529 #define wxRegion_ContainsPoint(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
10530 static PyObject
*_wrap_wxRegion_ContainsPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10531 PyObject
* _resultobj
;
10532 wxRegionContain _result
;
10535 PyObject
* _argo0
= 0;
10537 PyObject
* _obj1
= 0;
10538 char *_kwnames
[] = { "self","pt", NULL
};
10541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_ContainsPoint",_kwnames
,&_argo0
,&_obj1
))
10544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsPoint. Expected _wxRegion_p.");
10552 if (! wxPoint_helper(_obj1
, &_arg1
))
10556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10557 _result
= (wxRegionContain
)wxRegion_ContainsPoint(_arg0
,*_arg1
);
10559 wxPyEndAllowThreads(__tstate
);
10560 if (PyErr_Occurred()) return NULL
;
10561 } _resultobj
= Py_BuildValue("i",_result
);
10565 #define wxRegion_ContainsRect(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
10566 static PyObject
*_wrap_wxRegion_ContainsRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10567 PyObject
* _resultobj
;
10568 wxRegionContain _result
;
10571 PyObject
* _argo0
= 0;
10573 PyObject
* _obj1
= 0;
10574 char *_kwnames
[] = { "self","rect", NULL
};
10577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_ContainsRect",_kwnames
,&_argo0
,&_obj1
))
10580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsRect. Expected _wxRegion_p.");
10588 if (! wxRect_helper(_obj1
, &_arg1
))
10592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10593 _result
= (wxRegionContain
)wxRegion_ContainsRect(_arg0
,*_arg1
);
10595 wxPyEndAllowThreads(__tstate
);
10596 if (PyErr_Occurred()) return NULL
;
10597 } _resultobj
= Py_BuildValue("i",_result
);
10601 #define wxRegion_ContainsRectDim(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Contains(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10602 static PyObject
*_wrap_wxRegion_ContainsRectDim(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10603 PyObject
* _resultobj
;
10604 wxRegionContain _result
;
10610 PyObject
* _argo0
= 0;
10611 char *_kwnames
[] = { "self","x","y","w","h", NULL
};
10614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_ContainsRectDim",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
10617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsRectDim. Expected _wxRegion_p.");
10624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10625 _result
= (wxRegionContain
)wxRegion_ContainsRectDim(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
10627 wxPyEndAllowThreads(__tstate
);
10628 if (PyErr_Occurred()) return NULL
;
10629 } _resultobj
= Py_BuildValue("i",_result
);
10633 #define wxRegion_GetBox(_swigobj) (_swigobj->GetBox())
10634 static PyObject
*_wrap_wxRegion_GetBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10635 PyObject
* _resultobj
;
10638 PyObject
* _argo0
= 0;
10639 char *_kwnames
[] = { "self", NULL
};
10643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_GetBox",_kwnames
,&_argo0
))
10646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_GetBox. Expected _wxRegion_p.");
10653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10654 _result
= new wxRect (wxRegion_GetBox(_arg0
));
10656 wxPyEndAllowThreads(__tstate
);
10657 if (PyErr_Occurred()) return NULL
;
10658 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
10659 _resultobj
= Py_BuildValue("s",_ptemp
);
10663 #define wxRegion_Intersect(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Intersect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10664 static PyObject
*_wrap_wxRegion_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10665 PyObject
* _resultobj
;
10672 PyObject
* _argo0
= 0;
10673 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
10676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Intersect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
10679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Intersect. Expected _wxRegion_p.");
10686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10687 _result
= (bool )wxRegion_Intersect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
10689 wxPyEndAllowThreads(__tstate
);
10690 if (PyErr_Occurred()) return NULL
;
10691 } _resultobj
= Py_BuildValue("i",_result
);
10695 #define wxRegion_IntersectRect(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
10696 static PyObject
*_wrap_wxRegion_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10697 PyObject
* _resultobj
;
10701 PyObject
* _argo0
= 0;
10703 PyObject
* _obj1
= 0;
10704 char *_kwnames
[] = { "self","rect", NULL
};
10707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_IntersectRect",_kwnames
,&_argo0
,&_obj1
))
10710 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10711 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IntersectRect. Expected _wxRegion_p.");
10718 if (! wxRect_helper(_obj1
, &_arg1
))
10722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10723 _result
= (bool )wxRegion_IntersectRect(_arg0
,*_arg1
);
10725 wxPyEndAllowThreads(__tstate
);
10726 if (PyErr_Occurred()) return NULL
;
10727 } _resultobj
= Py_BuildValue("i",_result
);
10731 #define wxRegion_IntersectRegion(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
10732 static PyObject
*_wrap_wxRegion_IntersectRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10733 PyObject
* _resultobj
;
10737 PyObject
* _argo0
= 0;
10738 PyObject
* _argo1
= 0;
10739 char *_kwnames
[] = { "self","region", NULL
};
10742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_IntersectRegion",_kwnames
,&_argo0
,&_argo1
))
10745 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10746 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IntersectRegion. Expected _wxRegion_p.");
10752 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10753 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
10754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_IntersectRegion. Expected _wxRegion_p.");
10759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10760 _result
= (bool )wxRegion_IntersectRegion(_arg0
,*_arg1
);
10762 wxPyEndAllowThreads(__tstate
);
10763 if (PyErr_Occurred()) return NULL
;
10764 } _resultobj
= Py_BuildValue("i",_result
);
10768 #define wxRegion_IsEmpty(_swigobj) (_swigobj->IsEmpty())
10769 static PyObject
*_wrap_wxRegion_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10770 PyObject
* _resultobj
;
10773 PyObject
* _argo0
= 0;
10774 char *_kwnames
[] = { "self", NULL
};
10777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_IsEmpty",_kwnames
,&_argo0
))
10780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IsEmpty. Expected _wxRegion_p.");
10787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10788 _result
= (bool )wxRegion_IsEmpty(_arg0
);
10790 wxPyEndAllowThreads(__tstate
);
10791 if (PyErr_Occurred()) return NULL
;
10792 } _resultobj
= Py_BuildValue("i",_result
);
10796 #define wxRegion_Union(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Union(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10797 static PyObject
*_wrap_wxRegion_Union(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10798 PyObject
* _resultobj
;
10805 PyObject
* _argo0
= 0;
10806 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
10809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Union",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
10812 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10813 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Union. Expected _wxRegion_p.");
10819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10820 _result
= (bool )wxRegion_Union(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
10822 wxPyEndAllowThreads(__tstate
);
10823 if (PyErr_Occurred()) return NULL
;
10824 } _resultobj
= Py_BuildValue("i",_result
);
10828 #define wxRegion_UnionRect(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
10829 static PyObject
*_wrap_wxRegion_UnionRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10830 PyObject
* _resultobj
;
10834 PyObject
* _argo0
= 0;
10836 PyObject
* _obj1
= 0;
10837 char *_kwnames
[] = { "self","rect", NULL
};
10840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_UnionRect",_kwnames
,&_argo0
,&_obj1
))
10843 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10844 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_UnionRect. Expected _wxRegion_p.");
10851 if (! wxRect_helper(_obj1
, &_arg1
))
10855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10856 _result
= (bool )wxRegion_UnionRect(_arg0
,*_arg1
);
10858 wxPyEndAllowThreads(__tstate
);
10859 if (PyErr_Occurred()) return NULL
;
10860 } _resultobj
= Py_BuildValue("i",_result
);
10864 #define wxRegion_UnionRegion(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
10865 static PyObject
*_wrap_wxRegion_UnionRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10866 PyObject
* _resultobj
;
10870 PyObject
* _argo0
= 0;
10871 PyObject
* _argo1
= 0;
10872 char *_kwnames
[] = { "self","region", NULL
};
10875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_UnionRegion",_kwnames
,&_argo0
,&_argo1
))
10878 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10879 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_UnionRegion. Expected _wxRegion_p.");
10885 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10886 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
10887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_UnionRegion. Expected _wxRegion_p.");
10892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10893 _result
= (bool )wxRegion_UnionRegion(_arg0
,*_arg1
);
10895 wxPyEndAllowThreads(__tstate
);
10896 if (PyErr_Occurred()) return NULL
;
10897 } _resultobj
= Py_BuildValue("i",_result
);
10901 #define wxRegion_Subtract(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Subtract(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10902 static PyObject
*_wrap_wxRegion_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10903 PyObject
* _resultobj
;
10910 PyObject
* _argo0
= 0;
10911 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
10914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Subtract",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
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_Subtract. Expected _wxRegion_p.");
10924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10925 _result
= (bool )wxRegion_Subtract(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
10927 wxPyEndAllowThreads(__tstate
);
10928 if (PyErr_Occurred()) return NULL
;
10929 } _resultobj
= Py_BuildValue("i",_result
);
10933 #define wxRegion_SubtractRect(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
10934 static PyObject
*_wrap_wxRegion_SubtractRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10935 PyObject
* _resultobj
;
10939 PyObject
* _argo0
= 0;
10941 PyObject
* _obj1
= 0;
10942 char *_kwnames
[] = { "self","rect", NULL
};
10945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_SubtractRect",_kwnames
,&_argo0
,&_obj1
))
10948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_SubtractRect. Expected _wxRegion_p.");
10956 if (! wxRect_helper(_obj1
, &_arg1
))
10960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10961 _result
= (bool )wxRegion_SubtractRect(_arg0
,*_arg1
);
10963 wxPyEndAllowThreads(__tstate
);
10964 if (PyErr_Occurred()) return NULL
;
10965 } _resultobj
= Py_BuildValue("i",_result
);
10969 #define wxRegion_SubtractRegion(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
10970 static PyObject
*_wrap_wxRegion_SubtractRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10971 PyObject
* _resultobj
;
10975 PyObject
* _argo0
= 0;
10976 PyObject
* _argo1
= 0;
10977 char *_kwnames
[] = { "self","region", NULL
};
10980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_SubtractRegion",_kwnames
,&_argo0
,&_argo1
))
10983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_SubtractRegion. Expected _wxRegion_p.");
10990 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10991 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
10992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_SubtractRegion. Expected _wxRegion_p.");
10997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10998 _result
= (bool )wxRegion_SubtractRegion(_arg0
,*_arg1
);
11000 wxPyEndAllowThreads(__tstate
);
11001 if (PyErr_Occurred()) return NULL
;
11002 } _resultobj
= Py_BuildValue("i",_result
);
11006 #define wxRegion_Xor(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Xor(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11007 static PyObject
*_wrap_wxRegion_Xor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11008 PyObject
* _resultobj
;
11015 PyObject
* _argo0
= 0;
11016 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
11019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Xor",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
11022 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11023 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Xor. Expected _wxRegion_p.");
11029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11030 _result
= (bool )wxRegion_Xor(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
11032 wxPyEndAllowThreads(__tstate
);
11033 if (PyErr_Occurred()) return NULL
;
11034 } _resultobj
= Py_BuildValue("i",_result
);
11038 #define wxRegion_XorRect(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
11039 static PyObject
*_wrap_wxRegion_XorRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11040 PyObject
* _resultobj
;
11044 PyObject
* _argo0
= 0;
11046 PyObject
* _obj1
= 0;
11047 char *_kwnames
[] = { "self","rect", NULL
};
11050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_XorRect",_kwnames
,&_argo0
,&_obj1
))
11053 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11054 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_XorRect. Expected _wxRegion_p.");
11061 if (! wxRect_helper(_obj1
, &_arg1
))
11065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11066 _result
= (bool )wxRegion_XorRect(_arg0
,*_arg1
);
11068 wxPyEndAllowThreads(__tstate
);
11069 if (PyErr_Occurred()) return NULL
;
11070 } _resultobj
= Py_BuildValue("i",_result
);
11074 #define wxRegion_XorRegion(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
11075 static PyObject
*_wrap_wxRegion_XorRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11076 PyObject
* _resultobj
;
11080 PyObject
* _argo0
= 0;
11081 PyObject
* _argo1
= 0;
11082 char *_kwnames
[] = { "self","region", NULL
};
11085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_XorRegion",_kwnames
,&_argo0
,&_argo1
))
11088 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11089 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_XorRegion. Expected _wxRegion_p.");
11095 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11096 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
11097 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_XorRegion. Expected _wxRegion_p.");
11102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11103 _result
= (bool )wxRegion_XorRegion(_arg0
,*_arg1
);
11105 wxPyEndAllowThreads(__tstate
);
11106 if (PyErr_Occurred()) return NULL
;
11107 } _resultobj
= Py_BuildValue("i",_result
);
11111 static void *SwigwxRegionIteratorTowxObject(void *ptr
) {
11112 wxRegionIterator
*src
;
11114 src
= (wxRegionIterator
*) ptr
;
11115 dest
= (wxObject
*) src
;
11116 return (void *) dest
;
11119 #define new_wxRegionIterator(_swigarg0) (new wxRegionIterator(_swigarg0))
11120 static PyObject
*_wrap_new_wxRegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11121 PyObject
* _resultobj
;
11122 wxRegionIterator
* _result
;
11124 PyObject
* _argo0
= 0;
11125 char *_kwnames
[] = { "region", NULL
};
11129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxRegionIterator",_kwnames
,&_argo0
))
11132 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11133 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRegionIterator. Expected _wxRegion_p.");
11139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11140 _result
= (wxRegionIterator
*)new_wxRegionIterator(*_arg0
);
11142 wxPyEndAllowThreads(__tstate
);
11143 if (PyErr_Occurred()) return NULL
;
11145 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegionIterator_p");
11146 _resultobj
= Py_BuildValue("s",_ptemp
);
11148 Py_INCREF(Py_None
);
11149 _resultobj
= Py_None
;
11154 #define delete_wxRegionIterator(_swigobj) (delete _swigobj)
11155 static PyObject
*_wrap_delete_wxRegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11156 PyObject
* _resultobj
;
11157 wxRegionIterator
* _arg0
;
11158 PyObject
* _argo0
= 0;
11159 char *_kwnames
[] = { "self", NULL
};
11162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRegionIterator",_kwnames
,&_argo0
))
11165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegionIterator. Expected _wxRegionIterator_p.");
11172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11173 delete_wxRegionIterator(_arg0
);
11175 wxPyEndAllowThreads(__tstate
);
11176 if (PyErr_Occurred()) return NULL
;
11177 } Py_INCREF(Py_None
);
11178 _resultobj
= Py_None
;
11182 #define wxRegionIterator_GetX(_swigobj) (_swigobj->GetX())
11183 static PyObject
*_wrap_wxRegionIterator_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11184 PyObject
* _resultobj
;
11186 wxRegionIterator
* _arg0
;
11187 PyObject
* _argo0
= 0;
11188 char *_kwnames
[] = { "self", NULL
};
11191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetX",_kwnames
,&_argo0
))
11194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetX. Expected _wxRegionIterator_p.");
11201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11202 _result
= (long )wxRegionIterator_GetX(_arg0
);
11204 wxPyEndAllowThreads(__tstate
);
11205 if (PyErr_Occurred()) return NULL
;
11206 } _resultobj
= Py_BuildValue("l",_result
);
11210 #define wxRegionIterator_GetY(_swigobj) (_swigobj->GetY())
11211 static PyObject
*_wrap_wxRegionIterator_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11212 PyObject
* _resultobj
;
11214 wxRegionIterator
* _arg0
;
11215 PyObject
* _argo0
= 0;
11216 char *_kwnames
[] = { "self", NULL
};
11219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetY",_kwnames
,&_argo0
))
11222 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11223 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetY. Expected _wxRegionIterator_p.");
11229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11230 _result
= (long )wxRegionIterator_GetY(_arg0
);
11232 wxPyEndAllowThreads(__tstate
);
11233 if (PyErr_Occurred()) return NULL
;
11234 } _resultobj
= Py_BuildValue("l",_result
);
11238 #define wxRegionIterator_GetW(_swigobj) (_swigobj->GetW())
11239 static PyObject
*_wrap_wxRegionIterator_GetW(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11240 PyObject
* _resultobj
;
11242 wxRegionIterator
* _arg0
;
11243 PyObject
* _argo0
= 0;
11244 char *_kwnames
[] = { "self", NULL
};
11247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetW",_kwnames
,&_argo0
))
11250 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11251 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetW. Expected _wxRegionIterator_p.");
11257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11258 _result
= (long )wxRegionIterator_GetW(_arg0
);
11260 wxPyEndAllowThreads(__tstate
);
11261 if (PyErr_Occurred()) return NULL
;
11262 } _resultobj
= Py_BuildValue("l",_result
);
11266 #define wxRegionIterator_GetWidth(_swigobj) (_swigobj->GetWidth())
11267 static PyObject
*_wrap_wxRegionIterator_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11268 PyObject
* _resultobj
;
11270 wxRegionIterator
* _arg0
;
11271 PyObject
* _argo0
= 0;
11272 char *_kwnames
[] = { "self", NULL
};
11275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetWidth",_kwnames
,&_argo0
))
11278 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11279 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetWidth. Expected _wxRegionIterator_p.");
11285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11286 _result
= (long )wxRegionIterator_GetWidth(_arg0
);
11288 wxPyEndAllowThreads(__tstate
);
11289 if (PyErr_Occurred()) return NULL
;
11290 } _resultobj
= Py_BuildValue("l",_result
);
11294 #define wxRegionIterator_GetH(_swigobj) (_swigobj->GetH())
11295 static PyObject
*_wrap_wxRegionIterator_GetH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11296 PyObject
* _resultobj
;
11298 wxRegionIterator
* _arg0
;
11299 PyObject
* _argo0
= 0;
11300 char *_kwnames
[] = { "self", NULL
};
11303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetH",_kwnames
,&_argo0
))
11306 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11307 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetH. Expected _wxRegionIterator_p.");
11313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11314 _result
= (long )wxRegionIterator_GetH(_arg0
);
11316 wxPyEndAllowThreads(__tstate
);
11317 if (PyErr_Occurred()) return NULL
;
11318 } _resultobj
= Py_BuildValue("l",_result
);
11322 #define wxRegionIterator_GetHeight(_swigobj) (_swigobj->GetHeight())
11323 static PyObject
*_wrap_wxRegionIterator_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11324 PyObject
* _resultobj
;
11326 wxRegionIterator
* _arg0
;
11327 PyObject
* _argo0
= 0;
11328 char *_kwnames
[] = { "self", NULL
};
11331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetHeight",_kwnames
,&_argo0
))
11334 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11335 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetHeight. Expected _wxRegionIterator_p.");
11341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11342 _result
= (long )wxRegionIterator_GetHeight(_arg0
);
11344 wxPyEndAllowThreads(__tstate
);
11345 if (PyErr_Occurred()) return NULL
;
11346 } _resultobj
= Py_BuildValue("l",_result
);
11350 #define wxRegionIterator_GetRect(_swigobj) (_swigobj->GetRect())
11351 static PyObject
*_wrap_wxRegionIterator_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11352 PyObject
* _resultobj
;
11354 wxRegionIterator
* _arg0
;
11355 PyObject
* _argo0
= 0;
11356 char *_kwnames
[] = { "self", NULL
};
11360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetRect",_kwnames
,&_argo0
))
11363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetRect. Expected _wxRegionIterator_p.");
11370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11371 _result
= new wxRect (wxRegionIterator_GetRect(_arg0
));
11373 wxPyEndAllowThreads(__tstate
);
11374 if (PyErr_Occurred()) return NULL
;
11375 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
11376 _resultobj
= Py_BuildValue("s",_ptemp
);
11380 #define wxRegionIterator_HaveRects(_swigobj) (_swigobj->HaveRects())
11381 static PyObject
*_wrap_wxRegionIterator_HaveRects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11382 PyObject
* _resultobj
;
11384 wxRegionIterator
* _arg0
;
11385 PyObject
* _argo0
= 0;
11386 char *_kwnames
[] = { "self", NULL
};
11389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_HaveRects",_kwnames
,&_argo0
))
11392 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11393 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_HaveRects. Expected _wxRegionIterator_p.");
11399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11400 _result
= (bool )wxRegionIterator_HaveRects(_arg0
);
11402 wxPyEndAllowThreads(__tstate
);
11403 if (PyErr_Occurred()) return NULL
;
11404 } _resultobj
= Py_BuildValue("i",_result
);
11408 #define wxRegionIterator_Reset(_swigobj) (_swigobj->Reset())
11409 static PyObject
*_wrap_wxRegionIterator_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11410 PyObject
* _resultobj
;
11411 wxRegionIterator
* _arg0
;
11412 PyObject
* _argo0
= 0;
11413 char *_kwnames
[] = { "self", NULL
};
11416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_Reset",_kwnames
,&_argo0
))
11419 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11420 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Reset. Expected _wxRegionIterator_p.");
11426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11427 wxRegionIterator_Reset(_arg0
);
11429 wxPyEndAllowThreads(__tstate
);
11430 if (PyErr_Occurred()) return NULL
;
11431 } Py_INCREF(Py_None
);
11432 _resultobj
= Py_None
;
11436 static void wxRegionIterator_Next(wxRegionIterator
*self
) {
11439 static PyObject
*_wrap_wxRegionIterator_Next(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11440 PyObject
* _resultobj
;
11441 wxRegionIterator
* _arg0
;
11442 PyObject
* _argo0
= 0;
11443 char *_kwnames
[] = { "self", NULL
};
11446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_Next",_kwnames
,&_argo0
))
11449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Next. Expected _wxRegionIterator_p.");
11456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11457 wxRegionIterator_Next(_arg0
);
11459 wxPyEndAllowThreads(__tstate
);
11460 if (PyErr_Occurred()) return NULL
;
11461 } Py_INCREF(Py_None
);
11462 _resultobj
= Py_None
;
11466 static PyMethodDef gdicMethods
[] = {
11467 { "wxRegionIterator_Next", (PyCFunction
) _wrap_wxRegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
},
11468 { "wxRegionIterator_Reset", (PyCFunction
) _wrap_wxRegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
},
11469 { "wxRegionIterator_HaveRects", (PyCFunction
) _wrap_wxRegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
},
11470 { "wxRegionIterator_GetRect", (PyCFunction
) _wrap_wxRegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
11471 { "wxRegionIterator_GetHeight", (PyCFunction
) _wrap_wxRegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
11472 { "wxRegionIterator_GetH", (PyCFunction
) _wrap_wxRegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
},
11473 { "wxRegionIterator_GetWidth", (PyCFunction
) _wrap_wxRegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11474 { "wxRegionIterator_GetW", (PyCFunction
) _wrap_wxRegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
},
11475 { "wxRegionIterator_GetY", (PyCFunction
) _wrap_wxRegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
},
11476 { "wxRegionIterator_GetX", (PyCFunction
) _wrap_wxRegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
},
11477 { "delete_wxRegionIterator", (PyCFunction
) _wrap_delete_wxRegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
11478 { "new_wxRegionIterator", (PyCFunction
) _wrap_new_wxRegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
11479 { "wxRegion_XorRegion", (PyCFunction
) _wrap_wxRegion_XorRegion
, METH_VARARGS
| METH_KEYWORDS
},
11480 { "wxRegion_XorRect", (PyCFunction
) _wrap_wxRegion_XorRect
, METH_VARARGS
| METH_KEYWORDS
},
11481 { "wxRegion_Xor", (PyCFunction
) _wrap_wxRegion_Xor
, METH_VARARGS
| METH_KEYWORDS
},
11482 { "wxRegion_SubtractRegion", (PyCFunction
) _wrap_wxRegion_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
},
11483 { "wxRegion_SubtractRect", (PyCFunction
) _wrap_wxRegion_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
},
11484 { "wxRegion_Subtract", (PyCFunction
) _wrap_wxRegion_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
11485 { "wxRegion_UnionRegion", (PyCFunction
) _wrap_wxRegion_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
},
11486 { "wxRegion_UnionRect", (PyCFunction
) _wrap_wxRegion_UnionRect
, METH_VARARGS
| METH_KEYWORDS
},
11487 { "wxRegion_Union", (PyCFunction
) _wrap_wxRegion_Union
, METH_VARARGS
| METH_KEYWORDS
},
11488 { "wxRegion_IsEmpty", (PyCFunction
) _wrap_wxRegion_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
11489 { "wxRegion_IntersectRegion", (PyCFunction
) _wrap_wxRegion_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
},
11490 { "wxRegion_IntersectRect", (PyCFunction
) _wrap_wxRegion_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
11491 { "wxRegion_Intersect", (PyCFunction
) _wrap_wxRegion_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
11492 { "wxRegion_GetBox", (PyCFunction
) _wrap_wxRegion_GetBox
, METH_VARARGS
| METH_KEYWORDS
},
11493 { "wxRegion_ContainsRectDim", (PyCFunction
) _wrap_wxRegion_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
},
11494 { "wxRegion_ContainsRect", (PyCFunction
) _wrap_wxRegion_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
},
11495 { "wxRegion_ContainsPoint", (PyCFunction
) _wrap_wxRegion_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
},
11496 { "wxRegion_Contains", (PyCFunction
) _wrap_wxRegion_Contains
, METH_VARARGS
| METH_KEYWORDS
},
11497 { "wxRegion_Offset", (PyCFunction
) _wrap_wxRegion_Offset
, METH_VARARGS
| METH_KEYWORDS
},
11498 { "wxRegion_Clear", (PyCFunction
) _wrap_wxRegion_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11499 { "delete_wxRegion", (PyCFunction
) _wrap_delete_wxRegion
, METH_VARARGS
| METH_KEYWORDS
},
11500 { "new_wxRegion", (PyCFunction
) _wrap_new_wxRegion
, METH_VARARGS
| METH_KEYWORDS
},
11501 { "wxImageList_GetSize", (PyCFunction
) _wrap_wxImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
11502 { "wxImageList_RemoveAll", (PyCFunction
) _wrap_wxImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
},
11503 { "wxImageList_Remove", (PyCFunction
) _wrap_wxImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
},
11504 { "wxImageList_GetImageCount", (PyCFunction
) _wrap_wxImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
11505 { "wxImageList_Draw", (PyCFunction
) _wrap_wxImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
},
11506 { "wxImageList_Replace", (PyCFunction
) _wrap_wxImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
},
11507 { "wxImageList_AddIcon", (PyCFunction
) _wrap_wxImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
11508 { "wxImageList_AddWithColourMask", (PyCFunction
) _wrap_wxImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
},
11509 { "wxImageList_Add", (PyCFunction
) _wrap_wxImageList_Add
, METH_VARARGS
| METH_KEYWORDS
},
11510 { "delete_wxImageList", (PyCFunction
) _wrap_delete_wxImageList
, METH_VARARGS
| METH_KEYWORDS
},
11511 { "new_wxImageList", (PyCFunction
) _wrap_new_wxImageList
, METH_VARARGS
| METH_KEYWORDS
},
11512 { "wxPalette_Ok", (PyCFunction
) _wrap_wxPalette_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11513 { "wxPalette_GetRGB", (PyCFunction
) _wrap_wxPalette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
11514 { "wxPalette_GetPixel", (PyCFunction
) _wrap_wxPalette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
11515 { "delete_wxPalette", (PyCFunction
) _wrap_delete_wxPalette
, METH_VARARGS
| METH_KEYWORDS
},
11516 { "new_wxPalette", (PyCFunction
) _wrap_new_wxPalette
, METH_VARARGS
| METH_KEYWORDS
},
11517 { "new_wxWindowDC", (PyCFunction
) _wrap_new_wxWindowDC
, METH_VARARGS
| METH_KEYWORDS
},
11518 { "new_wxPaintDC", (PyCFunction
) _wrap_new_wxPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
11519 { "new_wxClientDC", (PyCFunction
) _wrap_new_wxClientDC
, METH_VARARGS
| METH_KEYWORDS
},
11520 { "wxScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_wxScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
11521 { "wxScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_wxScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
11522 { "wxScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_wxScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
},
11523 { "new_wxScreenDC", (PyCFunction
) _wrap_new_wxScreenDC
, METH_VARARGS
| METH_KEYWORDS
},
11524 { "wxMemoryDC_SelectObject", (PyCFunction
) _wrap_wxMemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
},
11525 { "new_wxMemoryDC", (PyCFunction
) _wrap_new_wxMemoryDC
, METH_VARARGS
| METH_KEYWORDS
},
11526 { "wxDC__DrawLineList", (PyCFunction
) _wrap_wxDC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
},
11527 { "wxDC__DrawPointList", (PyCFunction
) _wrap_wxDC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
},
11528 { "wxDC_GetBoundingBox", (PyCFunction
) _wrap_wxDC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
11529 { "wxDC_ResetBoundingBox", (PyCFunction
) _wrap_wxDC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
11530 { "wxDC_CalcBoundingBox", (PyCFunction
) _wrap_wxDC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
11531 { "wxDC_SetAxisOrientation", (PyCFunction
) _wrap_wxDC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
},
11532 { "wxDC_GetDeviceOrigin", (PyCFunction
) _wrap_wxDC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
11533 { "wxDC_SetLogicalOrigin", (PyCFunction
) _wrap_wxDC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
11534 { "wxDC_GetLogicalOrigin", (PyCFunction
) _wrap_wxDC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
11535 { "wxDC_GetPPI", (PyCFunction
) _wrap_wxDC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
},
11536 { "wxDC_GetDepth", (PyCFunction
) _wrap_wxDC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
11537 { "wxDC_CanGetTextExtent", (PyCFunction
) _wrap_wxDC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
11538 { "wxDC_CanDrawBitmap", (PyCFunction
) _wrap_wxDC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11539 { "wxDC_DrawBitmap", (PyCFunction
) _wrap_wxDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11540 { "wxDC_StartPage", (PyCFunction
) _wrap_wxDC_StartPage
, METH_VARARGS
| METH_KEYWORDS
},
11541 { "wxDC_StartDoc", (PyCFunction
) _wrap_wxDC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
},
11542 { "wxDC_SetUserScale", (PyCFunction
) _wrap_wxDC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
11543 { "wxDC_SetTextForeground", (PyCFunction
) _wrap_wxDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
11544 { "wxDC_SetTextBackground", (PyCFunction
) _wrap_wxDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
11545 { "wxDC_SetPen", (PyCFunction
) _wrap_wxDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
11546 { "wxDC_SetOptimization", (PyCFunction
) _wrap_wxDC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
11547 { "wxDC_SetMapMode", (PyCFunction
) _wrap_wxDC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
11548 { "wxDC_SetLogicalScale", (PyCFunction
) _wrap_wxDC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
11549 { "wxDC_SetLogicalFunction", (PyCFunction
) _wrap_wxDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
11550 { "wxDC_SetFont", (PyCFunction
) _wrap_wxDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
11551 { "wxDC_SetBrush", (PyCFunction
) _wrap_wxDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
11552 { "wxDC_SetPalette", (PyCFunction
) _wrap_wxDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
11553 { "wxDC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_wxDC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
},
11554 { "wxDC_SetClippingRegion", (PyCFunction
) _wrap_wxDC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
11555 { "wxDC_SetBackgroundMode", (PyCFunction
) _wrap_wxDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
11556 { "wxDC_SetBackground", (PyCFunction
) _wrap_wxDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
},
11557 { "wxDC_SetDeviceOrigin", (PyCFunction
) _wrap_wxDC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
11558 { "wxDC_Ok", (PyCFunction
) _wrap_wxDC_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11559 { "wxDC_MinY", (PyCFunction
) _wrap_wxDC_MinY
, METH_VARARGS
| METH_KEYWORDS
},
11560 { "wxDC_MinX", (PyCFunction
) _wrap_wxDC_MinX
, METH_VARARGS
| METH_KEYWORDS
},
11561 { "wxDC_MaxY", (PyCFunction
) _wrap_wxDC_MaxY
, METH_VARARGS
| METH_KEYWORDS
},
11562 { "wxDC_MaxX", (PyCFunction
) _wrap_wxDC_MaxX
, METH_VARARGS
| METH_KEYWORDS
},
11563 { "wxDC_LogicalToDeviceYRel", (PyCFunction
) _wrap_wxDC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
},
11564 { "wxDC_LogicalToDeviceY", (PyCFunction
) _wrap_wxDC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
},
11565 { "wxDC_LogicalToDeviceXRel", (PyCFunction
) _wrap_wxDC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
},
11566 { "wxDC_LogicalToDeviceX", (PyCFunction
) _wrap_wxDC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
},
11567 { "wxDC_GetUserScale", (PyCFunction
) _wrap_wxDC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
11568 { "wxDC_GetTextForeground", (PyCFunction
) _wrap_wxDC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
11569 { "wxDC_GetFullTextExtent", (PyCFunction
) _wrap_wxDC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
11570 { "wxDC_GetTextExtent", (PyCFunction
) _wrap_wxDC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
11571 { "wxDC_GetTextBackground", (PyCFunction
) _wrap_wxDC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
11572 { "wxDC_GetSizeMM", (PyCFunction
) _wrap_wxDC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
11573 { "wxDC_GetSize", (PyCFunction
) _wrap_wxDC_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
11574 { "wxDC_GetSizeTuple", (PyCFunction
) _wrap_wxDC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
11575 { "wxDC_GetPixel", (PyCFunction
) _wrap_wxDC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
11576 { "wxDC_GetPen", (PyCFunction
) _wrap_wxDC_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
11577 { "wxDC_GetOptimization", (PyCFunction
) _wrap_wxDC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
11578 { "wxDC_GetMapMode", (PyCFunction
) _wrap_wxDC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
11579 { "wxDC_GetLogicalScale", (PyCFunction
) _wrap_wxDC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
11580 { "wxDC_GetLogicalFunction", (PyCFunction
) _wrap_wxDC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
11581 { "wxDC_GetFont", (PyCFunction
) _wrap_wxDC_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
11582 { "wxDC_GetClippingBox", (PyCFunction
) _wrap_wxDC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
},
11583 { "wxDC_GetCharWidth", (PyCFunction
) _wrap_wxDC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
11584 { "wxDC_GetCharHeight", (PyCFunction
) _wrap_wxDC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
11585 { "wxDC_GetBrush", (PyCFunction
) _wrap_wxDC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
11586 { "wxDC_GetBackground", (PyCFunction
) _wrap_wxDC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
},
11587 { "wxDC_FloodFill", (PyCFunction
) _wrap_wxDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
},
11588 { "wxDC_EndPage", (PyCFunction
) _wrap_wxDC_EndPage
, METH_VARARGS
| METH_KEYWORDS
},
11589 { "wxDC_EndDrawing", (PyCFunction
) _wrap_wxDC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
},
11590 { "wxDC_EndDoc", (PyCFunction
) _wrap_wxDC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
},
11591 { "wxDC_DrawText", (PyCFunction
) _wrap_wxDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
11592 { "wxDC_DrawSpline", (PyCFunction
) _wrap_wxDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
11593 { "wxDC_DrawRoundedRectangle", (PyCFunction
) _wrap_wxDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
11594 { "wxDC_DrawRotatedText", (PyCFunction
) _wrap_wxDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
},
11595 { "wxDC_DrawRectangle", (PyCFunction
) _wrap_wxDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
11596 { "wxDC_DrawPoint", (PyCFunction
) _wrap_wxDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
11597 { "wxDC_DrawPolygon", (PyCFunction
) _wrap_wxDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
11598 { "wxDC_DrawLines", (PyCFunction
) _wrap_wxDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
11599 { "wxDC_DrawLine", (PyCFunction
) _wrap_wxDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
11600 { "wxDC_DrawImageLabel", (PyCFunction
) _wrap_wxDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
},
11601 { "wxDC_DrawLabel", (PyCFunction
) _wrap_wxDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
},
11602 { "wxDC_DrawIcon", (PyCFunction
) _wrap_wxDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
},
11603 { "wxDC_DrawEllipticArc", (PyCFunction
) _wrap_wxDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
11604 { "wxDC_DrawEllipse", (PyCFunction
) _wrap_wxDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
11605 { "wxDC_DrawCircle", (PyCFunction
) _wrap_wxDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
},
11606 { "wxDC_DrawArc", (PyCFunction
) _wrap_wxDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
11607 { "wxDC_DeviceToLogicalYRel", (PyCFunction
) _wrap_wxDC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
},
11608 { "wxDC_DeviceToLogicalY", (PyCFunction
) _wrap_wxDC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
},
11609 { "wxDC_DeviceToLogicalXRel", (PyCFunction
) _wrap_wxDC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
},
11610 { "wxDC_DeviceToLogicalX", (PyCFunction
) _wrap_wxDC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
},
11611 { "wxDC_DestroyClippingRegion", (PyCFunction
) _wrap_wxDC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
11612 { "wxDC_CrossHair", (PyCFunction
) _wrap_wxDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
},
11613 { "wxDC_Clear", (PyCFunction
) _wrap_wxDC_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11614 { "wxDC_Blit", (PyCFunction
) _wrap_wxDC_Blit
, METH_VARARGS
| METH_KEYWORDS
},
11615 { "wxDC_BeginDrawing", (PyCFunction
) _wrap_wxDC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
},
11616 { "delete_wxDC", (PyCFunction
) _wrap_delete_wxDC
, METH_VARARGS
| METH_KEYWORDS
},
11617 { "wxBrushList_GetCount", (PyCFunction
) _wrap_wxBrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11618 { "wxBrushList_RemoveBrush", (PyCFunction
) _wrap_wxBrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
},
11619 { "wxBrushList_FindOrCreateBrush", (PyCFunction
) _wrap_wxBrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
},
11620 { "wxBrushList_AddBrush", (PyCFunction
) _wrap_wxBrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
},
11621 { "wxBrush_SetStyle", (PyCFunction
) _wrap_wxBrush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11622 { "wxBrush_SetStipple", (PyCFunction
) _wrap_wxBrush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
11623 { "wxBrush_SetColour", (PyCFunction
) _wrap_wxBrush_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
11624 { "wxBrush_Ok", (PyCFunction
) _wrap_wxBrush_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11625 { "wxBrush_GetStyle", (PyCFunction
) _wrap_wxBrush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11626 { "wxBrush_GetStipple", (PyCFunction
) _wrap_wxBrush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
11627 { "wxBrush_GetColour", (PyCFunction
) _wrap_wxBrush_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
11628 { "delete_wxBrush", (PyCFunction
) _wrap_delete_wxBrush
, METH_VARARGS
| METH_KEYWORDS
},
11629 { "new_wxBrush", (PyCFunction
) _wrap_new_wxBrush
, METH_VARARGS
| METH_KEYWORDS
},
11630 { "wxPenList_GetCount", (PyCFunction
) _wrap_wxPenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11631 { "wxPenList_RemovePen", (PyCFunction
) _wrap_wxPenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
},
11632 { "wxPenList_FindOrCreatePen", (PyCFunction
) _wrap_wxPenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
},
11633 { "wxPenList_AddPen", (PyCFunction
) _wrap_wxPenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
},
11634 { "wxPyPen_SetDashes", (PyCFunction
) _wrap_wxPyPen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
11635 { "delete_wxPyPen", (PyCFunction
) _wrap_delete_wxPyPen
, METH_VARARGS
| METH_KEYWORDS
},
11636 { "new_wxPyPen", (PyCFunction
) _wrap_new_wxPyPen
, METH_VARARGS
| METH_KEYWORDS
},
11637 { "wxPen_SetDashes", (PyCFunction
) _wrap_wxPen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
11638 { "wxPen_SetWidth", (PyCFunction
) _wrap_wxPen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11639 { "wxPen_SetStyle", (PyCFunction
) _wrap_wxPen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11640 { "wxPen_SetJoin", (PyCFunction
) _wrap_wxPen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
},
11641 { "wxPen_SetColour", (PyCFunction
) _wrap_wxPen_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
11642 { "wxPen_SetCap", (PyCFunction
) _wrap_wxPen_SetCap
, METH_VARARGS
| METH_KEYWORDS
},
11643 { "wxPen_Ok", (PyCFunction
) _wrap_wxPen_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11644 { "wxPen_GetWidth", (PyCFunction
) _wrap_wxPen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11645 { "wxPen_GetStyle", (PyCFunction
) _wrap_wxPen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11646 { "wxPen_GetJoin", (PyCFunction
) _wrap_wxPen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
},
11647 { "wxPen_GetColour", (PyCFunction
) _wrap_wxPen_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
11648 { "wxPen_GetCap", (PyCFunction
) _wrap_wxPen_GetCap
, METH_VARARGS
| METH_KEYWORDS
},
11649 { "delete_wxPen", (PyCFunction
) _wrap_delete_wxPen
, METH_VARARGS
| METH_KEYWORDS
},
11650 { "new_wxPen", (PyCFunction
) _wrap_new_wxPen
, METH_VARARGS
| METH_KEYWORDS
},
11651 { "wxColourDatabase_Append", (PyCFunction
) _wrap_wxColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
},
11652 { "wxColourDatabase_FindName", (PyCFunction
) _wrap_wxColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
},
11653 { "wxColourDatabase_FindColour", (PyCFunction
) _wrap_wxColourDatabase_FindColour
, METH_VARARGS
| METH_KEYWORDS
},
11654 { "wxColour_Get", (PyCFunction
) _wrap_wxColour_Get
, METH_VARARGS
| METH_KEYWORDS
},
11655 { "wxColour_Set", (PyCFunction
) _wrap_wxColour_Set
, METH_VARARGS
| METH_KEYWORDS
},
11656 { "wxColour_Ok", (PyCFunction
) _wrap_wxColour_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11657 { "wxColour_Blue", (PyCFunction
) _wrap_wxColour_Blue
, METH_VARARGS
| METH_KEYWORDS
},
11658 { "wxColour_Green", (PyCFunction
) _wrap_wxColour_Green
, METH_VARARGS
| METH_KEYWORDS
},
11659 { "wxColour_Red", (PyCFunction
) _wrap_wxColour_Red
, METH_VARARGS
| METH_KEYWORDS
},
11660 { "delete_wxColour", (PyCFunction
) _wrap_delete_wxColour
, METH_VARARGS
| METH_KEYWORDS
},
11661 { "new_wxColour", (PyCFunction
) _wrap_new_wxColour
, METH_VARARGS
| METH_KEYWORDS
},
11662 { "wxFontList_GetCount", (PyCFunction
) _wrap_wxFontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11663 { "wxFontList_RemoveFont", (PyCFunction
) _wrap_wxFontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
},
11664 { "wxFontList_FindOrCreateFont", (PyCFunction
) _wrap_wxFontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
},
11665 { "wxFontList_AddFont", (PyCFunction
) _wrap_wxFontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
},
11666 { "wxFont_SetDefaultEncoding", (PyCFunction
) _wrap_wxFont_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
11667 { "wxFont_GetDefaultEncoding", (PyCFunction
) _wrap_wxFont_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
11668 { "wxFont_GetWeightString", (PyCFunction
) _wrap_wxFont_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
},
11669 { "wxFont_GetStyleString", (PyCFunction
) _wrap_wxFont_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
},
11670 { "wxFont_GetFamilyString", (PyCFunction
) _wrap_wxFont_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
},
11671 { "wxFont_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_wxFont_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
11672 { "wxFont_SetNativeFontInfo", (PyCFunction
) _wrap_wxFont_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
11673 { "wxFont_SetEncoding", (PyCFunction
) _wrap_wxFont_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
11674 { "wxFont_SetUnderlined", (PyCFunction
) _wrap_wxFont_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
11675 { "wxFont_SetFaceName", (PyCFunction
) _wrap_wxFont_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
11676 { "wxFont_SetWeight", (PyCFunction
) _wrap_wxFont_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
11677 { "wxFont_SetStyle", (PyCFunction
) _wrap_wxFont_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11678 { "wxFont_SetFamily", (PyCFunction
) _wrap_wxFont_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
11679 { "wxFont_SetPointSize", (PyCFunction
) _wrap_wxFont_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
11680 { "wxFont_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_wxFont_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
11681 { "wxFont_GetNativeFontInfoDesc", (PyCFunction
) _wrap_wxFont_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
},
11682 { "wxFont_GetNativeFontInfo", (PyCFunction
) _wrap_wxFont_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
11683 { "wxFont_IsFixedWidth", (PyCFunction
) _wrap_wxFont_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
},
11684 { "wxFont_GetEncoding", (PyCFunction
) _wrap_wxFont_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
11685 { "wxFont_GetFaceName", (PyCFunction
) _wrap_wxFont_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
11686 { "wxFont_GetUnderlined", (PyCFunction
) _wrap_wxFont_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
11687 { "wxFont_GetWeight", (PyCFunction
) _wrap_wxFont_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
11688 { "wxFont_GetStyle", (PyCFunction
) _wrap_wxFont_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11689 { "wxFont_GetFamily", (PyCFunction
) _wrap_wxFont_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
11690 { "wxFont_GetPointSize", (PyCFunction
) _wrap_wxFont_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
11691 { "wxFont_Ok", (PyCFunction
) _wrap_wxFont_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11692 { "delete_wxFont", (PyCFunction
) _wrap_delete_wxFont
, METH_VARARGS
| METH_KEYWORDS
},
11693 { "new_wxFontFromNativeInfo", (PyCFunction
) _wrap_new_wxFontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
},
11694 { "new_wxFont", (PyCFunction
) _wrap_new_wxFont
, METH_VARARGS
| METH_KEYWORDS
},
11695 { "wxFontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_wxFontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
11696 { "wxFontMapper_SetConfigPath", (PyCFunction
) _wrap_wxFontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
11697 { "wxFontMapper_SetConfig", (PyCFunction
) _wrap_wxFontMapper_SetConfig
, METH_VARARGS
| METH_KEYWORDS
},
11698 { "wxFontMapper_SetDialogTitle", (PyCFunction
) _wrap_wxFontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
},
11699 { "wxFontMapper_SetDialogParent", (PyCFunction
) _wrap_wxFontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
},
11700 { "wxFontMapper_GetEncodingDescription", (PyCFunction
) _wrap_wxFontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
},
11701 { "wxFontMapper_GetEncodingName", (PyCFunction
) _wrap_wxFontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
11702 { "wxFontMapper_CharsetToEncoding", (PyCFunction
) _wrap_wxFontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
},
11703 { "wxFontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_wxFontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
},
11704 { "wxFontMapper_GetAltForEncoding", (PyCFunction
) _wrap_wxFontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
},
11705 { "delete_wxFontMapper", (PyCFunction
) _wrap_delete_wxFontMapper
, METH_VARARGS
| METH_KEYWORDS
},
11706 { "new_wxFontMapper", (PyCFunction
) _wrap_new_wxFontMapper
, METH_VARARGS
| METH_KEYWORDS
},
11707 { "wxNativeFontInfo_ToUserString", (PyCFunction
) _wrap_wxNativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
},
11708 { "wxNativeFontInfo_FromUserString", (PyCFunction
) _wrap_wxNativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
},
11709 { "wxNativeFontInfo___str__", (PyCFunction
) _wrap_wxNativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
},
11710 { "wxNativeFontInfo_ToString", (PyCFunction
) _wrap_wxNativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
11711 { "wxNativeFontInfo_FromString", (PyCFunction
) _wrap_wxNativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
11712 { "wxNativeFontInfo_Init", (PyCFunction
) _wrap_wxNativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
},
11713 { "new_wxNativeFontInfo", (PyCFunction
) _wrap_new_wxNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
11714 { "wxNativeFontInfo_SetXFontName", (PyCFunction
) _wrap_wxNativeFontInfo_SetXFontName
, METH_VARARGS
| METH_KEYWORDS
},
11715 { "wxNativeFontInfo_GetXFontName", (PyCFunction
) _wrap_wxNativeFontInfo_GetXFontName
, METH_VARARGS
| METH_KEYWORDS
},
11716 { "wxNativeFontInfo_IsDefault", (PyCFunction
) _wrap_wxNativeFontInfo_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
11717 { "wxNativeFontInfo_FromXFontName", (PyCFunction
) _wrap_wxNativeFontInfo_FromXFontName
, METH_VARARGS
| METH_KEYWORDS
},
11718 { "wxCursor_Ok", (PyCFunction
) _wrap_wxCursor_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11719 { "delete_wxCursor", (PyCFunction
) _wrap_delete_wxCursor
, METH_VARARGS
| METH_KEYWORDS
},
11720 { "wxIcon_CopyFromBitmap", (PyCFunction
) _wrap_wxIcon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11721 { "wxIcon_SetDepth", (PyCFunction
) _wrap_wxIcon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
11722 { "wxIcon_SetHeight", (PyCFunction
) _wrap_wxIcon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
11723 { "wxIcon_SetWidth", (PyCFunction
) _wrap_wxIcon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11724 { "wxIcon_GetDepth", (PyCFunction
) _wrap_wxIcon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
11725 { "wxIcon_GetHeight", (PyCFunction
) _wrap_wxIcon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
11726 { "wxIcon_GetWidth", (PyCFunction
) _wrap_wxIcon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11727 { "wxIcon_Ok", (PyCFunction
) _wrap_wxIcon_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11728 { "wxIcon_LoadFile", (PyCFunction
) _wrap_wxIcon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
11729 { "delete_wxIcon", (PyCFunction
) _wrap_delete_wxIcon
, METH_VARARGS
| METH_KEYWORDS
},
11730 { "new_wxIcon", (PyCFunction
) _wrap_new_wxIcon
, METH_VARARGS
| METH_KEYWORDS
},
11731 { "wxMask_Destroy", (PyCFunction
) _wrap_wxMask_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
11732 { "new_wxMask", (PyCFunction
) _wrap_new_wxMask
, METH_VARARGS
| METH_KEYWORDS
},
11733 { "wxBitmap_CopyFromIcon", (PyCFunction
) _wrap_wxBitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
11734 { "wxBitmap_GetSubBitmap", (PyCFunction
) _wrap_wxBitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11735 { "wxBitmap_SetDepth", (PyCFunction
) _wrap_wxBitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
11736 { "wxBitmap_SetHeight", (PyCFunction
) _wrap_wxBitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
11737 { "wxBitmap_SetWidth", (PyCFunction
) _wrap_wxBitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11738 { "wxBitmap_GetDepth", (PyCFunction
) _wrap_wxBitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
11739 { "wxBitmap_GetHeight", (PyCFunction
) _wrap_wxBitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
11740 { "wxBitmap_GetWidth", (PyCFunction
) _wrap_wxBitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11741 { "wxBitmap_Ok", (PyCFunction
) _wrap_wxBitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11742 { "wxBitmap_SetMask", (PyCFunction
) _wrap_wxBitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
11743 { "wxBitmap_SaveFile", (PyCFunction
) _wrap_wxBitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
11744 { "wxBitmap_LoadFile", (PyCFunction
) _wrap_wxBitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
11745 { "wxBitmap_GetMask", (PyCFunction
) _wrap_wxBitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
11746 { "wxBitmap_GetPalette", (PyCFunction
) _wrap_wxBitmap_GetPalette
, METH_VARARGS
| METH_KEYWORDS
},
11747 { "delete_wxBitmap", (PyCFunction
) _wrap_delete_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11748 { "new_wxBitmap", (PyCFunction
) _wrap_new_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11749 { "wxGDIObject_IsNull", (PyCFunction
) _wrap_wxGDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
11750 { "wxGDIObject_SetVisible", (PyCFunction
) _wrap_wxGDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
},
11751 { "wxGDIObject_GetVisible", (PyCFunction
) _wrap_wxGDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
},
11752 { "delete_wxGDIObject", (PyCFunction
) _wrap_delete_wxGDIObject
, METH_VARARGS
| METH_KEYWORDS
},
11753 { "new_wxGDIObject", (PyCFunction
) _wrap_new_wxGDIObject
, METH_VARARGS
| METH_KEYWORDS
},
11754 { "wxMemoryDCFromDC", (PyCFunction
) _wrap_wxMemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
},
11755 { "wxNamedColour", (PyCFunction
) _wrap_wxNamedColour
, METH_VARARGS
| METH_KEYWORDS
},
11756 { "wxStockCursor", (PyCFunction
) _wrap_wxStockCursor
, METH_VARARGS
| METH_KEYWORDS
},
11757 { "wxIconFromBitmap", (PyCFunction
) _wrap_wxIconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11758 { "wxIconFromXPMData", (PyCFunction
) _wrap_wxIconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
11759 { "wxEmptyIcon", (PyCFunction
) _wrap_wxEmptyIcon
, METH_VARARGS
| METH_KEYWORDS
},
11760 { "wxMaskColour", (PyCFunction
) _wrap_wxMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
11761 { "wxBitmapFromBits", (PyCFunction
) _wrap_wxBitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
},
11762 { "wxBitmapFromIcon", (PyCFunction
) _wrap_wxBitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
11763 { "wxBitmapFromXPMData", (PyCFunction
) _wrap_wxBitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
11764 { "wxEmptyBitmap", (PyCFunction
) _wrap_wxEmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11771 * This table is used by the pointer type-checker
11773 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
11774 { "_signed_long","_long",0},
11775 { "_wxPrintQuality","_wxCoord",0},
11776 { "_wxPrintQuality","_int",0},
11777 { "_wxPrintQuality","_signed_int",0},
11778 { "_wxPrintQuality","_unsigned_int",0},
11779 { "_wxPrintQuality","_wxWindowID",0},
11780 { "_wxPrintQuality","_uint",0},
11781 { "_wxPrintQuality","_EBool",0},
11782 { "_wxPrintQuality","_size_t",0},
11783 { "_wxPrintQuality","_time_t",0},
11784 { "_wxPen","_wxPyPen",SwigwxPyPenTowxPen
},
11785 { "_byte","_unsigned_char",0},
11786 { "_long","_unsigned_long",0},
11787 { "_long","_signed_long",0},
11788 { "_wxGDIObject","_wxRegion",SwigwxRegionTowxGDIObject
},
11789 { "_wxGDIObject","_wxPalette",SwigwxPaletteTowxGDIObject
},
11790 { "_wxGDIObject","_wxBrush",SwigwxBrushTowxGDIObject
},
11791 { "_wxGDIObject","_wxPyPen",SwigwxPyPenTowxGDIObject
},
11792 { "_wxGDIObject","_wxPen",SwigwxPenTowxGDIObject
},
11793 { "_wxGDIObject","_wxFont",SwigwxFontTowxGDIObject
},
11794 { "_wxGDIObject","_wxCursor",SwigwxCursorTowxGDIObject
},
11795 { "_wxGDIObject","_wxIcon",SwigwxIconTowxGDIObject
},
11796 { "_wxGDIObject","_wxBitmap",SwigwxBitmapTowxGDIObject
},
11797 { "_wxDC","_wxWindowDC",SwigwxWindowDCTowxDC
},
11798 { "_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC
},
11799 { "_wxDC","_wxClientDC",SwigwxClientDCTowxDC
},
11800 { "_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC
},
11801 { "_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC
},
11802 { "_size_t","_wxCoord",0},
11803 { "_size_t","_wxPrintQuality",0},
11804 { "_size_t","_time_t",0},
11805 { "_size_t","_unsigned_int",0},
11806 { "_size_t","_int",0},
11807 { "_size_t","_wxWindowID",0},
11808 { "_size_t","_uint",0},
11809 { "_uint","_wxCoord",0},
11810 { "_uint","_wxPrintQuality",0},
11811 { "_uint","_time_t",0},
11812 { "_uint","_size_t",0},
11813 { "_uint","_unsigned_int",0},
11814 { "_uint","_int",0},
11815 { "_uint","_wxWindowID",0},
11816 { "_wxChar","_char",0},
11817 { "_char","_wxChar",0},
11818 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
11819 { "_EBool","_wxCoord",0},
11820 { "_EBool","_wxPrintQuality",0},
11821 { "_EBool","_signed_int",0},
11822 { "_EBool","_int",0},
11823 { "_EBool","_wxWindowID",0},
11824 { "_unsigned_long","_long",0},
11825 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
11826 { "_signed_int","_wxCoord",0},
11827 { "_signed_int","_wxPrintQuality",0},
11828 { "_signed_int","_EBool",0},
11829 { "_signed_int","_wxWindowID",0},
11830 { "_signed_int","_int",0},
11831 { "_WXTYPE","_short",0},
11832 { "_WXTYPE","_signed_short",0},
11833 { "_WXTYPE","_unsigned_short",0},
11834 { "_unsigned_short","_WXTYPE",0},
11835 { "_unsigned_short","_short",0},
11836 { "_wxObject","_wxRegionIterator",SwigwxRegionIteratorTowxObject
},
11837 { "_wxObject","_wxRegion",SwigwxRegionTowxObject
},
11838 { "_wxObject","_wxImageList",SwigwxImageListTowxObject
},
11839 { "_wxObject","_wxPalette",SwigwxPaletteTowxObject
},
11840 { "_wxObject","_wxWindowDC",SwigwxWindowDCTowxObject
},
11841 { "_wxObject","_wxPaintDC",SwigwxPaintDCTowxObject
},
11842 { "_wxObject","_wxClientDC",SwigwxClientDCTowxObject
},
11843 { "_wxObject","_wxScreenDC",SwigwxScreenDCTowxObject
},
11844 { "_wxObject","_wxMemoryDC",SwigwxMemoryDCTowxObject
},
11845 { "_wxObject","_wxDC",SwigwxDCTowxObject
},
11846 { "_wxObject","_wxBrushList",SwigwxBrushListTowxObject
},
11847 { "_wxObject","_wxBrush",SwigwxBrushTowxObject
},
11848 { "_wxObject","_wxPenList",SwigwxPenListTowxObject
},
11849 { "_wxObject","_wxPyPen",SwigwxPyPenTowxObject
},
11850 { "_wxObject","_wxPen",SwigwxPenTowxObject
},
11851 { "_wxObject","_wxColourDatabase",SwigwxColourDatabaseTowxObject
},
11852 { "_wxObject","_wxColour",SwigwxColourTowxObject
},
11853 { "_wxObject","_wxFontList",SwigwxFontListTowxObject
},
11854 { "_wxObject","_wxFont",SwigwxFontTowxObject
},
11855 { "_wxObject","_wxCursor",SwigwxCursorTowxObject
},
11856 { "_wxObject","_wxIcon",SwigwxIconTowxObject
},
11857 { "_wxObject","_wxMask",SwigwxMaskTowxObject
},
11858 { "_wxObject","_wxBitmap",SwigwxBitmapTowxObject
},
11859 { "_wxObject","_wxGDIObject",SwigwxGDIObjectTowxObject
},
11860 { "_signed_short","_WXTYPE",0},
11861 { "_signed_short","_short",0},
11862 { "_unsigned_char","_byte",0},
11863 { "_unsigned_int","_wxCoord",0},
11864 { "_unsigned_int","_wxPrintQuality",0},
11865 { "_unsigned_int","_time_t",0},
11866 { "_unsigned_int","_size_t",0},
11867 { "_unsigned_int","_uint",0},
11868 { "_unsigned_int","_wxWindowID",0},
11869 { "_unsigned_int","_int",0},
11870 { "_short","_WXTYPE",0},
11871 { "_short","_unsigned_short",0},
11872 { "_short","_signed_short",0},
11873 { "_wxWindowID","_wxCoord",0},
11874 { "_wxWindowID","_wxPrintQuality",0},
11875 { "_wxWindowID","_time_t",0},
11876 { "_wxWindowID","_size_t",0},
11877 { "_wxWindowID","_EBool",0},
11878 { "_wxWindowID","_uint",0},
11879 { "_wxWindowID","_int",0},
11880 { "_wxWindowID","_signed_int",0},
11881 { "_wxWindowID","_unsigned_int",0},
11882 { "_int","_wxCoord",0},
11883 { "_int","_wxPrintQuality",0},
11884 { "_int","_time_t",0},
11885 { "_int","_size_t",0},
11886 { "_int","_EBool",0},
11887 { "_int","_uint",0},
11888 { "_int","_wxWindowID",0},
11889 { "_int","_unsigned_int",0},
11890 { "_int","_signed_int",0},
11891 { "_time_t","_wxCoord",0},
11892 { "_time_t","_wxPrintQuality",0},
11893 { "_time_t","_unsigned_int",0},
11894 { "_time_t","_int",0},
11895 { "_time_t","_wxWindowID",0},
11896 { "_time_t","_uint",0},
11897 { "_time_t","_size_t",0},
11898 { "_wxCoord","_int",0},
11899 { "_wxCoord","_signed_int",0},
11900 { "_wxCoord","_unsigned_int",0},
11901 { "_wxCoord","_wxWindowID",0},
11902 { "_wxCoord","_uint",0},
11903 { "_wxCoord","_EBool",0},
11904 { "_wxCoord","_size_t",0},
11905 { "_wxCoord","_time_t",0},
11906 { "_wxCoord","_wxPrintQuality",0},
11909 static PyObject
*SWIG_globals
;
11913 SWIGEXPORT(void) initgdic() {
11915 SWIG_globals
= SWIG_newvarlink();
11916 m
= Py_InitModule("gdic", gdicMethods
);
11917 d
= PyModule_GetDict(m
);
11918 PyDict_SetItemString(d
,"wxFONTFAMILY_DEFAULT", PyInt_FromLong((long) wxFONTFAMILY_DEFAULT
));
11919 PyDict_SetItemString(d
,"wxFONTFAMILY_DECORATIVE", PyInt_FromLong((long) wxFONTFAMILY_DECORATIVE
));
11920 PyDict_SetItemString(d
,"wxFONTFAMILY_ROMAN", PyInt_FromLong((long) wxFONTFAMILY_ROMAN
));
11921 PyDict_SetItemString(d
,"wxFONTFAMILY_SCRIPT", PyInt_FromLong((long) wxFONTFAMILY_SCRIPT
));
11922 PyDict_SetItemString(d
,"wxFONTFAMILY_SWISS", PyInt_FromLong((long) wxFONTFAMILY_SWISS
));
11923 PyDict_SetItemString(d
,"wxFONTFAMILY_MODERN", PyInt_FromLong((long) wxFONTFAMILY_MODERN
));
11924 PyDict_SetItemString(d
,"wxFONTFAMILY_TELETYPE", PyInt_FromLong((long) wxFONTFAMILY_TELETYPE
));
11925 PyDict_SetItemString(d
,"wxFONTFAMILY_MAX", PyInt_FromLong((long) wxFONTFAMILY_MAX
));
11926 PyDict_SetItemString(d
,"wxFONTFAMILY_UNKNOWN", PyInt_FromLong((long) wxFONTFAMILY_UNKNOWN
));
11927 PyDict_SetItemString(d
,"wxFONTSTYLE_NORMAL", PyInt_FromLong((long) wxFONTSTYLE_NORMAL
));
11928 PyDict_SetItemString(d
,"wxFONTSTYLE_ITALIC", PyInt_FromLong((long) wxFONTSTYLE_ITALIC
));
11929 PyDict_SetItemString(d
,"wxFONTSTYLE_SLANT", PyInt_FromLong((long) wxFONTSTYLE_SLANT
));
11930 PyDict_SetItemString(d
,"wxFONTSTYLE_MAX", PyInt_FromLong((long) wxFONTSTYLE_MAX
));
11931 PyDict_SetItemString(d
,"wxFONTWEIGHT_NORMAL", PyInt_FromLong((long) wxFONTWEIGHT_NORMAL
));
11932 PyDict_SetItemString(d
,"wxFONTWEIGHT_LIGHT", PyInt_FromLong((long) wxFONTWEIGHT_LIGHT
));
11933 PyDict_SetItemString(d
,"wxFONTWEIGHT_BOLD", PyInt_FromLong((long) wxFONTWEIGHT_BOLD
));
11934 PyDict_SetItemString(d
,"wxFONTWEIGHT_MAX", PyInt_FromLong((long) wxFONTWEIGHT_MAX
));
11935 PyDict_SetItemString(d
,"wxFONTENCODING_SYSTEM", PyInt_FromLong((long) wxFONTENCODING_SYSTEM
));
11936 PyDict_SetItemString(d
,"wxFONTENCODING_DEFAULT", PyInt_FromLong((long) wxFONTENCODING_DEFAULT
));
11937 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_1", PyInt_FromLong((long) wxFONTENCODING_ISO8859_1
));
11938 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_2", PyInt_FromLong((long) wxFONTENCODING_ISO8859_2
));
11939 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_3", PyInt_FromLong((long) wxFONTENCODING_ISO8859_3
));
11940 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_4", PyInt_FromLong((long) wxFONTENCODING_ISO8859_4
));
11941 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_5", PyInt_FromLong((long) wxFONTENCODING_ISO8859_5
));
11942 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_6", PyInt_FromLong((long) wxFONTENCODING_ISO8859_6
));
11943 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_7", PyInt_FromLong((long) wxFONTENCODING_ISO8859_7
));
11944 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_8", PyInt_FromLong((long) wxFONTENCODING_ISO8859_8
));
11945 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_9", PyInt_FromLong((long) wxFONTENCODING_ISO8859_9
));
11946 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_10", PyInt_FromLong((long) wxFONTENCODING_ISO8859_10
));
11947 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_11", PyInt_FromLong((long) wxFONTENCODING_ISO8859_11
));
11948 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_12", PyInt_FromLong((long) wxFONTENCODING_ISO8859_12
));
11949 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_13", PyInt_FromLong((long) wxFONTENCODING_ISO8859_13
));
11950 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_14", PyInt_FromLong((long) wxFONTENCODING_ISO8859_14
));
11951 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_15", PyInt_FromLong((long) wxFONTENCODING_ISO8859_15
));
11952 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_MAX", PyInt_FromLong((long) wxFONTENCODING_ISO8859_MAX
));
11953 PyDict_SetItemString(d
,"wxFONTENCODING_KOI8", PyInt_FromLong((long) wxFONTENCODING_KOI8
));
11954 PyDict_SetItemString(d
,"wxFONTENCODING_ALTERNATIVE", PyInt_FromLong((long) wxFONTENCODING_ALTERNATIVE
));
11955 PyDict_SetItemString(d
,"wxFONTENCODING_BULGARIAN", PyInt_FromLong((long) wxFONTENCODING_BULGARIAN
));
11956 PyDict_SetItemString(d
,"wxFONTENCODING_CP437", PyInt_FromLong((long) wxFONTENCODING_CP437
));
11957 PyDict_SetItemString(d
,"wxFONTENCODING_CP850", PyInt_FromLong((long) wxFONTENCODING_CP850
));
11958 PyDict_SetItemString(d
,"wxFONTENCODING_CP852", PyInt_FromLong((long) wxFONTENCODING_CP852
));
11959 PyDict_SetItemString(d
,"wxFONTENCODING_CP855", PyInt_FromLong((long) wxFONTENCODING_CP855
));
11960 PyDict_SetItemString(d
,"wxFONTENCODING_CP866", PyInt_FromLong((long) wxFONTENCODING_CP866
));
11961 PyDict_SetItemString(d
,"wxFONTENCODING_CP874", PyInt_FromLong((long) wxFONTENCODING_CP874
));
11962 PyDict_SetItemString(d
,"wxFONTENCODING_CP932", PyInt_FromLong((long) wxFONTENCODING_CP932
));
11963 PyDict_SetItemString(d
,"wxFONTENCODING_CP936", PyInt_FromLong((long) wxFONTENCODING_CP936
));
11964 PyDict_SetItemString(d
,"wxFONTENCODING_CP949", PyInt_FromLong((long) wxFONTENCODING_CP949
));
11965 PyDict_SetItemString(d
,"wxFONTENCODING_CP950", PyInt_FromLong((long) wxFONTENCODING_CP950
));
11966 PyDict_SetItemString(d
,"wxFONTENCODING_CP1250", PyInt_FromLong((long) wxFONTENCODING_CP1250
));
11967 PyDict_SetItemString(d
,"wxFONTENCODING_CP1251", PyInt_FromLong((long) wxFONTENCODING_CP1251
));
11968 PyDict_SetItemString(d
,"wxFONTENCODING_CP1252", PyInt_FromLong((long) wxFONTENCODING_CP1252
));
11969 PyDict_SetItemString(d
,"wxFONTENCODING_CP1253", PyInt_FromLong((long) wxFONTENCODING_CP1253
));
11970 PyDict_SetItemString(d
,"wxFONTENCODING_CP1254", PyInt_FromLong((long) wxFONTENCODING_CP1254
));
11971 PyDict_SetItemString(d
,"wxFONTENCODING_CP1255", PyInt_FromLong((long) wxFONTENCODING_CP1255
));
11972 PyDict_SetItemString(d
,"wxFONTENCODING_CP1256", PyInt_FromLong((long) wxFONTENCODING_CP1256
));
11973 PyDict_SetItemString(d
,"wxFONTENCODING_CP1257", PyInt_FromLong((long) wxFONTENCODING_CP1257
));
11974 PyDict_SetItemString(d
,"wxFONTENCODING_CP12_MAX", PyInt_FromLong((long) wxFONTENCODING_CP12_MAX
));
11975 PyDict_SetItemString(d
,"wxFONTENCODING_UTF7", PyInt_FromLong((long) wxFONTENCODING_UTF7
));
11976 PyDict_SetItemString(d
,"wxFONTENCODING_UTF8", PyInt_FromLong((long) wxFONTENCODING_UTF8
));
11977 PyDict_SetItemString(d
,"wxFONTENCODING_UNICODE", PyInt_FromLong((long) wxFONTENCODING_UNICODE
));
11978 PyDict_SetItemString(d
,"wxFONTENCODING_MAX", PyInt_FromLong((long) wxFONTENCODING_MAX
));
11979 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_NORMAL", PyInt_FromLong((long) wxIMAGELIST_DRAW_NORMAL
));
11980 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_TRANSPARENT", PyInt_FromLong((long) wxIMAGELIST_DRAW_TRANSPARENT
));
11981 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_SELECTED", PyInt_FromLong((long) wxIMAGELIST_DRAW_SELECTED
));
11982 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_FOCUSED", PyInt_FromLong((long) wxIMAGELIST_DRAW_FOCUSED
));
11983 PyDict_SetItemString(d
,"wxIMAGE_LIST_NORMAL", PyInt_FromLong((long) wxIMAGE_LIST_NORMAL
));
11984 PyDict_SetItemString(d
,"wxIMAGE_LIST_SMALL", PyInt_FromLong((long) wxIMAGE_LIST_SMALL
));
11985 PyDict_SetItemString(d
,"wxIMAGE_LIST_STATE", PyInt_FromLong((long) wxIMAGE_LIST_STATE
));
11986 PyDict_SetItemString(d
,"wxOutRegion", PyInt_FromLong((long) wxOutRegion
));
11987 PyDict_SetItemString(d
,"wxPartRegion", PyInt_FromLong((long) wxPartRegion
));
11988 PyDict_SetItemString(d
,"wxInRegion", PyInt_FromLong((long) wxInRegion
));
11989 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
11990 SWIG_addvarlink(SWIG_globals
,"wxNORMAL_FONT",_wrap_wxNORMAL_FONT_get
, _wrap_wxNORMAL_FONT_set
);
11991 SWIG_addvarlink(SWIG_globals
,"wxSMALL_FONT",_wrap_wxSMALL_FONT_get
, _wrap_wxSMALL_FONT_set
);
11992 SWIG_addvarlink(SWIG_globals
,"wxITALIC_FONT",_wrap_wxITALIC_FONT_get
, _wrap_wxITALIC_FONT_set
);
11993 SWIG_addvarlink(SWIG_globals
,"wxSWISS_FONT",_wrap_wxSWISS_FONT_get
, _wrap_wxSWISS_FONT_set
);
11994 SWIG_addvarlink(SWIG_globals
,"wxRED_PEN",_wrap_wxRED_PEN_get
, _wrap_wxRED_PEN_set
);
11995 SWIG_addvarlink(SWIG_globals
,"wxCYAN_PEN",_wrap_wxCYAN_PEN_get
, _wrap_wxCYAN_PEN_set
);
11996 SWIG_addvarlink(SWIG_globals
,"wxGREEN_PEN",_wrap_wxGREEN_PEN_get
, _wrap_wxGREEN_PEN_set
);
11997 SWIG_addvarlink(SWIG_globals
,"wxBLACK_PEN",_wrap_wxBLACK_PEN_get
, _wrap_wxBLACK_PEN_set
);
11998 SWIG_addvarlink(SWIG_globals
,"wxWHITE_PEN",_wrap_wxWHITE_PEN_get
, _wrap_wxWHITE_PEN_set
);
11999 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_PEN",_wrap_wxTRANSPARENT_PEN_get
, _wrap_wxTRANSPARENT_PEN_set
);
12000 SWIG_addvarlink(SWIG_globals
,"wxBLACK_DASHED_PEN",_wrap_wxBLACK_DASHED_PEN_get
, _wrap_wxBLACK_DASHED_PEN_set
);
12001 SWIG_addvarlink(SWIG_globals
,"wxGREY_PEN",_wrap_wxGREY_PEN_get
, _wrap_wxGREY_PEN_set
);
12002 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_PEN",_wrap_wxMEDIUM_GREY_PEN_get
, _wrap_wxMEDIUM_GREY_PEN_set
);
12003 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_PEN",_wrap_wxLIGHT_GREY_PEN_get
, _wrap_wxLIGHT_GREY_PEN_set
);
12004 SWIG_addvarlink(SWIG_globals
,"wxBLUE_BRUSH",_wrap_wxBLUE_BRUSH_get
, _wrap_wxBLUE_BRUSH_set
);
12005 SWIG_addvarlink(SWIG_globals
,"wxGREEN_BRUSH",_wrap_wxGREEN_BRUSH_get
, _wrap_wxGREEN_BRUSH_set
);
12006 SWIG_addvarlink(SWIG_globals
,"wxWHITE_BRUSH",_wrap_wxWHITE_BRUSH_get
, _wrap_wxWHITE_BRUSH_set
);
12007 SWIG_addvarlink(SWIG_globals
,"wxBLACK_BRUSH",_wrap_wxBLACK_BRUSH_get
, _wrap_wxBLACK_BRUSH_set
);
12008 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_BRUSH",_wrap_wxTRANSPARENT_BRUSH_get
, _wrap_wxTRANSPARENT_BRUSH_set
);
12009 SWIG_addvarlink(SWIG_globals
,"wxCYAN_BRUSH",_wrap_wxCYAN_BRUSH_get
, _wrap_wxCYAN_BRUSH_set
);
12010 SWIG_addvarlink(SWIG_globals
,"wxRED_BRUSH",_wrap_wxRED_BRUSH_get
, _wrap_wxRED_BRUSH_set
);
12011 SWIG_addvarlink(SWIG_globals
,"wxGREY_BRUSH",_wrap_wxGREY_BRUSH_get
, _wrap_wxGREY_BRUSH_set
);
12012 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_BRUSH",_wrap_wxMEDIUM_GREY_BRUSH_get
, _wrap_wxMEDIUM_GREY_BRUSH_set
);
12013 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_BRUSH",_wrap_wxLIGHT_GREY_BRUSH_get
, _wrap_wxLIGHT_GREY_BRUSH_set
);
12014 SWIG_addvarlink(SWIG_globals
,"wxBLACK",_wrap_wxBLACK_get
, _wrap_wxBLACK_set
);
12015 SWIG_addvarlink(SWIG_globals
,"wxWHITE",_wrap_wxWHITE_get
, _wrap_wxWHITE_set
);
12016 SWIG_addvarlink(SWIG_globals
,"wxRED",_wrap_wxRED_get
, _wrap_wxRED_set
);
12017 SWIG_addvarlink(SWIG_globals
,"wxBLUE",_wrap_wxBLUE_get
, _wrap_wxBLUE_set
);
12018 SWIG_addvarlink(SWIG_globals
,"wxGREEN",_wrap_wxGREEN_get
, _wrap_wxGREEN_set
);
12019 SWIG_addvarlink(SWIG_globals
,"wxCYAN",_wrap_wxCYAN_get
, _wrap_wxCYAN_set
);
12020 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY",_wrap_wxLIGHT_GREY_get
, _wrap_wxLIGHT_GREY_set
);
12021 SWIG_addvarlink(SWIG_globals
,"wxSTANDARD_CURSOR",_wrap_wxSTANDARD_CURSOR_get
, _wrap_wxSTANDARD_CURSOR_set
);
12022 SWIG_addvarlink(SWIG_globals
,"wxHOURGLASS_CURSOR",_wrap_wxHOURGLASS_CURSOR_get
, _wrap_wxHOURGLASS_CURSOR_set
);
12023 SWIG_addvarlink(SWIG_globals
,"wxCROSS_CURSOR",_wrap_wxCROSS_CURSOR_get
, _wrap_wxCROSS_CURSOR_set
);
12024 SWIG_addvarlink(SWIG_globals
,"wxNullBitmap",_wrap_wxNullBitmap_get
, _wrap_wxNullBitmap_set
);
12025 SWIG_addvarlink(SWIG_globals
,"wxNullIcon",_wrap_wxNullIcon_get
, _wrap_wxNullIcon_set
);
12026 SWIG_addvarlink(SWIG_globals
,"wxNullCursor",_wrap_wxNullCursor_get
, _wrap_wxNullCursor_set
);
12027 SWIG_addvarlink(SWIG_globals
,"wxNullPen",_wrap_wxNullPen_get
, _wrap_wxNullPen_set
);
12028 SWIG_addvarlink(SWIG_globals
,"wxNullBrush",_wrap_wxNullBrush_get
, _wrap_wxNullBrush_set
);
12029 SWIG_addvarlink(SWIG_globals
,"wxNullPalette",_wrap_wxNullPalette_get
, _wrap_wxNullPalette_set
);
12030 SWIG_addvarlink(SWIG_globals
,"wxNullFont",_wrap_wxNullFont_get
, _wrap_wxNullFont_set
);
12031 SWIG_addvarlink(SWIG_globals
,"wxNullColour",_wrap_wxNullColour_get
, _wrap_wxNullColour_set
);
12032 SWIG_addvarlink(SWIG_globals
,"wxTheFontList",_wrap_wxTheFontList_get
, _wrap_wxTheFontList_set
);
12033 SWIG_addvarlink(SWIG_globals
,"wxThePenList",_wrap_wxThePenList_get
, _wrap_wxThePenList_set
);
12034 SWIG_addvarlink(SWIG_globals
,"wxTheBrushList",_wrap_wxTheBrushList_get
, _wrap_wxTheBrushList_set
);
12035 SWIG_addvarlink(SWIG_globals
,"wxTheColourDatabase",_wrap_wxTheColourDatabase_get
, _wrap_wxTheColourDatabase_set
);
12038 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
12039 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);