1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
50 /***********************************************************************
51 * common.swg for wxPython
53 * Include only the function prototypes and such from SWIG's common.swg,
54 * but not the runtime functions themselves. This helps keep the
55 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 ************************************************************************/
62 #if defined(_WIN32) || defined(__WIN32__)
63 # if defined(_MSC_VER)
64 # if defined(STATIC_LINKED)
65 # define SWIGEXPORT(a) a
66 # define SWIGIMPORT(a) extern a
68 # define SWIGEXPORT(a) __declspec(dllexport) a
69 # define SWIGIMPORT(a) extern a
72 # if defined(__BORLANDC__)
73 # define SWIGEXPORT(a) a _export
74 # define SWIGIMPORT(a) a _export
76 # define SWIGEXPORT(a) a
77 # define SWIGIMPORT(a) a
81 # define SWIGEXPORT(a) a
82 # define SWIGIMPORT(a) a
86 #define SWIGRUNTIME(a) SWIGEXPORT(a)
88 #define SWIGRUNTIME(a) static a
96 typedef void *(*swig_converter_func
)(void *);
97 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
99 typedef struct swig_type_info
{
101 swig_converter_func converter
;
104 swig_dycast_func dcast
;
105 struct swig_type_info
*next
;
106 struct swig_type_info
*prev
;
110 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
112 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
113 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
114 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
115 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
116 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
124 /***********************************************************************
125 * pyrun.swg for wxPython
127 * Include only the function prototypes and such from SWIG's pyrun.swg,
128 * but not the runtime functions themselves. This helps keep the
129 * wrapper files clean of unnecessary stuff that is in the libpy.c file
132 ************************************************************************/
141 #define SWIG_PY_INT 1
142 #define SWIG_PY_FLOAT 2
143 #define SWIG_PY_STRING 3
144 #define SWIG_PY_POINTER 4
145 #define SWIG_PY_BINARY 5
147 /* Flags for pointer conversion */
149 #define SWIG_POINTER_EXCEPTION 0x1
150 #define SWIG_POINTER_DISOWN 0x2
152 /* Exception handling in wrappers */
153 #define SWIG_fail goto fail
155 /* Constant information structure */
156 typedef struct swig_const_info
{
162 swig_type_info
**ptype
;
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_PackData(c, ptr, sz) \
183 SWIG_Python_PackData(c, ptr, sz)
184 #define SWIG_UnpackData(c, ptr, sz) \
185 SWIG_Python_UnpackData(c, ptr, sz)
186 #define SWIG_NewPackedObj(ptr, sz, type) \
187 SWIG_Python_NewPackedObj(ptr, sz, type)
188 #define SWIG_InstallConstants(d, constants) \
189 SWIG_Python_InstallConstants(d, constants)
192 SWIGEXPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
193 SWIGEXPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
194 SWIGEXPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
196 SWIGEXPORT(PyObject
*) SWIG_Python_newvarlink(void);
197 SWIGEXPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
198 SWIGEXPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
199 SWIGEXPORT(char *) SWIG_Python_PackData(char *c
, void *, int);
200 SWIGEXPORT(char *) SWIG_Python_UnpackData(char *c
, void *, int);
201 SWIGEXPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
202 SWIGEXPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
205 /* Contract support */
207 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
216 /* -------- TYPES TABLE (BEGIN) -------- */
218 #define SWIGTYPE_p_wxPostScriptDC swig_types[0]
219 #define SWIGTYPE_p_wxBrush swig_types[1]
220 #define SWIGTYPE_p_wxColour swig_types[2]
221 #define SWIGTYPE_p_wxDC swig_types[3]
222 #define SWIGTYPE_p_wxMirrorDC swig_types[4]
223 #define SWIGTYPE_p_byte swig_types[5]
224 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[6]
225 #define SWIGTYPE_p_wxIconLocation swig_types[7]
226 #define SWIGTYPE_p_wxImage swig_types[8]
227 #define SWIGTYPE_p_wxMetaFileDC swig_types[9]
228 #define SWIGTYPE_p_wxMask swig_types[10]
229 #define SWIGTYPE_p_wxFont swig_types[11]
230 #define SWIGTYPE_p_wxWindow swig_types[12]
231 #define SWIGTYPE_p_wxSize swig_types[13]
232 #define SWIGTYPE_p_double swig_types[14]
233 #define SWIGTYPE_p_wxMemoryDC swig_types[15]
234 #define SWIGTYPE_p_wxFontMapper swig_types[16]
235 #define SWIGTYPE_p_wxEffects swig_types[17]
236 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[18]
237 #define SWIGTYPE_p_wxPalette swig_types[19]
238 #define SWIGTYPE_p_wxBitmap swig_types[20]
239 #define SWIGTYPE_p_wxObject swig_types[21]
240 #define SWIGTYPE_p_wxRegionIterator swig_types[22]
241 #define SWIGTYPE_p_wxRect swig_types[23]
242 #define SWIGTYPE_p_wxString swig_types[24]
243 #define SWIGTYPE_p_wxPrinterDC swig_types[25]
244 #define SWIGTYPE_p_wxIconBundle swig_types[26]
245 #define SWIGTYPE_p_wxPoint swig_types[27]
246 #define SWIGTYPE_p_wxDash swig_types[28]
247 #define SWIGTYPE_p_wxScreenDC swig_types[29]
248 #define SWIGTYPE_p_wxCursor swig_types[30]
249 #define SWIGTYPE_p_wxClientDC swig_types[31]
250 #define SWIGTYPE_p_wxBufferedDC swig_types[32]
251 #define SWIGTYPE_p_wxImageList swig_types[33]
252 #define SWIGTYPE_p_unsigned_char swig_types[34]
253 #define SWIGTYPE_p_wxGDIObject swig_types[35]
254 #define SWIGTYPE_p_wxLocale swig_types[36]
255 #define SWIGTYPE_p_wxIcon swig_types[37]
256 #define SWIGTYPE_p_wxRegion swig_types[38]
257 #define SWIGTYPE_p_wxLanguageInfo swig_types[39]
258 #define SWIGTYPE_p_wxConfigBase swig_types[40]
259 #define SWIGTYPE_p_wxWindowDC swig_types[41]
260 #define SWIGTYPE_p_wxPrintData swig_types[42]
261 #define SWIGTYPE_p_wxBrushList swig_types[43]
262 #define SWIGTYPE_p_wxFontList swig_types[44]
263 #define SWIGTYPE_p_wxPen swig_types[45]
264 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[46]
265 #define SWIGTYPE_p_wxPaintDC swig_types[47]
266 #define SWIGTYPE_p_wxPenList swig_types[48]
267 #define SWIGTYPE_p_wxPyPen swig_types[49]
268 #define SWIGTYPE_p_int swig_types[50]
269 #define SWIGTYPE_p_wxMetaFile swig_types[51]
270 #define SWIGTYPE_p_wxNativeFontInfo swig_types[52]
271 #define SWIGTYPE_p_wxEncodingConverter swig_types[53]
272 #define SWIGTYPE_p_wxColourDatabase swig_types[54]
273 static swig_type_info
*swig_types
[56];
275 /* -------- TYPES TABLE (END) -------- */
278 /*-----------------------------------------------
280 ------------------------------------------------*/
281 #define SWIG_init init_gdi
283 #define SWIG_name "_gdi"
285 #include "wx/wxPython/wxPython.h"
286 #include "wx/wxPython/pyclasses.h"
288 DECLARE_DEF_STRING(EmptyString
);
290 PyObject
*wxColour_Get(wxColour
*self
){
291 PyObject
* rv
= PyTuple_New(3);
297 green
= self
->Green();
300 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
301 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
302 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
306 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
312 } else if (target
== Py_None
) {
316 if (!PyTuple_Check(target
)) {
318 target
= PyTuple_New(1);
319 PyTuple_SetItem(target
, 0, o2
);
322 PyTuple_SetItem(o3
, 0, o
);
325 target
= PySequence_Concat(o2
, o3
);
332 PyObject
*wxPen_GetDashes(wxPen
*self
){
334 int count
= self
->GetDashes(&dashes
);
335 wxPyBeginBlockThreads();
336 PyObject
* retval
= PyList_New(0);
337 for (int x
=0; x
<count
; x
++)
338 PyList_Append(retval
, PyInt_FromLong(dashes
[x
]));
339 wxPyEndBlockThreads();
349 void wxPyPen::SetDashes(int nb_dashes
, const wxDash
*dash
)
353 m_dash
= new wxDash
[nb_dashes
];
354 for (int i
=0; i
<nb_dashes
; i
++) {
357 wxPen::SetDashes(nb_dashes
, m_dash
);
361 #include <wx/image.h>
363 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
364 char** cArray
= NULL
;
367 if (!PyList_Check(listOfStrings
)) {
368 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
371 count
= PyList_Size(listOfStrings
);
372 cArray
= new char*[count
];
374 for(int x
=0; x
<count
; x
++) {
375 // TODO: Need some validation and error checking here
376 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
382 wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
383 char** cArray
= NULL
;
386 cArray
= ConvertListOfStrings(listOfStrings
);
389 bmp
= new wxBitmap(cArray
);
393 wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
){
396 PyString_AsStringAndSize(bits
, &buf
, &length
);
397 return new wxBitmap(buf
, width
, height
, depth
);
399 void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
400 wxMask
*mask
= new wxMask(*self
, colour
);
404 #include <wx/iconbndl.h>
406 wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
407 wxIcon
* icon
= new wxIcon();
408 icon
->CopyFromBitmap(bmp
);
411 wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
412 char** cArray
= NULL
;
415 cArray
= ConvertListOfStrings(listOfStrings
);
418 icon
= new wxIcon(cArray
);
422 wxIconLocation
*new_wxIconLocation(wxString
const *filename
,int num
){
426 return new wxIconLocation(*filename
);
429 void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
436 int wxIconLocation_GetIndex(wxIconLocation
*self
){
443 wxCursor
*new_wxCursor(wxString
const *cursorName
,long flags
,int hotSpotX
,int hotSpotY
){
448 return new wxCursor(*cursorName
, flags
, hotSpotX
, hotSpotY
);
451 wxCursor
*new_wxCursor(PyObject
*bits
,int width
,int height
,int hotSpotX
,int hotSpotY
,PyObject
*maskBits
){
453 char* maskbuf
= NULL
;
455 PyString_AsStringAndSize(bits
, &bitsbuf
, &length
);
457 PyString_AsStringAndSize(maskBits
, &maskbuf
, &length
);
458 return new wxCursor(bitsbuf
, width
, height
, hotSpotX
, hotSpotY
, maskbuf
);
462 wxRegion
*new_wxRegion(int points
,wxPoint
*points_array
,int fillStyle
){
463 PyErr_SetNone(PyExc_NotImplementedError
);
466 void wxRegionIterator_Next(wxRegionIterator
*self
){
469 bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
470 return self
->operator bool();
473 #include <wx/fontutil.h>
474 #include <wx/fontmap.h>
475 #include <wx/fontenum.h>
477 wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
478 return self
->ToString();
481 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
482 static wxNativeEncodingInfo info
;
483 if ( wxGetNativeFontEncoding(encoding
, &info
) )
489 PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
,bool interactive
){
490 wxFontEncoding alt_enc
;
491 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
492 return PyInt_FromLong(alt_enc
);
498 wxFont
*new_wxFont(wxString
const &info
){
499 wxNativeFontInfo nfi
;
500 nfi
.FromString(info
);
501 return new wxFont(nfi
);
503 wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
,wxString
const &face
,wxFontEncoding encoding
){
504 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
507 class wxPyFontEnumerator
: public wxFontEnumerator
{
509 wxPyFontEnumerator() {}
510 ~wxPyFontEnumerator() {}
512 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
513 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
518 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
519 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
522 PyObject
*wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
){
523 wxArrayString
* arr
= self
->GetEncodings();
524 return wxArrayString2PyList_helper(*arr
);
526 PyObject
*wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
){
527 wxArrayString
* arr
= self
->GetFacenames();
528 return wxArrayString2PyList_helper(*arr
);
533 #include "wx/wxPython/pydrawxxx.h"
535 wxColour
wxDC_GetPixelXY(wxDC
*self
,int x
,int y
){
537 self
->GetPixel(x
, y
, &col
);
540 wxColour
wxDC_GetPixel(wxDC
*self
,wxPoint
const &pt
){
542 self
->GetPixel(pt
, &col
);
545 wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
,int indexAccel
){
547 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
550 wxRect
wxDC_GetClippingRect(wxDC
*self
){
552 self
->GetClippingBox(rect
);
555 PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
556 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
558 PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
559 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
561 PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
562 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
564 PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
565 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
567 PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
568 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
570 PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
571 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
574 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
585 class wxMetaFile
: public wxObject
{
587 wxMetaFile(const wxString
&)
588 { PyErr_SetNone(PyExc_NotImplementedError
); }
591 class wxMetaFileDC
: public wxClientDC
{
593 wxMetaFileDC(const wxString
&, int, int, const wxString
&)
594 { PyErr_SetNone(PyExc_NotImplementedError
); }
600 void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
601 self
->AddColour(name
, wxColour(red
, green
, blue
));
604 #include <wx/effects.h>
609 static PyObject
*_wrap_new_GDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GDIObject",kwnames
)) goto fail
;
618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
619 result
= (wxGDIObject
*)new wxGDIObject();
621 wxPyEndAllowThreads(__tstate
);
622 if (PyErr_Occurred()) SWIG_fail
;
624 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGDIObject
, 1);
631 static PyObject
*_wrap_delete_GDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
633 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
634 PyObject
* obj0
= 0 ;
636 (char *) "self", NULL
639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GDIObject",kwnames
,&obj0
)) goto fail
;
640 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGDIObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
645 wxPyEndAllowThreads(__tstate
);
646 if (PyErr_Occurred()) SWIG_fail
;
648 Py_INCREF(Py_None
); resultobj
= Py_None
;
655 static PyObject
*_wrap_GDIObject_GetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
657 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
659 PyObject
* obj0
= 0 ;
661 (char *) "self", NULL
664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_GetVisible",kwnames
,&obj0
)) goto fail
;
665 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGDIObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
668 result
= (bool)(arg1
)->GetVisible();
670 wxPyEndAllowThreads(__tstate
);
671 if (PyErr_Occurred()) SWIG_fail
;
673 resultobj
= PyInt_FromLong((long)result
);
680 static PyObject
*_wrap_GDIObject_SetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
682 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
684 PyObject
* obj0
= 0 ;
685 PyObject
* obj1
= 0 ;
687 (char *) "self",(char *) "visible", NULL
690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GDIObject_SetVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
691 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGDIObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
692 arg2
= PyInt_AsLong(obj1
) ? true : false;
693 if (PyErr_Occurred()) SWIG_fail
;
695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
696 (arg1
)->SetVisible(arg2
);
698 wxPyEndAllowThreads(__tstate
);
699 if (PyErr_Occurred()) SWIG_fail
;
701 Py_INCREF(Py_None
); resultobj
= Py_None
;
708 static PyObject
*_wrap_GDIObject_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
710 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
712 PyObject
* obj0
= 0 ;
714 (char *) "self", NULL
717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_IsNull",kwnames
,&obj0
)) goto fail
;
718 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGDIObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
721 result
= (bool)(arg1
)->IsNull();
723 wxPyEndAllowThreads(__tstate
);
724 if (PyErr_Occurred()) SWIG_fail
;
726 resultobj
= PyInt_FromLong((long)result
);
733 static PyObject
* GDIObject_swigregister(PyObject
*self
, PyObject
*args
) {
735 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
736 SWIG_TypeClientData(SWIGTYPE_p_wxGDIObject
, obj
);
738 return Py_BuildValue((char *)"");
740 static PyObject
*_wrap_new_Colour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
742 unsigned char arg1
= (unsigned char) 0 ;
743 unsigned char arg2
= (unsigned char) 0 ;
744 unsigned char arg3
= (unsigned char) 0 ;
746 PyObject
* obj0
= 0 ;
747 PyObject
* obj1
= 0 ;
748 PyObject
* obj2
= 0 ;
750 (char *) "red",(char *) "green",(char *) "blue", NULL
753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
755 arg1
= (unsigned char) PyInt_AsLong(obj0
);
756 if (PyErr_Occurred()) SWIG_fail
;
759 arg2
= (unsigned char) PyInt_AsLong(obj1
);
760 if (PyErr_Occurred()) SWIG_fail
;
763 arg3
= (unsigned char) PyInt_AsLong(obj2
);
764 if (PyErr_Occurred()) SWIG_fail
;
767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
768 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
770 wxPyEndAllowThreads(__tstate
);
771 if (PyErr_Occurred()) SWIG_fail
;
773 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 1);
780 static PyObject
*_wrap_delete_Colour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
782 wxColour
*arg1
= (wxColour
*) 0 ;
783 PyObject
* obj0
= 0 ;
785 (char *) "self", NULL
788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Colour",kwnames
,&obj0
)) goto fail
;
789 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
794 wxPyEndAllowThreads(__tstate
);
795 if (PyErr_Occurred()) SWIG_fail
;
797 Py_INCREF(Py_None
); resultobj
= Py_None
;
804 static PyObject
*_wrap_new_NamedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
809 PyObject
* obj0
= 0 ;
811 (char *) "colorName", NULL
814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) goto fail
;
816 arg1
= wxString_in_helper(obj0
);
817 if (arg1
== NULL
) SWIG_fail
;
821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
822 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
824 wxPyEndAllowThreads(__tstate
);
825 if (PyErr_Occurred()) SWIG_fail
;
827 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 1);
842 static PyObject
*_wrap_new_ColourRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
846 PyObject
* obj0
= 0 ;
848 (char *) "colRGB", NULL
851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) goto fail
;
852 arg1
= (unsigned long) PyInt_AsLong(obj0
);
853 if (PyErr_Occurred()) SWIG_fail
;
855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
856 result
= (wxColour
*)new wxColour(arg1
);
858 wxPyEndAllowThreads(__tstate
);
859 if (PyErr_Occurred()) SWIG_fail
;
861 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 1);
868 static PyObject
*_wrap_Colour_Red(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
870 wxColour
*arg1
= (wxColour
*) 0 ;
871 unsigned char result
;
872 PyObject
* obj0
= 0 ;
874 (char *) "self", NULL
877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Red",kwnames
,&obj0
)) goto fail
;
878 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
881 result
= (unsigned char)(arg1
)->Red();
883 wxPyEndAllowThreads(__tstate
);
884 if (PyErr_Occurred()) SWIG_fail
;
886 resultobj
= PyInt_FromLong((long)result
);
893 static PyObject
*_wrap_Colour_Green(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
895 wxColour
*arg1
= (wxColour
*) 0 ;
896 unsigned char result
;
897 PyObject
* obj0
= 0 ;
899 (char *) "self", NULL
902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Green",kwnames
,&obj0
)) goto fail
;
903 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
906 result
= (unsigned char)(arg1
)->Green();
908 wxPyEndAllowThreads(__tstate
);
909 if (PyErr_Occurred()) SWIG_fail
;
911 resultobj
= PyInt_FromLong((long)result
);
918 static PyObject
*_wrap_Colour_Blue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
920 wxColour
*arg1
= (wxColour
*) 0 ;
921 unsigned char result
;
922 PyObject
* obj0
= 0 ;
924 (char *) "self", NULL
927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Blue",kwnames
,&obj0
)) goto fail
;
928 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
931 result
= (unsigned char)(arg1
)->Blue();
933 wxPyEndAllowThreads(__tstate
);
934 if (PyErr_Occurred()) SWIG_fail
;
936 resultobj
= PyInt_FromLong((long)result
);
943 static PyObject
*_wrap_Colour_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
945 wxColour
*arg1
= (wxColour
*) 0 ;
947 PyObject
* obj0
= 0 ;
949 (char *) "self", NULL
952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Ok",kwnames
,&obj0
)) goto fail
;
953 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
956 result
= (bool)(arg1
)->Ok();
958 wxPyEndAllowThreads(__tstate
);
959 if (PyErr_Occurred()) SWIG_fail
;
961 resultobj
= PyInt_FromLong((long)result
);
968 static PyObject
*_wrap_Colour_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
970 wxColour
*arg1
= (wxColour
*) 0 ;
974 PyObject
* obj0
= 0 ;
975 PyObject
* obj1
= 0 ;
976 PyObject
* obj2
= 0 ;
977 PyObject
* obj3
= 0 ;
979 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
984 arg2
= (unsigned char) PyInt_AsLong(obj1
);
985 if (PyErr_Occurred()) SWIG_fail
;
986 arg3
= (unsigned char) PyInt_AsLong(obj2
);
987 if (PyErr_Occurred()) SWIG_fail
;
988 arg4
= (unsigned char) PyInt_AsLong(obj3
);
989 if (PyErr_Occurred()) SWIG_fail
;
991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
992 (arg1
)->Set(arg2
,arg3
,arg4
);
994 wxPyEndAllowThreads(__tstate
);
995 if (PyErr_Occurred()) SWIG_fail
;
997 Py_INCREF(Py_None
); resultobj
= Py_None
;
1004 static PyObject
*_wrap_Colour_SetRBG(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1005 PyObject
*resultobj
;
1006 wxColour
*arg1
= (wxColour
*) 0 ;
1007 unsigned long arg2
;
1008 PyObject
* obj0
= 0 ;
1009 PyObject
* obj1
= 0 ;
1011 (char *) "self",(char *) "colRGB", NULL
1014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRBG",kwnames
,&obj0
,&obj1
)) goto fail
;
1015 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1016 arg2
= (unsigned long) PyInt_AsLong(obj1
);
1017 if (PyErr_Occurred()) SWIG_fail
;
1019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1022 wxPyEndAllowThreads(__tstate
);
1023 if (PyErr_Occurred()) SWIG_fail
;
1025 Py_INCREF(Py_None
); resultobj
= Py_None
;
1032 static PyObject
*_wrap_Colour___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1033 PyObject
*resultobj
;
1034 wxColour
*arg1
= (wxColour
*) 0 ;
1035 wxColour
*arg2
= 0 ;
1038 PyObject
* obj0
= 0 ;
1039 PyObject
* obj1
= 0 ;
1041 (char *) "self",(char *) "colour", NULL
1044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
1045 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1048 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1052 result
= (bool)((wxColour
const *)arg1
)->operator ==((wxColour
const &)*arg2
);
1054 wxPyEndAllowThreads(__tstate
);
1055 if (PyErr_Occurred()) SWIG_fail
;
1057 resultobj
= PyInt_FromLong((long)result
);
1064 static PyObject
*_wrap_Colour___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1065 PyObject
*resultobj
;
1066 wxColour
*arg1
= (wxColour
*) 0 ;
1067 wxColour
*arg2
= 0 ;
1070 PyObject
* obj0
= 0 ;
1071 PyObject
* obj1
= 0 ;
1073 (char *) "self",(char *) "colour", NULL
1076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
1077 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1080 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1084 result
= (bool)((wxColour
const *)arg1
)->operator !=((wxColour
const &)*arg2
);
1086 wxPyEndAllowThreads(__tstate
);
1087 if (PyErr_Occurred()) SWIG_fail
;
1089 resultobj
= PyInt_FromLong((long)result
);
1096 static PyObject
*_wrap_Colour_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1097 PyObject
*resultobj
;
1098 wxColour
*arg1
= (wxColour
*) 0 ;
1100 PyObject
* obj0
= 0 ;
1102 (char *) "self", NULL
1105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Get",kwnames
,&obj0
)) goto fail
;
1106 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1109 result
= (PyObject
*)wxColour_Get(arg1
);
1111 wxPyEndAllowThreads(__tstate
);
1112 if (PyErr_Occurred()) SWIG_fail
;
1121 static PyObject
* Colour_swigregister(PyObject
*self
, PyObject
*args
) {
1123 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1124 SWIG_TypeClientData(SWIGTYPE_p_wxColour
, obj
);
1126 return Py_BuildValue((char *)"");
1128 static PyObject
*_wrap_new_Palette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1129 PyObject
*resultobj
;
1131 unsigned char *arg2
= (unsigned char *) 0 ;
1132 unsigned char *arg3
= (unsigned char *) 0 ;
1133 unsigned char *arg4
= (unsigned char *) 0 ;
1135 PyObject
* obj1
= 0 ;
1136 PyObject
* obj2
= 0 ;
1137 PyObject
* obj3
= 0 ;
1139 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
1142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iOOO:new_Palette",kwnames
,&arg1
,&obj1
,&obj2
,&obj3
)) goto fail
;
1143 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_unsigned_char
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1144 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_unsigned_char
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1145 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_unsigned_char
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1148 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
1150 wxPyEndAllowThreads(__tstate
);
1151 if (PyErr_Occurred()) SWIG_fail
;
1153 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPalette
, 1);
1160 static PyObject
*_wrap_delete_Palette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1161 PyObject
*resultobj
;
1162 wxPalette
*arg1
= (wxPalette
*) 0 ;
1163 PyObject
* obj0
= 0 ;
1165 (char *) "self", NULL
1168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Palette",kwnames
,&obj0
)) goto fail
;
1169 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1174 wxPyEndAllowThreads(__tstate
);
1175 if (PyErr_Occurred()) SWIG_fail
;
1177 Py_INCREF(Py_None
); resultobj
= Py_None
;
1184 static PyObject
*_wrap_Palette_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1185 PyObject
*resultobj
;
1186 wxPalette
*arg1
= (wxPalette
*) 0 ;
1191 PyObject
* obj0
= 0 ;
1192 PyObject
* obj1
= 0 ;
1193 PyObject
* obj2
= 0 ;
1194 PyObject
* obj3
= 0 ;
1196 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1200 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1201 arg2
= (byte
) PyInt_AsLong(obj1
);
1202 if (PyErr_Occurred()) SWIG_fail
;
1203 arg3
= (byte
) PyInt_AsLong(obj2
);
1204 if (PyErr_Occurred()) SWIG_fail
;
1205 arg4
= (byte
) PyInt_AsLong(obj3
);
1206 if (PyErr_Occurred()) SWIG_fail
;
1208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1209 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
1211 wxPyEndAllowThreads(__tstate
);
1212 if (PyErr_Occurred()) SWIG_fail
;
1214 resultobj
= PyInt_FromLong((long)result
);
1221 static PyObject
*_wrap_Palette_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1222 PyObject
*resultobj
;
1223 wxPalette
*arg1
= (wxPalette
*) 0 ;
1225 byte
*arg3
= (byte
*) 0 ;
1226 byte
*arg4
= (byte
*) 0 ;
1227 byte
*arg5
= (byte
*) 0 ;
1232 PyObject
* obj0
= 0 ;
1234 (char *) "self",(char *) "pixel", NULL
1240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Palette_GetRGB",kwnames
,&obj0
,&arg2
)) goto fail
;
1241 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1244 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
1246 wxPyEndAllowThreads(__tstate
);
1247 if (PyErr_Occurred()) SWIG_fail
;
1249 resultobj
= PyInt_FromLong((long)result
);
1251 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1252 resultobj
= t_output_helper(resultobj
,o
);
1255 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
1256 resultobj
= t_output_helper(resultobj
,o
);
1259 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
1260 resultobj
= t_output_helper(resultobj
,o
);
1268 static PyObject
*_wrap_Palette_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1269 PyObject
*resultobj
;
1270 wxPalette
*arg1
= (wxPalette
*) 0 ;
1272 PyObject
* obj0
= 0 ;
1274 (char *) "self", NULL
1277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_Ok",kwnames
,&obj0
)) goto fail
;
1278 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1281 result
= (bool)(arg1
)->Ok();
1283 wxPyEndAllowThreads(__tstate
);
1284 if (PyErr_Occurred()) SWIG_fail
;
1286 resultobj
= PyInt_FromLong((long)result
);
1293 static PyObject
* Palette_swigregister(PyObject
*self
, PyObject
*args
) {
1295 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1296 SWIG_TypeClientData(SWIGTYPE_p_wxPalette
, obj
);
1298 return Py_BuildValue((char *)"");
1300 static PyObject
*_wrap_new_Pen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1301 PyObject
*resultobj
;
1302 wxColour
*arg1
= 0 ;
1303 int arg2
= (int) 1 ;
1304 int arg3
= (int) wxSOLID
;
1307 PyObject
* obj0
= 0 ;
1309 (char *) "colour",(char *) "width",(char *) "style", NULL
1312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|ii:new_Pen",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1315 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
1318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1319 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
1321 wxPyEndAllowThreads(__tstate
);
1322 if (PyErr_Occurred()) SWIG_fail
;
1324 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPen
, 1);
1331 static PyObject
*_wrap_delete_Pen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1332 PyObject
*resultobj
;
1333 wxPen
*arg1
= (wxPen
*) 0 ;
1334 PyObject
* obj0
= 0 ;
1336 (char *) "self", NULL
1339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Pen",kwnames
,&obj0
)) goto fail
;
1340 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1345 wxPyEndAllowThreads(__tstate
);
1346 if (PyErr_Occurred()) SWIG_fail
;
1348 Py_INCREF(Py_None
); resultobj
= Py_None
;
1355 static PyObject
*_wrap_Pen_GetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1356 PyObject
*resultobj
;
1357 wxPen
*arg1
= (wxPen
*) 0 ;
1359 PyObject
* obj0
= 0 ;
1361 (char *) "self", NULL
1364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetCap",kwnames
,&obj0
)) goto fail
;
1365 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1368 result
= (int)(arg1
)->GetCap();
1370 wxPyEndAllowThreads(__tstate
);
1371 if (PyErr_Occurred()) SWIG_fail
;
1373 resultobj
= PyInt_FromLong((long)result
);
1380 static PyObject
*_wrap_Pen_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1381 PyObject
*resultobj
;
1382 wxPen
*arg1
= (wxPen
*) 0 ;
1384 PyObject
* obj0
= 0 ;
1386 (char *) "self", NULL
1389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetColour",kwnames
,&obj0
)) goto fail
;
1390 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1393 result
= (arg1
)->GetColour();
1395 wxPyEndAllowThreads(__tstate
);
1396 if (PyErr_Occurred()) SWIG_fail
;
1399 wxColour
* resultptr
;
1400 resultptr
= new wxColour((wxColour
&) result
);
1401 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1409 static PyObject
*_wrap_Pen_GetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1410 PyObject
*resultobj
;
1411 wxPen
*arg1
= (wxPen
*) 0 ;
1413 PyObject
* obj0
= 0 ;
1415 (char *) "self", NULL
1418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetJoin",kwnames
,&obj0
)) goto fail
;
1419 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1422 result
= (int)(arg1
)->GetJoin();
1424 wxPyEndAllowThreads(__tstate
);
1425 if (PyErr_Occurred()) SWIG_fail
;
1427 resultobj
= PyInt_FromLong((long)result
);
1434 static PyObject
*_wrap_Pen_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1435 PyObject
*resultobj
;
1436 wxPen
*arg1
= (wxPen
*) 0 ;
1438 PyObject
* obj0
= 0 ;
1440 (char *) "self", NULL
1443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStyle",kwnames
,&obj0
)) goto fail
;
1444 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1447 result
= (int)(arg1
)->GetStyle();
1449 wxPyEndAllowThreads(__tstate
);
1450 if (PyErr_Occurred()) SWIG_fail
;
1452 resultobj
= PyInt_FromLong((long)result
);
1459 static PyObject
*_wrap_Pen_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1460 PyObject
*resultobj
;
1461 wxPen
*arg1
= (wxPen
*) 0 ;
1463 PyObject
* obj0
= 0 ;
1465 (char *) "self", NULL
1468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetWidth",kwnames
,&obj0
)) goto fail
;
1469 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1472 result
= (int)(arg1
)->GetWidth();
1474 wxPyEndAllowThreads(__tstate
);
1475 if (PyErr_Occurred()) SWIG_fail
;
1477 resultobj
= PyInt_FromLong((long)result
);
1484 static PyObject
*_wrap_Pen_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1485 PyObject
*resultobj
;
1486 wxPen
*arg1
= (wxPen
*) 0 ;
1488 PyObject
* obj0
= 0 ;
1490 (char *) "self", NULL
1493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_Ok",kwnames
,&obj0
)) goto fail
;
1494 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1497 result
= (bool)(arg1
)->Ok();
1499 wxPyEndAllowThreads(__tstate
);
1500 if (PyErr_Occurred()) SWIG_fail
;
1502 resultobj
= PyInt_FromLong((long)result
);
1509 static PyObject
*_wrap_Pen_SetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1510 PyObject
*resultobj
;
1511 wxPen
*arg1
= (wxPen
*) 0 ;
1513 PyObject
* obj0
= 0 ;
1515 (char *) "self",(char *) "cap_style", NULL
1518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Pen_SetCap",kwnames
,&obj0
,&arg2
)) goto fail
;
1519 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1522 (arg1
)->SetCap(arg2
);
1524 wxPyEndAllowThreads(__tstate
);
1525 if (PyErr_Occurred()) SWIG_fail
;
1527 Py_INCREF(Py_None
); resultobj
= Py_None
;
1534 static PyObject
*_wrap_Pen_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1535 PyObject
*resultobj
;
1536 wxPen
*arg1
= (wxPen
*) 0 ;
1537 wxColour
*arg2
= 0 ;
1539 PyObject
* obj0
= 0 ;
1540 PyObject
* obj1
= 0 ;
1542 (char *) "self",(char *) "colour", NULL
1545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
1546 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1549 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1553 (arg1
)->SetColour(*arg2
);
1555 wxPyEndAllowThreads(__tstate
);
1556 if (PyErr_Occurred()) SWIG_fail
;
1558 Py_INCREF(Py_None
); resultobj
= Py_None
;
1565 static PyObject
*_wrap_Pen_SetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1566 PyObject
*resultobj
;
1567 wxPen
*arg1
= (wxPen
*) 0 ;
1569 PyObject
* obj0
= 0 ;
1571 (char *) "self",(char *) "join_style", NULL
1574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Pen_SetJoin",kwnames
,&obj0
,&arg2
)) goto fail
;
1575 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1578 (arg1
)->SetJoin(arg2
);
1580 wxPyEndAllowThreads(__tstate
);
1581 if (PyErr_Occurred()) SWIG_fail
;
1583 Py_INCREF(Py_None
); resultobj
= Py_None
;
1590 static PyObject
*_wrap_Pen_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1591 PyObject
*resultobj
;
1592 wxPen
*arg1
= (wxPen
*) 0 ;
1594 PyObject
* obj0
= 0 ;
1596 (char *) "self",(char *) "style", NULL
1599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Pen_SetStyle",kwnames
,&obj0
,&arg2
)) goto fail
;
1600 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1603 (arg1
)->SetStyle(arg2
);
1605 wxPyEndAllowThreads(__tstate
);
1606 if (PyErr_Occurred()) SWIG_fail
;
1608 Py_INCREF(Py_None
); resultobj
= Py_None
;
1615 static PyObject
*_wrap_Pen_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1616 PyObject
*resultobj
;
1617 wxPen
*arg1
= (wxPen
*) 0 ;
1619 PyObject
* obj0
= 0 ;
1621 (char *) "self",(char *) "width", NULL
1624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Pen_SetWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
1625 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1628 (arg1
)->SetWidth(arg2
);
1630 wxPyEndAllowThreads(__tstate
);
1631 if (PyErr_Occurred()) SWIG_fail
;
1633 Py_INCREF(Py_None
); resultobj
= Py_None
;
1640 static PyObject
*_wrap_Pen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1641 PyObject
*resultobj
;
1642 wxPen
*arg1
= (wxPen
*) 0 ;
1644 wxDash
*arg3
= (wxDash
*) 0 ;
1645 PyObject
* obj0
= 0 ;
1646 PyObject
* obj1
= 0 ;
1648 (char *) "self",(char *) "dashes", NULL
1651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
1652 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1654 arg2
= PyList_Size(obj1
);
1655 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
1656 if (arg3
== NULL
) SWIG_fail
;
1659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1660 (arg1
)->SetDashes(arg2
,arg3
);
1662 wxPyEndAllowThreads(__tstate
);
1663 if (PyErr_Occurred()) SWIG_fail
;
1665 Py_INCREF(Py_None
); resultobj
= Py_None
;
1667 if (arg3
) delete [] arg3
;
1672 if (arg3
) delete [] arg3
;
1678 static PyObject
*_wrap_Pen_GetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1679 PyObject
*resultobj
;
1680 wxPen
*arg1
= (wxPen
*) 0 ;
1682 PyObject
* obj0
= 0 ;
1684 (char *) "self", NULL
1687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashes",kwnames
,&obj0
)) goto fail
;
1688 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1691 result
= (PyObject
*)wxPen_GetDashes(arg1
);
1693 wxPyEndAllowThreads(__tstate
);
1694 if (PyErr_Occurred()) SWIG_fail
;
1703 static PyObject
* Pen_swigregister(PyObject
*self
, PyObject
*args
) {
1705 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1706 SWIG_TypeClientData(SWIGTYPE_p_wxPen
, obj
);
1708 return Py_BuildValue((char *)"");
1710 static PyObject
*_wrap_new_PyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1711 PyObject
*resultobj
;
1712 wxColour
*arg1
= 0 ;
1713 int arg2
= (int) 1 ;
1714 int arg3
= (int) wxSOLID
;
1717 PyObject
* obj0
= 0 ;
1719 (char *) "colour",(char *) "width",(char *) "style", NULL
1722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|ii:new_PyPen",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1725 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
1728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1729 result
= (wxPyPen
*)new wxPyPen(*arg1
,arg2
,arg3
);
1731 wxPyEndAllowThreads(__tstate
);
1732 if (PyErr_Occurred()) SWIG_fail
;
1734 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPen
, 1);
1741 static PyObject
*_wrap_delete_PyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1742 PyObject
*resultobj
;
1743 wxPyPen
*arg1
= (wxPyPen
*) 0 ;
1744 PyObject
* obj0
= 0 ;
1746 (char *) "self", NULL
1749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyPen",kwnames
,&obj0
)) goto fail
;
1750 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1755 wxPyEndAllowThreads(__tstate
);
1756 if (PyErr_Occurred()) SWIG_fail
;
1758 Py_INCREF(Py_None
); resultobj
= Py_None
;
1765 static PyObject
*_wrap_PyPen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1766 PyObject
*resultobj
;
1767 wxPyPen
*arg1
= (wxPyPen
*) 0 ;
1769 wxDash
*arg3
= (wxDash
*) 0 ;
1770 PyObject
* obj0
= 0 ;
1771 PyObject
* obj1
= 0 ;
1773 (char *) "self",(char *) "dashes", NULL
1776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
1777 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1779 arg2
= PyList_Size(obj1
);
1780 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
1781 if (arg3
== NULL
) SWIG_fail
;
1784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1785 (arg1
)->SetDashes(arg2
,arg3
);
1787 wxPyEndAllowThreads(__tstate
);
1788 if (PyErr_Occurred()) SWIG_fail
;
1790 Py_INCREF(Py_None
); resultobj
= Py_None
;
1792 if (arg3
) delete [] arg3
;
1797 if (arg3
) delete [] arg3
;
1803 static PyObject
* PyPen_swigregister(PyObject
*self
, PyObject
*args
) {
1805 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1806 SWIG_TypeClientData(SWIGTYPE_p_wxPyPen
, obj
);
1808 return Py_BuildValue((char *)"");
1810 static PyObject
*_wrap_new_Brush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1811 PyObject
*resultobj
;
1812 wxColour
*arg1
= 0 ;
1813 int arg2
= (int) wxSOLID
;
1816 PyObject
* obj0
= 0 ;
1818 (char *) "colour",(char *) "style", NULL
1821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:new_Brush",kwnames
,&obj0
,&arg2
)) goto fail
;
1824 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
1827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1828 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
1830 wxPyEndAllowThreads(__tstate
);
1831 if (PyErr_Occurred()) SWIG_fail
;
1833 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBrush
, 1);
1840 static PyObject
*_wrap_delete_Brush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1841 PyObject
*resultobj
;
1842 wxBrush
*arg1
= (wxBrush
*) 0 ;
1843 PyObject
* obj0
= 0 ;
1845 (char *) "self", NULL
1848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Brush",kwnames
,&obj0
)) goto fail
;
1849 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1854 wxPyEndAllowThreads(__tstate
);
1855 if (PyErr_Occurred()) SWIG_fail
;
1857 Py_INCREF(Py_None
); resultobj
= Py_None
;
1864 static PyObject
*_wrap_Brush_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1865 PyObject
*resultobj
;
1866 wxBrush
*arg1
= (wxBrush
*) 0 ;
1867 wxColour
*arg2
= 0 ;
1869 PyObject
* obj0
= 0 ;
1870 PyObject
* obj1
= 0 ;
1872 (char *) "self",(char *) "col", NULL
1875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
1876 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1879 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1883 (arg1
)->SetColour((wxColour
const &)*arg2
);
1885 wxPyEndAllowThreads(__tstate
);
1886 if (PyErr_Occurred()) SWIG_fail
;
1888 Py_INCREF(Py_None
); resultobj
= Py_None
;
1895 static PyObject
*_wrap_Brush_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1896 PyObject
*resultobj
;
1897 wxBrush
*arg1
= (wxBrush
*) 0 ;
1899 PyObject
* obj0
= 0 ;
1901 (char *) "self",(char *) "style", NULL
1904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Brush_SetStyle",kwnames
,&obj0
,&arg2
)) goto fail
;
1905 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1908 (arg1
)->SetStyle(arg2
);
1910 wxPyEndAllowThreads(__tstate
);
1911 if (PyErr_Occurred()) SWIG_fail
;
1913 Py_INCREF(Py_None
); resultobj
= Py_None
;
1920 static PyObject
*_wrap_Brush_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1921 PyObject
*resultobj
;
1922 wxBrush
*arg1
= (wxBrush
*) 0 ;
1923 wxBitmap
*arg2
= 0 ;
1924 PyObject
* obj0
= 0 ;
1925 PyObject
* obj1
= 0 ;
1927 (char *) "self",(char *) "stipple", NULL
1930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
1931 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1932 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1934 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1938 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
1940 wxPyEndAllowThreads(__tstate
);
1941 if (PyErr_Occurred()) SWIG_fail
;
1943 Py_INCREF(Py_None
); resultobj
= Py_None
;
1950 static PyObject
*_wrap_Brush_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1951 PyObject
*resultobj
;
1952 wxBrush
*arg1
= (wxBrush
*) 0 ;
1954 PyObject
* obj0
= 0 ;
1956 (char *) "self", NULL
1959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetColour",kwnames
,&obj0
)) goto fail
;
1960 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1963 result
= ((wxBrush
const *)arg1
)->GetColour();
1965 wxPyEndAllowThreads(__tstate
);
1966 if (PyErr_Occurred()) SWIG_fail
;
1969 wxColour
* resultptr
;
1970 resultptr
= new wxColour((wxColour
&) result
);
1971 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1979 static PyObject
*_wrap_Brush_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1980 PyObject
*resultobj
;
1981 wxBrush
*arg1
= (wxBrush
*) 0 ;
1983 PyObject
* obj0
= 0 ;
1985 (char *) "self", NULL
1988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStyle",kwnames
,&obj0
)) goto fail
;
1989 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1992 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
1994 wxPyEndAllowThreads(__tstate
);
1995 if (PyErr_Occurred()) SWIG_fail
;
1997 resultobj
= PyInt_FromLong((long)result
);
2004 static PyObject
*_wrap_Brush_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2005 PyObject
*resultobj
;
2006 wxBrush
*arg1
= (wxBrush
*) 0 ;
2008 PyObject
* obj0
= 0 ;
2010 (char *) "self", NULL
2013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStipple",kwnames
,&obj0
)) goto fail
;
2014 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2017 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
2019 wxPyEndAllowThreads(__tstate
);
2020 if (PyErr_Occurred()) SWIG_fail
;
2022 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
2029 static PyObject
*_wrap_Brush_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2030 PyObject
*resultobj
;
2031 wxBrush
*arg1
= (wxBrush
*) 0 ;
2033 PyObject
* obj0
= 0 ;
2035 (char *) "self", NULL
2038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_Ok",kwnames
,&obj0
)) goto fail
;
2039 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2042 result
= (bool)(arg1
)->Ok();
2044 wxPyEndAllowThreads(__tstate
);
2045 if (PyErr_Occurred()) SWIG_fail
;
2047 resultobj
= PyInt_FromLong((long)result
);
2054 static PyObject
*_wrap_Brush_GetMacTheme(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2055 PyObject
*resultobj
;
2056 wxBrush
*arg1
= (wxBrush
*) 0 ;
2058 PyObject
* obj0
= 0 ;
2060 (char *) "self", NULL
2063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetMacTheme",kwnames
,&obj0
)) goto fail
;
2064 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2067 result
= (short)(arg1
)->GetMacTheme();
2069 wxPyEndAllowThreads(__tstate
);
2070 if (PyErr_Occurred()) SWIG_fail
;
2072 resultobj
= PyInt_FromLong((long)result
);
2079 static PyObject
*_wrap_Brush_SetMacTheme(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2080 PyObject
*resultobj
;
2081 wxBrush
*arg1
= (wxBrush
*) 0 ;
2083 PyObject
* obj0
= 0 ;
2085 (char *) "self",(char *) "macThemeBrush", NULL
2088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oh:Brush_SetMacTheme",kwnames
,&obj0
,&arg2
)) goto fail
;
2089 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2092 (arg1
)->SetMacTheme(arg2
);
2094 wxPyEndAllowThreads(__tstate
);
2095 if (PyErr_Occurred()) SWIG_fail
;
2097 Py_INCREF(Py_None
); resultobj
= Py_None
;
2104 static PyObject
* Brush_swigregister(PyObject
*self
, PyObject
*args
) {
2106 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2107 SWIG_TypeClientData(SWIGTYPE_p_wxBrush
, obj
);
2109 return Py_BuildValue((char *)"");
2111 static PyObject
*_wrap_new_Bitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2112 PyObject
*resultobj
;
2113 wxString
*arg1
= 0 ;
2114 int arg2
= (int) wxBITMAP_TYPE_ANY
;
2116 bool temp1
= False
;
2117 PyObject
* obj0
= 0 ;
2119 (char *) "name",(char *) "type", NULL
2122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:new_Bitmap",kwnames
,&obj0
,&arg2
)) goto fail
;
2124 arg1
= wxString_in_helper(obj0
);
2125 if (arg1
== NULL
) SWIG_fail
;
2129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2130 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,(wxBitmapType
)arg2
);
2132 wxPyEndAllowThreads(__tstate
);
2133 if (PyErr_Occurred()) SWIG_fail
;
2135 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 1);
2150 static PyObject
*_wrap_delete_Bitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2151 PyObject
*resultobj
;
2152 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2153 PyObject
* obj0
= 0 ;
2155 (char *) "self", NULL
2158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Bitmap",kwnames
,&obj0
)) goto fail
;
2159 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2164 wxPyEndAllowThreads(__tstate
);
2165 if (PyErr_Occurred()) SWIG_fail
;
2167 Py_INCREF(Py_None
); resultobj
= Py_None
;
2174 static PyObject
*_wrap_new_EmptyBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2175 PyObject
*resultobj
;
2178 int arg3
= (int) -1 ;
2181 (char *) "width",(char *) "height",(char *) "depth", NULL
2184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"ii|i:new_EmptyBitmap",kwnames
,&arg1
,&arg2
,&arg3
)) goto fail
;
2186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2187 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
2189 wxPyEndAllowThreads(__tstate
);
2190 if (PyErr_Occurred()) SWIG_fail
;
2192 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 1);
2199 static PyObject
*_wrap_new_BitmapFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2200 PyObject
*resultobj
;
2203 PyObject
* obj0
= 0 ;
2205 (char *) "icon", NULL
2208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) goto fail
;
2209 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2211 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2215 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
2217 wxPyEndAllowThreads(__tstate
);
2218 if (PyErr_Occurred()) SWIG_fail
;
2220 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 1);
2227 static PyObject
*_wrap_new_BitmapFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2228 PyObject
*resultobj
;
2230 int arg2
= (int) -1 ;
2232 PyObject
* obj0
= 0 ;
2234 (char *) "image",(char *) "depth", NULL
2237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:new_BitmapFromImage",kwnames
,&obj0
,&arg2
)) goto fail
;
2238 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2240 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2244 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
2246 wxPyEndAllowThreads(__tstate
);
2247 if (PyErr_Occurred()) SWIG_fail
;
2249 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 1);
2256 static PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2257 PyObject
*resultobj
;
2258 PyObject
*arg1
= (PyObject
*) 0 ;
2260 PyObject
* obj0
= 0 ;
2262 (char *) "listOfStrings", NULL
2265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) goto fail
;
2268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2269 result
= (wxBitmap
*)new_wxBitmap(arg1
);
2271 wxPyEndAllowThreads(__tstate
);
2272 if (PyErr_Occurred()) SWIG_fail
;
2274 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 1);
2281 static PyObject
*_wrap_new_BitmapFromBits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2282 PyObject
*resultobj
;
2283 PyObject
*arg1
= (PyObject
*) 0 ;
2286 int arg4
= (int) 1 ;
2288 PyObject
* obj0
= 0 ;
2290 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
2293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|i:new_BitmapFromBits",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
2296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2297 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
2299 wxPyEndAllowThreads(__tstate
);
2300 if (PyErr_Occurred()) SWIG_fail
;
2302 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 1);
2309 static PyObject
*_wrap_Bitmap_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2310 PyObject
*resultobj
;
2311 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2313 PyObject
* obj0
= 0 ;
2315 (char *) "self", NULL
2318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_Ok",kwnames
,&obj0
)) goto fail
;
2319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2322 result
= (bool)(arg1
)->Ok();
2324 wxPyEndAllowThreads(__tstate
);
2325 if (PyErr_Occurred()) SWIG_fail
;
2327 resultobj
= PyInt_FromLong((long)result
);
2334 static PyObject
*_wrap_Bitmap_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2335 PyObject
*resultobj
;
2336 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2338 PyObject
* obj0
= 0 ;
2340 (char *) "self", NULL
2343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetWidth",kwnames
,&obj0
)) goto fail
;
2344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2347 result
= (int)(arg1
)->GetWidth();
2349 wxPyEndAllowThreads(__tstate
);
2350 if (PyErr_Occurred()) SWIG_fail
;
2352 resultobj
= PyInt_FromLong((long)result
);
2359 static PyObject
*_wrap_Bitmap_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2360 PyObject
*resultobj
;
2361 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2363 PyObject
* obj0
= 0 ;
2365 (char *) "self", NULL
2368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHeight",kwnames
,&obj0
)) goto fail
;
2369 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2372 result
= (int)(arg1
)->GetHeight();
2374 wxPyEndAllowThreads(__tstate
);
2375 if (PyErr_Occurred()) SWIG_fail
;
2377 resultobj
= PyInt_FromLong((long)result
);
2384 static PyObject
*_wrap_Bitmap_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2385 PyObject
*resultobj
;
2386 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2388 PyObject
* obj0
= 0 ;
2390 (char *) "self", NULL
2393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetDepth",kwnames
,&obj0
)) goto fail
;
2394 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2397 result
= (int)(arg1
)->GetDepth();
2399 wxPyEndAllowThreads(__tstate
);
2400 if (PyErr_Occurred()) SWIG_fail
;
2402 resultobj
= PyInt_FromLong((long)result
);
2409 static PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2410 PyObject
*resultobj
;
2411 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2412 SwigValueWrapper
< wxImage
> result
;
2413 PyObject
* obj0
= 0 ;
2415 (char *) "self", NULL
2418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_ConvertToImage",kwnames
,&obj0
)) goto fail
;
2419 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2422 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
2424 wxPyEndAllowThreads(__tstate
);
2425 if (PyErr_Occurred()) SWIG_fail
;
2428 wxImage
* resultptr
;
2429 resultptr
= new wxImage((wxImage
&) result
);
2430 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
2438 static PyObject
*_wrap_Bitmap_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2439 PyObject
*resultobj
;
2440 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2442 PyObject
* obj0
= 0 ;
2444 (char *) "self", NULL
2447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetMask",kwnames
,&obj0
)) goto fail
;
2448 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2451 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
2453 wxPyEndAllowThreads(__tstate
);
2454 if (PyErr_Occurred()) SWIG_fail
;
2456 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMask
, 0);
2463 static PyObject
*_wrap_Bitmap_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2464 PyObject
*resultobj
;
2465 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2466 wxMask
*arg2
= (wxMask
*) 0 ;
2467 PyObject
* obj0
= 0 ;
2468 PyObject
* obj1
= 0 ;
2470 (char *) "self",(char *) "mask", NULL
2473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
2474 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2475 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMask
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2478 (arg1
)->SetMask(arg2
);
2480 wxPyEndAllowThreads(__tstate
);
2481 if (PyErr_Occurred()) SWIG_fail
;
2483 Py_INCREF(Py_None
); resultobj
= Py_None
;
2490 static PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2491 PyObject
*resultobj
;
2492 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2493 wxColour
*arg2
= 0 ;
2495 PyObject
* obj0
= 0 ;
2496 PyObject
* obj1
= 0 ;
2498 (char *) "self",(char *) "colour", NULL
2501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2502 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2505 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2509 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
2511 wxPyEndAllowThreads(__tstate
);
2512 if (PyErr_Occurred()) SWIG_fail
;
2514 Py_INCREF(Py_None
); resultobj
= Py_None
;
2521 static PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2522 PyObject
*resultobj
;
2523 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2525 SwigValueWrapper
< wxBitmap
> result
;
2527 PyObject
* obj0
= 0 ;
2528 PyObject
* obj1
= 0 ;
2530 (char *) "self",(char *) "rect", NULL
2533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
2534 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2537 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2541 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
2543 wxPyEndAllowThreads(__tstate
);
2544 if (PyErr_Occurred()) SWIG_fail
;
2547 wxBitmap
* resultptr
;
2548 resultptr
= new wxBitmap((wxBitmap
&) result
);
2549 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
2557 static PyObject
*_wrap_Bitmap_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2558 PyObject
*resultobj
;
2559 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2560 wxString
*arg2
= 0 ;
2562 wxPalette
*arg4
= (wxPalette
*) (wxPalette
*) NULL
;
2564 bool temp2
= False
;
2565 PyObject
* obj0
= 0 ;
2566 PyObject
* obj1
= 0 ;
2567 PyObject
* obj3
= 0 ;
2569 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
2572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
)) goto fail
;
2573 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2575 arg2
= wxString_in_helper(obj1
);
2576 if (arg2
== NULL
) SWIG_fail
;
2580 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2584 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
,arg4
);
2586 wxPyEndAllowThreads(__tstate
);
2587 if (PyErr_Occurred()) SWIG_fail
;
2589 resultobj
= PyInt_FromLong((long)result
);
2604 static PyObject
*_wrap_Bitmap_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2605 PyObject
*resultobj
;
2606 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2607 wxString
*arg2
= 0 ;
2610 bool temp2
= False
;
2611 PyObject
* obj0
= 0 ;
2612 PyObject
* obj1
= 0 ;
2614 (char *) "self",(char *) "name",(char *) "type", NULL
2617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
2618 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2620 arg2
= wxString_in_helper(obj1
);
2621 if (arg2
== NULL
) SWIG_fail
;
2625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2626 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
2628 wxPyEndAllowThreads(__tstate
);
2629 if (PyErr_Occurred()) SWIG_fail
;
2631 resultobj
= PyInt_FromLong((long)result
);
2646 static PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2647 PyObject
*resultobj
;
2648 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2651 PyObject
* obj0
= 0 ;
2652 PyObject
* obj1
= 0 ;
2654 (char *) "self",(char *) "icon", NULL
2657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
2658 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2659 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2661 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2665 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
2667 wxPyEndAllowThreads(__tstate
);
2668 if (PyErr_Occurred()) SWIG_fail
;
2670 resultobj
= PyInt_FromLong((long)result
);
2677 static PyObject
*_wrap_Bitmap_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2678 PyObject
*resultobj
;
2679 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2681 PyObject
* obj0
= 0 ;
2683 (char *) "self",(char *) "height", NULL
2686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Bitmap_SetHeight",kwnames
,&obj0
,&arg2
)) goto fail
;
2687 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2690 (arg1
)->SetHeight(arg2
);
2692 wxPyEndAllowThreads(__tstate
);
2693 if (PyErr_Occurred()) SWIG_fail
;
2695 Py_INCREF(Py_None
); resultobj
= Py_None
;
2702 static PyObject
*_wrap_Bitmap_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2703 PyObject
*resultobj
;
2704 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2706 PyObject
* obj0
= 0 ;
2708 (char *) "self",(char *) "width", NULL
2711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Bitmap_SetWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
2712 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2715 (arg1
)->SetWidth(arg2
);
2717 wxPyEndAllowThreads(__tstate
);
2718 if (PyErr_Occurred()) SWIG_fail
;
2720 Py_INCREF(Py_None
); resultobj
= Py_None
;
2727 static PyObject
*_wrap_Bitmap_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2728 PyObject
*resultobj
;
2729 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2731 PyObject
* obj0
= 0 ;
2733 (char *) "self",(char *) "depth", NULL
2736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Bitmap_SetDepth",kwnames
,&obj0
,&arg2
)) goto fail
;
2737 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2740 (arg1
)->SetDepth(arg2
);
2742 wxPyEndAllowThreads(__tstate
);
2743 if (PyErr_Occurred()) SWIG_fail
;
2745 Py_INCREF(Py_None
); resultobj
= Py_None
;
2752 static PyObject
* Bitmap_swigregister(PyObject
*self
, PyObject
*args
) {
2754 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2755 SWIG_TypeClientData(SWIGTYPE_p_wxBitmap
, obj
);
2757 return Py_BuildValue((char *)"");
2759 static PyObject
*_wrap_new_Mask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2760 PyObject
*resultobj
;
2761 wxBitmap
*arg1
= 0 ;
2763 PyObject
* obj0
= 0 ;
2765 (char *) "bitmap", NULL
2768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Mask",kwnames
,&obj0
)) goto fail
;
2769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2771 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2775 result
= (wxMask
*)new wxMask((wxBitmap
const &)*arg1
);
2777 wxPyEndAllowThreads(__tstate
);
2778 if (PyErr_Occurred()) SWIG_fail
;
2780 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMask
, 1);
2787 static PyObject
*_wrap_new_MaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2788 PyObject
*resultobj
;
2789 wxBitmap
*arg1
= 0 ;
2790 wxColour
*arg2
= 0 ;
2793 PyObject
* obj0
= 0 ;
2794 PyObject
* obj1
= 0 ;
2796 (char *) "bitmap",(char *) "colour", NULL
2799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MaskColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2800 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2802 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2806 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2810 result
= (wxMask
*)new wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
2812 wxPyEndAllowThreads(__tstate
);
2813 if (PyErr_Occurred()) SWIG_fail
;
2815 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMask
, 1);
2822 static PyObject
* Mask_swigregister(PyObject
*self
, PyObject
*args
) {
2824 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2825 SWIG_TypeClientData(SWIGTYPE_p_wxMask
, obj
);
2827 return Py_BuildValue((char *)"");
2829 static PyObject
*_wrap_new_Icon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2830 PyObject
*resultobj
;
2831 wxString
*arg1
= 0 ;
2833 int arg3
= (int) -1 ;
2834 int arg4
= (int) -1 ;
2836 bool temp1
= False
;
2837 PyObject
* obj0
= 0 ;
2839 (char *) "name",(char *) "flags",(char *) "desiredWidth",(char *) "desiredHeight", NULL
2842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|ii:new_Icon",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
2844 arg1
= wxString_in_helper(obj0
);
2845 if (arg1
== NULL
) SWIG_fail
;
2849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2850 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
2852 wxPyEndAllowThreads(__tstate
);
2853 if (PyErr_Occurred()) SWIG_fail
;
2855 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
2870 static PyObject
*_wrap_delete_Icon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2871 PyObject
*resultobj
;
2872 wxIcon
*arg1
= (wxIcon
*) 0 ;
2873 PyObject
* obj0
= 0 ;
2875 (char *) "self", NULL
2878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Icon",kwnames
,&obj0
)) goto fail
;
2879 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2884 wxPyEndAllowThreads(__tstate
);
2885 if (PyErr_Occurred()) SWIG_fail
;
2887 Py_INCREF(Py_None
); resultobj
= Py_None
;
2894 static PyObject
*_wrap_new_EmptyIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2895 PyObject
*resultobj
;
2901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EmptyIcon",kwnames
)) goto fail
;
2903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2904 result
= (wxIcon
*)new wxIcon();
2906 wxPyEndAllowThreads(__tstate
);
2907 if (PyErr_Occurred()) SWIG_fail
;
2909 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
2916 static PyObject
*_wrap_new_IconFromLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2917 PyObject
*resultobj
;
2918 wxIconLocation
*arg1
= 0 ;
2920 PyObject
* obj0
= 0 ;
2922 (char *) "loc", NULL
2925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) goto fail
;
2926 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2928 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2932 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
2934 wxPyEndAllowThreads(__tstate
);
2935 if (PyErr_Occurred()) SWIG_fail
;
2937 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
2944 static PyObject
*_wrap_new_IconFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2945 PyObject
*resultobj
;
2946 wxBitmap
*arg1
= 0 ;
2948 PyObject
* obj0
= 0 ;
2950 (char *) "bmp", NULL
2953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) goto fail
;
2954 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2956 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2960 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
2962 wxPyEndAllowThreads(__tstate
);
2963 if (PyErr_Occurred()) SWIG_fail
;
2965 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
2972 static PyObject
*_wrap_new_IconFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2973 PyObject
*resultobj
;
2974 PyObject
*arg1
= (PyObject
*) 0 ;
2976 PyObject
* obj0
= 0 ;
2978 (char *) "listOfStrings", NULL
2981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) goto fail
;
2984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2985 result
= (wxIcon
*)new_wxIcon(arg1
);
2987 wxPyEndAllowThreads(__tstate
);
2988 if (PyErr_Occurred()) SWIG_fail
;
2990 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
2997 static PyObject
*_wrap_Icon_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2998 PyObject
*resultobj
;
2999 wxIcon
*arg1
= (wxIcon
*) 0 ;
3001 PyObject
* obj0
= 0 ;
3003 (char *) "self", NULL
3006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_Ok",kwnames
,&obj0
)) goto fail
;
3007 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3010 result
= (bool)(arg1
)->Ok();
3012 wxPyEndAllowThreads(__tstate
);
3013 if (PyErr_Occurred()) SWIG_fail
;
3015 resultobj
= PyInt_FromLong((long)result
);
3022 static PyObject
*_wrap_Icon_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3023 PyObject
*resultobj
;
3024 wxIcon
*arg1
= (wxIcon
*) 0 ;
3026 PyObject
* obj0
= 0 ;
3028 (char *) "self", NULL
3031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetWidth",kwnames
,&obj0
)) goto fail
;
3032 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3035 result
= (int)(arg1
)->GetWidth();
3037 wxPyEndAllowThreads(__tstate
);
3038 if (PyErr_Occurred()) SWIG_fail
;
3040 resultobj
= PyInt_FromLong((long)result
);
3047 static PyObject
*_wrap_Icon_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3048 PyObject
*resultobj
;
3049 wxIcon
*arg1
= (wxIcon
*) 0 ;
3051 PyObject
* obj0
= 0 ;
3053 (char *) "self", NULL
3056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHeight",kwnames
,&obj0
)) goto fail
;
3057 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3060 result
= (int)(arg1
)->GetHeight();
3062 wxPyEndAllowThreads(__tstate
);
3063 if (PyErr_Occurred()) SWIG_fail
;
3065 resultobj
= PyInt_FromLong((long)result
);
3072 static PyObject
*_wrap_Icon_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3073 PyObject
*resultobj
;
3074 wxIcon
*arg1
= (wxIcon
*) 0 ;
3076 PyObject
* obj0
= 0 ;
3078 (char *) "self", NULL
3081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetDepth",kwnames
,&obj0
)) goto fail
;
3082 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3085 result
= (int)(arg1
)->GetDepth();
3087 wxPyEndAllowThreads(__tstate
);
3088 if (PyErr_Occurred()) SWIG_fail
;
3090 resultobj
= PyInt_FromLong((long)result
);
3097 static PyObject
*_wrap_Icon_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3098 PyObject
*resultobj
;
3099 wxIcon
*arg1
= (wxIcon
*) 0 ;
3101 PyObject
* obj0
= 0 ;
3103 (char *) "self",(char *) "w", NULL
3106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Icon_SetWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
3107 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3110 (arg1
)->SetWidth(arg2
);
3112 wxPyEndAllowThreads(__tstate
);
3113 if (PyErr_Occurred()) SWIG_fail
;
3115 Py_INCREF(Py_None
); resultobj
= Py_None
;
3122 static PyObject
*_wrap_Icon_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3123 PyObject
*resultobj
;
3124 wxIcon
*arg1
= (wxIcon
*) 0 ;
3126 PyObject
* obj0
= 0 ;
3128 (char *) "self",(char *) "h", NULL
3131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Icon_SetHeight",kwnames
,&obj0
,&arg2
)) goto fail
;
3132 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3135 (arg1
)->SetHeight(arg2
);
3137 wxPyEndAllowThreads(__tstate
);
3138 if (PyErr_Occurred()) SWIG_fail
;
3140 Py_INCREF(Py_None
); resultobj
= Py_None
;
3147 static PyObject
*_wrap_Icon_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3148 PyObject
*resultobj
;
3149 wxIcon
*arg1
= (wxIcon
*) 0 ;
3151 PyObject
* obj0
= 0 ;
3153 (char *) "self",(char *) "d", NULL
3156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Icon_SetDepth",kwnames
,&obj0
,&arg2
)) goto fail
;
3157 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3160 (arg1
)->SetDepth(arg2
);
3162 wxPyEndAllowThreads(__tstate
);
3163 if (PyErr_Occurred()) SWIG_fail
;
3165 Py_INCREF(Py_None
); resultobj
= Py_None
;
3172 static PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3173 PyObject
*resultobj
;
3174 wxIcon
*arg1
= (wxIcon
*) 0 ;
3175 wxBitmap
*arg2
= 0 ;
3176 PyObject
* obj0
= 0 ;
3177 PyObject
* obj1
= 0 ;
3179 (char *) "self",(char *) "bmp", NULL
3182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3183 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3184 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3186 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3190 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
3192 wxPyEndAllowThreads(__tstate
);
3193 if (PyErr_Occurred()) SWIG_fail
;
3195 Py_INCREF(Py_None
); resultobj
= Py_None
;
3202 static PyObject
* Icon_swigregister(PyObject
*self
, PyObject
*args
) {
3204 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3205 SWIG_TypeClientData(SWIGTYPE_p_wxIcon
, obj
);
3207 return Py_BuildValue((char *)"");
3209 static PyObject
*_wrap_new_IconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3210 PyObject
*resultobj
;
3211 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
3212 int arg2
= (int) 0 ;
3213 wxIconLocation
*result
;
3214 PyObject
* obj0
= 0 ;
3216 (char *) "filename",(char *) "num", NULL
3219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|Oi:new_IconLocation",kwnames
,&obj0
,&arg2
)) goto fail
;
3221 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxString
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3225 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
3227 wxPyEndAllowThreads(__tstate
);
3228 if (PyErr_Occurred()) SWIG_fail
;
3230 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIconLocation
, 1);
3237 static PyObject
*_wrap_delete_IconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3238 PyObject
*resultobj
;
3239 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3240 PyObject
* obj0
= 0 ;
3242 (char *) "self", NULL
3245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconLocation",kwnames
,&obj0
)) goto fail
;
3246 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3251 wxPyEndAllowThreads(__tstate
);
3252 if (PyErr_Occurred()) SWIG_fail
;
3254 Py_INCREF(Py_None
); resultobj
= Py_None
;
3261 static PyObject
*_wrap_IconLocation_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3262 PyObject
*resultobj
;
3263 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3265 PyObject
* obj0
= 0 ;
3267 (char *) "self", NULL
3270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_IsOk",kwnames
,&obj0
)) goto fail
;
3271 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3274 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
3276 wxPyEndAllowThreads(__tstate
);
3277 if (PyErr_Occurred()) SWIG_fail
;
3279 resultobj
= PyInt_FromLong((long)result
);
3286 static PyObject
*_wrap_IconLocation_SetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3287 PyObject
*resultobj
;
3288 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3289 wxString
*arg2
= 0 ;
3290 bool temp2
= False
;
3291 PyObject
* obj0
= 0 ;
3292 PyObject
* obj1
= 0 ;
3294 (char *) "self",(char *) "filename", NULL
3297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) goto fail
;
3298 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3300 arg2
= wxString_in_helper(obj1
);
3301 if (arg2
== NULL
) SWIG_fail
;
3305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3306 (arg1
)->SetFileName((wxString
const &)*arg2
);
3308 wxPyEndAllowThreads(__tstate
);
3309 if (PyErr_Occurred()) SWIG_fail
;
3311 Py_INCREF(Py_None
); resultobj
= Py_None
;
3326 static PyObject
*_wrap_IconLocation_GetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3327 PyObject
*resultobj
;
3328 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3330 PyObject
* obj0
= 0 ;
3332 (char *) "self", NULL
3335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetFileName",kwnames
,&obj0
)) goto fail
;
3336 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3340 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
3341 result
= (wxString
*) &_result_ref
;
3344 wxPyEndAllowThreads(__tstate
);
3345 if (PyErr_Occurred()) SWIG_fail
;
3347 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
3354 static PyObject
*_wrap_IconLocation_SetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3355 PyObject
*resultobj
;
3356 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3358 PyObject
* obj0
= 0 ;
3360 (char *) "self",(char *) "num", NULL
3363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:IconLocation_SetIndex",kwnames
,&obj0
,&arg2
)) goto fail
;
3364 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3367 wxIconLocation_SetIndex(arg1
,arg2
);
3369 wxPyEndAllowThreads(__tstate
);
3370 if (PyErr_Occurred()) SWIG_fail
;
3372 Py_INCREF(Py_None
); resultobj
= Py_None
;
3379 static PyObject
*_wrap_IconLocation_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3380 PyObject
*resultobj
;
3381 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3383 PyObject
* obj0
= 0 ;
3385 (char *) "self", NULL
3388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetIndex",kwnames
,&obj0
)) goto fail
;
3389 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3392 result
= (int)wxIconLocation_GetIndex(arg1
);
3394 wxPyEndAllowThreads(__tstate
);
3395 if (PyErr_Occurred()) SWIG_fail
;
3397 resultobj
= PyInt_FromLong((long)result
);
3404 static PyObject
* IconLocation_swigregister(PyObject
*self
, PyObject
*args
) {
3406 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3407 SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation
, obj
);
3409 return Py_BuildValue((char *)"");
3411 static PyObject
*_wrap_new_IconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3412 PyObject
*resultobj
;
3413 wxIconBundle
*result
;
3418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IconBundle",kwnames
)) goto fail
;
3420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3421 result
= (wxIconBundle
*)new wxIconBundle();
3423 wxPyEndAllowThreads(__tstate
);
3424 if (PyErr_Occurred()) SWIG_fail
;
3426 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIconBundle
, 1);
3433 static PyObject
*_wrap_new_IconBundleFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3434 PyObject
*resultobj
;
3435 wxString
*arg1
= 0 ;
3437 wxIconBundle
*result
;
3438 bool temp1
= False
;
3439 PyObject
* obj0
= 0 ;
3441 (char *) "file",(char *) "type", NULL
3444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:new_IconBundleFromFile",kwnames
,&obj0
,&arg2
)) goto fail
;
3446 arg1
= wxString_in_helper(obj0
);
3447 if (arg1
== NULL
) SWIG_fail
;
3451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3452 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
3454 wxPyEndAllowThreads(__tstate
);
3455 if (PyErr_Occurred()) SWIG_fail
;
3457 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIconBundle
, 1);
3472 static PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3473 PyObject
*resultobj
;
3475 wxIconBundle
*result
;
3476 PyObject
* obj0
= 0 ;
3478 (char *) "icon", NULL
3481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) goto fail
;
3482 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3484 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3488 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
3490 wxPyEndAllowThreads(__tstate
);
3491 if (PyErr_Occurred()) SWIG_fail
;
3493 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIconBundle
, 1);
3500 static PyObject
*_wrap_delete_IconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3501 PyObject
*resultobj
;
3502 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
3503 PyObject
* obj0
= 0 ;
3505 (char *) "self", NULL
3508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconBundle",kwnames
,&obj0
)) goto fail
;
3509 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconBundle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3514 wxPyEndAllowThreads(__tstate
);
3515 if (PyErr_Occurred()) SWIG_fail
;
3517 Py_INCREF(Py_None
); resultobj
= Py_None
;
3524 static PyObject
*_wrap_IconBundle_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3525 PyObject
*resultobj
;
3526 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
3528 PyObject
* obj0
= 0 ;
3529 PyObject
* obj1
= 0 ;
3531 (char *) "self",(char *) "icon", NULL
3534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
3535 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconBundle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3536 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3538 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3542 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
3544 wxPyEndAllowThreads(__tstate
);
3545 if (PyErr_Occurred()) SWIG_fail
;
3547 Py_INCREF(Py_None
); resultobj
= Py_None
;
3554 static PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3555 PyObject
*resultobj
;
3556 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
3557 wxString
*arg2
= 0 ;
3559 bool temp2
= False
;
3560 PyObject
* obj0
= 0 ;
3561 PyObject
* obj1
= 0 ;
3563 (char *) "self",(char *) "file",(char *) "type", NULL
3566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOl:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
3567 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconBundle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3569 arg2
= wxString_in_helper(obj1
);
3570 if (arg2
== NULL
) SWIG_fail
;
3574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3575 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
3577 wxPyEndAllowThreads(__tstate
);
3578 if (PyErr_Occurred()) SWIG_fail
;
3580 Py_INCREF(Py_None
); resultobj
= Py_None
;
3595 static PyObject
*_wrap_IconBundle_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3596 PyObject
*resultobj
;
3597 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
3601 PyObject
* obj0
= 0 ;
3602 PyObject
* obj1
= 0 ;
3604 (char *) "self",(char *) "size", NULL
3607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
3608 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconBundle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3611 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3616 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
3617 result
= (wxIcon
*) &_result_ref
;
3620 wxPyEndAllowThreads(__tstate
);
3621 if (PyErr_Occurred()) SWIG_fail
;
3623 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 0);
3630 static PyObject
* IconBundle_swigregister(PyObject
*self
, PyObject
*args
) {
3632 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3633 SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle
, obj
);
3635 return Py_BuildValue((char *)"");
3637 static PyObject
*_wrap_new_Cursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3638 PyObject
*resultobj
;
3639 wxString
*arg1
= (wxString
*) 0 ;
3641 int arg3
= (int) 0 ;
3642 int arg4
= (int) 0 ;
3644 PyObject
* obj0
= 0 ;
3646 (char *) "cursorName",(char *) "flags",(char *) "hotSpotX",(char *) "hotSpotY", NULL
3649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|ii:new_Cursor",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
3650 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxString
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3653 result
= (wxCursor
*)new_wxCursor((wxString
const *)arg1
,arg2
,arg3
,arg4
);
3655 wxPyEndAllowThreads(__tstate
);
3656 if (PyErr_Occurred()) SWIG_fail
;
3658 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 1);
3665 static PyObject
*_wrap_delete_Cursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3666 PyObject
*resultobj
;
3667 wxCursor
*arg1
= (wxCursor
*) 0 ;
3668 PyObject
* obj0
= 0 ;
3670 (char *) "self", NULL
3673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Cursor",kwnames
,&obj0
)) goto fail
;
3674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3679 wxPyEndAllowThreads(__tstate
);
3680 if (PyErr_Occurred()) SWIG_fail
;
3682 Py_INCREF(Py_None
); resultobj
= Py_None
;
3689 static PyObject
*_wrap_new_StockCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3690 PyObject
*resultobj
;
3697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:new_StockCursor",kwnames
,&arg1
)) goto fail
;
3699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3700 result
= (wxCursor
*)new wxCursor(arg1
);
3702 wxPyEndAllowThreads(__tstate
);
3703 if (PyErr_Occurred()) SWIG_fail
;
3705 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 1);
3712 static PyObject
*_wrap_new_CursorFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3713 PyObject
*resultobj
;
3716 PyObject
* obj0
= 0 ;
3718 (char *) "image", NULL
3721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) goto fail
;
3722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3724 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3728 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
3730 wxPyEndAllowThreads(__tstate
);
3731 if (PyErr_Occurred()) SWIG_fail
;
3733 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 1);
3740 static PyObject
*_wrap_new_CursorFromBits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3741 PyObject
*resultobj
;
3742 PyObject
*arg1
= (PyObject
*) 0 ;
3745 int arg4
= (int) -1 ;
3746 int arg5
= (int) -1 ;
3747 PyObject
*arg6
= (PyObject
*) 0 ;
3749 PyObject
* obj0
= 0 ;
3750 PyObject
* obj5
= 0 ;
3752 (char *) "bits",(char *) "width",(char *) "height",(char *) "hotSpotX",(char *) "hotSpotY",(char *) "maskBits", NULL
3755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|iiO:new_CursorFromBits",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&obj5
)) goto fail
;
3761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3762 result
= (wxCursor
*)new_wxCursor(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
3764 wxPyEndAllowThreads(__tstate
);
3765 if (PyErr_Occurred()) SWIG_fail
;
3767 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 1);
3774 static PyObject
*_wrap_Cursor_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3775 PyObject
*resultobj
;
3776 wxCursor
*arg1
= (wxCursor
*) 0 ;
3778 PyObject
* obj0
= 0 ;
3780 (char *) "self", NULL
3783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_Ok",kwnames
,&obj0
)) goto fail
;
3784 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3787 result
= (bool)(arg1
)->Ok();
3789 wxPyEndAllowThreads(__tstate
);
3790 if (PyErr_Occurred()) SWIG_fail
;
3792 resultobj
= PyInt_FromLong((long)result
);
3799 static PyObject
* Cursor_swigregister(PyObject
*self
, PyObject
*args
) {
3801 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3802 SWIG_TypeClientData(SWIGTYPE_p_wxCursor
, obj
);
3804 return Py_BuildValue((char *)"");
3806 static PyObject
*_wrap_new_Region(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3807 PyObject
*resultobj
;
3808 int arg1
= (int) 0 ;
3809 int arg2
= (int) 0 ;
3810 int arg3
= (int) 0 ;
3811 int arg4
= (int) 0 ;
3814 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_Region",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
3819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3820 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
3822 wxPyEndAllowThreads(__tstate
);
3823 if (PyErr_Occurred()) SWIG_fail
;
3825 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRegion
, 1);
3832 static PyObject
*_wrap_new_RegionFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3833 PyObject
*resultobj
;
3834 wxBitmap
*arg1
= 0 ;
3835 wxColour
const &arg2_defvalue
= wxNullColour
;
3836 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
3837 int arg3
= (int) 0 ;
3840 PyObject
* obj0
= 0 ;
3841 PyObject
* obj1
= 0 ;
3843 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
3846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|Oi:new_RegionFromBitmap",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
3847 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3849 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3854 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3859 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
3861 wxPyEndAllowThreads(__tstate
);
3862 if (PyErr_Occurred()) SWIG_fail
;
3864 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRegion
, 1);
3871 static PyObject
*_wrap_new_RegionFromPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3872 PyObject
*resultobj
;
3874 wxPoint
*arg2
= (wxPoint
*) 0 ;
3875 int arg3
= (int) wxWINDING_RULE
;
3877 PyObject
* obj0
= 0 ;
3879 (char *) "points",(char *) "fillStyle", NULL
3882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:new_RegionFromPoints",kwnames
,&obj0
,&arg3
)) goto fail
;
3884 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
3885 if (arg2
== NULL
) SWIG_fail
;
3888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3889 result
= (wxRegion
*)new_wxRegion(arg1
,arg2
,arg3
);
3891 wxPyEndAllowThreads(__tstate
);
3892 if (PyErr_Occurred()) SWIG_fail
;
3894 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRegion
, 1);
3896 if (arg2
) delete [] arg2
;
3901 if (arg2
) delete [] arg2
;
3907 static PyObject
*_wrap_delete_Region(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3908 PyObject
*resultobj
;
3909 wxRegion
*arg1
= (wxRegion
*) 0 ;
3910 PyObject
* obj0
= 0 ;
3912 (char *) "self", NULL
3915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Region",kwnames
,&obj0
)) goto fail
;
3916 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3921 wxPyEndAllowThreads(__tstate
);
3922 if (PyErr_Occurred()) SWIG_fail
;
3924 Py_INCREF(Py_None
); resultobj
= Py_None
;
3931 static PyObject
*_wrap_Region_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3932 PyObject
*resultobj
;
3933 wxRegion
*arg1
= (wxRegion
*) 0 ;
3934 PyObject
* obj0
= 0 ;
3936 (char *) "self", NULL
3939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_Clear",kwnames
,&obj0
)) goto fail
;
3940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3945 wxPyEndAllowThreads(__tstate
);
3946 if (PyErr_Occurred()) SWIG_fail
;
3948 Py_INCREF(Py_None
); resultobj
= Py_None
;
3955 static PyObject
*_wrap_Region_Contains(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3956 PyObject
*resultobj
;
3957 wxRegion
*arg1
= (wxRegion
*) 0 ;
3961 PyObject
* obj0
= 0 ;
3963 (char *) "self",(char *) "x",(char *) "y", NULL
3966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Region_Contains",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
3967 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3970 result
= (int)(arg1
)->Contains(arg2
,arg3
);
3972 wxPyEndAllowThreads(__tstate
);
3973 if (PyErr_Occurred()) SWIG_fail
;
3975 resultobj
= PyInt_FromLong((long)result
);
3982 static PyObject
*_wrap_Region_ContainsPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3983 PyObject
*resultobj
;
3984 wxRegion
*arg1
= (wxRegion
*) 0 ;
3988 PyObject
* obj0
= 0 ;
3989 PyObject
* obj1
= 0 ;
3991 (char *) "self",(char *) "pt", NULL
3994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
3995 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3998 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4002 result
= (int)(arg1
)->Contains((wxPoint
const &)*arg2
);
4004 wxPyEndAllowThreads(__tstate
);
4005 if (PyErr_Occurred()) SWIG_fail
;
4007 resultobj
= PyInt_FromLong((long)result
);
4014 static PyObject
*_wrap_Region_ContainsRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4015 PyObject
*resultobj
;
4016 wxRegion
*arg1
= (wxRegion
*) 0 ;
4020 PyObject
* obj0
= 0 ;
4021 PyObject
* obj1
= 0 ;
4023 (char *) "self",(char *) "rect", NULL
4026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4027 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4030 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4034 result
= (int)(arg1
)->Contains((wxRect
const &)*arg2
);
4036 wxPyEndAllowThreads(__tstate
);
4037 if (PyErr_Occurred()) SWIG_fail
;
4039 resultobj
= PyInt_FromLong((long)result
);
4046 static PyObject
*_wrap_Region_ContainsRectDim(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4047 PyObject
*resultobj
;
4048 wxRegion
*arg1
= (wxRegion
*) 0 ;
4054 PyObject
* obj0
= 0 ;
4056 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
4059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:Region_ContainsRectDim",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
4060 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4063 result
= (int)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
4065 wxPyEndAllowThreads(__tstate
);
4066 if (PyErr_Occurred()) SWIG_fail
;
4068 resultobj
= PyInt_FromLong((long)result
);
4075 static PyObject
*_wrap_Region_GetBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4076 PyObject
*resultobj
;
4077 wxRegion
*arg1
= (wxRegion
*) 0 ;
4079 PyObject
* obj0
= 0 ;
4081 (char *) "self", NULL
4084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_GetBox",kwnames
,&obj0
)) goto fail
;
4085 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4088 result
= (arg1
)->GetBox();
4090 wxPyEndAllowThreads(__tstate
);
4091 if (PyErr_Occurred()) SWIG_fail
;
4095 resultptr
= new wxRect((wxRect
&) result
);
4096 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
4104 static PyObject
*_wrap_Region_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4105 PyObject
*resultobj
;
4106 wxRegion
*arg1
= (wxRegion
*) 0 ;
4112 PyObject
* obj0
= 0 ;
4114 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:Region_Intersect",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
4118 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4121 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
4123 wxPyEndAllowThreads(__tstate
);
4124 if (PyErr_Occurred()) SWIG_fail
;
4126 resultobj
= PyInt_FromLong((long)result
);
4133 static PyObject
*_wrap_Region_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4134 PyObject
*resultobj
;
4135 wxRegion
*arg1
= (wxRegion
*) 0 ;
4139 PyObject
* obj0
= 0 ;
4140 PyObject
* obj1
= 0 ;
4142 (char *) "self",(char *) "rect", NULL
4145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4146 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4149 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4153 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
4155 wxPyEndAllowThreads(__tstate
);
4156 if (PyErr_Occurred()) SWIG_fail
;
4158 resultobj
= PyInt_FromLong((long)result
);
4165 static PyObject
*_wrap_Region_IntersectRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4166 PyObject
*resultobj
;
4167 wxRegion
*arg1
= (wxRegion
*) 0 ;
4168 wxRegion
*arg2
= 0 ;
4170 PyObject
* obj0
= 0 ;
4171 PyObject
* obj1
= 0 ;
4173 (char *) "self",(char *) "region", NULL
4176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
4177 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4178 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4180 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4184 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
4186 wxPyEndAllowThreads(__tstate
);
4187 if (PyErr_Occurred()) SWIG_fail
;
4189 resultobj
= PyInt_FromLong((long)result
);
4196 static PyObject
*_wrap_Region_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4197 PyObject
*resultobj
;
4198 wxRegion
*arg1
= (wxRegion
*) 0 ;
4200 PyObject
* obj0
= 0 ;
4202 (char *) "self", NULL
4205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_IsEmpty",kwnames
,&obj0
)) goto fail
;
4206 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4209 result
= (bool)(arg1
)->IsEmpty();
4211 wxPyEndAllowThreads(__tstate
);
4212 if (PyErr_Occurred()) SWIG_fail
;
4214 resultobj
= PyInt_FromLong((long)result
);
4221 static PyObject
*_wrap_Region_Union(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4222 PyObject
*resultobj
;
4223 wxRegion
*arg1
= (wxRegion
*) 0 ;
4229 PyObject
* obj0
= 0 ;
4231 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:Region_Union",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
4235 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4238 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
4240 wxPyEndAllowThreads(__tstate
);
4241 if (PyErr_Occurred()) SWIG_fail
;
4243 resultobj
= PyInt_FromLong((long)result
);
4250 static PyObject
*_wrap_Region_UnionRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4251 PyObject
*resultobj
;
4252 wxRegion
*arg1
= (wxRegion
*) 0 ;
4256 PyObject
* obj0
= 0 ;
4257 PyObject
* obj1
= 0 ;
4259 (char *) "self",(char *) "rect", NULL
4262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4263 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4266 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4270 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
4272 wxPyEndAllowThreads(__tstate
);
4273 if (PyErr_Occurred()) SWIG_fail
;
4275 resultobj
= PyInt_FromLong((long)result
);
4282 static PyObject
*_wrap_Region_UnionRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4283 PyObject
*resultobj
;
4284 wxRegion
*arg1
= (wxRegion
*) 0 ;
4285 wxRegion
*arg2
= 0 ;
4287 PyObject
* obj0
= 0 ;
4288 PyObject
* obj1
= 0 ;
4290 (char *) "self",(char *) "region", NULL
4293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
4294 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4295 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4297 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4301 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
4303 wxPyEndAllowThreads(__tstate
);
4304 if (PyErr_Occurred()) SWIG_fail
;
4306 resultobj
= PyInt_FromLong((long)result
);
4313 static PyObject
*_wrap_Region_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4314 PyObject
*resultobj
;
4315 wxRegion
*arg1
= (wxRegion
*) 0 ;
4321 PyObject
* obj0
= 0 ;
4323 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:Region_Subtract",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
4327 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4330 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
4332 wxPyEndAllowThreads(__tstate
);
4333 if (PyErr_Occurred()) SWIG_fail
;
4335 resultobj
= PyInt_FromLong((long)result
);
4342 static PyObject
*_wrap_Region_SubtractRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4343 PyObject
*resultobj
;
4344 wxRegion
*arg1
= (wxRegion
*) 0 ;
4348 PyObject
* obj0
= 0 ;
4349 PyObject
* obj1
= 0 ;
4351 (char *) "self",(char *) "rect", NULL
4354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4355 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4358 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4362 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
4364 wxPyEndAllowThreads(__tstate
);
4365 if (PyErr_Occurred()) SWIG_fail
;
4367 resultobj
= PyInt_FromLong((long)result
);
4374 static PyObject
*_wrap_Region_SubtractRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4375 PyObject
*resultobj
;
4376 wxRegion
*arg1
= (wxRegion
*) 0 ;
4377 wxRegion
*arg2
= 0 ;
4379 PyObject
* obj0
= 0 ;
4380 PyObject
* obj1
= 0 ;
4382 (char *) "self",(char *) "region", NULL
4385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
4386 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4387 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4389 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4393 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
4395 wxPyEndAllowThreads(__tstate
);
4396 if (PyErr_Occurred()) SWIG_fail
;
4398 resultobj
= PyInt_FromLong((long)result
);
4405 static PyObject
*_wrap_Region_Xor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4406 PyObject
*resultobj
;
4407 wxRegion
*arg1
= (wxRegion
*) 0 ;
4413 PyObject
* obj0
= 0 ;
4415 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:Region_Xor",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
4419 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4422 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
4424 wxPyEndAllowThreads(__tstate
);
4425 if (PyErr_Occurred()) SWIG_fail
;
4427 resultobj
= PyInt_FromLong((long)result
);
4434 static PyObject
*_wrap_Region_XorRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4435 PyObject
*resultobj
;
4436 wxRegion
*arg1
= (wxRegion
*) 0 ;
4440 PyObject
* obj0
= 0 ;
4441 PyObject
* obj1
= 0 ;
4443 (char *) "self",(char *) "rect", NULL
4446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4447 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4450 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4454 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
4456 wxPyEndAllowThreads(__tstate
);
4457 if (PyErr_Occurred()) SWIG_fail
;
4459 resultobj
= PyInt_FromLong((long)result
);
4466 static PyObject
*_wrap_Region_XorRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4467 PyObject
*resultobj
;
4468 wxRegion
*arg1
= (wxRegion
*) 0 ;
4469 wxRegion
*arg2
= 0 ;
4471 PyObject
* obj0
= 0 ;
4472 PyObject
* obj1
= 0 ;
4474 (char *) "self",(char *) "region", NULL
4477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
4478 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4479 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4481 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4485 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
4487 wxPyEndAllowThreads(__tstate
);
4488 if (PyErr_Occurred()) SWIG_fail
;
4490 resultobj
= PyInt_FromLong((long)result
);
4497 static PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4498 PyObject
*resultobj
;
4499 wxRegion
*arg1
= (wxRegion
*) 0 ;
4500 SwigValueWrapper
< wxBitmap
> result
;
4501 PyObject
* obj0
= 0 ;
4503 (char *) "self", NULL
4506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
4507 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4510 result
= (arg1
)->ConvertToBitmap();
4512 wxPyEndAllowThreads(__tstate
);
4513 if (PyErr_Occurred()) SWIG_fail
;
4516 wxBitmap
* resultptr
;
4517 resultptr
= new wxBitmap((wxBitmap
&) result
);
4518 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
4526 static PyObject
*_wrap_Region_UnionBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4527 PyObject
*resultobj
;
4528 wxRegion
*arg1
= (wxRegion
*) 0 ;
4529 wxBitmap
*arg2
= 0 ;
4530 wxColour
const &arg3_defvalue
= wxNullColour
;
4531 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
4532 int arg4
= (int) 0 ;
4535 PyObject
* obj0
= 0 ;
4536 PyObject
* obj1
= 0 ;
4537 PyObject
* obj2
= 0 ;
4539 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
4542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|Oi:Region_UnionBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
4543 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4544 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4546 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4551 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
4555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4556 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
4558 wxPyEndAllowThreads(__tstate
);
4559 if (PyErr_Occurred()) SWIG_fail
;
4561 resultobj
= PyInt_FromLong((long)result
);
4568 static PyObject
* Region_swigregister(PyObject
*self
, PyObject
*args
) {
4570 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4571 SWIG_TypeClientData(SWIGTYPE_p_wxRegion
, obj
);
4573 return Py_BuildValue((char *)"");
4575 static PyObject
*_wrap_new_RegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4576 PyObject
*resultobj
;
4577 wxRegion
*arg1
= 0 ;
4578 wxRegionIterator
*result
;
4579 PyObject
* obj0
= 0 ;
4581 (char *) "region", NULL
4584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) goto fail
;
4585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4587 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4591 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
4593 wxPyEndAllowThreads(__tstate
);
4594 if (PyErr_Occurred()) SWIG_fail
;
4596 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRegionIterator
, 1);
4603 static PyObject
*_wrap_delete_RegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4604 PyObject
*resultobj
;
4605 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
4606 PyObject
* obj0
= 0 ;
4608 (char *) "self", NULL
4611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RegionIterator",kwnames
,&obj0
)) goto fail
;
4612 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4617 wxPyEndAllowThreads(__tstate
);
4618 if (PyErr_Occurred()) SWIG_fail
;
4620 Py_INCREF(Py_None
); resultobj
= Py_None
;
4627 static PyObject
*_wrap_RegionIterator_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4628 PyObject
*resultobj
;
4629 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
4631 PyObject
* obj0
= 0 ;
4633 (char *) "self", NULL
4636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetX",kwnames
,&obj0
)) goto fail
;
4637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4640 result
= (int)(arg1
)->GetX();
4642 wxPyEndAllowThreads(__tstate
);
4643 if (PyErr_Occurred()) SWIG_fail
;
4645 resultobj
= PyInt_FromLong((long)result
);
4652 static PyObject
*_wrap_RegionIterator_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4653 PyObject
*resultobj
;
4654 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
4656 PyObject
* obj0
= 0 ;
4658 (char *) "self", NULL
4661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetY",kwnames
,&obj0
)) goto fail
;
4662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4665 result
= (int)(arg1
)->GetY();
4667 wxPyEndAllowThreads(__tstate
);
4668 if (PyErr_Occurred()) SWIG_fail
;
4670 resultobj
= PyInt_FromLong((long)result
);
4677 static PyObject
*_wrap_RegionIterator_GetW(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4678 PyObject
*resultobj
;
4679 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
4681 PyObject
* obj0
= 0 ;
4683 (char *) "self", NULL
4686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetW",kwnames
,&obj0
)) goto fail
;
4687 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4690 result
= (int)(arg1
)->GetW();
4692 wxPyEndAllowThreads(__tstate
);
4693 if (PyErr_Occurred()) SWIG_fail
;
4695 resultobj
= PyInt_FromLong((long)result
);
4702 static PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4703 PyObject
*resultobj
;
4704 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
4706 PyObject
* obj0
= 0 ;
4708 (char *) "self", NULL
4711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetWidth",kwnames
,&obj0
)) goto fail
;
4712 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4715 result
= (int)(arg1
)->GetWidth();
4717 wxPyEndAllowThreads(__tstate
);
4718 if (PyErr_Occurred()) SWIG_fail
;
4720 resultobj
= PyInt_FromLong((long)result
);
4727 static PyObject
*_wrap_RegionIterator_GetH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4728 PyObject
*resultobj
;
4729 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
4731 PyObject
* obj0
= 0 ;
4733 (char *) "self", NULL
4736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetH",kwnames
,&obj0
)) goto fail
;
4737 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4740 result
= (int)(arg1
)->GetH();
4742 wxPyEndAllowThreads(__tstate
);
4743 if (PyErr_Occurred()) SWIG_fail
;
4745 resultobj
= PyInt_FromLong((long)result
);
4752 static PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4753 PyObject
*resultobj
;
4754 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
4756 PyObject
* obj0
= 0 ;
4758 (char *) "self", NULL
4761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetHeight",kwnames
,&obj0
)) goto fail
;
4762 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4765 result
= (int)(arg1
)->GetHeight();
4767 wxPyEndAllowThreads(__tstate
);
4768 if (PyErr_Occurred()) SWIG_fail
;
4770 resultobj
= PyInt_FromLong((long)result
);
4777 static PyObject
*_wrap_RegionIterator_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4778 PyObject
*resultobj
;
4779 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
4781 PyObject
* obj0
= 0 ;
4783 (char *) "self", NULL
4786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetRect",kwnames
,&obj0
)) goto fail
;
4787 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4790 result
= (arg1
)->GetRect();
4792 wxPyEndAllowThreads(__tstate
);
4793 if (PyErr_Occurred()) SWIG_fail
;
4797 resultptr
= new wxRect((wxRect
&) result
);
4798 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
4806 static PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4807 PyObject
*resultobj
;
4808 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
4810 PyObject
* obj0
= 0 ;
4812 (char *) "self", NULL
4815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_HaveRects",kwnames
,&obj0
)) goto fail
;
4816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4819 result
= (bool)(arg1
)->HaveRects();
4821 wxPyEndAllowThreads(__tstate
);
4822 if (PyErr_Occurred()) SWIG_fail
;
4824 resultobj
= PyInt_FromLong((long)result
);
4831 static PyObject
*_wrap_RegionIterator_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4832 PyObject
*resultobj
;
4833 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
4834 PyObject
* obj0
= 0 ;
4836 (char *) "self", NULL
4839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Reset",kwnames
,&obj0
)) goto fail
;
4840 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4845 wxPyEndAllowThreads(__tstate
);
4846 if (PyErr_Occurred()) SWIG_fail
;
4848 Py_INCREF(Py_None
); resultobj
= Py_None
;
4855 static PyObject
*_wrap_RegionIterator_Next(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4856 PyObject
*resultobj
;
4857 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
4858 PyObject
* obj0
= 0 ;
4860 (char *) "self", NULL
4863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Next",kwnames
,&obj0
)) goto fail
;
4864 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4867 wxRegionIterator_Next(arg1
);
4869 wxPyEndAllowThreads(__tstate
);
4870 if (PyErr_Occurred()) SWIG_fail
;
4872 Py_INCREF(Py_None
); resultobj
= Py_None
;
4879 static PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4880 PyObject
*resultobj
;
4881 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
4883 PyObject
* obj0
= 0 ;
4885 (char *) "self", NULL
4888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator___nonzero__",kwnames
,&obj0
)) goto fail
;
4889 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4892 result
= (bool)wxRegionIterator___nonzero__(arg1
);
4894 wxPyEndAllowThreads(__tstate
);
4895 if (PyErr_Occurred()) SWIG_fail
;
4897 resultobj
= PyInt_FromLong((long)result
);
4904 static PyObject
* RegionIterator_swigregister(PyObject
*self
, PyObject
*args
) {
4906 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4907 SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator
, obj
);
4909 return Py_BuildValue((char *)"");
4911 static PyObject
*_wrap_new_NativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4912 PyObject
*resultobj
;
4913 wxNativeFontInfo
*result
;
4918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeFontInfo",kwnames
)) goto fail
;
4920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4921 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
4923 wxPyEndAllowThreads(__tstate
);
4924 if (PyErr_Occurred()) SWIG_fail
;
4926 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNativeFontInfo
, 1);
4933 static PyObject
*_wrap_delete_NativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4934 PyObject
*resultobj
;
4935 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
4936 PyObject
* obj0
= 0 ;
4938 (char *) "self", NULL
4941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeFontInfo",kwnames
,&obj0
)) goto fail
;
4942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4947 wxPyEndAllowThreads(__tstate
);
4948 if (PyErr_Occurred()) SWIG_fail
;
4950 Py_INCREF(Py_None
); resultobj
= Py_None
;
4957 static PyObject
*_wrap_NativeFontInfo_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4958 PyObject
*resultobj
;
4959 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
4960 PyObject
* obj0
= 0 ;
4962 (char *) "self", NULL
4965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_Init",kwnames
,&obj0
)) goto fail
;
4966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4971 wxPyEndAllowThreads(__tstate
);
4972 if (PyErr_Occurred()) SWIG_fail
;
4974 Py_INCREF(Py_None
); resultobj
= Py_None
;
4981 static PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4982 PyObject
*resultobj
;
4983 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
4985 PyObject
* obj0
= 0 ;
4986 PyObject
* obj1
= 0 ;
4988 (char *) "self",(char *) "font", NULL
4991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) goto fail
;
4992 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4993 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4995 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4999 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
5001 wxPyEndAllowThreads(__tstate
);
5002 if (PyErr_Occurred()) SWIG_fail
;
5004 Py_INCREF(Py_None
); resultobj
= Py_None
;
5011 static PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5012 PyObject
*resultobj
;
5013 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5015 PyObject
* obj0
= 0 ;
5017 (char *) "self", NULL
5020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPointSize",kwnames
,&obj0
)) goto fail
;
5021 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5024 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
5026 wxPyEndAllowThreads(__tstate
);
5027 if (PyErr_Occurred()) SWIG_fail
;
5029 resultobj
= PyInt_FromLong((long)result
);
5036 static PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5037 PyObject
*resultobj
;
5038 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5040 PyObject
* obj0
= 0 ;
5042 (char *) "self", NULL
5045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetStyle",kwnames
,&obj0
)) goto fail
;
5046 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5049 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetStyle();
5051 wxPyEndAllowThreads(__tstate
);
5052 if (PyErr_Occurred()) SWIG_fail
;
5054 resultobj
= PyInt_FromLong((long)result
);
5061 static PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5062 PyObject
*resultobj
;
5063 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5065 PyObject
* obj0
= 0 ;
5067 (char *) "self", NULL
5070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetWeight",kwnames
,&obj0
)) goto fail
;
5071 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5074 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetWeight();
5076 wxPyEndAllowThreads(__tstate
);
5077 if (PyErr_Occurred()) SWIG_fail
;
5079 resultobj
= PyInt_FromLong((long)result
);
5086 static PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5087 PyObject
*resultobj
;
5088 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5090 PyObject
* obj0
= 0 ;
5092 (char *) "self", NULL
5095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetUnderlined",kwnames
,&obj0
)) goto fail
;
5096 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5099 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
5101 wxPyEndAllowThreads(__tstate
);
5102 if (PyErr_Occurred()) SWIG_fail
;
5104 resultobj
= PyInt_FromLong((long)result
);
5111 static PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5112 PyObject
*resultobj
;
5113 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5115 PyObject
* obj0
= 0 ;
5117 (char *) "self", NULL
5120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFaceName",kwnames
,&obj0
)) goto fail
;
5121 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5124 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
5126 wxPyEndAllowThreads(__tstate
);
5127 if (PyErr_Occurred()) SWIG_fail
;
5131 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5133 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5142 static PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5143 PyObject
*resultobj
;
5144 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5146 PyObject
* obj0
= 0 ;
5148 (char *) "self", NULL
5151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFamily",kwnames
,&obj0
)) goto fail
;
5152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5155 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetFamily();
5157 wxPyEndAllowThreads(__tstate
);
5158 if (PyErr_Occurred()) SWIG_fail
;
5160 resultobj
= PyInt_FromLong((long)result
);
5167 static PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5168 PyObject
*resultobj
;
5169 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5171 PyObject
* obj0
= 0 ;
5173 (char *) "self", NULL
5176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetEncoding",kwnames
,&obj0
)) goto fail
;
5177 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5180 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
5182 wxPyEndAllowThreads(__tstate
);
5183 if (PyErr_Occurred()) SWIG_fail
;
5185 resultobj
= PyInt_FromLong((long)result
);
5192 static PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5193 PyObject
*resultobj
;
5194 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5196 PyObject
* obj0
= 0 ;
5198 (char *) "self",(char *) "pointsize", NULL
5201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&arg2
)) goto fail
;
5202 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5205 (arg1
)->SetPointSize(arg2
);
5207 wxPyEndAllowThreads(__tstate
);
5208 if (PyErr_Occurred()) SWIG_fail
;
5210 Py_INCREF(Py_None
); resultobj
= Py_None
;
5217 static PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5218 PyObject
*resultobj
;
5219 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5221 PyObject
* obj0
= 0 ;
5223 (char *) "self",(char *) "style", NULL
5226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:NativeFontInfo_SetStyle",kwnames
,&obj0
,&arg2
)) goto fail
;
5227 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5230 (arg1
)->SetStyle((wxFontStyle
)arg2
);
5232 wxPyEndAllowThreads(__tstate
);
5233 if (PyErr_Occurred()) SWIG_fail
;
5235 Py_INCREF(Py_None
); resultobj
= Py_None
;
5242 static PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5243 PyObject
*resultobj
;
5244 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5246 PyObject
* obj0
= 0 ;
5248 (char *) "self",(char *) "weight", NULL
5251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:NativeFontInfo_SetWeight",kwnames
,&obj0
,&arg2
)) goto fail
;
5252 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5255 (arg1
)->SetWeight((wxFontWeight
)arg2
);
5257 wxPyEndAllowThreads(__tstate
);
5258 if (PyErr_Occurred()) SWIG_fail
;
5260 Py_INCREF(Py_None
); resultobj
= Py_None
;
5267 static PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5268 PyObject
*resultobj
;
5269 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5271 PyObject
* obj0
= 0 ;
5272 PyObject
* obj1
= 0 ;
5274 (char *) "self",(char *) "underlined", NULL
5277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
5278 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5279 arg2
= PyInt_AsLong(obj1
) ? true : false;
5280 if (PyErr_Occurred()) SWIG_fail
;
5282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5283 (arg1
)->SetUnderlined(arg2
);
5285 wxPyEndAllowThreads(__tstate
);
5286 if (PyErr_Occurred()) SWIG_fail
;
5288 Py_INCREF(Py_None
); resultobj
= Py_None
;
5295 static PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5296 PyObject
*resultobj
;
5297 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5299 PyObject
* obj0
= 0 ;
5300 PyObject
* obj1
= 0 ;
5302 (char *) "self",(char *) "facename", NULL
5305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
5306 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5308 wxString
* sptr
= wxString_in_helper(obj1
);
5309 if (sptr
== NULL
) SWIG_fail
;
5314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5315 (arg1
)->SetFaceName(arg2
);
5317 wxPyEndAllowThreads(__tstate
);
5318 if (PyErr_Occurred()) SWIG_fail
;
5320 Py_INCREF(Py_None
); resultobj
= Py_None
;
5327 static PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5328 PyObject
*resultobj
;
5329 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5331 PyObject
* obj0
= 0 ;
5333 (char *) "self",(char *) "family", NULL
5336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:NativeFontInfo_SetFamily",kwnames
,&obj0
,&arg2
)) goto fail
;
5337 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5340 (arg1
)->SetFamily((wxFontFamily
)arg2
);
5342 wxPyEndAllowThreads(__tstate
);
5343 if (PyErr_Occurred()) SWIG_fail
;
5345 Py_INCREF(Py_None
); resultobj
= Py_None
;
5352 static PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5353 PyObject
*resultobj
;
5354 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5356 PyObject
* obj0
= 0 ;
5358 (char *) "self",(char *) "encoding", NULL
5361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&arg2
)) goto fail
;
5362 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5365 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
5367 wxPyEndAllowThreads(__tstate
);
5368 if (PyErr_Occurred()) SWIG_fail
;
5370 Py_INCREF(Py_None
); resultobj
= Py_None
;
5377 static PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5378 PyObject
*resultobj
;
5379 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5380 wxString
*arg2
= 0 ;
5382 bool temp2
= False
;
5383 PyObject
* obj0
= 0 ;
5384 PyObject
* obj1
= 0 ;
5386 (char *) "self",(char *) "s", NULL
5389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
5390 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5392 arg2
= wxString_in_helper(obj1
);
5393 if (arg2
== NULL
) SWIG_fail
;
5397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5398 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
5400 wxPyEndAllowThreads(__tstate
);
5401 if (PyErr_Occurred()) SWIG_fail
;
5403 resultobj
= PyInt_FromLong((long)result
);
5418 static PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5419 PyObject
*resultobj
;
5420 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5422 PyObject
* obj0
= 0 ;
5424 (char *) "self", NULL
5427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToString",kwnames
,&obj0
)) goto fail
;
5428 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5431 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
5433 wxPyEndAllowThreads(__tstate
);
5434 if (PyErr_Occurred()) SWIG_fail
;
5438 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5440 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5449 static PyObject
*_wrap_NativeFontInfo___str__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5450 PyObject
*resultobj
;
5451 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5453 PyObject
* obj0
= 0 ;
5455 (char *) "self", NULL
5458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo___str__",kwnames
,&obj0
)) goto fail
;
5459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5462 result
= wxNativeFontInfo___str__(arg1
);
5464 wxPyEndAllowThreads(__tstate
);
5465 if (PyErr_Occurred()) SWIG_fail
;
5469 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5471 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5480 static PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5481 PyObject
*resultobj
;
5482 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5483 wxString
*arg2
= 0 ;
5485 bool temp2
= False
;
5486 PyObject
* obj0
= 0 ;
5487 PyObject
* obj1
= 0 ;
5489 (char *) "self",(char *) "s", NULL
5492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) goto fail
;
5493 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5495 arg2
= wxString_in_helper(obj1
);
5496 if (arg2
== NULL
) SWIG_fail
;
5500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5501 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
5503 wxPyEndAllowThreads(__tstate
);
5504 if (PyErr_Occurred()) SWIG_fail
;
5506 resultobj
= PyInt_FromLong((long)result
);
5521 static PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5522 PyObject
*resultobj
;
5523 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5525 PyObject
* obj0
= 0 ;
5527 (char *) "self", NULL
5530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToUserString",kwnames
,&obj0
)) goto fail
;
5531 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5534 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
5536 wxPyEndAllowThreads(__tstate
);
5537 if (PyErr_Occurred()) SWIG_fail
;
5541 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5543 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5552 static PyObject
* NativeFontInfo_swigregister(PyObject
*self
, PyObject
*args
) {
5554 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5555 SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo
, obj
);
5557 return Py_BuildValue((char *)"");
5559 static PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5560 PyObject
*resultobj
;
5561 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
5563 PyObject
* obj0
= 0 ;
5564 PyObject
* obj1
= 0 ;
5566 (char *) "self",(char *) "facename", NULL
5569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_facename_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5570 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5572 wxString
* sptr
= wxString_in_helper(obj1
);
5573 if (sptr
== NULL
) SWIG_fail
;
5577 if (arg1
) (arg1
)->facename
= arg2
;
5579 Py_INCREF(Py_None
); resultobj
= Py_None
;
5586 static PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5587 PyObject
*resultobj
;
5588 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
5590 PyObject
* obj0
= 0 ;
5592 (char *) "self", NULL
5595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_facename_get",kwnames
,&obj0
)) goto fail
;
5596 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5597 result
= ((arg1
)->facename
);
5601 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5603 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5612 static PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5613 PyObject
*resultobj
;
5614 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
5616 PyObject
* obj0
= 0 ;
5618 (char *) "self",(char *) "encoding", NULL
5621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:NativeEncodingInfo_encoding_set",kwnames
,&obj0
,&arg2
)) goto fail
;
5622 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5623 if (arg1
) (arg1
)->encoding
= (wxFontEncoding
)arg2
;
5625 Py_INCREF(Py_None
); resultobj
= Py_None
;
5632 static PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5633 PyObject
*resultobj
;
5634 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
5636 PyObject
* obj0
= 0 ;
5638 (char *) "self", NULL
5641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_encoding_get",kwnames
,&obj0
)) goto fail
;
5642 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5643 result
= (int) ((arg1
)->encoding
);
5645 resultobj
= PyInt_FromLong((long)result
);
5652 static PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5653 PyObject
*resultobj
;
5654 wxNativeEncodingInfo
*result
;
5659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeEncodingInfo",kwnames
)) goto fail
;
5661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5662 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
5664 wxPyEndAllowThreads(__tstate
);
5665 if (PyErr_Occurred()) SWIG_fail
;
5667 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNativeEncodingInfo
, 1);
5674 static PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5675 PyObject
*resultobj
;
5676 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
5677 PyObject
* obj0
= 0 ;
5679 (char *) "self", NULL
5682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeEncodingInfo",kwnames
,&obj0
)) goto fail
;
5683 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5688 wxPyEndAllowThreads(__tstate
);
5689 if (PyErr_Occurred()) SWIG_fail
;
5691 Py_INCREF(Py_None
); resultobj
= Py_None
;
5698 static PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5699 PyObject
*resultobj
;
5700 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
5701 wxString
*arg2
= 0 ;
5703 bool temp2
= False
;
5704 PyObject
* obj0
= 0 ;
5705 PyObject
* obj1
= 0 ;
5707 (char *) "self",(char *) "s", NULL
5710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
5711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5713 arg2
= wxString_in_helper(obj1
);
5714 if (arg2
== NULL
) SWIG_fail
;
5718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5719 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
5721 wxPyEndAllowThreads(__tstate
);
5722 if (PyErr_Occurred()) SWIG_fail
;
5724 resultobj
= PyInt_FromLong((long)result
);
5739 static PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5740 PyObject
*resultobj
;
5741 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
5743 PyObject
* obj0
= 0 ;
5745 (char *) "self", NULL
5748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_ToString",kwnames
,&obj0
)) goto fail
;
5749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5752 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
5754 wxPyEndAllowThreads(__tstate
);
5755 if (PyErr_Occurred()) SWIG_fail
;
5759 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5761 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5770 static PyObject
* NativeEncodingInfo_swigregister(PyObject
*self
, PyObject
*args
) {
5772 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5773 SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo
, obj
);
5775 return Py_BuildValue((char *)"");
5777 static PyObject
*_wrap_GetNativeFontEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5778 PyObject
*resultobj
;
5780 wxNativeEncodingInfo
*result
;
5782 (char *) "encoding", NULL
5785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:GetNativeFontEncoding",kwnames
,&arg1
)) goto fail
;
5787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5788 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding((wxFontEncoding
)arg1
);
5790 wxPyEndAllowThreads(__tstate
);
5791 if (PyErr_Occurred()) SWIG_fail
;
5793 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNativeEncodingInfo
, 0);
5800 static PyObject
*_wrap_TestFontEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5801 PyObject
*resultobj
;
5802 wxNativeEncodingInfo
*arg1
= 0 ;
5804 PyObject
* obj0
= 0 ;
5806 (char *) "info", NULL
5809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) goto fail
;
5810 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5812 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5816 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
5818 wxPyEndAllowThreads(__tstate
);
5819 if (PyErr_Occurred()) SWIG_fail
;
5821 resultobj
= PyInt_FromLong((long)result
);
5828 static PyObject
*_wrap_new_FontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5829 PyObject
*resultobj
;
5830 wxFontMapper
*result
;
5835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontMapper",kwnames
)) goto fail
;
5837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5838 result
= (wxFontMapper
*)new wxFontMapper();
5840 wxPyEndAllowThreads(__tstate
);
5841 if (PyErr_Occurred()) SWIG_fail
;
5843 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontMapper
, 1);
5850 static PyObject
*_wrap_delete_FontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5851 PyObject
*resultobj
;
5852 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
5853 PyObject
* obj0
= 0 ;
5855 (char *) "self", NULL
5858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontMapper",kwnames
,&obj0
)) goto fail
;
5859 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5864 wxPyEndAllowThreads(__tstate
);
5865 if (PyErr_Occurred()) SWIG_fail
;
5867 Py_INCREF(Py_None
); resultobj
= Py_None
;
5874 static PyObject
*_wrap_FontMapper_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5875 PyObject
*resultobj
;
5876 wxFontMapper
*result
;
5881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_Get",kwnames
)) goto fail
;
5883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5884 result
= (wxFontMapper
*)wxFontMapper::Get();
5886 wxPyEndAllowThreads(__tstate
);
5887 if (PyErr_Occurred()) SWIG_fail
;
5889 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontMapper
, 0);
5896 static PyObject
*_wrap_FontMapper_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5897 PyObject
*resultobj
;
5898 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
5899 wxFontMapper
*result
;
5900 PyObject
* obj0
= 0 ;
5902 (char *) "mapper", NULL
5905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) goto fail
;
5906 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5909 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
5911 wxPyEndAllowThreads(__tstate
);
5912 if (PyErr_Occurred()) SWIG_fail
;
5914 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontMapper
, 0);
5921 static PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5922 PyObject
*resultobj
;
5923 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
5924 wxString
*arg2
= 0 ;
5925 bool arg3
= (bool) True
;
5927 bool temp2
= False
;
5928 PyObject
* obj0
= 0 ;
5929 PyObject
* obj1
= 0 ;
5930 PyObject
* obj2
= 0 ;
5932 (char *) "self",(char *) "charset",(char *) "interactive", NULL
5935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5936 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5938 arg2
= wxString_in_helper(obj1
);
5939 if (arg2
== NULL
) SWIG_fail
;
5943 arg3
= PyInt_AsLong(obj2
) ? true : false;
5944 if (PyErr_Occurred()) SWIG_fail
;
5947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5948 result
= (int)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
5950 wxPyEndAllowThreads(__tstate
);
5951 if (PyErr_Occurred()) SWIG_fail
;
5953 resultobj
= PyInt_FromLong((long)result
);
5968 static PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5969 PyObject
*resultobj
;
5975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames
)) goto fail
;
5977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5978 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
5980 wxPyEndAllowThreads(__tstate
);
5981 if (PyErr_Occurred()) SWIG_fail
;
5983 resultobj
= PyInt_FromLong((long)result
);
5990 static PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5991 PyObject
*resultobj
;
5994 PyObject
* obj0
= 0 ;
5999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) goto fail
;
6000 arg1
= (size_t) PyInt_AsLong(obj0
);
6001 if (PyErr_Occurred()) SWIG_fail
;
6003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6004 result
= (int)wxFontMapper::GetEncoding(arg1
);
6006 wxPyEndAllowThreads(__tstate
);
6007 if (PyErr_Occurred()) SWIG_fail
;
6009 resultobj
= PyInt_FromLong((long)result
);
6016 static PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6017 PyObject
*resultobj
;
6021 (char *) "encoding", NULL
6024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:FontMapper_GetEncodingName",kwnames
,&arg1
)) goto fail
;
6026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6027 result
= wxFontMapper::GetEncodingName((wxFontEncoding
)arg1
);
6029 wxPyEndAllowThreads(__tstate
);
6030 if (PyErr_Occurred()) SWIG_fail
;
6034 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6036 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6045 static PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6046 PyObject
*resultobj
;
6050 (char *) "encoding", NULL
6053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:FontMapper_GetEncodingDescription",kwnames
,&arg1
)) goto fail
;
6055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6056 result
= wxFontMapper::GetEncodingDescription((wxFontEncoding
)arg1
);
6058 wxPyEndAllowThreads(__tstate
);
6059 if (PyErr_Occurred()) SWIG_fail
;
6063 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6065 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6074 static PyObject
*_wrap_FontMapper_SetConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6075 PyObject
*resultobj
;
6076 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6077 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
6078 PyObject
* obj0
= 0 ;
6079 PyObject
* obj1
= 0 ;
6081 (char *) "self",(char *) "config", NULL
6084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfig",kwnames
,&obj0
,&obj1
)) goto fail
;
6085 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6086 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6089 (arg1
)->SetConfig(arg2
);
6091 wxPyEndAllowThreads(__tstate
);
6092 if (PyErr_Occurred()) SWIG_fail
;
6094 Py_INCREF(Py_None
); resultobj
= Py_None
;
6101 static PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6102 PyObject
*resultobj
;
6103 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6104 wxString
*arg2
= 0 ;
6105 bool temp2
= False
;
6106 PyObject
* obj0
= 0 ;
6107 PyObject
* obj1
= 0 ;
6109 (char *) "self",(char *) "prefix", NULL
6112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) goto fail
;
6113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6115 arg2
= wxString_in_helper(obj1
);
6116 if (arg2
== NULL
) SWIG_fail
;
6120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6121 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
6123 wxPyEndAllowThreads(__tstate
);
6124 if (PyErr_Occurred()) SWIG_fail
;
6126 Py_INCREF(Py_None
); resultobj
= Py_None
;
6141 static PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6142 PyObject
*resultobj
;
6148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetDefaultConfigPath",kwnames
)) goto fail
;
6150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6151 result
= wxFontMapper::GetDefaultConfigPath();
6153 wxPyEndAllowThreads(__tstate
);
6154 if (PyErr_Occurred()) SWIG_fail
;
6158 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6160 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6169 static PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6170 PyObject
*resultobj
;
6171 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6173 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6174 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6175 bool arg4
= (bool) True
;
6177 bool temp3
= False
;
6178 PyObject
* obj0
= 0 ;
6179 PyObject
* obj2
= 0 ;
6180 PyObject
* obj3
= 0 ;
6182 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
6185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
6186 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6189 arg3
= wxString_in_helper(obj2
);
6190 if (arg3
== NULL
) SWIG_fail
;
6195 arg4
= PyInt_AsLong(obj3
) ? true : false;
6196 if (PyErr_Occurred()) SWIG_fail
;
6199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6200 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,(wxFontEncoding
)arg2
,(wxString
const &)*arg3
,arg4
);
6202 wxPyEndAllowThreads(__tstate
);
6203 if (PyErr_Occurred()) SWIG_fail
;
6220 static PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6221 PyObject
*resultobj
;
6222 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6224 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6225 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6227 bool temp3
= False
;
6228 PyObject
* obj0
= 0 ;
6229 PyObject
* obj2
= 0 ;
6231 (char *) "self",(char *) "encoding",(char *) "facename", NULL
6234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
6235 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6238 arg3
= wxString_in_helper(obj2
);
6239 if (arg3
== NULL
) SWIG_fail
;
6244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6245 result
= (bool)(arg1
)->IsEncodingAvailable((wxFontEncoding
)arg2
,(wxString
const &)*arg3
);
6247 wxPyEndAllowThreads(__tstate
);
6248 if (PyErr_Occurred()) SWIG_fail
;
6250 resultobj
= PyInt_FromLong((long)result
);
6265 static PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6266 PyObject
*resultobj
;
6267 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6268 wxWindow
*arg2
= (wxWindow
*) 0 ;
6269 PyObject
* obj0
= 0 ;
6270 PyObject
* obj1
= 0 ;
6272 (char *) "self",(char *) "parent", NULL
6275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) goto fail
;
6276 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6277 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6280 (arg1
)->SetDialogParent(arg2
);
6282 wxPyEndAllowThreads(__tstate
);
6283 if (PyErr_Occurred()) SWIG_fail
;
6285 Py_INCREF(Py_None
); resultobj
= Py_None
;
6292 static PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6293 PyObject
*resultobj
;
6294 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6295 wxString
*arg2
= 0 ;
6296 bool temp2
= False
;
6297 PyObject
* obj0
= 0 ;
6298 PyObject
* obj1
= 0 ;
6300 (char *) "self",(char *) "title", NULL
6303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
6304 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6306 arg2
= wxString_in_helper(obj1
);
6307 if (arg2
== NULL
) SWIG_fail
;
6311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6312 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
6314 wxPyEndAllowThreads(__tstate
);
6315 if (PyErr_Occurred()) SWIG_fail
;
6317 Py_INCREF(Py_None
); resultobj
= Py_None
;
6332 static PyObject
* FontMapper_swigregister(PyObject
*self
, PyObject
*args
) {
6334 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6335 SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper
, obj
);
6337 return Py_BuildValue((char *)"");
6339 static PyObject
*_wrap_new_Font(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6340 PyObject
*resultobj
;
6345 bool arg5
= (bool) False
;
6346 wxString
const &arg6_defvalue
= wxPyEmptyString
;
6347 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6348 int arg7
= (int) wxFONTENCODING_DEFAULT
;
6350 bool temp6
= False
;
6351 PyObject
* obj4
= 0 ;
6352 PyObject
* obj5
= 0 ;
6354 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
6357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iiii|OOi:new_Font",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
,&obj4
,&obj5
,&arg7
)) goto fail
;
6359 arg5
= PyInt_AsLong(obj4
) ? true : false;
6360 if (PyErr_Occurred()) SWIG_fail
;
6364 arg6
= wxString_in_helper(obj5
);
6365 if (arg6
== NULL
) SWIG_fail
;
6370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6371 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
6373 wxPyEndAllowThreads(__tstate
);
6374 if (PyErr_Occurred()) SWIG_fail
;
6376 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 1);
6391 static PyObject
*_wrap_delete_Font(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6392 PyObject
*resultobj
;
6393 wxFont
*arg1
= (wxFont
*) 0 ;
6394 PyObject
* obj0
= 0 ;
6396 (char *) "self", NULL
6399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Font",kwnames
,&obj0
)) goto fail
;
6400 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6405 wxPyEndAllowThreads(__tstate
);
6406 if (PyErr_Occurred()) SWIG_fail
;
6408 Py_INCREF(Py_None
); resultobj
= Py_None
;
6415 static PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6416 PyObject
*resultobj
;
6417 wxNativeFontInfo
*arg1
= 0 ;
6419 PyObject
* obj0
= 0 ;
6421 (char *) "info", NULL
6424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) goto fail
;
6425 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6427 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6431 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
6433 wxPyEndAllowThreads(__tstate
);
6434 if (PyErr_Occurred()) SWIG_fail
;
6436 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 1);
6443 static PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6444 PyObject
*resultobj
;
6445 wxString
*arg1
= 0 ;
6447 bool temp1
= False
;
6448 PyObject
* obj0
= 0 ;
6450 (char *) "info", NULL
6453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) goto fail
;
6455 arg1
= wxString_in_helper(obj0
);
6456 if (arg1
== NULL
) SWIG_fail
;
6460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6461 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
6463 wxPyEndAllowThreads(__tstate
);
6464 if (PyErr_Occurred()) SWIG_fail
;
6466 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 1);
6481 static PyObject
*_wrap_new_Font2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6482 PyObject
*resultobj
;
6485 int arg3
= (int) wxFONTFLAG_DEFAULT
;
6486 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6487 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6488 int arg5
= (int) wxFONTENCODING_DEFAULT
;
6490 bool temp4
= False
;
6491 PyObject
* obj3
= 0 ;
6493 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
6496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"ii|iOi:new_Font2",kwnames
,&arg1
,&arg2
,&arg3
,&obj3
,&arg5
)) goto fail
;
6499 arg4
= wxString_in_helper(obj3
);
6500 if (arg4
== NULL
) SWIG_fail
;
6505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6506 result
= (wxFont
*)new_wxFont(arg1
,(wxFontFamily
)arg2
,arg3
,(wxString
const &)*arg4
,(wxFontEncoding
)arg5
);
6508 wxPyEndAllowThreads(__tstate
);
6509 if (PyErr_Occurred()) SWIG_fail
;
6511 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 1);
6526 static PyObject
*_wrap_Font_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6527 PyObject
*resultobj
;
6528 wxFont
*arg1
= (wxFont
*) 0 ;
6530 PyObject
* obj0
= 0 ;
6532 (char *) "self", NULL
6535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_Ok",kwnames
,&obj0
)) goto fail
;
6536 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6539 result
= (bool)((wxFont
const *)arg1
)->Ok();
6541 wxPyEndAllowThreads(__tstate
);
6542 if (PyErr_Occurred()) SWIG_fail
;
6544 resultobj
= PyInt_FromLong((long)result
);
6551 static PyObject
*_wrap_Font___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6552 PyObject
*resultobj
;
6553 wxFont
*arg1
= (wxFont
*) 0 ;
6556 PyObject
* obj0
= 0 ;
6557 PyObject
* obj1
= 0 ;
6559 (char *) "self",(char *) "font", NULL
6562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
6563 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6564 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6566 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6570 result
= (bool)((wxFont
const *)arg1
)->operator ==((wxFont
const &)*arg2
);
6572 wxPyEndAllowThreads(__tstate
);
6573 if (PyErr_Occurred()) SWIG_fail
;
6575 resultobj
= PyInt_FromLong((long)result
);
6582 static PyObject
*_wrap_Font___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6583 PyObject
*resultobj
;
6584 wxFont
*arg1
= (wxFont
*) 0 ;
6587 PyObject
* obj0
= 0 ;
6588 PyObject
* obj1
= 0 ;
6590 (char *) "self",(char *) "font", NULL
6593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
6594 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6595 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6597 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6601 result
= (bool)((wxFont
const *)arg1
)->operator !=((wxFont
const &)*arg2
);
6603 wxPyEndAllowThreads(__tstate
);
6604 if (PyErr_Occurred()) SWIG_fail
;
6606 resultobj
= PyInt_FromLong((long)result
);
6613 static PyObject
*_wrap_Font_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6614 PyObject
*resultobj
;
6615 wxFont
*arg1
= (wxFont
*) 0 ;
6617 PyObject
* obj0
= 0 ;
6619 (char *) "self", NULL
6622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPointSize",kwnames
,&obj0
)) goto fail
;
6623 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6626 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
6628 wxPyEndAllowThreads(__tstate
);
6629 if (PyErr_Occurred()) SWIG_fail
;
6631 resultobj
= PyInt_FromLong((long)result
);
6638 static PyObject
*_wrap_Font_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6639 PyObject
*resultobj
;
6640 wxFont
*arg1
= (wxFont
*) 0 ;
6642 PyObject
* obj0
= 0 ;
6644 (char *) "self", NULL
6647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamily",kwnames
,&obj0
)) goto fail
;
6648 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6651 result
= (int)((wxFont
const *)arg1
)->GetFamily();
6653 wxPyEndAllowThreads(__tstate
);
6654 if (PyErr_Occurred()) SWIG_fail
;
6656 resultobj
= PyInt_FromLong((long)result
);
6663 static PyObject
*_wrap_Font_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6664 PyObject
*resultobj
;
6665 wxFont
*arg1
= (wxFont
*) 0 ;
6667 PyObject
* obj0
= 0 ;
6669 (char *) "self", NULL
6672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyle",kwnames
,&obj0
)) goto fail
;
6673 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6676 result
= (int)((wxFont
const *)arg1
)->GetStyle();
6678 wxPyEndAllowThreads(__tstate
);
6679 if (PyErr_Occurred()) SWIG_fail
;
6681 resultobj
= PyInt_FromLong((long)result
);
6688 static PyObject
*_wrap_Font_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6689 PyObject
*resultobj
;
6690 wxFont
*arg1
= (wxFont
*) 0 ;
6692 PyObject
* obj0
= 0 ;
6694 (char *) "self", NULL
6697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeight",kwnames
,&obj0
)) goto fail
;
6698 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6701 result
= (int)((wxFont
const *)arg1
)->GetWeight();
6703 wxPyEndAllowThreads(__tstate
);
6704 if (PyErr_Occurred()) SWIG_fail
;
6706 resultobj
= PyInt_FromLong((long)result
);
6713 static PyObject
*_wrap_Font_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6714 PyObject
*resultobj
;
6715 wxFont
*arg1
= (wxFont
*) 0 ;
6717 PyObject
* obj0
= 0 ;
6719 (char *) "self", NULL
6722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetUnderlined",kwnames
,&obj0
)) goto fail
;
6723 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6726 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
6728 wxPyEndAllowThreads(__tstate
);
6729 if (PyErr_Occurred()) SWIG_fail
;
6731 resultobj
= PyInt_FromLong((long)result
);
6738 static PyObject
*_wrap_Font_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6739 PyObject
*resultobj
;
6740 wxFont
*arg1
= (wxFont
*) 0 ;
6742 PyObject
* obj0
= 0 ;
6744 (char *) "self", NULL
6747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFaceName",kwnames
,&obj0
)) goto fail
;
6748 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6751 result
= ((wxFont
const *)arg1
)->GetFaceName();
6753 wxPyEndAllowThreads(__tstate
);
6754 if (PyErr_Occurred()) SWIG_fail
;
6758 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6760 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6769 static PyObject
*_wrap_Font_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6770 PyObject
*resultobj
;
6771 wxFont
*arg1
= (wxFont
*) 0 ;
6773 PyObject
* obj0
= 0 ;
6775 (char *) "self", NULL
6778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetEncoding",kwnames
,&obj0
)) goto fail
;
6779 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6782 result
= (int)((wxFont
const *)arg1
)->GetEncoding();
6784 wxPyEndAllowThreads(__tstate
);
6785 if (PyErr_Occurred()) SWIG_fail
;
6787 resultobj
= PyInt_FromLong((long)result
);
6794 static PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6795 PyObject
*resultobj
;
6796 wxFont
*arg1
= (wxFont
*) 0 ;
6797 wxNativeFontInfo
*result
;
6798 PyObject
* obj0
= 0 ;
6800 (char *) "self", NULL
6803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfo",kwnames
,&obj0
)) goto fail
;
6804 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6807 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
6809 wxPyEndAllowThreads(__tstate
);
6810 if (PyErr_Occurred()) SWIG_fail
;
6812 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNativeFontInfo
, 0);
6819 static PyObject
*_wrap_Font_IsFixedWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6820 PyObject
*resultobj
;
6821 wxFont
*arg1
= (wxFont
*) 0 ;
6823 PyObject
* obj0
= 0 ;
6825 (char *) "self", NULL
6828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsFixedWidth",kwnames
,&obj0
)) goto fail
;
6829 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6832 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
6834 wxPyEndAllowThreads(__tstate
);
6835 if (PyErr_Occurred()) SWIG_fail
;
6837 resultobj
= PyInt_FromLong((long)result
);
6844 static PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6845 PyObject
*resultobj
;
6846 wxFont
*arg1
= (wxFont
*) 0 ;
6848 PyObject
* obj0
= 0 ;
6850 (char *) "self", NULL
6853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoDesc",kwnames
,&obj0
)) goto fail
;
6854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6857 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
6859 wxPyEndAllowThreads(__tstate
);
6860 if (PyErr_Occurred()) SWIG_fail
;
6864 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6866 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6875 static PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6876 PyObject
*resultobj
;
6877 wxFont
*arg1
= (wxFont
*) 0 ;
6879 PyObject
* obj0
= 0 ;
6881 (char *) "self", NULL
6884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames
,&obj0
)) goto fail
;
6885 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6888 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
6890 wxPyEndAllowThreads(__tstate
);
6891 if (PyErr_Occurred()) SWIG_fail
;
6895 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6897 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6906 static PyObject
*_wrap_Font_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6907 PyObject
*resultobj
;
6908 wxFont
*arg1
= (wxFont
*) 0 ;
6910 PyObject
* obj0
= 0 ;
6912 (char *) "self",(char *) "pointSize", NULL
6915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Font_SetPointSize",kwnames
,&obj0
,&arg2
)) goto fail
;
6916 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6919 (arg1
)->SetPointSize(arg2
);
6921 wxPyEndAllowThreads(__tstate
);
6922 if (PyErr_Occurred()) SWIG_fail
;
6924 Py_INCREF(Py_None
); resultobj
= Py_None
;
6931 static PyObject
*_wrap_Font_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6932 PyObject
*resultobj
;
6933 wxFont
*arg1
= (wxFont
*) 0 ;
6935 PyObject
* obj0
= 0 ;
6937 (char *) "self",(char *) "family", NULL
6940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Font_SetFamily",kwnames
,&obj0
,&arg2
)) goto fail
;
6941 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6944 (arg1
)->SetFamily(arg2
);
6946 wxPyEndAllowThreads(__tstate
);
6947 if (PyErr_Occurred()) SWIG_fail
;
6949 Py_INCREF(Py_None
); resultobj
= Py_None
;
6956 static PyObject
*_wrap_Font_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6957 PyObject
*resultobj
;
6958 wxFont
*arg1
= (wxFont
*) 0 ;
6960 PyObject
* obj0
= 0 ;
6962 (char *) "self",(char *) "style", NULL
6965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Font_SetStyle",kwnames
,&obj0
,&arg2
)) goto fail
;
6966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6969 (arg1
)->SetStyle(arg2
);
6971 wxPyEndAllowThreads(__tstate
);
6972 if (PyErr_Occurred()) SWIG_fail
;
6974 Py_INCREF(Py_None
); resultobj
= Py_None
;
6981 static PyObject
*_wrap_Font_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6982 PyObject
*resultobj
;
6983 wxFont
*arg1
= (wxFont
*) 0 ;
6985 PyObject
* obj0
= 0 ;
6987 (char *) "self",(char *) "weight", NULL
6990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Font_SetWeight",kwnames
,&obj0
,&arg2
)) goto fail
;
6991 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6994 (arg1
)->SetWeight(arg2
);
6996 wxPyEndAllowThreads(__tstate
);
6997 if (PyErr_Occurred()) SWIG_fail
;
6999 Py_INCREF(Py_None
); resultobj
= Py_None
;
7006 static PyObject
*_wrap_Font_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7007 PyObject
*resultobj
;
7008 wxFont
*arg1
= (wxFont
*) 0 ;
7009 wxString
*arg2
= 0 ;
7010 bool temp2
= False
;
7011 PyObject
* obj0
= 0 ;
7012 PyObject
* obj1
= 0 ;
7014 (char *) "self",(char *) "faceName", NULL
7017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
7018 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7020 arg2
= wxString_in_helper(obj1
);
7021 if (arg2
== NULL
) SWIG_fail
;
7025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7026 (arg1
)->SetFaceName((wxString
const &)*arg2
);
7028 wxPyEndAllowThreads(__tstate
);
7029 if (PyErr_Occurred()) SWIG_fail
;
7031 Py_INCREF(Py_None
); resultobj
= Py_None
;
7046 static PyObject
*_wrap_Font_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7047 PyObject
*resultobj
;
7048 wxFont
*arg1
= (wxFont
*) 0 ;
7050 PyObject
* obj0
= 0 ;
7051 PyObject
* obj1
= 0 ;
7053 (char *) "self",(char *) "underlined", NULL
7056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
7057 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7058 arg2
= PyInt_AsLong(obj1
) ? true : false;
7059 if (PyErr_Occurred()) SWIG_fail
;
7061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7062 (arg1
)->SetUnderlined(arg2
);
7064 wxPyEndAllowThreads(__tstate
);
7065 if (PyErr_Occurred()) SWIG_fail
;
7067 Py_INCREF(Py_None
); resultobj
= Py_None
;
7074 static PyObject
*_wrap_Font_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7075 PyObject
*resultobj
;
7076 wxFont
*arg1
= (wxFont
*) 0 ;
7078 PyObject
* obj0
= 0 ;
7080 (char *) "self",(char *) "encoding", NULL
7083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Font_SetEncoding",kwnames
,&obj0
,&arg2
)) goto fail
;
7084 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7087 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
7089 wxPyEndAllowThreads(__tstate
);
7090 if (PyErr_Occurred()) SWIG_fail
;
7092 Py_INCREF(Py_None
); resultobj
= Py_None
;
7099 static PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7100 PyObject
*resultobj
;
7101 wxFont
*arg1
= (wxFont
*) 0 ;
7102 wxNativeFontInfo
*arg2
= 0 ;
7103 PyObject
* obj0
= 0 ;
7104 PyObject
* obj1
= 0 ;
7106 (char *) "self",(char *) "info", NULL
7109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
7110 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7111 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7113 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7117 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
7119 wxPyEndAllowThreads(__tstate
);
7120 if (PyErr_Occurred()) SWIG_fail
;
7122 Py_INCREF(Py_None
); resultobj
= Py_None
;
7129 static PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7130 PyObject
*resultobj
;
7131 wxFont
*arg1
= (wxFont
*) 0 ;
7132 wxString
*arg2
= 0 ;
7133 bool temp2
= False
;
7134 PyObject
* obj0
= 0 ;
7135 PyObject
* obj1
= 0 ;
7137 (char *) "self",(char *) "info", NULL
7140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) goto fail
;
7141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7143 arg2
= wxString_in_helper(obj1
);
7144 if (arg2
== NULL
) SWIG_fail
;
7148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7149 (arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
7151 wxPyEndAllowThreads(__tstate
);
7152 if (PyErr_Occurred()) SWIG_fail
;
7154 Py_INCREF(Py_None
); resultobj
= Py_None
;
7169 static PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7170 PyObject
*resultobj
;
7171 wxFont
*arg1
= (wxFont
*) 0 ;
7172 wxString
*arg2
= 0 ;
7173 bool temp2
= False
;
7174 PyObject
* obj0
= 0 ;
7175 PyObject
* obj1
= 0 ;
7177 (char *) "self",(char *) "info", NULL
7180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
7181 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7183 arg2
= wxString_in_helper(obj1
);
7184 if (arg2
== NULL
) SWIG_fail
;
7188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7189 (arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
7191 wxPyEndAllowThreads(__tstate
);
7192 if (PyErr_Occurred()) SWIG_fail
;
7194 Py_INCREF(Py_None
); resultobj
= Py_None
;
7209 static PyObject
*_wrap_Font_GetFamilyString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7210 PyObject
*resultobj
;
7211 wxFont
*arg1
= (wxFont
*) 0 ;
7213 PyObject
* obj0
= 0 ;
7215 (char *) "self", NULL
7218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamilyString",kwnames
,&obj0
)) goto fail
;
7219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7222 result
= ((wxFont
const *)arg1
)->GetFamilyString();
7224 wxPyEndAllowThreads(__tstate
);
7225 if (PyErr_Occurred()) SWIG_fail
;
7229 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7231 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7240 static PyObject
*_wrap_Font_GetStyleString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7241 PyObject
*resultobj
;
7242 wxFont
*arg1
= (wxFont
*) 0 ;
7244 PyObject
* obj0
= 0 ;
7246 (char *) "self", NULL
7249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyleString",kwnames
,&obj0
)) goto fail
;
7250 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7253 result
= ((wxFont
const *)arg1
)->GetStyleString();
7255 wxPyEndAllowThreads(__tstate
);
7256 if (PyErr_Occurred()) SWIG_fail
;
7260 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7262 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7271 static PyObject
*_wrap_Font_GetWeightString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7272 PyObject
*resultobj
;
7273 wxFont
*arg1
= (wxFont
*) 0 ;
7275 PyObject
* obj0
= 0 ;
7277 (char *) "self", NULL
7280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeightString",kwnames
,&obj0
)) goto fail
;
7281 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7284 result
= ((wxFont
const *)arg1
)->GetWeightString();
7286 wxPyEndAllowThreads(__tstate
);
7287 if (PyErr_Occurred()) SWIG_fail
;
7291 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7293 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7302 static PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7303 PyObject
*resultobj
;
7304 wxFont
*arg1
= (wxFont
*) 0 ;
7305 bool arg2
= (bool) True
;
7306 PyObject
* obj0
= 0 ;
7307 PyObject
* obj1
= 0 ;
7309 (char *) "self",(char *) "no", NULL
7312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) goto fail
;
7313 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7315 arg2
= PyInt_AsLong(obj1
) ? true : false;
7316 if (PyErr_Occurred()) SWIG_fail
;
7319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7320 (arg1
)->SetNoAntiAliasing(arg2
);
7322 wxPyEndAllowThreads(__tstate
);
7323 if (PyErr_Occurred()) SWIG_fail
;
7325 Py_INCREF(Py_None
); resultobj
= Py_None
;
7332 static PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7333 PyObject
*resultobj
;
7334 wxFont
*arg1
= (wxFont
*) 0 ;
7336 PyObject
* obj0
= 0 ;
7338 (char *) "self", NULL
7341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNoAntiAliasing",kwnames
,&obj0
)) goto fail
;
7342 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7345 result
= (bool)(arg1
)->GetNoAntiAliasing();
7347 wxPyEndAllowThreads(__tstate
);
7348 if (PyErr_Occurred()) SWIG_fail
;
7350 resultobj
= PyInt_FromLong((long)result
);
7357 static PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7358 PyObject
*resultobj
;
7364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Font_GetDefaultEncoding",kwnames
)) goto fail
;
7366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7367 result
= (int)wxFont::GetDefaultEncoding();
7369 wxPyEndAllowThreads(__tstate
);
7370 if (PyErr_Occurred()) SWIG_fail
;
7372 resultobj
= PyInt_FromLong((long)result
);
7379 static PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7380 PyObject
*resultobj
;
7383 (char *) "encoding", NULL
7386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:Font_SetDefaultEncoding",kwnames
,&arg1
)) goto fail
;
7388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7389 wxFont::SetDefaultEncoding((wxFontEncoding
)arg1
);
7391 wxPyEndAllowThreads(__tstate
);
7392 if (PyErr_Occurred()) SWIG_fail
;
7394 Py_INCREF(Py_None
); resultobj
= Py_None
;
7401 static PyObject
* Font_swigregister(PyObject
*self
, PyObject
*args
) {
7403 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7404 SWIG_TypeClientData(SWIGTYPE_p_wxFont
, obj
);
7406 return Py_BuildValue((char *)"");
7408 static PyObject
*_wrap_new_FontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7409 PyObject
*resultobj
;
7410 wxPyFontEnumerator
*result
;
7415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontEnumerator",kwnames
)) goto fail
;
7417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7418 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
7420 wxPyEndAllowThreads(__tstate
);
7421 if (PyErr_Occurred()) SWIG_fail
;
7423 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyFontEnumerator
, 1);
7430 static PyObject
*_wrap_delete_FontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7431 PyObject
*resultobj
;
7432 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
7433 PyObject
* obj0
= 0 ;
7435 (char *) "self", NULL
7438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontEnumerator",kwnames
,&obj0
)) goto fail
;
7439 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7444 wxPyEndAllowThreads(__tstate
);
7445 if (PyErr_Occurred()) SWIG_fail
;
7447 Py_INCREF(Py_None
); resultobj
= Py_None
;
7454 static PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7455 PyObject
*resultobj
;
7456 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
7457 PyObject
*arg2
= (PyObject
*) 0 ;
7458 PyObject
*arg3
= (PyObject
*) 0 ;
7460 PyObject
* obj0
= 0 ;
7461 PyObject
* obj1
= 0 ;
7462 PyObject
* obj2
= 0 ;
7463 PyObject
* obj3
= 0 ;
7465 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
7468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7469 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7472 arg4
= PyInt_AsLong(obj3
) ? true : false;
7473 if (PyErr_Occurred()) SWIG_fail
;
7475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7476 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
7478 wxPyEndAllowThreads(__tstate
);
7479 if (PyErr_Occurred()) SWIG_fail
;
7481 Py_INCREF(Py_None
); resultobj
= Py_None
;
7488 static PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7489 PyObject
*resultobj
;
7490 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
7491 int arg2
= (int) wxFONTENCODING_SYSTEM
;
7492 bool arg3
= (bool) False
;
7494 PyObject
* obj0
= 0 ;
7495 PyObject
* obj2
= 0 ;
7497 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
7500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
7501 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7503 arg3
= PyInt_AsLong(obj2
) ? true : false;
7504 if (PyErr_Occurred()) SWIG_fail
;
7507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7508 result
= (bool)(arg1
)->EnumerateFacenames((wxFontEncoding
)arg2
,arg3
);
7510 wxPyEndAllowThreads(__tstate
);
7511 if (PyErr_Occurred()) SWIG_fail
;
7513 resultobj
= PyInt_FromLong((long)result
);
7520 static PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7521 PyObject
*resultobj
;
7522 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
7523 wxString
const &arg2_defvalue
= wxPyEmptyString
;
7524 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
7526 bool temp2
= False
;
7527 PyObject
* obj0
= 0 ;
7528 PyObject
* obj1
= 0 ;
7530 (char *) "self",(char *) "facename", NULL
7533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) goto fail
;
7534 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7537 arg2
= wxString_in_helper(obj1
);
7538 if (arg2
== NULL
) SWIG_fail
;
7543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7544 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
7546 wxPyEndAllowThreads(__tstate
);
7547 if (PyErr_Occurred()) SWIG_fail
;
7549 resultobj
= PyInt_FromLong((long)result
);
7564 static PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7565 PyObject
*resultobj
;
7566 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
7568 PyObject
* obj0
= 0 ;
7570 (char *) "self", NULL
7573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetEncodings",kwnames
,&obj0
)) goto fail
;
7574 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7577 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(arg1
);
7579 wxPyEndAllowThreads(__tstate
);
7580 if (PyErr_Occurred()) SWIG_fail
;
7589 static PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7590 PyObject
*resultobj
;
7591 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
7593 PyObject
* obj0
= 0 ;
7595 (char *) "self", NULL
7598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetFacenames",kwnames
,&obj0
)) goto fail
;
7599 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7602 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(arg1
);
7604 wxPyEndAllowThreads(__tstate
);
7605 if (PyErr_Occurred()) SWIG_fail
;
7614 static PyObject
* FontEnumerator_swigregister(PyObject
*self
, PyObject
*args
) {
7616 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7617 SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator
, obj
);
7619 return Py_BuildValue((char *)"");
7621 static PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7622 PyObject
*resultobj
;
7623 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
7625 PyObject
* obj0
= 0 ;
7627 (char *) "self",(char *) "Language", NULL
7630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:LanguageInfo_Language_set",kwnames
,&obj0
,&arg2
)) goto fail
;
7631 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7632 if (arg1
) (arg1
)->Language
= arg2
;
7634 Py_INCREF(Py_None
); resultobj
= Py_None
;
7641 static PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7642 PyObject
*resultobj
;
7643 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
7645 PyObject
* obj0
= 0 ;
7647 (char *) "self", NULL
7650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Language_get",kwnames
,&obj0
)) goto fail
;
7651 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7652 result
= (int) ((arg1
)->Language
);
7654 resultobj
= PyInt_FromLong((long)result
);
7661 static PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7662 PyObject
*resultobj
;
7663 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
7665 PyObject
* obj0
= 0 ;
7666 PyObject
* obj1
= 0 ;
7668 (char *) "self",(char *) "CanonicalName", NULL
7671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7672 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7674 wxString
* sptr
= wxString_in_helper(obj1
);
7675 if (sptr
== NULL
) SWIG_fail
;
7679 if (arg1
) (arg1
)->CanonicalName
= arg2
;
7681 Py_INCREF(Py_None
); resultobj
= Py_None
;
7688 static PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7689 PyObject
*resultobj
;
7690 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
7692 PyObject
* obj0
= 0 ;
7694 (char *) "self", NULL
7697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_CanonicalName_get",kwnames
,&obj0
)) goto fail
;
7698 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7699 result
= ((arg1
)->CanonicalName
);
7703 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7705 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7714 static PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7715 PyObject
*resultobj
;
7716 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
7718 PyObject
* obj0
= 0 ;
7719 PyObject
* obj1
= 0 ;
7721 (char *) "self",(char *) "Description", NULL
7724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Description_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7725 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7727 wxString
* sptr
= wxString_in_helper(obj1
);
7728 if (sptr
== NULL
) SWIG_fail
;
7732 if (arg1
) (arg1
)->Description
= arg2
;
7734 Py_INCREF(Py_None
); resultobj
= Py_None
;
7741 static PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7742 PyObject
*resultobj
;
7743 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
7745 PyObject
* obj0
= 0 ;
7747 (char *) "self", NULL
7750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Description_get",kwnames
,&obj0
)) goto fail
;
7751 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7752 result
= ((arg1
)->Description
);
7756 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7758 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7767 static PyObject
* LanguageInfo_swigregister(PyObject
*self
, PyObject
*args
) {
7769 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7770 SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo
, obj
);
7772 return Py_BuildValue((char *)"");
7774 static PyObject
*_wrap_new_Locale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7775 PyObject
*resultobj
;
7776 int arg1
= (int) wxLANGUAGE_DEFAULT
;
7777 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
7780 (char *) "language",(char *) "flags", NULL
7783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_Locale",kwnames
,&arg1
,&arg2
)) goto fail
;
7785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7786 result
= (wxLocale
*)new wxLocale(arg1
,arg2
);
7788 wxPyEndAllowThreads(__tstate
);
7789 if (PyErr_Occurred()) SWIG_fail
;
7791 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLocale
, 1);
7798 static PyObject
*_wrap_delete_Locale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7799 PyObject
*resultobj
;
7800 wxLocale
*arg1
= (wxLocale
*) 0 ;
7801 PyObject
* obj0
= 0 ;
7803 (char *) "self", NULL
7806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Locale",kwnames
,&obj0
)) goto fail
;
7807 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7812 wxPyEndAllowThreads(__tstate
);
7813 if (PyErr_Occurred()) SWIG_fail
;
7815 Py_INCREF(Py_None
); resultobj
= Py_None
;
7822 static PyObject
*_wrap_Locale_Init1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7823 PyObject
*resultobj
;
7824 wxLocale
*arg1
= (wxLocale
*) 0 ;
7825 wxString
*arg2
= 0 ;
7826 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7827 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7828 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7829 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7830 bool arg5
= (bool) True
;
7831 bool arg6
= (bool) False
;
7833 bool temp2
= False
;
7834 bool temp3
= False
;
7835 bool temp4
= False
;
7836 PyObject
* obj0
= 0 ;
7837 PyObject
* obj1
= 0 ;
7838 PyObject
* obj2
= 0 ;
7839 PyObject
* obj3
= 0 ;
7840 PyObject
* obj4
= 0 ;
7841 PyObject
* obj5
= 0 ;
7843 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
7846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7847 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7849 arg2
= wxString_in_helper(obj1
);
7850 if (arg2
== NULL
) SWIG_fail
;
7855 arg3
= wxString_in_helper(obj2
);
7856 if (arg3
== NULL
) SWIG_fail
;
7862 arg4
= wxString_in_helper(obj3
);
7863 if (arg4
== NULL
) SWIG_fail
;
7868 arg5
= PyInt_AsLong(obj4
) ? true : false;
7869 if (PyErr_Occurred()) SWIG_fail
;
7872 arg6
= PyInt_AsLong(obj5
) ? true : false;
7873 if (PyErr_Occurred()) SWIG_fail
;
7876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7877 result
= (bool)(arg1
)->Init((wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
7879 wxPyEndAllowThreads(__tstate
);
7880 if (PyErr_Occurred()) SWIG_fail
;
7882 resultobj
= PyInt_FromLong((long)result
);
7913 static PyObject
*_wrap_Locale_Init2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7914 PyObject
*resultobj
;
7915 wxLocale
*arg1
= (wxLocale
*) 0 ;
7916 int arg2
= (int) wxLANGUAGE_DEFAULT
;
7917 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
7919 PyObject
* obj0
= 0 ;
7921 (char *) "self",(char *) "language",(char *) "flags", NULL
7924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|ii:Locale_Init2",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7925 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7928 result
= (bool)(arg1
)->Init(arg2
,arg3
);
7930 wxPyEndAllowThreads(__tstate
);
7931 if (PyErr_Occurred()) SWIG_fail
;
7933 resultobj
= PyInt_FromLong((long)result
);
7940 static PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7941 PyObject
*resultobj
;
7947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemLanguage",kwnames
)) goto fail
;
7949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7950 result
= (int)wxLocale::GetSystemLanguage();
7952 wxPyEndAllowThreads(__tstate
);
7953 if (PyErr_Occurred()) SWIG_fail
;
7955 resultobj
= PyInt_FromLong((long)result
);
7962 static PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7963 PyObject
*resultobj
;
7969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncoding",kwnames
)) goto fail
;
7971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7972 result
= (int)wxLocale::GetSystemEncoding();
7974 wxPyEndAllowThreads(__tstate
);
7975 if (PyErr_Occurred()) SWIG_fail
;
7977 resultobj
= PyInt_FromLong((long)result
);
7984 static PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7985 PyObject
*resultobj
;
7991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncodingName",kwnames
)) goto fail
;
7993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7994 result
= wxLocale::GetSystemEncodingName();
7996 wxPyEndAllowThreads(__tstate
);
7997 if (PyErr_Occurred()) SWIG_fail
;
8001 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8003 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8012 static PyObject
*_wrap_Locale_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8013 PyObject
*resultobj
;
8014 wxLocale
*arg1
= (wxLocale
*) 0 ;
8016 PyObject
* obj0
= 0 ;
8018 (char *) "self", NULL
8021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsOk",kwnames
,&obj0
)) goto fail
;
8022 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8025 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
8027 wxPyEndAllowThreads(__tstate
);
8028 if (PyErr_Occurred()) SWIG_fail
;
8030 resultobj
= PyInt_FromLong((long)result
);
8037 static PyObject
*_wrap_Locale_GetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8038 PyObject
*resultobj
;
8039 wxLocale
*arg1
= (wxLocale
*) 0 ;
8041 PyObject
* obj0
= 0 ;
8043 (char *) "self", NULL
8046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLocale",kwnames
,&obj0
)) goto fail
;
8047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8050 result
= ((wxLocale
const *)arg1
)->GetLocale();
8052 wxPyEndAllowThreads(__tstate
);
8053 if (PyErr_Occurred()) SWIG_fail
;
8057 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8059 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8068 static PyObject
*_wrap_Locale_GetLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8069 PyObject
*resultobj
;
8070 wxLocale
*arg1
= (wxLocale
*) 0 ;
8072 PyObject
* obj0
= 0 ;
8074 (char *) "self", NULL
8077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguage",kwnames
,&obj0
)) goto fail
;
8078 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8081 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
8083 wxPyEndAllowThreads(__tstate
);
8084 if (PyErr_Occurred()) SWIG_fail
;
8086 resultobj
= PyInt_FromLong((long)result
);
8093 static PyObject
*_wrap_Locale_GetSysName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8094 PyObject
*resultobj
;
8095 wxLocale
*arg1
= (wxLocale
*) 0 ;
8097 PyObject
* obj0
= 0 ;
8099 (char *) "self", NULL
8102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetSysName",kwnames
,&obj0
)) goto fail
;
8103 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8106 result
= ((wxLocale
const *)arg1
)->GetSysName();
8108 wxPyEndAllowThreads(__tstate
);
8109 if (PyErr_Occurred()) SWIG_fail
;
8113 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8115 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8124 static PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8125 PyObject
*resultobj
;
8126 wxLocale
*arg1
= (wxLocale
*) 0 ;
8128 PyObject
* obj0
= 0 ;
8130 (char *) "self", NULL
8133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetCanonicalName",kwnames
,&obj0
)) goto fail
;
8134 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8137 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
8139 wxPyEndAllowThreads(__tstate
);
8140 if (PyErr_Occurred()) SWIG_fail
;
8144 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8146 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8155 static PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8156 PyObject
*resultobj
;
8157 wxString
*arg1
= 0 ;
8158 bool temp1
= False
;
8159 PyObject
* obj0
= 0 ;
8161 (char *) "prefix", NULL
8164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) goto fail
;
8166 arg1
= wxString_in_helper(obj0
);
8167 if (arg1
== NULL
) SWIG_fail
;
8171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8172 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
8174 wxPyEndAllowThreads(__tstate
);
8175 if (PyErr_Occurred()) SWIG_fail
;
8177 Py_INCREF(Py_None
); resultobj
= Py_None
;
8192 static PyObject
*_wrap_Locale_AddCatalog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8193 PyObject
*resultobj
;
8194 wxLocale
*arg1
= (wxLocale
*) 0 ;
8195 wxString
*arg2
= 0 ;
8197 bool temp2
= False
;
8198 PyObject
* obj0
= 0 ;
8199 PyObject
* obj1
= 0 ;
8201 (char *) "self",(char *) "szDomain", NULL
8204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) goto fail
;
8205 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8207 arg2
= wxString_in_helper(obj1
);
8208 if (arg2
== NULL
) SWIG_fail
;
8212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8213 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
8215 wxPyEndAllowThreads(__tstate
);
8216 if (PyErr_Occurred()) SWIG_fail
;
8218 resultobj
= PyInt_FromLong((long)result
);
8233 static PyObject
*_wrap_Locale_IsLoaded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8234 PyObject
*resultobj
;
8235 wxLocale
*arg1
= (wxLocale
*) 0 ;
8236 wxString
*arg2
= 0 ;
8238 bool temp2
= False
;
8239 PyObject
* obj0
= 0 ;
8240 PyObject
* obj1
= 0 ;
8242 (char *) "self",(char *) "szDomain", NULL
8245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) goto fail
;
8246 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8248 arg2
= wxString_in_helper(obj1
);
8249 if (arg2
== NULL
) SWIG_fail
;
8253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8254 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
8256 wxPyEndAllowThreads(__tstate
);
8257 if (PyErr_Occurred()) SWIG_fail
;
8259 resultobj
= PyInt_FromLong((long)result
);
8274 static PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8275 PyObject
*resultobj
;
8277 wxLanguageInfo
*result
;
8279 (char *) "lang", NULL
8282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:Locale_GetLanguageInfo",kwnames
,&arg1
)) goto fail
;
8284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8285 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
8287 wxPyEndAllowThreads(__tstate
);
8288 if (PyErr_Occurred()) SWIG_fail
;
8290 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLanguageInfo
, 0);
8297 static PyObject
*_wrap_Locale_GetLanguageName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8298 PyObject
*resultobj
;
8302 (char *) "lang", NULL
8305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:Locale_GetLanguageName",kwnames
,&arg1
)) goto fail
;
8307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8308 result
= wxLocale::GetLanguageName(arg1
);
8310 wxPyEndAllowThreads(__tstate
);
8311 if (PyErr_Occurred()) SWIG_fail
;
8315 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8317 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8326 static PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8327 PyObject
*resultobj
;
8328 wxString
*arg1
= 0 ;
8329 wxLanguageInfo
*result
;
8330 bool temp1
= False
;
8331 PyObject
* obj0
= 0 ;
8333 (char *) "locale", NULL
8336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) goto fail
;
8338 arg1
= wxString_in_helper(obj0
);
8339 if (arg1
== NULL
) SWIG_fail
;
8343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8344 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
8346 wxPyEndAllowThreads(__tstate
);
8347 if (PyErr_Occurred()) SWIG_fail
;
8349 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLanguageInfo
, 0);
8364 static PyObject
*_wrap_Locale_AddLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8365 PyObject
*resultobj
;
8366 wxLanguageInfo
*arg1
= 0 ;
8367 PyObject
* obj0
= 0 ;
8369 (char *) "info", NULL
8372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) goto fail
;
8373 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8375 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8379 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
8381 wxPyEndAllowThreads(__tstate
);
8382 if (PyErr_Occurred()) SWIG_fail
;
8384 Py_INCREF(Py_None
); resultobj
= Py_None
;
8391 static PyObject
*_wrap_Locale_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8392 PyObject
*resultobj
;
8393 wxLocale
*arg1
= (wxLocale
*) 0 ;
8394 wxString
*arg2
= 0 ;
8395 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8396 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8398 bool temp2
= False
;
8399 bool temp3
= False
;
8400 PyObject
* obj0
= 0 ;
8401 PyObject
* obj1
= 0 ;
8402 PyObject
* obj2
= 0 ;
8404 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
8407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8408 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8410 arg2
= wxString_in_helper(obj1
);
8411 if (arg2
== NULL
) SWIG_fail
;
8416 arg3
= wxString_in_helper(obj2
);
8417 if (arg3
== NULL
) SWIG_fail
;
8422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8423 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
8425 wxPyEndAllowThreads(__tstate
);
8426 if (PyErr_Occurred()) SWIG_fail
;
8430 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8432 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8457 static PyObject
*_wrap_Locale_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8458 PyObject
*resultobj
;
8459 wxLocale
*arg1
= (wxLocale
*) 0 ;
8461 PyObject
* obj0
= 0 ;
8463 (char *) "self", NULL
8466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetName",kwnames
,&obj0
)) goto fail
;
8467 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8471 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
8472 result
= (wxString
*) &_result_ref
;
8475 wxPyEndAllowThreads(__tstate
);
8476 if (PyErr_Occurred()) SWIG_fail
;
8478 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
8485 static PyObject
* Locale_swigregister(PyObject
*self
, PyObject
*args
) {
8487 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8488 SWIG_TypeClientData(SWIGTYPE_p_wxLocale
, obj
);
8490 return Py_BuildValue((char *)"");
8492 static PyObject
*_wrap_GetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8493 PyObject
*resultobj
;
8499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocale",kwnames
)) goto fail
;
8501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8502 result
= (wxLocale
*)wxGetLocale();
8504 wxPyEndAllowThreads(__tstate
);
8505 if (PyErr_Occurred()) SWIG_fail
;
8507 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLocale
, 0);
8514 static PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*self
, PyObject
*args
) {
8515 PyObject
*resultobj
;
8516 wxString
*arg1
= 0 ;
8518 bool temp1
= False
;
8519 PyObject
* obj0
= 0 ;
8521 if(!PyArg_ParseTuple(args
,(char *)"O:GetTranslation",&obj0
)) goto fail
;
8523 arg1
= wxString_in_helper(obj0
);
8524 if (arg1
== NULL
) SWIG_fail
;
8528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8529 result
= wxGetTranslation((wxString
const &)*arg1
);
8531 wxPyEndAllowThreads(__tstate
);
8532 if (PyErr_Occurred()) SWIG_fail
;
8536 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8538 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8555 static PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*self
, PyObject
*args
) {
8556 PyObject
*resultobj
;
8557 wxString
*arg1
= 0 ;
8558 wxString
*arg2
= 0 ;
8561 bool temp1
= False
;
8562 bool temp2
= False
;
8563 PyObject
* obj0
= 0 ;
8564 PyObject
* obj1
= 0 ;
8565 PyObject
* obj2
= 0 ;
8567 if(!PyArg_ParseTuple(args
,(char *)"OOO:GetTranslation",&obj0
,&obj1
,&obj2
)) goto fail
;
8569 arg1
= wxString_in_helper(obj0
);
8570 if (arg1
== NULL
) SWIG_fail
;
8574 arg2
= wxString_in_helper(obj1
);
8575 if (arg2
== NULL
) SWIG_fail
;
8578 arg3
= (size_t) PyInt_AsLong(obj2
);
8579 if (PyErr_Occurred()) SWIG_fail
;
8581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8582 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
8584 wxPyEndAllowThreads(__tstate
);
8585 if (PyErr_Occurred()) SWIG_fail
;
8589 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8591 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8616 static PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
8621 argc
= PyObject_Length(args
);
8622 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
8623 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8629 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxString
, 0) == -1) {
8637 return _wrap_GetTranslation__SWIG_0(self
,args
);
8644 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxString
, 0) == -1) {
8654 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxString
, 0) == -1) {
8663 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
8666 return _wrap_GetTranslation__SWIG_1(self
,args
);
8672 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GetTranslation'");
8677 static PyObject
*_wrap_new_EncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8678 PyObject
*resultobj
;
8679 wxEncodingConverter
*result
;
8684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EncodingConverter",kwnames
)) goto fail
;
8686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8687 result
= (wxEncodingConverter
*)new wxEncodingConverter();
8689 wxPyEndAllowThreads(__tstate
);
8690 if (PyErr_Occurred()) SWIG_fail
;
8692 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxEncodingConverter
, 1);
8699 static PyObject
*_wrap_delete_EncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8700 PyObject
*resultobj
;
8701 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
8702 PyObject
* obj0
= 0 ;
8704 (char *) "self", NULL
8707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EncodingConverter",kwnames
,&obj0
)) goto fail
;
8708 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEncodingConverter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8713 wxPyEndAllowThreads(__tstate
);
8714 if (PyErr_Occurred()) SWIG_fail
;
8716 Py_INCREF(Py_None
); resultobj
= Py_None
;
8723 static PyObject
*_wrap_EncodingConverter_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8724 PyObject
*resultobj
;
8725 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
8728 int arg4
= (int) wxCONVERT_STRICT
;
8730 PyObject
* obj0
= 0 ;
8732 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
8735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|i:EncodingConverter_Init",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
8736 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEncodingConverter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8739 result
= (bool)(arg1
)->Init((wxFontEncoding
)arg2
,(wxFontEncoding
)arg3
,arg4
);
8741 wxPyEndAllowThreads(__tstate
);
8742 if (PyErr_Occurred()) SWIG_fail
;
8744 resultobj
= PyInt_FromLong((long)result
);
8751 static PyObject
*_wrap_EncodingConverter_Convert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8752 PyObject
*resultobj
;
8753 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
8754 wxString
*arg2
= 0 ;
8756 bool temp2
= False
;
8757 PyObject
* obj0
= 0 ;
8758 PyObject
* obj1
= 0 ;
8760 (char *) "self",(char *) "input", NULL
8763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) goto fail
;
8764 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEncodingConverter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8766 arg2
= wxString_in_helper(obj1
);
8767 if (arg2
== NULL
) SWIG_fail
;
8771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8772 result
= (arg1
)->Convert((wxString
const &)*arg2
);
8774 wxPyEndAllowThreads(__tstate
);
8775 if (PyErr_Occurred()) SWIG_fail
;
8779 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8781 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8798 static PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8799 PyObject
*resultobj
;
8801 int arg2
= (int) wxPLATFORM_CURRENT
;
8802 wxFontEncodingArray result
;
8804 (char *) "enc",(char *) "platform", NULL
8807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i|i:EncodingConverter_GetPlatformEquivalents",kwnames
,&arg1
,&arg2
)) goto fail
;
8809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8810 result
= wxEncodingConverter::GetPlatformEquivalents((wxFontEncoding
)arg1
,arg2
);
8812 wxPyEndAllowThreads(__tstate
);
8813 if (PyErr_Occurred()) SWIG_fail
;
8816 resultobj
= PyList_New(0);
8817 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
8818 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
8819 PyList_Append(resultobj
, number
);
8829 static PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8830 PyObject
*resultobj
;
8832 wxFontEncodingArray result
;
8834 (char *) "enc", NULL
8837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:EncodingConverter_GetAllEquivalents",kwnames
,&arg1
)) goto fail
;
8839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8840 result
= wxEncodingConverter::GetAllEquivalents((wxFontEncoding
)arg1
);
8842 wxPyEndAllowThreads(__tstate
);
8843 if (PyErr_Occurred()) SWIG_fail
;
8846 resultobj
= PyList_New(0);
8847 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
8848 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
8849 PyList_Append(resultobj
, number
);
8859 static PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8860 PyObject
*resultobj
;
8865 (char *) "encIn",(char *) "encOut", NULL
8868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"ii:EncodingConverter_CanConvert",kwnames
,&arg1
,&arg2
)) goto fail
;
8870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8871 result
= (bool)wxEncodingConverter::CanConvert((wxFontEncoding
)arg1
,(wxFontEncoding
)arg2
);
8873 wxPyEndAllowThreads(__tstate
);
8874 if (PyErr_Occurred()) SWIG_fail
;
8876 resultobj
= PyInt_FromLong((long)result
);
8883 static PyObject
* EncodingConverter_swigregister(PyObject
*self
, PyObject
*args
) {
8885 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8886 SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter
, obj
);
8888 return Py_BuildValue((char *)"");
8890 static PyObject
*_wrap_delete_DC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8891 PyObject
*resultobj
;
8892 wxDC
*arg1
= (wxDC
*) 0 ;
8893 PyObject
* obj0
= 0 ;
8895 (char *) "self", NULL
8898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DC",kwnames
,&obj0
)) goto fail
;
8899 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8904 wxPyEndAllowThreads(__tstate
);
8905 if (PyErr_Occurred()) SWIG_fail
;
8907 Py_INCREF(Py_None
); resultobj
= Py_None
;
8914 static PyObject
*_wrap_DC_BeginDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8915 PyObject
*resultobj
;
8916 wxDC
*arg1
= (wxDC
*) 0 ;
8917 PyObject
* obj0
= 0 ;
8919 (char *) "self", NULL
8922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_BeginDrawing",kwnames
,&obj0
)) goto fail
;
8923 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8926 (arg1
)->BeginDrawing();
8928 wxPyEndAllowThreads(__tstate
);
8929 if (PyErr_Occurred()) SWIG_fail
;
8931 Py_INCREF(Py_None
); resultobj
= Py_None
;
8938 static PyObject
*_wrap_DC_EndDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8939 PyObject
*resultobj
;
8940 wxDC
*arg1
= (wxDC
*) 0 ;
8941 PyObject
* obj0
= 0 ;
8943 (char *) "self", NULL
8946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDrawing",kwnames
,&obj0
)) goto fail
;
8947 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8950 (arg1
)->EndDrawing();
8952 wxPyEndAllowThreads(__tstate
);
8953 if (PyErr_Occurred()) SWIG_fail
;
8955 Py_INCREF(Py_None
); resultobj
= Py_None
;
8962 static PyObject
*_wrap_DC_FloodFillXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8963 PyObject
*resultobj
;
8964 wxDC
*arg1
= (wxDC
*) 0 ;
8967 wxColour
*arg4
= 0 ;
8968 int arg5
= (int) wxFLOOD_SURFACE
;
8971 PyObject
* obj0
= 0 ;
8972 PyObject
* obj3
= 0 ;
8974 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
8977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO|i:DC_FloodFillXY",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
,&arg5
)) goto fail
;
8978 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8981 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
8984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8985 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
8987 wxPyEndAllowThreads(__tstate
);
8988 if (PyErr_Occurred()) SWIG_fail
;
8990 resultobj
= PyInt_FromLong((long)result
);
8997 static PyObject
*_wrap_DC_FloodFill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8998 PyObject
*resultobj
;
8999 wxDC
*arg1
= (wxDC
*) 0 ;
9001 wxColour
*arg3
= 0 ;
9002 int arg4
= (int) wxFLOOD_SURFACE
;
9006 PyObject
* obj0
= 0 ;
9007 PyObject
* obj1
= 0 ;
9008 PyObject
* obj2
= 0 ;
9010 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
9013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
9014 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9017 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9021 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9025 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
9027 wxPyEndAllowThreads(__tstate
);
9028 if (PyErr_Occurred()) SWIG_fail
;
9030 resultobj
= PyInt_FromLong((long)result
);
9037 static PyObject
*_wrap_DC_GetPixelXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9038 PyObject
*resultobj
;
9039 wxDC
*arg1
= (wxDC
*) 0 ;
9043 PyObject
* obj0
= 0 ;
9045 (char *) "self",(char *) "x",(char *) "y", NULL
9048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:DC_GetPixelXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
9049 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9052 result
= wxDC_GetPixelXY(arg1
,arg2
,arg3
);
9054 wxPyEndAllowThreads(__tstate
);
9055 if (PyErr_Occurred()) SWIG_fail
;
9058 wxColour
* resultptr
;
9059 resultptr
= new wxColour((wxColour
&) result
);
9060 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
9068 static PyObject
*_wrap_DC_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9069 PyObject
*resultobj
;
9070 wxDC
*arg1
= (wxDC
*) 0 ;
9074 PyObject
* obj0
= 0 ;
9075 PyObject
* obj1
= 0 ;
9077 (char *) "self",(char *) "pt", NULL
9080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixel",kwnames
,&obj0
,&obj1
)) goto fail
;
9081 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9084 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9088 result
= wxDC_GetPixel(arg1
,(wxPoint
const &)*arg2
);
9090 wxPyEndAllowThreads(__tstate
);
9091 if (PyErr_Occurred()) SWIG_fail
;
9094 wxColour
* resultptr
;
9095 resultptr
= new wxColour((wxColour
&) result
);
9096 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
9104 static PyObject
*_wrap_DC_DrawLineXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9105 PyObject
*resultobj
;
9106 wxDC
*arg1
= (wxDC
*) 0 ;
9111 PyObject
* obj0
= 0 ;
9113 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
9116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:DC_DrawLineXY",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
9117 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9120 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
9122 wxPyEndAllowThreads(__tstate
);
9123 if (PyErr_Occurred()) SWIG_fail
;
9125 Py_INCREF(Py_None
); resultobj
= Py_None
;
9132 static PyObject
*_wrap_DC_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9133 PyObject
*resultobj
;
9134 wxDC
*arg1
= (wxDC
*) 0 ;
9139 PyObject
* obj0
= 0 ;
9140 PyObject
* obj1
= 0 ;
9141 PyObject
* obj2
= 0 ;
9143 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
9146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9147 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9150 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9154 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9158 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
9160 wxPyEndAllowThreads(__tstate
);
9161 if (PyErr_Occurred()) SWIG_fail
;
9163 Py_INCREF(Py_None
); resultobj
= Py_None
;
9170 static PyObject
*_wrap_DC_CrossHairXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9171 PyObject
*resultobj
;
9172 wxDC
*arg1
= (wxDC
*) 0 ;
9175 PyObject
* obj0
= 0 ;
9177 (char *) "self",(char *) "x",(char *) "y", NULL
9180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:DC_CrossHairXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
9181 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9184 (arg1
)->CrossHair(arg2
,arg3
);
9186 wxPyEndAllowThreads(__tstate
);
9187 if (PyErr_Occurred()) SWIG_fail
;
9189 Py_INCREF(Py_None
); resultobj
= Py_None
;
9196 static PyObject
*_wrap_DC_CrossHair(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9197 PyObject
*resultobj
;
9198 wxDC
*arg1
= (wxDC
*) 0 ;
9201 PyObject
* obj0
= 0 ;
9202 PyObject
* obj1
= 0 ;
9204 (char *) "self",(char *) "pt", NULL
9207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHair",kwnames
,&obj0
,&obj1
)) goto fail
;
9208 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9211 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9215 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
9217 wxPyEndAllowThreads(__tstate
);
9218 if (PyErr_Occurred()) SWIG_fail
;
9220 Py_INCREF(Py_None
); resultobj
= Py_None
;
9227 static PyObject
*_wrap_DC_DrawArcXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9228 PyObject
*resultobj
;
9229 wxDC
*arg1
= (wxDC
*) 0 ;
9236 PyObject
* obj0
= 0 ;
9238 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
9241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiiiii:DC_DrawArcXY",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
9242 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9245 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9247 wxPyEndAllowThreads(__tstate
);
9248 if (PyErr_Occurred()) SWIG_fail
;
9250 Py_INCREF(Py_None
); resultobj
= Py_None
;
9257 static PyObject
*_wrap_DC_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9258 PyObject
*resultobj
;
9259 wxDC
*arg1
= (wxDC
*) 0 ;
9266 PyObject
* obj0
= 0 ;
9267 PyObject
* obj1
= 0 ;
9268 PyObject
* obj2
= 0 ;
9269 PyObject
* obj3
= 0 ;
9271 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "centre", NULL
9274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9275 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9278 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9282 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9286 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9290 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
9292 wxPyEndAllowThreads(__tstate
);
9293 if (PyErr_Occurred()) SWIG_fail
;
9295 Py_INCREF(Py_None
); resultobj
= Py_None
;
9302 static PyObject
*_wrap_DC_DrawCheckMarkXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9303 PyObject
*resultobj
;
9304 wxDC
*arg1
= (wxDC
*) 0 ;
9309 PyObject
* obj0
= 0 ;
9311 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
9314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:DC_DrawCheckMarkXY",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
9315 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9318 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
9320 wxPyEndAllowThreads(__tstate
);
9321 if (PyErr_Occurred()) SWIG_fail
;
9323 Py_INCREF(Py_None
); resultobj
= Py_None
;
9330 static PyObject
*_wrap_DC_DrawCheckMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9331 PyObject
*resultobj
;
9332 wxDC
*arg1
= (wxDC
*) 0 ;
9335 PyObject
* obj0
= 0 ;
9336 PyObject
* obj1
= 0 ;
9338 (char *) "self",(char *) "rect", NULL
9341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
)) goto fail
;
9342 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9345 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9349 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
9351 wxPyEndAllowThreads(__tstate
);
9352 if (PyErr_Occurred()) SWIG_fail
;
9354 Py_INCREF(Py_None
); resultobj
= Py_None
;
9361 static PyObject
*_wrap_DC_DrawEllipticArcXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9362 PyObject
*resultobj
;
9363 wxDC
*arg1
= (wxDC
*) 0 ;
9370 PyObject
* obj0
= 0 ;
9372 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "sa",(char *) "ea", NULL
9375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiiidd:DC_DrawEllipticArcXY",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
9376 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9379 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9381 wxPyEndAllowThreads(__tstate
);
9382 if (PyErr_Occurred()) SWIG_fail
;
9384 Py_INCREF(Py_None
); resultobj
= Py_None
;
9391 static PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9392 PyObject
*resultobj
;
9393 wxDC
*arg1
= (wxDC
*) 0 ;
9400 PyObject
* obj0
= 0 ;
9401 PyObject
* obj1
= 0 ;
9402 PyObject
* obj2
= 0 ;
9404 (char *) "self",(char *) "pt",(char *) "sz",(char *) "sa",(char *) "ea", NULL
9407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
)) goto fail
;
9408 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9411 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9415 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
9418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9419 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
9421 wxPyEndAllowThreads(__tstate
);
9422 if (PyErr_Occurred()) SWIG_fail
;
9424 Py_INCREF(Py_None
); resultobj
= Py_None
;
9431 static PyObject
*_wrap_DC_DrawPointXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9432 PyObject
*resultobj
;
9433 wxDC
*arg1
= (wxDC
*) 0 ;
9436 PyObject
* obj0
= 0 ;
9438 (char *) "self",(char *) "x",(char *) "y", NULL
9441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:DC_DrawPointXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
9442 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9445 (arg1
)->DrawPoint(arg2
,arg3
);
9447 wxPyEndAllowThreads(__tstate
);
9448 if (PyErr_Occurred()) SWIG_fail
;
9450 Py_INCREF(Py_None
); resultobj
= Py_None
;
9457 static PyObject
*_wrap_DC_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9458 PyObject
*resultobj
;
9459 wxDC
*arg1
= (wxDC
*) 0 ;
9462 PyObject
* obj0
= 0 ;
9463 PyObject
* obj1
= 0 ;
9465 (char *) "self",(char *) "pt", NULL
9468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
9469 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9472 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9476 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
9478 wxPyEndAllowThreads(__tstate
);
9479 if (PyErr_Occurred()) SWIG_fail
;
9481 Py_INCREF(Py_None
); resultobj
= Py_None
;
9488 static PyObject
*_wrap_DC_DrawRectangleXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9489 PyObject
*resultobj
;
9490 wxDC
*arg1
= (wxDC
*) 0 ;
9495 PyObject
* obj0
= 0 ;
9497 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
9500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:DC_DrawRectangleXY",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
9501 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9504 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
9506 wxPyEndAllowThreads(__tstate
);
9507 if (PyErr_Occurred()) SWIG_fail
;
9509 Py_INCREF(Py_None
); resultobj
= Py_None
;
9516 static PyObject
*_wrap_DC_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9517 PyObject
*resultobj
;
9518 wxDC
*arg1
= (wxDC
*) 0 ;
9523 PyObject
* obj0
= 0 ;
9524 PyObject
* obj1
= 0 ;
9525 PyObject
* obj2
= 0 ;
9527 (char *) "self",(char *) "pt",(char *) "sz", NULL
9530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9531 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9534 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9538 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
9541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9542 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
9544 wxPyEndAllowThreads(__tstate
);
9545 if (PyErr_Occurred()) SWIG_fail
;
9547 Py_INCREF(Py_None
); resultobj
= Py_None
;
9554 static PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9555 PyObject
*resultobj
;
9556 wxDC
*arg1
= (wxDC
*) 0 ;
9559 PyObject
* obj0
= 0 ;
9560 PyObject
* obj1
= 0 ;
9562 (char *) "self",(char *) "rect", NULL
9565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) goto fail
;
9566 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9569 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9573 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
9575 wxPyEndAllowThreads(__tstate
);
9576 if (PyErr_Occurred()) SWIG_fail
;
9578 Py_INCREF(Py_None
); resultobj
= Py_None
;
9585 static PyObject
*_wrap_DC_DrawRoundedRectangleXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9586 PyObject
*resultobj
;
9587 wxDC
*arg1
= (wxDC
*) 0 ;
9593 PyObject
* obj0
= 0 ;
9595 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
9598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiiid:DC_DrawRoundedRectangleXY",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
9599 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9602 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
9604 wxPyEndAllowThreads(__tstate
);
9605 if (PyErr_Occurred()) SWIG_fail
;
9607 Py_INCREF(Py_None
); resultobj
= Py_None
;
9614 static PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9615 PyObject
*resultobj
;
9616 wxDC
*arg1
= (wxDC
*) 0 ;
9622 PyObject
* obj0
= 0 ;
9623 PyObject
* obj1
= 0 ;
9624 PyObject
* obj2
= 0 ;
9626 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
9629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOd:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
9630 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9633 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9637 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
9640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9641 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
9643 wxPyEndAllowThreads(__tstate
);
9644 if (PyErr_Occurred()) SWIG_fail
;
9646 Py_INCREF(Py_None
); resultobj
= Py_None
;
9653 static PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9654 PyObject
*resultobj
;
9655 wxDC
*arg1
= (wxDC
*) 0 ;
9659 PyObject
* obj0
= 0 ;
9660 PyObject
* obj1
= 0 ;
9662 (char *) "self",(char *) "r",(char *) "radius", NULL
9665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOd:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
9666 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9669 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9673 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
9675 wxPyEndAllowThreads(__tstate
);
9676 if (PyErr_Occurred()) SWIG_fail
;
9678 Py_INCREF(Py_None
); resultobj
= Py_None
;
9685 static PyObject
*_wrap_DC_DrawCircleXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9686 PyObject
*resultobj
;
9687 wxDC
*arg1
= (wxDC
*) 0 ;
9691 PyObject
* obj0
= 0 ;
9693 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
9696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:DC_DrawCircleXY",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
9697 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9700 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
9702 wxPyEndAllowThreads(__tstate
);
9703 if (PyErr_Occurred()) SWIG_fail
;
9705 Py_INCREF(Py_None
); resultobj
= Py_None
;
9712 static PyObject
*_wrap_DC_DrawCircle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9713 PyObject
*resultobj
;
9714 wxDC
*arg1
= (wxDC
*) 0 ;
9718 PyObject
* obj0
= 0 ;
9719 PyObject
* obj1
= 0 ;
9721 (char *) "self",(char *) "pt",(char *) "radius", NULL
9724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
9725 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9728 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9732 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
9734 wxPyEndAllowThreads(__tstate
);
9735 if (PyErr_Occurred()) SWIG_fail
;
9737 Py_INCREF(Py_None
); resultobj
= Py_None
;
9744 static PyObject
*_wrap_DC_DrawEllipseXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9745 PyObject
*resultobj
;
9746 wxDC
*arg1
= (wxDC
*) 0 ;
9751 PyObject
* obj0
= 0 ;
9753 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
9756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:DC_DrawEllipseXY",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
9757 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9760 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
9762 wxPyEndAllowThreads(__tstate
);
9763 if (PyErr_Occurred()) SWIG_fail
;
9765 Py_INCREF(Py_None
); resultobj
= Py_None
;
9772 static PyObject
*_wrap_DC_DrawEllipse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9773 PyObject
*resultobj
;
9774 wxDC
*arg1
= (wxDC
*) 0 ;
9779 PyObject
* obj0
= 0 ;
9780 PyObject
* obj1
= 0 ;
9781 PyObject
* obj2
= 0 ;
9783 (char *) "self",(char *) "pt",(char *) "sz", NULL
9786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9787 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9790 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9794 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
9797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9798 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
9800 wxPyEndAllowThreads(__tstate
);
9801 if (PyErr_Occurred()) SWIG_fail
;
9803 Py_INCREF(Py_None
); resultobj
= Py_None
;
9810 static PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9811 PyObject
*resultobj
;
9812 wxDC
*arg1
= (wxDC
*) 0 ;
9815 PyObject
* obj0
= 0 ;
9816 PyObject
* obj1
= 0 ;
9818 (char *) "self",(char *) "rect", NULL
9821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) goto fail
;
9822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9825 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9829 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
9831 wxPyEndAllowThreads(__tstate
);
9832 if (PyErr_Occurred()) SWIG_fail
;
9834 Py_INCREF(Py_None
); resultobj
= Py_None
;
9841 static PyObject
*_wrap_DC_DrawIconXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9842 PyObject
*resultobj
;
9843 wxDC
*arg1
= (wxDC
*) 0 ;
9847 PyObject
* obj0
= 0 ;
9848 PyObject
* obj1
= 0 ;
9850 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
9853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii:DC_DrawIconXY",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
9854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9855 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9857 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9861 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
9863 wxPyEndAllowThreads(__tstate
);
9864 if (PyErr_Occurred()) SWIG_fail
;
9866 Py_INCREF(Py_None
); resultobj
= Py_None
;
9873 static PyObject
*_wrap_DC_DrawIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9874 PyObject
*resultobj
;
9875 wxDC
*arg1
= (wxDC
*) 0 ;
9879 PyObject
* obj0
= 0 ;
9880 PyObject
* obj1
= 0 ;
9881 PyObject
* obj2
= 0 ;
9883 (char *) "self",(char *) "icon",(char *) "pt", NULL
9886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9887 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9888 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9890 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9894 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9898 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
9900 wxPyEndAllowThreads(__tstate
);
9901 if (PyErr_Occurred()) SWIG_fail
;
9903 Py_INCREF(Py_None
); resultobj
= Py_None
;
9910 static PyObject
*_wrap_DC_DrawBitmapXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9911 PyObject
*resultobj
;
9912 wxDC
*arg1
= (wxDC
*) 0 ;
9913 wxBitmap
*arg2
= 0 ;
9916 bool arg5
= (bool) False
;
9917 PyObject
* obj0
= 0 ;
9918 PyObject
* obj1
= 0 ;
9919 PyObject
* obj4
= 0 ;
9921 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
9924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii|O:DC_DrawBitmapXY",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&obj4
)) goto fail
;
9925 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9926 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9928 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9931 arg5
= PyInt_AsLong(obj4
) ? true : false;
9932 if (PyErr_Occurred()) SWIG_fail
;
9935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9936 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
9938 wxPyEndAllowThreads(__tstate
);
9939 if (PyErr_Occurred()) SWIG_fail
;
9941 Py_INCREF(Py_None
); resultobj
= Py_None
;
9948 static PyObject
*_wrap_DC_DrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9949 PyObject
*resultobj
;
9950 wxDC
*arg1
= (wxDC
*) 0 ;
9951 wxBitmap
*arg2
= 0 ;
9953 bool arg4
= (bool) False
;
9955 PyObject
* obj0
= 0 ;
9956 PyObject
* obj1
= 0 ;
9957 PyObject
* obj2
= 0 ;
9958 PyObject
* obj3
= 0 ;
9960 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
9963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9964 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9965 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9967 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9971 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9974 arg4
= PyInt_AsLong(obj3
) ? true : false;
9975 if (PyErr_Occurred()) SWIG_fail
;
9978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9979 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
9981 wxPyEndAllowThreads(__tstate
);
9982 if (PyErr_Occurred()) SWIG_fail
;
9984 Py_INCREF(Py_None
); resultobj
= Py_None
;
9991 static PyObject
*_wrap_DC_DrawTextXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9992 PyObject
*resultobj
;
9993 wxDC
*arg1
= (wxDC
*) 0 ;
9994 wxString
*arg2
= 0 ;
9997 bool temp2
= False
;
9998 PyObject
* obj0
= 0 ;
9999 PyObject
* obj1
= 0 ;
10000 char *kwnames
[] = {
10001 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
10004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii:DC_DrawTextXY",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
10005 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10007 arg2
= wxString_in_helper(obj1
);
10008 if (arg2
== NULL
) SWIG_fail
;
10012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10013 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
10015 wxPyEndAllowThreads(__tstate
);
10016 if (PyErr_Occurred()) SWIG_fail
;
10018 Py_INCREF(Py_None
); resultobj
= Py_None
;
10033 static PyObject
*_wrap_DC_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10034 PyObject
*resultobj
;
10035 wxDC
*arg1
= (wxDC
*) 0 ;
10036 wxString
*arg2
= 0 ;
10037 wxPoint
*arg3
= 0 ;
10038 bool temp2
= False
;
10040 PyObject
* obj0
= 0 ;
10041 PyObject
* obj1
= 0 ;
10042 PyObject
* obj2
= 0 ;
10043 char *kwnames
[] = {
10044 (char *) "self",(char *) "text",(char *) "pt", NULL
10047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10048 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10050 arg2
= wxString_in_helper(obj1
);
10051 if (arg2
== NULL
) SWIG_fail
;
10056 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10060 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
10062 wxPyEndAllowThreads(__tstate
);
10063 if (PyErr_Occurred()) SWIG_fail
;
10065 Py_INCREF(Py_None
); resultobj
= Py_None
;
10080 static PyObject
*_wrap_DC_DrawRotatedTextXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10081 PyObject
*resultobj
;
10082 wxDC
*arg1
= (wxDC
*) 0 ;
10083 wxString
*arg2
= 0 ;
10087 bool temp2
= False
;
10088 PyObject
* obj0
= 0 ;
10089 PyObject
* obj1
= 0 ;
10090 char *kwnames
[] = {
10091 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
10094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiid:DC_DrawRotatedTextXY",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
)) goto fail
;
10095 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10097 arg2
= wxString_in_helper(obj1
);
10098 if (arg2
== NULL
) SWIG_fail
;
10102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10103 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
10105 wxPyEndAllowThreads(__tstate
);
10106 if (PyErr_Occurred()) SWIG_fail
;
10108 Py_INCREF(Py_None
); resultobj
= Py_None
;
10123 static PyObject
*_wrap_DC_DrawRotatedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10124 PyObject
*resultobj
;
10125 wxDC
*arg1
= (wxDC
*) 0 ;
10126 wxString
*arg2
= 0 ;
10127 wxPoint
*arg3
= 0 ;
10129 bool temp2
= False
;
10131 PyObject
* obj0
= 0 ;
10132 PyObject
* obj1
= 0 ;
10133 PyObject
* obj2
= 0 ;
10134 char *kwnames
[] = {
10135 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
10138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOd:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
10139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10141 arg2
= wxString_in_helper(obj1
);
10142 if (arg2
== NULL
) SWIG_fail
;
10147 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10151 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
10153 wxPyEndAllowThreads(__tstate
);
10154 if (PyErr_Occurred()) SWIG_fail
;
10156 Py_INCREF(Py_None
); resultobj
= Py_None
;
10171 static PyObject
*_wrap_DC_BlitXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10172 PyObject
*resultobj
;
10173 wxDC
*arg1
= (wxDC
*) 0 ;
10178 wxDC
*arg6
= (wxDC
*) 0 ;
10181 int arg9
= (int) wxCOPY
;
10182 bool arg10
= (bool) False
;
10183 int arg11
= (int) -1 ;
10184 int arg12
= (int) -1 ;
10186 PyObject
* obj0
= 0 ;
10187 PyObject
* obj5
= 0 ;
10188 PyObject
* obj9
= 0 ;
10189 char *kwnames
[] = {
10190 (char *) "self",(char *) "xdest",(char *) "ydest",(char *) "width",(char *) "height",(char *) "source",(char *) "xsrc",(char *) "ysrc",(char *) "rop",(char *) "useMask",(char *) "xsrcMask",(char *) "ysrcMask", NULL
10193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiiiOii|iOii:DC_BlitXY",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&obj5
,&arg7
,&arg8
,&arg9
,&obj9
,&arg11
,&arg12
)) goto fail
;
10194 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10195 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10197 arg10
= PyInt_AsLong(obj9
) ? true : false;
10198 if (PyErr_Occurred()) SWIG_fail
;
10201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10202 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
10204 wxPyEndAllowThreads(__tstate
);
10205 if (PyErr_Occurred()) SWIG_fail
;
10207 resultobj
= PyInt_FromLong((long)result
);
10214 static PyObject
*_wrap_DC_Blit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10215 PyObject
*resultobj
;
10216 wxDC
*arg1
= (wxDC
*) 0 ;
10217 wxPoint
*arg2
= 0 ;
10219 wxDC
*arg4
= (wxDC
*) 0 ;
10220 wxPoint
*arg5
= 0 ;
10221 int arg6
= (int) wxCOPY
;
10222 bool arg7
= (bool) False
;
10223 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
10224 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
10230 PyObject
* obj0
= 0 ;
10231 PyObject
* obj1
= 0 ;
10232 PyObject
* obj2
= 0 ;
10233 PyObject
* obj3
= 0 ;
10234 PyObject
* obj4
= 0 ;
10235 PyObject
* obj6
= 0 ;
10236 PyObject
* obj7
= 0 ;
10237 char *kwnames
[] = {
10238 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
10241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|iOO:DC_Blit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
10242 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10245 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10249 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
10251 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10254 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
10257 arg7
= PyInt_AsLong(obj6
) ? true : false;
10258 if (PyErr_Occurred()) SWIG_fail
;
10263 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
10267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10268 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
10270 wxPyEndAllowThreads(__tstate
);
10271 if (PyErr_Occurred()) SWIG_fail
;
10273 resultobj
= PyInt_FromLong((long)result
);
10280 static PyObject
*_wrap_DC_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10281 PyObject
*resultobj
;
10282 wxDC
*arg1
= (wxDC
*) 0 ;
10284 wxPoint
*arg3
= (wxPoint
*) 0 ;
10285 int arg4
= (int) 0 ;
10286 int arg5
= (int) 0 ;
10287 PyObject
* obj0
= 0 ;
10288 PyObject
* obj1
= 0 ;
10289 char *kwnames
[] = {
10290 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
10293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|ii:DC_DrawLines",kwnames
,&obj0
,&obj1
,&arg4
,&arg5
)) goto fail
;
10294 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10296 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
10297 if (arg3
== NULL
) SWIG_fail
;
10300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10301 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
10303 wxPyEndAllowThreads(__tstate
);
10304 if (PyErr_Occurred()) SWIG_fail
;
10306 Py_INCREF(Py_None
); resultobj
= Py_None
;
10308 if (arg3
) delete [] arg3
;
10313 if (arg3
) delete [] arg3
;
10319 static PyObject
*_wrap_DC_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10320 PyObject
*resultobj
;
10321 wxDC
*arg1
= (wxDC
*) 0 ;
10323 wxPoint
*arg3
= (wxPoint
*) 0 ;
10324 int arg4
= (int) 0 ;
10325 int arg5
= (int) 0 ;
10326 int arg6
= (int) wxODDEVEN_RULE
;
10327 PyObject
* obj0
= 0 ;
10328 PyObject
* obj1
= 0 ;
10329 char *kwnames
[] = {
10330 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
10333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iii:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&arg4
,&arg5
,&arg6
)) goto fail
;
10334 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10336 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
10337 if (arg3
== NULL
) SWIG_fail
;
10340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10341 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
10343 wxPyEndAllowThreads(__tstate
);
10344 if (PyErr_Occurred()) SWIG_fail
;
10346 Py_INCREF(Py_None
); resultobj
= Py_None
;
10348 if (arg3
) delete [] arg3
;
10353 if (arg3
) delete [] arg3
;
10359 static PyObject
*_wrap_DC_DrawLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10360 PyObject
*resultobj
;
10361 wxDC
*arg1
= (wxDC
*) 0 ;
10362 wxString
*arg2
= 0 ;
10364 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
10365 int arg5
= (int) -1 ;
10366 bool temp2
= False
;
10368 PyObject
* obj0
= 0 ;
10369 PyObject
* obj1
= 0 ;
10370 PyObject
* obj2
= 0 ;
10371 char *kwnames
[] = {
10372 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
10375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|ii:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
)) goto fail
;
10376 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10378 arg2
= wxString_in_helper(obj1
);
10379 if (arg2
== NULL
) SWIG_fail
;
10384 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
10387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10388 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
10390 wxPyEndAllowThreads(__tstate
);
10391 if (PyErr_Occurred()) SWIG_fail
;
10393 Py_INCREF(Py_None
); resultobj
= Py_None
;
10408 static PyObject
*_wrap_DC_DrawImageLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10409 PyObject
*resultobj
;
10410 wxDC
*arg1
= (wxDC
*) 0 ;
10411 wxString
*arg2
= 0 ;
10412 wxBitmap
*arg3
= 0 ;
10414 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
10415 int arg6
= (int) -1 ;
10417 bool temp2
= False
;
10419 PyObject
* obj0
= 0 ;
10420 PyObject
* obj1
= 0 ;
10421 PyObject
* obj2
= 0 ;
10422 PyObject
* obj3
= 0 ;
10423 char *kwnames
[] = {
10424 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
10427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|ii:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&arg6
)) goto fail
;
10428 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10430 arg2
= wxString_in_helper(obj1
);
10431 if (arg2
== NULL
) SWIG_fail
;
10434 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10435 if (arg3
== NULL
) {
10436 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10440 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
10443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10444 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
10446 wxPyEndAllowThreads(__tstate
);
10447 if (PyErr_Occurred()) SWIG_fail
;
10450 wxRect
* resultptr
;
10451 resultptr
= new wxRect((wxRect
&) result
);
10452 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
10468 static PyObject
*_wrap_DC_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10469 PyObject
*resultobj
;
10470 wxDC
*arg1
= (wxDC
*) 0 ;
10472 wxPoint
*arg3
= (wxPoint
*) 0 ;
10473 PyObject
* obj0
= 0 ;
10474 PyObject
* obj1
= 0 ;
10475 char *kwnames
[] = {
10476 (char *) "self",(char *) "points", NULL
10479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
10480 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10482 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
10483 if (arg3
== NULL
) SWIG_fail
;
10486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10487 (arg1
)->DrawSpline(arg2
,arg3
);
10489 wxPyEndAllowThreads(__tstate
);
10490 if (PyErr_Occurred()) SWIG_fail
;
10492 Py_INCREF(Py_None
); resultobj
= Py_None
;
10494 if (arg3
) delete [] arg3
;
10499 if (arg3
) delete [] arg3
;
10505 static PyObject
*_wrap_DC_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10506 PyObject
*resultobj
;
10507 wxDC
*arg1
= (wxDC
*) 0 ;
10508 PyObject
* obj0
= 0 ;
10509 char *kwnames
[] = {
10510 (char *) "self", NULL
10513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Clear",kwnames
,&obj0
)) goto fail
;
10514 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10519 wxPyEndAllowThreads(__tstate
);
10520 if (PyErr_Occurred()) SWIG_fail
;
10522 Py_INCREF(Py_None
); resultobj
= Py_None
;
10529 static PyObject
*_wrap_DC_StartDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10530 PyObject
*resultobj
;
10531 wxDC
*arg1
= (wxDC
*) 0 ;
10532 wxString
*arg2
= 0 ;
10534 bool temp2
= False
;
10535 PyObject
* obj0
= 0 ;
10536 PyObject
* obj1
= 0 ;
10537 char *kwnames
[] = {
10538 (char *) "self",(char *) "message", NULL
10541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) goto fail
;
10542 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10544 arg2
= wxString_in_helper(obj1
);
10545 if (arg2
== NULL
) SWIG_fail
;
10549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10550 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
10552 wxPyEndAllowThreads(__tstate
);
10553 if (PyErr_Occurred()) SWIG_fail
;
10555 resultobj
= PyInt_FromLong((long)result
);
10570 static PyObject
*_wrap_DC_EndDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10571 PyObject
*resultobj
;
10572 wxDC
*arg1
= (wxDC
*) 0 ;
10573 PyObject
* obj0
= 0 ;
10574 char *kwnames
[] = {
10575 (char *) "self", NULL
10578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDoc",kwnames
,&obj0
)) goto fail
;
10579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10584 wxPyEndAllowThreads(__tstate
);
10585 if (PyErr_Occurred()) SWIG_fail
;
10587 Py_INCREF(Py_None
); resultobj
= Py_None
;
10594 static PyObject
*_wrap_DC_StartPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10595 PyObject
*resultobj
;
10596 wxDC
*arg1
= (wxDC
*) 0 ;
10597 PyObject
* obj0
= 0 ;
10598 char *kwnames
[] = {
10599 (char *) "self", NULL
10602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_StartPage",kwnames
,&obj0
)) goto fail
;
10603 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10606 (arg1
)->StartPage();
10608 wxPyEndAllowThreads(__tstate
);
10609 if (PyErr_Occurred()) SWIG_fail
;
10611 Py_INCREF(Py_None
); resultobj
= Py_None
;
10618 static PyObject
*_wrap_DC_EndPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10619 PyObject
*resultobj
;
10620 wxDC
*arg1
= (wxDC
*) 0 ;
10621 PyObject
* obj0
= 0 ;
10622 char *kwnames
[] = {
10623 (char *) "self", NULL
10626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndPage",kwnames
,&obj0
)) goto fail
;
10627 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10632 wxPyEndAllowThreads(__tstate
);
10633 if (PyErr_Occurred()) SWIG_fail
;
10635 Py_INCREF(Py_None
); resultobj
= Py_None
;
10642 static PyObject
*_wrap_DC_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10643 PyObject
*resultobj
;
10644 wxDC
*arg1
= (wxDC
*) 0 ;
10646 PyObject
* obj0
= 0 ;
10647 PyObject
* obj1
= 0 ;
10648 char *kwnames
[] = {
10649 (char *) "self",(char *) "font", NULL
10652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
10653 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10654 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10655 if (arg2
== NULL
) {
10656 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10660 (arg1
)->SetFont((wxFont
const &)*arg2
);
10662 wxPyEndAllowThreads(__tstate
);
10663 if (PyErr_Occurred()) SWIG_fail
;
10665 Py_INCREF(Py_None
); resultobj
= Py_None
;
10672 static PyObject
*_wrap_DC_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10673 PyObject
*resultobj
;
10674 wxDC
*arg1
= (wxDC
*) 0 ;
10676 PyObject
* obj0
= 0 ;
10677 PyObject
* obj1
= 0 ;
10678 char *kwnames
[] = {
10679 (char *) "self",(char *) "pen", NULL
10682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
10683 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10684 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10685 if (arg2
== NULL
) {
10686 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10690 (arg1
)->SetPen((wxPen
const &)*arg2
);
10692 wxPyEndAllowThreads(__tstate
);
10693 if (PyErr_Occurred()) SWIG_fail
;
10695 Py_INCREF(Py_None
); resultobj
= Py_None
;
10702 static PyObject
*_wrap_DC_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10703 PyObject
*resultobj
;
10704 wxDC
*arg1
= (wxDC
*) 0 ;
10705 wxBrush
*arg2
= 0 ;
10706 PyObject
* obj0
= 0 ;
10707 PyObject
* obj1
= 0 ;
10708 char *kwnames
[] = {
10709 (char *) "self",(char *) "brush", NULL
10712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
10713 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10714 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10715 if (arg2
== NULL
) {
10716 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10720 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
10722 wxPyEndAllowThreads(__tstate
);
10723 if (PyErr_Occurred()) SWIG_fail
;
10725 Py_INCREF(Py_None
); resultobj
= Py_None
;
10732 static PyObject
*_wrap_DC_SetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10733 PyObject
*resultobj
;
10734 wxDC
*arg1
= (wxDC
*) 0 ;
10735 wxBrush
*arg2
= 0 ;
10736 PyObject
* obj0
= 0 ;
10737 PyObject
* obj1
= 0 ;
10738 char *kwnames
[] = {
10739 (char *) "self",(char *) "brush", NULL
10742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
10743 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10744 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10745 if (arg2
== NULL
) {
10746 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10750 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
10752 wxPyEndAllowThreads(__tstate
);
10753 if (PyErr_Occurred()) SWIG_fail
;
10755 Py_INCREF(Py_None
); resultobj
= Py_None
;
10762 static PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10763 PyObject
*resultobj
;
10764 wxDC
*arg1
= (wxDC
*) 0 ;
10766 PyObject
* obj0
= 0 ;
10767 char *kwnames
[] = {
10768 (char *) "self",(char *) "mode", NULL
10771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DC_SetBackgroundMode",kwnames
,&obj0
,&arg2
)) goto fail
;
10772 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10775 (arg1
)->SetBackgroundMode(arg2
);
10777 wxPyEndAllowThreads(__tstate
);
10778 if (PyErr_Occurred()) SWIG_fail
;
10780 Py_INCREF(Py_None
); resultobj
= Py_None
;
10787 static PyObject
*_wrap_DC_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10788 PyObject
*resultobj
;
10789 wxDC
*arg1
= (wxDC
*) 0 ;
10790 wxPalette
*arg2
= 0 ;
10791 PyObject
* obj0
= 0 ;
10792 PyObject
* obj1
= 0 ;
10793 char *kwnames
[] = {
10794 (char *) "self",(char *) "palette", NULL
10797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
10798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10799 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10800 if (arg2
== NULL
) {
10801 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10805 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
10807 wxPyEndAllowThreads(__tstate
);
10808 if (PyErr_Occurred()) SWIG_fail
;
10810 Py_INCREF(Py_None
); resultobj
= Py_None
;
10817 static PyObject
*_wrap_DC_SetClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10818 PyObject
*resultobj
;
10819 wxDC
*arg1
= (wxDC
*) 0 ;
10824 PyObject
* obj0
= 0 ;
10825 char *kwnames
[] = {
10826 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:DC_SetClippingRegion",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
10830 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10833 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
10835 wxPyEndAllowThreads(__tstate
);
10836 if (PyErr_Occurred()) SWIG_fail
;
10838 Py_INCREF(Py_None
); resultobj
= Py_None
;
10845 static PyObject
*_wrap_DC_SetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10846 PyObject
*resultobj
;
10847 wxDC
*arg1
= (wxDC
*) 0 ;
10850 PyObject
* obj0
= 0 ;
10851 PyObject
* obj1
= 0 ;
10852 char *kwnames
[] = {
10853 (char *) "self",(char *) "rect", NULL
10856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10857 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10860 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10864 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
10866 wxPyEndAllowThreads(__tstate
);
10867 if (PyErr_Occurred()) SWIG_fail
;
10869 Py_INCREF(Py_None
); resultobj
= Py_None
;
10876 static PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10877 PyObject
*resultobj
;
10878 wxDC
*arg1
= (wxDC
*) 0 ;
10879 wxRegion
*arg2
= 0 ;
10880 PyObject
* obj0
= 0 ;
10881 PyObject
* obj1
= 0 ;
10882 char *kwnames
[] = {
10883 (char *) "self",(char *) "region", NULL
10886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
10887 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10888 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10889 if (arg2
== NULL
) {
10890 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10894 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
10896 wxPyEndAllowThreads(__tstate
);
10897 if (PyErr_Occurred()) SWIG_fail
;
10899 Py_INCREF(Py_None
); resultobj
= Py_None
;
10906 static PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10907 PyObject
*resultobj
;
10908 wxDC
*arg1
= (wxDC
*) 0 ;
10909 PyObject
* obj0
= 0 ;
10910 char *kwnames
[] = {
10911 (char *) "self", NULL
10914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_DestroyClippingRegion",kwnames
,&obj0
)) goto fail
;
10915 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10918 (arg1
)->DestroyClippingRegion();
10920 wxPyEndAllowThreads(__tstate
);
10921 if (PyErr_Occurred()) SWIG_fail
;
10923 Py_INCREF(Py_None
); resultobj
= Py_None
;
10930 static PyObject
*_wrap_DC_GetClippingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10931 PyObject
*resultobj
;
10932 wxDC
*arg1
= (wxDC
*) 0 ;
10933 int *arg2
= (int *) 0 ;
10934 int *arg3
= (int *) 0 ;
10935 int *arg4
= (int *) 0 ;
10936 int *arg5
= (int *) 0 ;
10941 PyObject
* obj0
= 0 ;
10942 char *kwnames
[] = {
10943 (char *) "self", NULL
10950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingBox",kwnames
,&obj0
)) goto fail
;
10951 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10954 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
10956 wxPyEndAllowThreads(__tstate
);
10957 if (PyErr_Occurred()) SWIG_fail
;
10959 Py_INCREF(Py_None
); resultobj
= Py_None
;
10961 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
10962 resultobj
= t_output_helper(resultobj
,o
);
10965 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
10966 resultobj
= t_output_helper(resultobj
,o
);
10969 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
10970 resultobj
= t_output_helper(resultobj
,o
);
10973 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
10974 resultobj
= t_output_helper(resultobj
,o
);
10982 static PyObject
*_wrap_DC_GetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10983 PyObject
*resultobj
;
10984 wxDC
*arg1
= (wxDC
*) 0 ;
10986 PyObject
* obj0
= 0 ;
10987 char *kwnames
[] = {
10988 (char *) "self", NULL
10991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingRect",kwnames
,&obj0
)) goto fail
;
10992 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10995 result
= wxDC_GetClippingRect(arg1
);
10997 wxPyEndAllowThreads(__tstate
);
10998 if (PyErr_Occurred()) SWIG_fail
;
11001 wxRect
* resultptr
;
11002 resultptr
= new wxRect((wxRect
&) result
);
11003 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
11011 static PyObject
*_wrap_DC_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11012 PyObject
*resultobj
;
11013 wxDC
*arg1
= (wxDC
*) 0 ;
11015 PyObject
* obj0
= 0 ;
11016 char *kwnames
[] = {
11017 (char *) "self", NULL
11020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharHeight",kwnames
,&obj0
)) goto fail
;
11021 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11024 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
11026 wxPyEndAllowThreads(__tstate
);
11027 if (PyErr_Occurred()) SWIG_fail
;
11029 resultobj
= PyInt_FromLong((long)result
);
11036 static PyObject
*_wrap_DC_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11037 PyObject
*resultobj
;
11038 wxDC
*arg1
= (wxDC
*) 0 ;
11040 PyObject
* obj0
= 0 ;
11041 char *kwnames
[] = {
11042 (char *) "self", NULL
11045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharWidth",kwnames
,&obj0
)) goto fail
;
11046 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11049 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
11051 wxPyEndAllowThreads(__tstate
);
11052 if (PyErr_Occurred()) SWIG_fail
;
11054 resultobj
= PyInt_FromLong((long)result
);
11061 static PyObject
*_wrap_DC_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11062 PyObject
*resultobj
;
11063 wxDC
*arg1
= (wxDC
*) 0 ;
11064 wxString
*arg2
= 0 ;
11065 int *arg3
= (int *) 0 ;
11066 int *arg4
= (int *) 0 ;
11067 bool temp2
= False
;
11070 PyObject
* obj0
= 0 ;
11071 PyObject
* obj1
= 0 ;
11072 char *kwnames
[] = {
11073 (char *) "self",(char *) "string", NULL
11078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
11079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11081 arg2
= wxString_in_helper(obj1
);
11082 if (arg2
== NULL
) SWIG_fail
;
11086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11087 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
11089 wxPyEndAllowThreads(__tstate
);
11090 if (PyErr_Occurred()) SWIG_fail
;
11092 Py_INCREF(Py_None
); resultobj
= Py_None
;
11094 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
11095 resultobj
= t_output_helper(resultobj
,o
);
11098 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
11099 resultobj
= t_output_helper(resultobj
,o
);
11115 static PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11116 PyObject
*resultobj
;
11117 wxDC
*arg1
= (wxDC
*) 0 ;
11118 wxString
*arg2
= 0 ;
11119 int *arg3
= (int *) 0 ;
11120 int *arg4
= (int *) 0 ;
11121 int *arg5
= (int *) 0 ;
11122 int *arg6
= (int *) 0 ;
11123 wxFont
*arg7
= (wxFont
*) NULL
;
11124 bool temp2
= False
;
11129 PyObject
* obj0
= 0 ;
11130 PyObject
* obj1
= 0 ;
11131 PyObject
* obj2
= 0 ;
11132 char *kwnames
[] = {
11133 (char *) "self",(char *) "string",(char *) "font", NULL
11140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11143 arg2
= wxString_in_helper(obj1
);
11144 if (arg2
== NULL
) SWIG_fail
;
11148 if ((SWIG_ConvertPtr(obj2
,(void **) &arg7
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11152 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11154 wxPyEndAllowThreads(__tstate
);
11155 if (PyErr_Occurred()) SWIG_fail
;
11157 Py_INCREF(Py_None
); resultobj
= Py_None
;
11159 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
11160 resultobj
= t_output_helper(resultobj
,o
);
11163 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
11164 resultobj
= t_output_helper(resultobj
,o
);
11167 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
11168 resultobj
= t_output_helper(resultobj
,o
);
11171 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
11172 resultobj
= t_output_helper(resultobj
,o
);
11188 static PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11189 PyObject
*resultobj
;
11190 wxDC
*arg1
= (wxDC
*) 0 ;
11191 wxString
*arg2
= 0 ;
11192 int *arg3
= (int *) 0 ;
11193 int *arg4
= (int *) 0 ;
11194 int *arg5
= (int *) 0 ;
11195 wxFont
*arg6
= (wxFont
*) NULL
;
11196 bool temp2
= False
;
11200 PyObject
* obj0
= 0 ;
11201 PyObject
* obj1
= 0 ;
11202 PyObject
* obj2
= 0 ;
11203 char *kwnames
[] = {
11204 (char *) "self",(char *) "text",(char *) "font", NULL
11210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11211 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11213 arg2
= wxString_in_helper(obj1
);
11214 if (arg2
== NULL
) SWIG_fail
;
11218 if ((SWIG_ConvertPtr(obj2
,(void **) &arg6
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11222 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
11224 wxPyEndAllowThreads(__tstate
);
11225 if (PyErr_Occurred()) SWIG_fail
;
11227 Py_INCREF(Py_None
); resultobj
= Py_None
;
11229 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
11230 resultobj
= t_output_helper(resultobj
,o
);
11233 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
11234 resultobj
= t_output_helper(resultobj
,o
);
11237 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
11238 resultobj
= t_output_helper(resultobj
,o
);
11254 static PyObject
*_wrap_DC_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11255 PyObject
*resultobj
;
11256 wxDC
*arg1
= (wxDC
*) 0 ;
11258 PyObject
* obj0
= 0 ;
11259 char *kwnames
[] = {
11260 (char *) "self", NULL
11263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSize",kwnames
,&obj0
)) goto fail
;
11264 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11267 result
= (arg1
)->GetSize();
11269 wxPyEndAllowThreads(__tstate
);
11270 if (PyErr_Occurred()) SWIG_fail
;
11273 wxSize
* resultptr
;
11274 resultptr
= new wxSize((wxSize
&) result
);
11275 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
11283 static PyObject
*_wrap_DC_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11284 PyObject
*resultobj
;
11285 wxDC
*arg1
= (wxDC
*) 0 ;
11286 int *arg2
= (int *) 0 ;
11287 int *arg3
= (int *) 0 ;
11290 PyObject
* obj0
= 0 ;
11291 char *kwnames
[] = {
11292 (char *) "self", NULL
11297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
11298 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11301 (arg1
)->GetSize(arg2
,arg3
);
11303 wxPyEndAllowThreads(__tstate
);
11304 if (PyErr_Occurred()) SWIG_fail
;
11306 Py_INCREF(Py_None
); resultobj
= Py_None
;
11308 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
11309 resultobj
= t_output_helper(resultobj
,o
);
11312 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
11313 resultobj
= t_output_helper(resultobj
,o
);
11321 static PyObject
*_wrap_DC_GetSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11322 PyObject
*resultobj
;
11323 wxDC
*arg1
= (wxDC
*) 0 ;
11325 PyObject
* obj0
= 0 ;
11326 char *kwnames
[] = {
11327 (char *) "self", NULL
11330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMM",kwnames
,&obj0
)) goto fail
;
11331 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11334 result
= ((wxDC
const *)arg1
)->GetSizeMM();
11336 wxPyEndAllowThreads(__tstate
);
11337 if (PyErr_Occurred()) SWIG_fail
;
11340 wxSize
* resultptr
;
11341 resultptr
= new wxSize((wxSize
&) result
);
11342 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
11350 static PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11351 PyObject
*resultobj
;
11352 wxDC
*arg1
= (wxDC
*) 0 ;
11353 int *arg2
= (int *) 0 ;
11354 int *arg3
= (int *) 0 ;
11357 PyObject
* obj0
= 0 ;
11358 char *kwnames
[] = {
11359 (char *) "self", NULL
11364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMMTuple",kwnames
,&obj0
)) goto fail
;
11365 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11368 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
11370 wxPyEndAllowThreads(__tstate
);
11371 if (PyErr_Occurred()) SWIG_fail
;
11373 Py_INCREF(Py_None
); resultobj
= Py_None
;
11375 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
11376 resultobj
= t_output_helper(resultobj
,o
);
11379 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
11380 resultobj
= t_output_helper(resultobj
,o
);
11388 static PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11389 PyObject
*resultobj
;
11390 wxDC
*arg1
= (wxDC
*) 0 ;
11393 PyObject
* obj0
= 0 ;
11394 char *kwnames
[] = {
11395 (char *) "self",(char *) "x", NULL
11398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DC_DeviceToLogicalX",kwnames
,&obj0
,&arg2
)) goto fail
;
11399 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11402 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
11404 wxPyEndAllowThreads(__tstate
);
11405 if (PyErr_Occurred()) SWIG_fail
;
11407 resultobj
= PyInt_FromLong((long)result
);
11414 static PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11415 PyObject
*resultobj
;
11416 wxDC
*arg1
= (wxDC
*) 0 ;
11419 PyObject
* obj0
= 0 ;
11420 char *kwnames
[] = {
11421 (char *) "self",(char *) "y", NULL
11424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DC_DeviceToLogicalY",kwnames
,&obj0
,&arg2
)) goto fail
;
11425 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11428 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
11430 wxPyEndAllowThreads(__tstate
);
11431 if (PyErr_Occurred()) SWIG_fail
;
11433 resultobj
= PyInt_FromLong((long)result
);
11440 static PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11441 PyObject
*resultobj
;
11442 wxDC
*arg1
= (wxDC
*) 0 ;
11445 PyObject
* obj0
= 0 ;
11446 char *kwnames
[] = {
11447 (char *) "self",(char *) "x", NULL
11450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&arg2
)) goto fail
;
11451 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11454 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
11456 wxPyEndAllowThreads(__tstate
);
11457 if (PyErr_Occurred()) SWIG_fail
;
11459 resultobj
= PyInt_FromLong((long)result
);
11466 static PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11467 PyObject
*resultobj
;
11468 wxDC
*arg1
= (wxDC
*) 0 ;
11471 PyObject
* obj0
= 0 ;
11472 char *kwnames
[] = {
11473 (char *) "self",(char *) "y", NULL
11476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&arg2
)) goto fail
;
11477 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11480 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
11482 wxPyEndAllowThreads(__tstate
);
11483 if (PyErr_Occurred()) SWIG_fail
;
11485 resultobj
= PyInt_FromLong((long)result
);
11492 static PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11493 PyObject
*resultobj
;
11494 wxDC
*arg1
= (wxDC
*) 0 ;
11497 PyObject
* obj0
= 0 ;
11498 char *kwnames
[] = {
11499 (char *) "self",(char *) "x", NULL
11502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DC_LogicalToDeviceX",kwnames
,&obj0
,&arg2
)) goto fail
;
11503 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11506 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
11508 wxPyEndAllowThreads(__tstate
);
11509 if (PyErr_Occurred()) SWIG_fail
;
11511 resultobj
= PyInt_FromLong((long)result
);
11518 static PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11519 PyObject
*resultobj
;
11520 wxDC
*arg1
= (wxDC
*) 0 ;
11523 PyObject
* obj0
= 0 ;
11524 char *kwnames
[] = {
11525 (char *) "self",(char *) "y", NULL
11528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DC_LogicalToDeviceY",kwnames
,&obj0
,&arg2
)) goto fail
;
11529 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11532 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
11534 wxPyEndAllowThreads(__tstate
);
11535 if (PyErr_Occurred()) SWIG_fail
;
11537 resultobj
= PyInt_FromLong((long)result
);
11544 static PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11545 PyObject
*resultobj
;
11546 wxDC
*arg1
= (wxDC
*) 0 ;
11549 PyObject
* obj0
= 0 ;
11550 char *kwnames
[] = {
11551 (char *) "self",(char *) "x", NULL
11554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&arg2
)) goto fail
;
11555 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11558 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
11560 wxPyEndAllowThreads(__tstate
);
11561 if (PyErr_Occurred()) SWIG_fail
;
11563 resultobj
= PyInt_FromLong((long)result
);
11570 static PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11571 PyObject
*resultobj
;
11572 wxDC
*arg1
= (wxDC
*) 0 ;
11575 PyObject
* obj0
= 0 ;
11576 char *kwnames
[] = {
11577 (char *) "self",(char *) "y", NULL
11580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&arg2
)) goto fail
;
11581 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11584 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
11586 wxPyEndAllowThreads(__tstate
);
11587 if (PyErr_Occurred()) SWIG_fail
;
11589 resultobj
= PyInt_FromLong((long)result
);
11596 static PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11597 PyObject
*resultobj
;
11598 wxDC
*arg1
= (wxDC
*) 0 ;
11600 PyObject
* obj0
= 0 ;
11601 char *kwnames
[] = {
11602 (char *) "self", NULL
11605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanDrawBitmap",kwnames
,&obj0
)) goto fail
;
11606 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11609 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
11611 wxPyEndAllowThreads(__tstate
);
11612 if (PyErr_Occurred()) SWIG_fail
;
11614 resultobj
= PyInt_FromLong((long)result
);
11621 static PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11622 PyObject
*resultobj
;
11623 wxDC
*arg1
= (wxDC
*) 0 ;
11625 PyObject
* obj0
= 0 ;
11626 char *kwnames
[] = {
11627 (char *) "self", NULL
11630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanGetTextExtent",kwnames
,&obj0
)) goto fail
;
11631 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11634 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
11636 wxPyEndAllowThreads(__tstate
);
11637 if (PyErr_Occurred()) SWIG_fail
;
11639 resultobj
= PyInt_FromLong((long)result
);
11646 static PyObject
*_wrap_DC_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11647 PyObject
*resultobj
;
11648 wxDC
*arg1
= (wxDC
*) 0 ;
11650 PyObject
* obj0
= 0 ;
11651 char *kwnames
[] = {
11652 (char *) "self", NULL
11655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDepth",kwnames
,&obj0
)) goto fail
;
11656 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11659 result
= (int)((wxDC
const *)arg1
)->GetDepth();
11661 wxPyEndAllowThreads(__tstate
);
11662 if (PyErr_Occurred()) SWIG_fail
;
11664 resultobj
= PyInt_FromLong((long)result
);
11671 static PyObject
*_wrap_DC_GetPPI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11672 PyObject
*resultobj
;
11673 wxDC
*arg1
= (wxDC
*) 0 ;
11675 PyObject
* obj0
= 0 ;
11676 char *kwnames
[] = {
11677 (char *) "self", NULL
11680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPPI",kwnames
,&obj0
)) goto fail
;
11681 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11684 result
= ((wxDC
const *)arg1
)->GetPPI();
11686 wxPyEndAllowThreads(__tstate
);
11687 if (PyErr_Occurred()) SWIG_fail
;
11690 wxSize
* resultptr
;
11691 resultptr
= new wxSize((wxSize
&) result
);
11692 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
11700 static PyObject
*_wrap_DC_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11701 PyObject
*resultobj
;
11702 wxDC
*arg1
= (wxDC
*) 0 ;
11704 PyObject
* obj0
= 0 ;
11705 char *kwnames
[] = {
11706 (char *) "self", NULL
11709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Ok",kwnames
,&obj0
)) goto fail
;
11710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11713 result
= (bool)((wxDC
const *)arg1
)->Ok();
11715 wxPyEndAllowThreads(__tstate
);
11716 if (PyErr_Occurred()) SWIG_fail
;
11718 resultobj
= PyInt_FromLong((long)result
);
11725 static PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11726 PyObject
*resultobj
;
11727 wxDC
*arg1
= (wxDC
*) 0 ;
11729 PyObject
* obj0
= 0 ;
11730 char *kwnames
[] = {
11731 (char *) "self", NULL
11734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackgroundMode",kwnames
,&obj0
)) goto fail
;
11735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11738 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
11740 wxPyEndAllowThreads(__tstate
);
11741 if (PyErr_Occurred()) SWIG_fail
;
11743 resultobj
= PyInt_FromLong((long)result
);
11750 static PyObject
*_wrap_DC_GetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11751 PyObject
*resultobj
;
11752 wxDC
*arg1
= (wxDC
*) 0 ;
11754 PyObject
* obj0
= 0 ;
11755 char *kwnames
[] = {
11756 (char *) "self", NULL
11759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackground",kwnames
,&obj0
)) goto fail
;
11760 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11764 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
11765 result
= (wxBrush
*) &_result_ref
;
11768 wxPyEndAllowThreads(__tstate
);
11769 if (PyErr_Occurred()) SWIG_fail
;
11771 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBrush
, 0);
11778 static PyObject
*_wrap_DC_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11779 PyObject
*resultobj
;
11780 wxDC
*arg1
= (wxDC
*) 0 ;
11782 PyObject
* obj0
= 0 ;
11783 char *kwnames
[] = {
11784 (char *) "self", NULL
11787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBrush",kwnames
,&obj0
)) goto fail
;
11788 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11792 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
11793 result
= (wxBrush
*) &_result_ref
;
11796 wxPyEndAllowThreads(__tstate
);
11797 if (PyErr_Occurred()) SWIG_fail
;
11799 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBrush
, 0);
11806 static PyObject
*_wrap_DC_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11807 PyObject
*resultobj
;
11808 wxDC
*arg1
= (wxDC
*) 0 ;
11810 PyObject
* obj0
= 0 ;
11811 char *kwnames
[] = {
11812 (char *) "self", NULL
11815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetFont",kwnames
,&obj0
)) goto fail
;
11816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11820 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
11821 result
= (wxFont
*) &_result_ref
;
11824 wxPyEndAllowThreads(__tstate
);
11825 if (PyErr_Occurred()) SWIG_fail
;
11827 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
11834 static PyObject
*_wrap_DC_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11835 PyObject
*resultobj
;
11836 wxDC
*arg1
= (wxDC
*) 0 ;
11838 PyObject
* obj0
= 0 ;
11839 char *kwnames
[] = {
11840 (char *) "self", NULL
11843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPen",kwnames
,&obj0
)) goto fail
;
11844 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11848 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
11849 result
= (wxPen
*) &_result_ref
;
11852 wxPyEndAllowThreads(__tstate
);
11853 if (PyErr_Occurred()) SWIG_fail
;
11855 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPen
, 0);
11862 static PyObject
*_wrap_DC_GetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11863 PyObject
*resultobj
;
11864 wxDC
*arg1
= (wxDC
*) 0 ;
11866 PyObject
* obj0
= 0 ;
11867 char *kwnames
[] = {
11868 (char *) "self", NULL
11871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextBackground",kwnames
,&obj0
)) goto fail
;
11872 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11876 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
11877 result
= (wxColour
*) &_result_ref
;
11880 wxPyEndAllowThreads(__tstate
);
11881 if (PyErr_Occurred()) SWIG_fail
;
11883 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
11890 static PyObject
*_wrap_DC_GetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11891 PyObject
*resultobj
;
11892 wxDC
*arg1
= (wxDC
*) 0 ;
11894 PyObject
* obj0
= 0 ;
11895 char *kwnames
[] = {
11896 (char *) "self", NULL
11899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextForeground",kwnames
,&obj0
)) goto fail
;
11900 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11904 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
11905 result
= (wxColour
*) &_result_ref
;
11908 wxPyEndAllowThreads(__tstate
);
11909 if (PyErr_Occurred()) SWIG_fail
;
11911 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
11918 static PyObject
*_wrap_DC_SetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11919 PyObject
*resultobj
;
11920 wxDC
*arg1
= (wxDC
*) 0 ;
11921 wxColour
*arg2
= 0 ;
11923 PyObject
* obj0
= 0 ;
11924 PyObject
* obj1
= 0 ;
11925 char *kwnames
[] = {
11926 (char *) "self",(char *) "colour", NULL
11929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
11930 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11933 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11937 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
11939 wxPyEndAllowThreads(__tstate
);
11940 if (PyErr_Occurred()) SWIG_fail
;
11942 Py_INCREF(Py_None
); resultobj
= Py_None
;
11949 static PyObject
*_wrap_DC_SetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11950 PyObject
*resultobj
;
11951 wxDC
*arg1
= (wxDC
*) 0 ;
11952 wxColour
*arg2
= 0 ;
11954 PyObject
* obj0
= 0 ;
11955 PyObject
* obj1
= 0 ;
11956 char *kwnames
[] = {
11957 (char *) "self",(char *) "colour", NULL
11960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
11961 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11964 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11968 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
11970 wxPyEndAllowThreads(__tstate
);
11971 if (PyErr_Occurred()) SWIG_fail
;
11973 Py_INCREF(Py_None
); resultobj
= Py_None
;
11980 static PyObject
*_wrap_DC_GetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11981 PyObject
*resultobj
;
11982 wxDC
*arg1
= (wxDC
*) 0 ;
11984 PyObject
* obj0
= 0 ;
11985 char *kwnames
[] = {
11986 (char *) "self", NULL
11989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetMapMode",kwnames
,&obj0
)) goto fail
;
11990 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11993 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
11995 wxPyEndAllowThreads(__tstate
);
11996 if (PyErr_Occurred()) SWIG_fail
;
11998 resultobj
= PyInt_FromLong((long)result
);
12005 static PyObject
*_wrap_DC_SetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12006 PyObject
*resultobj
;
12007 wxDC
*arg1
= (wxDC
*) 0 ;
12009 PyObject
* obj0
= 0 ;
12010 char *kwnames
[] = {
12011 (char *) "self",(char *) "mode", NULL
12014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DC_SetMapMode",kwnames
,&obj0
,&arg2
)) goto fail
;
12015 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12018 (arg1
)->SetMapMode(arg2
);
12020 wxPyEndAllowThreads(__tstate
);
12021 if (PyErr_Occurred()) SWIG_fail
;
12023 Py_INCREF(Py_None
); resultobj
= Py_None
;
12030 static PyObject
*_wrap_DC_GetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12031 PyObject
*resultobj
;
12032 wxDC
*arg1
= (wxDC
*) 0 ;
12033 double *arg2
= (double *) 0 ;
12034 double *arg3
= (double *) 0 ;
12037 PyObject
* obj0
= 0 ;
12038 char *kwnames
[] = {
12039 (char *) "self", NULL
12044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetUserScale",kwnames
,&obj0
)) goto fail
;
12045 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12048 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
12050 wxPyEndAllowThreads(__tstate
);
12051 if (PyErr_Occurred()) SWIG_fail
;
12053 Py_INCREF(Py_None
); resultobj
= Py_None
;
12055 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
12056 resultobj
= t_output_helper(resultobj
,o
);
12059 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
12060 resultobj
= t_output_helper(resultobj
,o
);
12068 static PyObject
*_wrap_DC_SetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12069 PyObject
*resultobj
;
12070 wxDC
*arg1
= (wxDC
*) 0 ;
12073 PyObject
* obj0
= 0 ;
12074 char *kwnames
[] = {
12075 (char *) "self",(char *) "x",(char *) "y", NULL
12078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:DC_SetUserScale",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
12079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12082 (arg1
)->SetUserScale(arg2
,arg3
);
12084 wxPyEndAllowThreads(__tstate
);
12085 if (PyErr_Occurred()) SWIG_fail
;
12087 Py_INCREF(Py_None
); resultobj
= Py_None
;
12094 static PyObject
*_wrap_DC_GetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12095 PyObject
*resultobj
;
12096 wxDC
*arg1
= (wxDC
*) 0 ;
12097 double *arg2
= (double *) 0 ;
12098 double *arg3
= (double *) 0 ;
12101 PyObject
* obj0
= 0 ;
12102 char *kwnames
[] = {
12103 (char *) "self", NULL
12108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalScale",kwnames
,&obj0
)) goto fail
;
12109 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12112 (arg1
)->GetLogicalScale(arg2
,arg3
);
12114 wxPyEndAllowThreads(__tstate
);
12115 if (PyErr_Occurred()) SWIG_fail
;
12117 Py_INCREF(Py_None
); resultobj
= Py_None
;
12119 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
12120 resultobj
= t_output_helper(resultobj
,o
);
12123 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
12124 resultobj
= t_output_helper(resultobj
,o
);
12132 static PyObject
*_wrap_DC_SetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12133 PyObject
*resultobj
;
12134 wxDC
*arg1
= (wxDC
*) 0 ;
12137 PyObject
* obj0
= 0 ;
12138 char *kwnames
[] = {
12139 (char *) "self",(char *) "x",(char *) "y", NULL
12142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:DC_SetLogicalScale",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
12143 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12146 (arg1
)->SetLogicalScale(arg2
,arg3
);
12148 wxPyEndAllowThreads(__tstate
);
12149 if (PyErr_Occurred()) SWIG_fail
;
12151 Py_INCREF(Py_None
); resultobj
= Py_None
;
12158 static PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12159 PyObject
*resultobj
;
12160 wxDC
*arg1
= (wxDC
*) 0 ;
12162 PyObject
* obj0
= 0 ;
12163 char *kwnames
[] = {
12164 (char *) "self", NULL
12167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOrigin",kwnames
,&obj0
)) goto fail
;
12168 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12171 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
12173 wxPyEndAllowThreads(__tstate
);
12174 if (PyErr_Occurred()) SWIG_fail
;
12177 wxPoint
* resultptr
;
12178 resultptr
= new wxPoint((wxPoint
&) result
);
12179 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
12187 static PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12188 PyObject
*resultobj
;
12189 wxDC
*arg1
= (wxDC
*) 0 ;
12190 int *arg2
= (int *) 0 ;
12191 int *arg3
= (int *) 0 ;
12194 PyObject
* obj0
= 0 ;
12195 char *kwnames
[] = {
12196 (char *) "self", NULL
12201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOriginTuple",kwnames
,&obj0
)) goto fail
;
12202 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12205 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
12207 wxPyEndAllowThreads(__tstate
);
12208 if (PyErr_Occurred()) SWIG_fail
;
12210 Py_INCREF(Py_None
); resultobj
= Py_None
;
12212 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
12213 resultobj
= t_output_helper(resultobj
,o
);
12216 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12217 resultobj
= t_output_helper(resultobj
,o
);
12225 static PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12226 PyObject
*resultobj
;
12227 wxDC
*arg1
= (wxDC
*) 0 ;
12230 PyObject
* obj0
= 0 ;
12231 char *kwnames
[] = {
12232 (char *) "self",(char *) "x",(char *) "y", NULL
12235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:DC_SetLogicalOrigin",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
12236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12239 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
12241 wxPyEndAllowThreads(__tstate
);
12242 if (PyErr_Occurred()) SWIG_fail
;
12244 Py_INCREF(Py_None
); resultobj
= Py_None
;
12251 static PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12252 PyObject
*resultobj
;
12253 wxDC
*arg1
= (wxDC
*) 0 ;
12255 PyObject
* obj0
= 0 ;
12256 char *kwnames
[] = {
12257 (char *) "self", NULL
12260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOrigin",kwnames
,&obj0
)) goto fail
;
12261 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12264 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
12266 wxPyEndAllowThreads(__tstate
);
12267 if (PyErr_Occurred()) SWIG_fail
;
12270 wxPoint
* resultptr
;
12271 resultptr
= new wxPoint((wxPoint
&) result
);
12272 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
12280 static PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12281 PyObject
*resultobj
;
12282 wxDC
*arg1
= (wxDC
*) 0 ;
12283 int *arg2
= (int *) 0 ;
12284 int *arg3
= (int *) 0 ;
12287 PyObject
* obj0
= 0 ;
12288 char *kwnames
[] = {
12289 (char *) "self", NULL
12294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOriginTuple",kwnames
,&obj0
)) goto fail
;
12295 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12298 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
12300 wxPyEndAllowThreads(__tstate
);
12301 if (PyErr_Occurred()) SWIG_fail
;
12303 Py_INCREF(Py_None
); resultobj
= Py_None
;
12305 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
12306 resultobj
= t_output_helper(resultobj
,o
);
12309 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12310 resultobj
= t_output_helper(resultobj
,o
);
12318 static PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12319 PyObject
*resultobj
;
12320 wxDC
*arg1
= (wxDC
*) 0 ;
12323 PyObject
* obj0
= 0 ;
12324 char *kwnames
[] = {
12325 (char *) "self",(char *) "x",(char *) "y", NULL
12328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:DC_SetDeviceOrigin",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
12329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12332 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
12334 wxPyEndAllowThreads(__tstate
);
12335 if (PyErr_Occurred()) SWIG_fail
;
12337 Py_INCREF(Py_None
); resultobj
= Py_None
;
12344 static PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12345 PyObject
*resultobj
;
12346 wxDC
*arg1
= (wxDC
*) 0 ;
12349 PyObject
* obj0
= 0 ;
12350 PyObject
* obj1
= 0 ;
12351 PyObject
* obj2
= 0 ;
12352 char *kwnames
[] = {
12353 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
12356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12357 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12358 arg2
= PyInt_AsLong(obj1
) ? true : false;
12359 if (PyErr_Occurred()) SWIG_fail
;
12360 arg3
= PyInt_AsLong(obj2
) ? true : false;
12361 if (PyErr_Occurred()) SWIG_fail
;
12363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12364 (arg1
)->SetAxisOrientation(arg2
,arg3
);
12366 wxPyEndAllowThreads(__tstate
);
12367 if (PyErr_Occurred()) SWIG_fail
;
12369 Py_INCREF(Py_None
); resultobj
= Py_None
;
12376 static PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12377 PyObject
*resultobj
;
12378 wxDC
*arg1
= (wxDC
*) 0 ;
12380 PyObject
* obj0
= 0 ;
12381 char *kwnames
[] = {
12382 (char *) "self", NULL
12385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalFunction",kwnames
,&obj0
)) goto fail
;
12386 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12389 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
12391 wxPyEndAllowThreads(__tstate
);
12392 if (PyErr_Occurred()) SWIG_fail
;
12394 resultobj
= PyInt_FromLong((long)result
);
12401 static PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12402 PyObject
*resultobj
;
12403 wxDC
*arg1
= (wxDC
*) 0 ;
12405 PyObject
* obj0
= 0 ;
12406 char *kwnames
[] = {
12407 (char *) "self",(char *) "function", NULL
12410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DC_SetLogicalFunction",kwnames
,&obj0
,&arg2
)) goto fail
;
12411 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12414 (arg1
)->SetLogicalFunction(arg2
);
12416 wxPyEndAllowThreads(__tstate
);
12417 if (PyErr_Occurred()) SWIG_fail
;
12419 Py_INCREF(Py_None
); resultobj
= Py_None
;
12426 static PyObject
*_wrap_DC_SetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12427 PyObject
*resultobj
;
12428 wxDC
*arg1
= (wxDC
*) 0 ;
12430 PyObject
* obj0
= 0 ;
12431 PyObject
* obj1
= 0 ;
12432 char *kwnames
[] = {
12433 (char *) "self",(char *) "opt", NULL
12436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetOptimization",kwnames
,&obj0
,&obj1
)) goto fail
;
12437 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12438 arg2
= PyInt_AsLong(obj1
) ? true : false;
12439 if (PyErr_Occurred()) SWIG_fail
;
12441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12442 (arg1
)->SetOptimization(arg2
);
12444 wxPyEndAllowThreads(__tstate
);
12445 if (PyErr_Occurred()) SWIG_fail
;
12447 Py_INCREF(Py_None
); resultobj
= Py_None
;
12454 static PyObject
*_wrap_DC_GetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12455 PyObject
*resultobj
;
12456 wxDC
*arg1
= (wxDC
*) 0 ;
12458 PyObject
* obj0
= 0 ;
12459 char *kwnames
[] = {
12460 (char *) "self", NULL
12463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetOptimization",kwnames
,&obj0
)) goto fail
;
12464 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12467 result
= (bool)(arg1
)->GetOptimization();
12469 wxPyEndAllowThreads(__tstate
);
12470 if (PyErr_Occurred()) SWIG_fail
;
12472 resultobj
= PyInt_FromLong((long)result
);
12479 static PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12480 PyObject
*resultobj
;
12481 wxDC
*arg1
= (wxDC
*) 0 ;
12484 PyObject
* obj0
= 0 ;
12485 char *kwnames
[] = {
12486 (char *) "self",(char *) "x",(char *) "y", NULL
12489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:DC_CalcBoundingBox",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
12490 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12493 (arg1
)->CalcBoundingBox(arg2
,arg3
);
12495 wxPyEndAllowThreads(__tstate
);
12496 if (PyErr_Occurred()) SWIG_fail
;
12498 Py_INCREF(Py_None
); resultobj
= Py_None
;
12505 static PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12506 PyObject
*resultobj
;
12507 wxDC
*arg1
= (wxDC
*) 0 ;
12508 PyObject
* obj0
= 0 ;
12509 char *kwnames
[] = {
12510 (char *) "self", NULL
12513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ResetBoundingBox",kwnames
,&obj0
)) goto fail
;
12514 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12517 (arg1
)->ResetBoundingBox();
12519 wxPyEndAllowThreads(__tstate
);
12520 if (PyErr_Occurred()) SWIG_fail
;
12522 Py_INCREF(Py_None
); resultobj
= Py_None
;
12529 static PyObject
*_wrap_DC_MinX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12530 PyObject
*resultobj
;
12531 wxDC
*arg1
= (wxDC
*) 0 ;
12533 PyObject
* obj0
= 0 ;
12534 char *kwnames
[] = {
12535 (char *) "self", NULL
12538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinX",kwnames
,&obj0
)) goto fail
;
12539 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12542 result
= (int)((wxDC
const *)arg1
)->MinX();
12544 wxPyEndAllowThreads(__tstate
);
12545 if (PyErr_Occurred()) SWIG_fail
;
12547 resultobj
= PyInt_FromLong((long)result
);
12554 static PyObject
*_wrap_DC_MaxX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12555 PyObject
*resultobj
;
12556 wxDC
*arg1
= (wxDC
*) 0 ;
12558 PyObject
* obj0
= 0 ;
12559 char *kwnames
[] = {
12560 (char *) "self", NULL
12563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxX",kwnames
,&obj0
)) goto fail
;
12564 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12567 result
= (int)((wxDC
const *)arg1
)->MaxX();
12569 wxPyEndAllowThreads(__tstate
);
12570 if (PyErr_Occurred()) SWIG_fail
;
12572 resultobj
= PyInt_FromLong((long)result
);
12579 static PyObject
*_wrap_DC_MinY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12580 PyObject
*resultobj
;
12581 wxDC
*arg1
= (wxDC
*) 0 ;
12583 PyObject
* obj0
= 0 ;
12584 char *kwnames
[] = {
12585 (char *) "self", NULL
12588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinY",kwnames
,&obj0
)) goto fail
;
12589 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12592 result
= (int)((wxDC
const *)arg1
)->MinY();
12594 wxPyEndAllowThreads(__tstate
);
12595 if (PyErr_Occurred()) SWIG_fail
;
12597 resultobj
= PyInt_FromLong((long)result
);
12604 static PyObject
*_wrap_DC_MaxY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12605 PyObject
*resultobj
;
12606 wxDC
*arg1
= (wxDC
*) 0 ;
12608 PyObject
* obj0
= 0 ;
12609 char *kwnames
[] = {
12610 (char *) "self", NULL
12613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxY",kwnames
,&obj0
)) goto fail
;
12614 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12617 result
= (int)((wxDC
const *)arg1
)->MaxY();
12619 wxPyEndAllowThreads(__tstate
);
12620 if (PyErr_Occurred()) SWIG_fail
;
12622 resultobj
= PyInt_FromLong((long)result
);
12629 static PyObject
*_wrap_DC_GetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12630 PyObject
*resultobj
;
12631 wxDC
*arg1
= (wxDC
*) 0 ;
12632 int *arg2
= (int *) 0 ;
12633 int *arg3
= (int *) 0 ;
12634 int *arg4
= (int *) 0 ;
12635 int *arg5
= (int *) 0 ;
12640 PyObject
* obj0
= 0 ;
12641 char *kwnames
[] = {
12642 (char *) "self", NULL
12649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBoundingBox",kwnames
,&obj0
)) goto fail
;
12650 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12653 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
12655 wxPyEndAllowThreads(__tstate
);
12656 if (PyErr_Occurred()) SWIG_fail
;
12658 Py_INCREF(Py_None
); resultobj
= Py_None
;
12660 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
12661 resultobj
= t_output_helper(resultobj
,o
);
12664 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12665 resultobj
= t_output_helper(resultobj
,o
);
12668 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12669 resultobj
= t_output_helper(resultobj
,o
);
12672 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
12673 resultobj
= t_output_helper(resultobj
,o
);
12681 static PyObject
*_wrap_DC__DrawPointList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12682 PyObject
*resultobj
;
12683 wxDC
*arg1
= (wxDC
*) 0 ;
12684 PyObject
*arg2
= (PyObject
*) 0 ;
12685 PyObject
*arg3
= (PyObject
*) 0 ;
12686 PyObject
*arg4
= (PyObject
*) 0 ;
12688 PyObject
* obj0
= 0 ;
12689 PyObject
* obj1
= 0 ;
12690 PyObject
* obj2
= 0 ;
12691 PyObject
* obj3
= 0 ;
12692 char *kwnames
[] = {
12693 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
12696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12697 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12703 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
12705 wxPyEndAllowThreads(__tstate
);
12706 if (PyErr_Occurred()) SWIG_fail
;
12708 resultobj
= result
;
12715 static PyObject
*_wrap_DC__DrawLineList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12716 PyObject
*resultobj
;
12717 wxDC
*arg1
= (wxDC
*) 0 ;
12718 PyObject
*arg2
= (PyObject
*) 0 ;
12719 PyObject
*arg3
= (PyObject
*) 0 ;
12720 PyObject
*arg4
= (PyObject
*) 0 ;
12722 PyObject
* obj0
= 0 ;
12723 PyObject
* obj1
= 0 ;
12724 PyObject
* obj2
= 0 ;
12725 PyObject
* obj3
= 0 ;
12726 char *kwnames
[] = {
12727 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
12730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12731 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12737 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
12739 wxPyEndAllowThreads(__tstate
);
12740 if (PyErr_Occurred()) SWIG_fail
;
12742 resultobj
= result
;
12749 static PyObject
*_wrap_DC__DrawRectangleList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12750 PyObject
*resultobj
;
12751 wxDC
*arg1
= (wxDC
*) 0 ;
12752 PyObject
*arg2
= (PyObject
*) 0 ;
12753 PyObject
*arg3
= (PyObject
*) 0 ;
12754 PyObject
*arg4
= (PyObject
*) 0 ;
12756 PyObject
* obj0
= 0 ;
12757 PyObject
* obj1
= 0 ;
12758 PyObject
* obj2
= 0 ;
12759 PyObject
* obj3
= 0 ;
12760 char *kwnames
[] = {
12761 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
12764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12765 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12771 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
12773 wxPyEndAllowThreads(__tstate
);
12774 if (PyErr_Occurred()) SWIG_fail
;
12776 resultobj
= result
;
12783 static PyObject
*_wrap_DC__DrawEllipseList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12784 PyObject
*resultobj
;
12785 wxDC
*arg1
= (wxDC
*) 0 ;
12786 PyObject
*arg2
= (PyObject
*) 0 ;
12787 PyObject
*arg3
= (PyObject
*) 0 ;
12788 PyObject
*arg4
= (PyObject
*) 0 ;
12790 PyObject
* obj0
= 0 ;
12791 PyObject
* obj1
= 0 ;
12792 PyObject
* obj2
= 0 ;
12793 PyObject
* obj3
= 0 ;
12794 char *kwnames
[] = {
12795 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
12798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12799 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12805 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
12807 wxPyEndAllowThreads(__tstate
);
12808 if (PyErr_Occurred()) SWIG_fail
;
12810 resultobj
= result
;
12817 static PyObject
*_wrap_DC__DrawPolygonList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12818 PyObject
*resultobj
;
12819 wxDC
*arg1
= (wxDC
*) 0 ;
12820 PyObject
*arg2
= (PyObject
*) 0 ;
12821 PyObject
*arg3
= (PyObject
*) 0 ;
12822 PyObject
*arg4
= (PyObject
*) 0 ;
12824 PyObject
* obj0
= 0 ;
12825 PyObject
* obj1
= 0 ;
12826 PyObject
* obj2
= 0 ;
12827 PyObject
* obj3
= 0 ;
12828 char *kwnames
[] = {
12829 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
12832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12833 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12839 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
12841 wxPyEndAllowThreads(__tstate
);
12842 if (PyErr_Occurred()) SWIG_fail
;
12844 resultobj
= result
;
12851 static PyObject
*_wrap_DC__DrawTextList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12852 PyObject
*resultobj
;
12853 wxDC
*arg1
= (wxDC
*) 0 ;
12854 PyObject
*arg2
= (PyObject
*) 0 ;
12855 PyObject
*arg3
= (PyObject
*) 0 ;
12856 PyObject
*arg4
= (PyObject
*) 0 ;
12857 PyObject
*arg5
= (PyObject
*) 0 ;
12859 PyObject
* obj0
= 0 ;
12860 PyObject
* obj1
= 0 ;
12861 PyObject
* obj2
= 0 ;
12862 PyObject
* obj3
= 0 ;
12863 PyObject
* obj4
= 0 ;
12864 char *kwnames
[] = {
12865 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
12868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12869 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12876 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
12878 wxPyEndAllowThreads(__tstate
);
12879 if (PyErr_Occurred()) SWIG_fail
;
12881 resultobj
= result
;
12888 static PyObject
* DC_swigregister(PyObject
*self
, PyObject
*args
) {
12890 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12891 SWIG_TypeClientData(SWIGTYPE_p_wxDC
, obj
);
12893 return Py_BuildValue((char *)"");
12895 static PyObject
*_wrap_new_MemoryDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12896 PyObject
*resultobj
;
12897 wxMemoryDC
*result
;
12898 char *kwnames
[] = {
12902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryDC",kwnames
)) goto fail
;
12904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12905 result
= (wxMemoryDC
*)new wxMemoryDC();
12907 wxPyEndAllowThreads(__tstate
);
12908 if (PyErr_Occurred()) SWIG_fail
;
12910 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMemoryDC
, 1);
12917 static PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12918 PyObject
*resultobj
;
12919 wxDC
*arg1
= (wxDC
*) 0 ;
12920 wxMemoryDC
*result
;
12921 PyObject
* obj0
= 0 ;
12922 char *kwnames
[] = {
12923 (char *) "oldDC", NULL
12926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) goto fail
;
12927 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12930 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
12932 wxPyEndAllowThreads(__tstate
);
12933 if (PyErr_Occurred()) SWIG_fail
;
12935 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMemoryDC
, 1);
12942 static PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12943 PyObject
*resultobj
;
12944 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
12945 wxBitmap
*arg2
= 0 ;
12946 PyObject
* obj0
= 0 ;
12947 PyObject
* obj1
= 0 ;
12948 char *kwnames
[] = {
12949 (char *) "self",(char *) "bitmap", NULL
12952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) goto fail
;
12953 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMemoryDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12954 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12955 if (arg2
== NULL
) {
12956 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12960 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
12962 wxPyEndAllowThreads(__tstate
);
12963 if (PyErr_Occurred()) SWIG_fail
;
12965 Py_INCREF(Py_None
); resultobj
= Py_None
;
12972 static PyObject
* MemoryDC_swigregister(PyObject
*self
, PyObject
*args
) {
12974 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12975 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC
, obj
);
12977 return Py_BuildValue((char *)"");
12979 static PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12980 PyObject
*resultobj
;
12981 wxDC
*arg1
= (wxDC
*) 0 ;
12982 wxBitmap
*arg2
= 0 ;
12983 wxBufferedDC
*result
;
12984 PyObject
* obj0
= 0 ;
12985 PyObject
* obj1
= 0 ;
12986 char *kwnames
[] = {
12987 (char *) "dc",(char *) "buffer", NULL
12990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_BufferedDC",kwnames
,&obj0
,&obj1
)) goto fail
;
12991 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12992 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12993 if (arg2
== NULL
) {
12994 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12998 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
);
13000 wxPyEndAllowThreads(__tstate
);
13001 if (PyErr_Occurred()) SWIG_fail
;
13003 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBufferedDC
, 1);
13010 static PyObject
*_wrap_new_BufferedDCInternalBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13011 PyObject
*resultobj
;
13012 wxDC
*arg1
= (wxDC
*) 0 ;
13014 wxBufferedDC
*result
;
13016 PyObject
* obj0
= 0 ;
13017 PyObject
* obj1
= 0 ;
13018 char *kwnames
[] = {
13019 (char *) "dc",(char *) "area", NULL
13022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_BufferedDCInternalBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
13023 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13026 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13030 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
13032 wxPyEndAllowThreads(__tstate
);
13033 if (PyErr_Occurred()) SWIG_fail
;
13035 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBufferedDC
, 1);
13042 static PyObject
*_wrap_BufferedDC_UnMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13043 PyObject
*resultobj
;
13044 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
13045 PyObject
* obj0
= 0 ;
13046 char *kwnames
[] = {
13047 (char *) "self", NULL
13050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BufferedDC_UnMask",kwnames
,&obj0
)) goto fail
;
13051 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBufferedDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13056 wxPyEndAllowThreads(__tstate
);
13057 if (PyErr_Occurred()) SWIG_fail
;
13059 Py_INCREF(Py_None
); resultobj
= Py_None
;
13066 static PyObject
* BufferedDC_swigregister(PyObject
*self
, PyObject
*args
) {
13068 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13069 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC
, obj
);
13071 return Py_BuildValue((char *)"");
13073 static PyObject
*_wrap_new_BufferedPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13074 PyObject
*resultobj
;
13075 wxWindow
*arg1
= (wxWindow
*) 0 ;
13076 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
13077 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
13078 wxBufferedPaintDC
*result
;
13079 PyObject
* obj0
= 0 ;
13080 PyObject
* obj1
= 0 ;
13081 char *kwnames
[] = {
13082 (char *) "window",(char *) "buffer", NULL
13085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
)) goto fail
;
13086 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13088 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13089 if (arg2
== NULL
) {
13090 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13095 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
);
13097 wxPyEndAllowThreads(__tstate
);
13098 if (PyErr_Occurred()) SWIG_fail
;
13100 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBufferedPaintDC
, 1);
13107 static PyObject
* BufferedPaintDC_swigregister(PyObject
*self
, PyObject
*args
) {
13109 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13110 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC
, obj
);
13112 return Py_BuildValue((char *)"");
13114 static PyObject
*_wrap_new_ScreenDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13115 PyObject
*resultobj
;
13116 wxScreenDC
*result
;
13117 char *kwnames
[] = {
13121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ScreenDC",kwnames
)) goto fail
;
13123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13124 result
= (wxScreenDC
*)new wxScreenDC();
13126 wxPyEndAllowThreads(__tstate
);
13127 if (PyErr_Occurred()) SWIG_fail
;
13129 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScreenDC
, 1);
13136 static PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13137 PyObject
*resultobj
;
13138 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
13139 wxWindow
*arg2
= (wxWindow
*) 0 ;
13141 PyObject
* obj0
= 0 ;
13142 PyObject
* obj1
= 0 ;
13143 char *kwnames
[] = {
13144 (char *) "self",(char *) "window", NULL
13147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) goto fail
;
13148 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScreenDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13149 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13152 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
13154 wxPyEndAllowThreads(__tstate
);
13155 if (PyErr_Occurred()) SWIG_fail
;
13157 resultobj
= PyInt_FromLong((long)result
);
13164 static PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13165 PyObject
*resultobj
;
13166 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
13167 wxRect
*arg2
= (wxRect
*) NULL
;
13169 PyObject
* obj0
= 0 ;
13170 PyObject
* obj1
= 0 ;
13171 char *kwnames
[] = {
13172 (char *) "self",(char *) "rect", NULL
13175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) goto fail
;
13176 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScreenDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13178 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13182 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
13184 wxPyEndAllowThreads(__tstate
);
13185 if (PyErr_Occurred()) SWIG_fail
;
13187 resultobj
= PyInt_FromLong((long)result
);
13194 static PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13195 PyObject
*resultobj
;
13196 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
13198 PyObject
* obj0
= 0 ;
13199 char *kwnames
[] = {
13200 (char *) "self", NULL
13203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames
,&obj0
)) goto fail
;
13204 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScreenDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13207 result
= (bool)(arg1
)->EndDrawingOnTop();
13209 wxPyEndAllowThreads(__tstate
);
13210 if (PyErr_Occurred()) SWIG_fail
;
13212 resultobj
= PyInt_FromLong((long)result
);
13219 static PyObject
* ScreenDC_swigregister(PyObject
*self
, PyObject
*args
) {
13221 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13222 SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC
, obj
);
13224 return Py_BuildValue((char *)"");
13226 static PyObject
*_wrap_new_ClientDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13227 PyObject
*resultobj
;
13228 wxWindow
*arg1
= (wxWindow
*) 0 ;
13229 wxClientDC
*result
;
13230 PyObject
* obj0
= 0 ;
13231 char *kwnames
[] = {
13232 (char *) "win", NULL
13235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) goto fail
;
13236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13239 result
= (wxClientDC
*)new wxClientDC(arg1
);
13241 wxPyEndAllowThreads(__tstate
);
13242 if (PyErr_Occurred()) SWIG_fail
;
13244 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxClientDC
, 1);
13251 static PyObject
* ClientDC_swigregister(PyObject
*self
, PyObject
*args
) {
13253 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13254 SWIG_TypeClientData(SWIGTYPE_p_wxClientDC
, obj
);
13256 return Py_BuildValue((char *)"");
13258 static PyObject
*_wrap_new_PaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13259 PyObject
*resultobj
;
13260 wxWindow
*arg1
= (wxWindow
*) 0 ;
13262 PyObject
* obj0
= 0 ;
13263 char *kwnames
[] = {
13264 (char *) "win", NULL
13267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) goto fail
;
13268 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13271 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
13273 wxPyEndAllowThreads(__tstate
);
13274 if (PyErr_Occurred()) SWIG_fail
;
13276 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPaintDC
, 1);
13283 static PyObject
* PaintDC_swigregister(PyObject
*self
, PyObject
*args
) {
13285 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13286 SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC
, obj
);
13288 return Py_BuildValue((char *)"");
13290 static PyObject
*_wrap_new_WindowDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13291 PyObject
*resultobj
;
13292 wxWindow
*arg1
= (wxWindow
*) 0 ;
13293 wxWindowDC
*result
;
13294 PyObject
* obj0
= 0 ;
13295 char *kwnames
[] = {
13296 (char *) "win", NULL
13299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) goto fail
;
13300 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13303 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
13305 wxPyEndAllowThreads(__tstate
);
13306 if (PyErr_Occurred()) SWIG_fail
;
13308 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxWindowDC
, 1);
13315 static PyObject
* WindowDC_swigregister(PyObject
*self
, PyObject
*args
) {
13317 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13318 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC
, obj
);
13320 return Py_BuildValue((char *)"");
13322 static PyObject
*_wrap_new_MirrorDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13323 PyObject
*resultobj
;
13326 wxMirrorDC
*result
;
13327 PyObject
* obj0
= 0 ;
13328 PyObject
* obj1
= 0 ;
13329 char *kwnames
[] = {
13330 (char *) "dc",(char *) "mirror", NULL
13333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) goto fail
;
13334 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13335 if (arg1
== NULL
) {
13336 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13338 arg2
= PyInt_AsLong(obj1
) ? true : false;
13339 if (PyErr_Occurred()) SWIG_fail
;
13341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13342 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
13344 wxPyEndAllowThreads(__tstate
);
13345 if (PyErr_Occurred()) SWIG_fail
;
13347 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMirrorDC
, 1);
13354 static PyObject
* MirrorDC_swigregister(PyObject
*self
, PyObject
*args
) {
13356 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13357 SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC
, obj
);
13359 return Py_BuildValue((char *)"");
13361 static PyObject
*_wrap_new_PostScriptDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13362 PyObject
*resultobj
;
13363 wxPrintData
*arg1
= 0 ;
13364 wxPostScriptDC
*result
;
13365 PyObject
* obj0
= 0 ;
13366 char *kwnames
[] = {
13367 (char *) "printData", NULL
13370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) goto fail
;
13371 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13372 if (arg1
== NULL
) {
13373 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13377 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
13379 wxPyEndAllowThreads(__tstate
);
13380 if (PyErr_Occurred()) SWIG_fail
;
13382 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPostScriptDC
, 1);
13389 static PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13390 PyObject
*resultobj
;
13391 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
13392 wxPrintData
*result
;
13393 PyObject
* obj0
= 0 ;
13394 char *kwnames
[] = {
13395 (char *) "self", NULL
13398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_GetPrintData",kwnames
,&obj0
)) goto fail
;
13399 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPostScriptDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13403 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
13404 result
= (wxPrintData
*) &_result_ref
;
13407 wxPyEndAllowThreads(__tstate
);
13408 if (PyErr_Occurred()) SWIG_fail
;
13410 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintData
, 0);
13417 static PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13418 PyObject
*resultobj
;
13419 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
13420 wxPrintData
*arg2
= 0 ;
13421 PyObject
* obj0
= 0 ;
13422 PyObject
* obj1
= 0 ;
13423 char *kwnames
[] = {
13424 (char *) "self",(char *) "data", NULL
13427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
13428 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPostScriptDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13429 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13430 if (arg2
== NULL
) {
13431 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13435 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
13437 wxPyEndAllowThreads(__tstate
);
13438 if (PyErr_Occurred()) SWIG_fail
;
13440 Py_INCREF(Py_None
); resultobj
= Py_None
;
13447 static PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13448 PyObject
*resultobj
;
13450 char *kwnames
[] = {
13451 (char *) "ppi", NULL
13454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:PostScriptDC_SetResolution",kwnames
,&arg1
)) goto fail
;
13456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13457 wxPostScriptDC::SetResolution(arg1
);
13459 wxPyEndAllowThreads(__tstate
);
13460 if (PyErr_Occurred()) SWIG_fail
;
13462 Py_INCREF(Py_None
); resultobj
= Py_None
;
13469 static PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13470 PyObject
*resultobj
;
13472 char *kwnames
[] = {
13476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PostScriptDC_GetResolution",kwnames
)) goto fail
;
13478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13479 result
= (int)wxPostScriptDC::GetResolution();
13481 wxPyEndAllowThreads(__tstate
);
13482 if (PyErr_Occurred()) SWIG_fail
;
13484 resultobj
= PyInt_FromLong((long)result
);
13491 static PyObject
* PostScriptDC_swigregister(PyObject
*self
, PyObject
*args
) {
13493 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13494 SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC
, obj
);
13496 return Py_BuildValue((char *)"");
13498 static PyObject
*_wrap_new_MetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13499 PyObject
*resultobj
;
13500 wxString
const &arg1_defvalue
= wxPyEmptyString
;
13501 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
13502 wxMetaFile
*result
;
13503 bool temp1
= False
;
13504 PyObject
* obj0
= 0 ;
13505 char *kwnames
[] = {
13506 (char *) "filename", NULL
13509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) goto fail
;
13512 arg1
= wxString_in_helper(obj0
);
13513 if (arg1
== NULL
) SWIG_fail
;
13518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13519 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
13521 wxPyEndAllowThreads(__tstate
);
13522 if (PyErr_Occurred()) SWIG_fail
;
13524 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMetaFile
, 1);
13539 static PyObject
* MetaFile_swigregister(PyObject
*self
, PyObject
*args
) {
13541 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13542 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile
, obj
);
13544 return Py_BuildValue((char *)"");
13546 static PyObject
*_wrap_new_MetaFileDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13547 PyObject
*resultobj
;
13548 wxString
const &arg1_defvalue
= wxPyEmptyString
;
13549 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
13550 int arg2
= (int) 0 ;
13551 int arg3
= (int) 0 ;
13552 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13553 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13554 wxMetaFileDC
*result
;
13555 bool temp1
= False
;
13556 bool temp4
= False
;
13557 PyObject
* obj0
= 0 ;
13558 PyObject
* obj3
= 0 ;
13559 char *kwnames
[] = {
13560 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
13563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OiiO:new_MetaFileDC",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
13566 arg1
= wxString_in_helper(obj0
);
13567 if (arg1
== NULL
) SWIG_fail
;
13573 arg4
= wxString_in_helper(obj3
);
13574 if (arg4
== NULL
) SWIG_fail
;
13579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13580 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
13582 wxPyEndAllowThreads(__tstate
);
13583 if (PyErr_Occurred()) SWIG_fail
;
13585 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMetaFileDC
, 1);
13608 static PyObject
* MetaFileDC_swigregister(PyObject
*self
, PyObject
*args
) {
13610 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13611 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC
, obj
);
13613 return Py_BuildValue((char *)"");
13615 static PyObject
*_wrap_new_PrinterDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13616 PyObject
*resultobj
;
13617 wxPrintData
*arg1
= 0 ;
13618 wxPrinterDC
*result
;
13619 PyObject
* obj0
= 0 ;
13620 char *kwnames
[] = {
13621 (char *) "printData", NULL
13624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) goto fail
;
13625 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13626 if (arg1
== NULL
) {
13627 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13631 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
13633 wxPyEndAllowThreads(__tstate
);
13634 if (PyErr_Occurred()) SWIG_fail
;
13636 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrinterDC
, 1);
13643 static PyObject
* PrinterDC_swigregister(PyObject
*self
, PyObject
*args
) {
13645 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13646 SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC
, obj
);
13648 return Py_BuildValue((char *)"");
13650 static PyObject
*_wrap_new_ImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13651 PyObject
*resultobj
;
13654 int arg3
= (int) True
;
13655 int arg4
= (int) 1 ;
13656 wxImageList
*result
;
13657 char *kwnames
[] = {
13658 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
13661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"ii|ii:new_ImageList",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
13663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13664 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
13666 wxPyEndAllowThreads(__tstate
);
13667 if (PyErr_Occurred()) SWIG_fail
;
13670 resultobj
= wxPyMake_wxObject(result
);
13678 static PyObject
*_wrap_delete_ImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13679 PyObject
*resultobj
;
13680 wxImageList
*arg1
= (wxImageList
*) 0 ;
13681 PyObject
* obj0
= 0 ;
13682 char *kwnames
[] = {
13683 (char *) "self", NULL
13686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ImageList",kwnames
,&obj0
)) goto fail
;
13687 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13692 wxPyEndAllowThreads(__tstate
);
13693 if (PyErr_Occurred()) SWIG_fail
;
13695 Py_INCREF(Py_None
); resultobj
= Py_None
;
13702 static PyObject
*_wrap_ImageList_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13703 PyObject
*resultobj
;
13704 wxImageList
*arg1
= (wxImageList
*) 0 ;
13705 wxBitmap
*arg2
= 0 ;
13706 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
13707 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
13709 PyObject
* obj0
= 0 ;
13710 PyObject
* obj1
= 0 ;
13711 PyObject
* obj2
= 0 ;
13712 char *kwnames
[] = {
13713 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
13716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13717 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13718 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13719 if (arg2
== NULL
) {
13720 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13723 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13724 if (arg3
== NULL
) {
13725 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13730 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
13732 wxPyEndAllowThreads(__tstate
);
13733 if (PyErr_Occurred()) SWIG_fail
;
13735 resultobj
= PyInt_FromLong((long)result
);
13742 static PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13743 PyObject
*resultobj
;
13744 wxImageList
*arg1
= (wxImageList
*) 0 ;
13745 wxBitmap
*arg2
= 0 ;
13746 wxColour
*arg3
= 0 ;
13749 PyObject
* obj0
= 0 ;
13750 PyObject
* obj1
= 0 ;
13751 PyObject
* obj2
= 0 ;
13752 char *kwnames
[] = {
13753 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
13756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13757 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13758 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13759 if (arg2
== NULL
) {
13760 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13764 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
13767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13768 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
13770 wxPyEndAllowThreads(__tstate
);
13771 if (PyErr_Occurred()) SWIG_fail
;
13773 resultobj
= PyInt_FromLong((long)result
);
13780 static PyObject
*_wrap_ImageList_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13781 PyObject
*resultobj
;
13782 wxImageList
*arg1
= (wxImageList
*) 0 ;
13785 PyObject
* obj0
= 0 ;
13786 PyObject
* obj1
= 0 ;
13787 char *kwnames
[] = {
13788 (char *) "self",(char *) "icon", NULL
13791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
13792 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13793 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13794 if (arg2
== NULL
) {
13795 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13799 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
13801 wxPyEndAllowThreads(__tstate
);
13802 if (PyErr_Occurred()) SWIG_fail
;
13804 resultobj
= PyInt_FromLong((long)result
);
13811 static PyObject
*_wrap_ImageList_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13812 PyObject
*resultobj
;
13813 wxImageList
*arg1
= (wxImageList
*) 0 ;
13815 wxBitmap
*arg3
= 0 ;
13817 PyObject
* obj0
= 0 ;
13818 PyObject
* obj2
= 0 ;
13819 char *kwnames
[] = {
13820 (char *) "self",(char *) "index",(char *) "bitmap", NULL
13823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ImageList_Replace",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
13824 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13825 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13826 if (arg3
== NULL
) {
13827 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13831 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
);
13833 wxPyEndAllowThreads(__tstate
);
13834 if (PyErr_Occurred()) SWIG_fail
;
13836 resultobj
= PyInt_FromLong((long)result
);
13843 static PyObject
*_wrap_ImageList_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13844 PyObject
*resultobj
;
13845 wxImageList
*arg1
= (wxImageList
*) 0 ;
13850 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
13851 bool arg7
= (bool) (bool)False
;
13853 PyObject
* obj0
= 0 ;
13854 PyObject
* obj2
= 0 ;
13855 PyObject
* obj6
= 0 ;
13856 char *kwnames
[] = {
13857 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
13860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiOii|iO:ImageList_Draw",kwnames
,&obj0
,&arg2
,&obj2
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
13861 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13862 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13863 if (arg3
== NULL
) {
13864 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13867 arg7
= PyInt_AsLong(obj6
) ? true : false;
13868 if (PyErr_Occurred()) SWIG_fail
;
13871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13872 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
13874 wxPyEndAllowThreads(__tstate
);
13875 if (PyErr_Occurred()) SWIG_fail
;
13877 resultobj
= PyInt_FromLong((long)result
);
13884 static PyObject
*_wrap_ImageList_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13885 PyObject
*resultobj
;
13886 wxImageList
*arg1
= (wxImageList
*) 0 ;
13888 PyObject
* obj0
= 0 ;
13889 char *kwnames
[] = {
13890 (char *) "self", NULL
13893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_GetImageCount",kwnames
,&obj0
)) goto fail
;
13894 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13897 result
= (int)(arg1
)->GetImageCount();
13899 wxPyEndAllowThreads(__tstate
);
13900 if (PyErr_Occurred()) SWIG_fail
;
13902 resultobj
= PyInt_FromLong((long)result
);
13909 static PyObject
*_wrap_ImageList_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13910 PyObject
*resultobj
;
13911 wxImageList
*arg1
= (wxImageList
*) 0 ;
13914 PyObject
* obj0
= 0 ;
13915 char *kwnames
[] = {
13916 (char *) "self",(char *) "index", NULL
13919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ImageList_Remove",kwnames
,&obj0
,&arg2
)) goto fail
;
13920 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13923 result
= (bool)(arg1
)->Remove(arg2
);
13925 wxPyEndAllowThreads(__tstate
);
13926 if (PyErr_Occurred()) SWIG_fail
;
13928 resultobj
= PyInt_FromLong((long)result
);
13935 static PyObject
*_wrap_ImageList_RemoveAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13936 PyObject
*resultobj
;
13937 wxImageList
*arg1
= (wxImageList
*) 0 ;
13939 PyObject
* obj0
= 0 ;
13940 char *kwnames
[] = {
13941 (char *) "self", NULL
13944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_RemoveAll",kwnames
,&obj0
)) goto fail
;
13945 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13948 result
= (bool)(arg1
)->RemoveAll();
13950 wxPyEndAllowThreads(__tstate
);
13951 if (PyErr_Occurred()) SWIG_fail
;
13953 resultobj
= PyInt_FromLong((long)result
);
13960 static PyObject
*_wrap_ImageList_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13961 PyObject
*resultobj
;
13962 wxImageList
*arg1
= (wxImageList
*) 0 ;
13968 PyObject
* obj0
= 0 ;
13969 char *kwnames
[] = {
13970 (char *) "self",(char *) "index", NULL
13975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ImageList_GetSize",kwnames
,&obj0
,&arg2
)) goto fail
;
13976 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13979 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
13981 wxPyEndAllowThreads(__tstate
);
13982 if (PyErr_Occurred()) SWIG_fail
;
13984 Py_INCREF(Py_None
); resultobj
= Py_None
;
13986 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13987 resultobj
= t_output_helper(resultobj
,o
);
13990 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
13991 resultobj
= t_output_helper(resultobj
,o
);
13999 static PyObject
* ImageList_swigregister(PyObject
*self
, PyObject
*args
) {
14001 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14002 SWIG_TypeClientData(SWIGTYPE_p_wxImageList
, obj
);
14004 return Py_BuildValue((char *)"");
14006 static PyObject
*_wrap_PenList_AddPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14007 PyObject
*resultobj
;
14008 wxPenList
*arg1
= (wxPenList
*) 0 ;
14009 wxPen
*arg2
= (wxPen
*) 0 ;
14010 PyObject
* obj0
= 0 ;
14011 PyObject
* obj1
= 0 ;
14012 char *kwnames
[] = {
14013 (char *) "self",(char *) "pen", NULL
14016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) goto fail
;
14017 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPenList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14018 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14021 (arg1
)->AddPen(arg2
);
14023 wxPyEndAllowThreads(__tstate
);
14024 if (PyErr_Occurred()) SWIG_fail
;
14026 Py_INCREF(Py_None
); resultobj
= Py_None
;
14033 static PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14034 PyObject
*resultobj
;
14035 wxPenList
*arg1
= (wxPenList
*) 0 ;
14036 wxColour
*arg2
= 0 ;
14041 PyObject
* obj0
= 0 ;
14042 PyObject
* obj1
= 0 ;
14043 char *kwnames
[] = {
14044 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
14047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
14048 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPenList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14051 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14055 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
14057 wxPyEndAllowThreads(__tstate
);
14058 if (PyErr_Occurred()) SWIG_fail
;
14060 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPen
, 0);
14067 static PyObject
*_wrap_PenList_RemovePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14068 PyObject
*resultobj
;
14069 wxPenList
*arg1
= (wxPenList
*) 0 ;
14070 wxPen
*arg2
= (wxPen
*) 0 ;
14071 PyObject
* obj0
= 0 ;
14072 PyObject
* obj1
= 0 ;
14073 char *kwnames
[] = {
14074 (char *) "self",(char *) "pen", NULL
14077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) goto fail
;
14078 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPenList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14079 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14082 (arg1
)->RemovePen(arg2
);
14084 wxPyEndAllowThreads(__tstate
);
14085 if (PyErr_Occurred()) SWIG_fail
;
14087 Py_INCREF(Py_None
); resultobj
= Py_None
;
14094 static PyObject
*_wrap_PenList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14095 PyObject
*resultobj
;
14096 wxPenList
*arg1
= (wxPenList
*) 0 ;
14098 PyObject
* obj0
= 0 ;
14099 char *kwnames
[] = {
14100 (char *) "self", NULL
14103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PenList_GetCount",kwnames
,&obj0
)) goto fail
;
14104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPenList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14107 result
= (int)(arg1
)->GetCount();
14109 wxPyEndAllowThreads(__tstate
);
14110 if (PyErr_Occurred()) SWIG_fail
;
14112 resultobj
= PyInt_FromLong((long)result
);
14119 static PyObject
* PenList_swigregister(PyObject
*self
, PyObject
*args
) {
14121 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14122 SWIG_TypeClientData(SWIGTYPE_p_wxPenList
, obj
);
14124 return Py_BuildValue((char *)"");
14126 static PyObject
*_wrap_BrushList_AddBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14127 PyObject
*resultobj
;
14128 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
14129 wxBrush
*arg2
= (wxBrush
*) 0 ;
14130 PyObject
* obj0
= 0 ;
14131 PyObject
* obj1
= 0 ;
14132 char *kwnames
[] = {
14133 (char *) "self",(char *) "brush", NULL
14136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
14137 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrushList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14138 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14141 (arg1
)->AddBrush(arg2
);
14143 wxPyEndAllowThreads(__tstate
);
14144 if (PyErr_Occurred()) SWIG_fail
;
14146 Py_INCREF(Py_None
); resultobj
= Py_None
;
14153 static PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14154 PyObject
*resultobj
;
14155 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
14156 wxColour
*arg2
= 0 ;
14160 PyObject
* obj0
= 0 ;
14161 PyObject
* obj1
= 0 ;
14162 char *kwnames
[] = {
14163 (char *) "self",(char *) "colour",(char *) "style", NULL
14166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
14167 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrushList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14170 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14174 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
14176 wxPyEndAllowThreads(__tstate
);
14177 if (PyErr_Occurred()) SWIG_fail
;
14179 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBrush
, 0);
14186 static PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14187 PyObject
*resultobj
;
14188 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
14189 wxBrush
*arg2
= (wxBrush
*) 0 ;
14190 PyObject
* obj0
= 0 ;
14191 PyObject
* obj1
= 0 ;
14192 char *kwnames
[] = {
14193 (char *) "self",(char *) "brush", NULL
14196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
14197 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrushList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14198 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14201 (arg1
)->RemoveBrush(arg2
);
14203 wxPyEndAllowThreads(__tstate
);
14204 if (PyErr_Occurred()) SWIG_fail
;
14206 Py_INCREF(Py_None
); resultobj
= Py_None
;
14213 static PyObject
*_wrap_BrushList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14214 PyObject
*resultobj
;
14215 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
14217 PyObject
* obj0
= 0 ;
14218 char *kwnames
[] = {
14219 (char *) "self", NULL
14222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BrushList_GetCount",kwnames
,&obj0
)) goto fail
;
14223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrushList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14226 result
= (int)(arg1
)->GetCount();
14228 wxPyEndAllowThreads(__tstate
);
14229 if (PyErr_Occurred()) SWIG_fail
;
14231 resultobj
= PyInt_FromLong((long)result
);
14238 static PyObject
* BrushList_swigregister(PyObject
*self
, PyObject
*args
) {
14240 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14241 SWIG_TypeClientData(SWIGTYPE_p_wxBrushList
, obj
);
14243 return Py_BuildValue((char *)"");
14245 static PyObject
*_wrap_new_ColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14246 PyObject
*resultobj
;
14247 wxColourDatabase
*result
;
14248 char *kwnames
[] = {
14252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourDatabase",kwnames
)) goto fail
;
14254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14255 result
= (wxColourDatabase
*)new wxColourDatabase();
14257 wxPyEndAllowThreads(__tstate
);
14258 if (PyErr_Occurred()) SWIG_fail
;
14260 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColourDatabase
, 1);
14267 static PyObject
*_wrap_delete_ColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14268 PyObject
*resultobj
;
14269 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
14270 PyObject
* obj0
= 0 ;
14271 char *kwnames
[] = {
14272 (char *) "self", NULL
14275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourDatabase",kwnames
,&obj0
)) goto fail
;
14276 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDatabase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14281 wxPyEndAllowThreads(__tstate
);
14282 if (PyErr_Occurred()) SWIG_fail
;
14284 Py_INCREF(Py_None
); resultobj
= Py_None
;
14291 static PyObject
*_wrap_ColourDatabase_Find(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14292 PyObject
*resultobj
;
14293 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
14294 wxString
*arg2
= 0 ;
14296 bool temp2
= False
;
14297 PyObject
* obj0
= 0 ;
14298 PyObject
* obj1
= 0 ;
14299 char *kwnames
[] = {
14300 (char *) "self",(char *) "name", NULL
14303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) goto fail
;
14304 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDatabase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14306 arg2
= wxString_in_helper(obj1
);
14307 if (arg2
== NULL
) SWIG_fail
;
14311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14312 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
14314 wxPyEndAllowThreads(__tstate
);
14315 if (PyErr_Occurred()) SWIG_fail
;
14318 wxColour
* resultptr
;
14319 resultptr
= new wxColour((wxColour
&) result
);
14320 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
14336 static PyObject
*_wrap_ColourDatabase_FindName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14337 PyObject
*resultobj
;
14338 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
14339 wxColour
*arg2
= 0 ;
14342 PyObject
* obj0
= 0 ;
14343 PyObject
* obj1
= 0 ;
14344 char *kwnames
[] = {
14345 (char *) "self",(char *) "colour", NULL
14348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) goto fail
;
14349 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDatabase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14352 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14356 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
14358 wxPyEndAllowThreads(__tstate
);
14359 if (PyErr_Occurred()) SWIG_fail
;
14363 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14365 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14374 static PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14375 PyObject
*resultobj
;
14376 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
14377 wxString
*arg2
= 0 ;
14378 wxColour
*arg3
= 0 ;
14379 bool temp2
= False
;
14381 PyObject
* obj0
= 0 ;
14382 PyObject
* obj1
= 0 ;
14383 PyObject
* obj2
= 0 ;
14384 char *kwnames
[] = {
14385 (char *) "self",(char *) "name",(char *) "colour", NULL
14388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14389 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDatabase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14391 arg2
= wxString_in_helper(obj1
);
14392 if (arg2
== NULL
) SWIG_fail
;
14397 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
14400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14401 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
14403 wxPyEndAllowThreads(__tstate
);
14404 if (PyErr_Occurred()) SWIG_fail
;
14406 Py_INCREF(Py_None
); resultobj
= Py_None
;
14421 static PyObject
*_wrap_ColourDatabase_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14422 PyObject
*resultobj
;
14423 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
14424 wxString
*arg2
= 0 ;
14428 bool temp2
= False
;
14429 PyObject
* obj0
= 0 ;
14430 PyObject
* obj1
= 0 ;
14431 char *kwnames
[] = {
14432 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
14435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiii:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
)) goto fail
;
14436 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDatabase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14438 arg2
= wxString_in_helper(obj1
);
14439 if (arg2
== NULL
) SWIG_fail
;
14443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14444 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
14446 wxPyEndAllowThreads(__tstate
);
14447 if (PyErr_Occurred()) SWIG_fail
;
14449 Py_INCREF(Py_None
); resultobj
= Py_None
;
14464 static PyObject
* ColourDatabase_swigregister(PyObject
*self
, PyObject
*args
) {
14466 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14467 SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase
, obj
);
14469 return Py_BuildValue((char *)"");
14471 static PyObject
*_wrap_FontList_AddFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14472 PyObject
*resultobj
;
14473 wxFontList
*arg1
= (wxFontList
*) 0 ;
14474 wxFont
*arg2
= (wxFont
*) 0 ;
14475 PyObject
* obj0
= 0 ;
14476 PyObject
* obj1
= 0 ;
14477 char *kwnames
[] = {
14478 (char *) "self",(char *) "font", NULL
14481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) goto fail
;
14482 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14483 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14486 (arg1
)->AddFont(arg2
);
14488 wxPyEndAllowThreads(__tstate
);
14489 if (PyErr_Occurred()) SWIG_fail
;
14491 Py_INCREF(Py_None
); resultobj
= Py_None
;
14498 static PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14499 PyObject
*resultobj
;
14500 wxFontList
*arg1
= (wxFontList
*) 0 ;
14505 bool arg6
= (bool) False
;
14506 wxString
const &arg7_defvalue
= wxPyEmptyString
;
14507 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14508 int arg8
= (int) wxFONTENCODING_DEFAULT
;
14510 bool temp7
= False
;
14511 PyObject
* obj0
= 0 ;
14512 PyObject
* obj5
= 0 ;
14513 PyObject
* obj6
= 0 ;
14514 char *kwnames
[] = {
14515 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
14518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|OOi:FontList_FindOrCreateFont",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&obj5
,&obj6
,&arg8
)) goto fail
;
14519 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14521 arg6
= PyInt_AsLong(obj5
) ? true : false;
14522 if (PyErr_Occurred()) SWIG_fail
;
14526 arg7
= wxString_in_helper(obj6
);
14527 if (arg7
== NULL
) SWIG_fail
;
14532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14533 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,(wxFontEncoding
)arg8
);
14535 wxPyEndAllowThreads(__tstate
);
14536 if (PyErr_Occurred()) SWIG_fail
;
14538 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
14553 static PyObject
*_wrap_FontList_RemoveFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14554 PyObject
*resultobj
;
14555 wxFontList
*arg1
= (wxFontList
*) 0 ;
14556 wxFont
*arg2
= (wxFont
*) 0 ;
14557 PyObject
* obj0
= 0 ;
14558 PyObject
* obj1
= 0 ;
14559 char *kwnames
[] = {
14560 (char *) "self",(char *) "font", NULL
14563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) goto fail
;
14564 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14565 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14568 (arg1
)->RemoveFont(arg2
);
14570 wxPyEndAllowThreads(__tstate
);
14571 if (PyErr_Occurred()) SWIG_fail
;
14573 Py_INCREF(Py_None
); resultobj
= Py_None
;
14580 static PyObject
*_wrap_FontList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14581 PyObject
*resultobj
;
14582 wxFontList
*arg1
= (wxFontList
*) 0 ;
14584 PyObject
* obj0
= 0 ;
14585 char *kwnames
[] = {
14586 (char *) "self", NULL
14589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontList_GetCount",kwnames
,&obj0
)) goto fail
;
14590 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14593 result
= (int)(arg1
)->GetCount();
14595 wxPyEndAllowThreads(__tstate
);
14596 if (PyErr_Occurred()) SWIG_fail
;
14598 resultobj
= PyInt_FromLong((long)result
);
14605 static PyObject
* FontList_swigregister(PyObject
*self
, PyObject
*args
) {
14607 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14608 SWIG_TypeClientData(SWIGTYPE_p_wxFontList
, obj
);
14610 return Py_BuildValue((char *)"");
14612 static int _wrap_NORMAL_FONT_set(PyObject
*_val
) {
14613 PyErr_SetString(PyExc_TypeError
,"Variable NORMAL_FONT is read-only.");
14618 static PyObject
*_wrap_NORMAL_FONT_get() {
14621 pyobj
= SWIG_NewPointerObj((void *) wxNORMAL_FONT
, SWIGTYPE_p_wxFont
, 0);
14626 static int _wrap_SMALL_FONT_set(PyObject
*_val
) {
14627 PyErr_SetString(PyExc_TypeError
,"Variable SMALL_FONT is read-only.");
14632 static PyObject
*_wrap_SMALL_FONT_get() {
14635 pyobj
= SWIG_NewPointerObj((void *) wxSMALL_FONT
, SWIGTYPE_p_wxFont
, 0);
14640 static int _wrap_ITALIC_FONT_set(PyObject
*_val
) {
14641 PyErr_SetString(PyExc_TypeError
,"Variable ITALIC_FONT is read-only.");
14646 static PyObject
*_wrap_ITALIC_FONT_get() {
14649 pyobj
= SWIG_NewPointerObj((void *) wxITALIC_FONT
, SWIGTYPE_p_wxFont
, 0);
14654 static int _wrap_SWISS_FONT_set(PyObject
*_val
) {
14655 PyErr_SetString(PyExc_TypeError
,"Variable SWISS_FONT is read-only.");
14660 static PyObject
*_wrap_SWISS_FONT_get() {
14663 pyobj
= SWIG_NewPointerObj((void *) wxSWISS_FONT
, SWIGTYPE_p_wxFont
, 0);
14668 static int _wrap_RED_PEN_set(PyObject
*_val
) {
14669 PyErr_SetString(PyExc_TypeError
,"Variable RED_PEN is read-only.");
14674 static PyObject
*_wrap_RED_PEN_get() {
14677 pyobj
= SWIG_NewPointerObj((void *) wxRED_PEN
, SWIGTYPE_p_wxPen
, 0);
14682 static int _wrap_CYAN_PEN_set(PyObject
*_val
) {
14683 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_PEN is read-only.");
14688 static PyObject
*_wrap_CYAN_PEN_get() {
14691 pyobj
= SWIG_NewPointerObj((void *) wxCYAN_PEN
, SWIGTYPE_p_wxPen
, 0);
14696 static int _wrap_GREEN_PEN_set(PyObject
*_val
) {
14697 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_PEN is read-only.");
14702 static PyObject
*_wrap_GREEN_PEN_get() {
14705 pyobj
= SWIG_NewPointerObj((void *) wxGREEN_PEN
, SWIGTYPE_p_wxPen
, 0);
14710 static int _wrap_BLACK_PEN_set(PyObject
*_val
) {
14711 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_PEN is read-only.");
14716 static PyObject
*_wrap_BLACK_PEN_get() {
14719 pyobj
= SWIG_NewPointerObj((void *) wxBLACK_PEN
, SWIGTYPE_p_wxPen
, 0);
14724 static int _wrap_WHITE_PEN_set(PyObject
*_val
) {
14725 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_PEN is read-only.");
14730 static PyObject
*_wrap_WHITE_PEN_get() {
14733 pyobj
= SWIG_NewPointerObj((void *) wxWHITE_PEN
, SWIGTYPE_p_wxPen
, 0);
14738 static int _wrap_TRANSPARENT_PEN_set(PyObject
*_val
) {
14739 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_PEN is read-only.");
14744 static PyObject
*_wrap_TRANSPARENT_PEN_get() {
14747 pyobj
= SWIG_NewPointerObj((void *) wxTRANSPARENT_PEN
, SWIGTYPE_p_wxPen
, 0);
14752 static int _wrap_BLACK_DASHED_PEN_set(PyObject
*_val
) {
14753 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_DASHED_PEN is read-only.");
14758 static PyObject
*_wrap_BLACK_DASHED_PEN_get() {
14761 pyobj
= SWIG_NewPointerObj((void *) wxBLACK_DASHED_PEN
, SWIGTYPE_p_wxPen
, 0);
14766 static int _wrap_GREY_PEN_set(PyObject
*_val
) {
14767 PyErr_SetString(PyExc_TypeError
,"Variable GREY_PEN is read-only.");
14772 static PyObject
*_wrap_GREY_PEN_get() {
14775 pyobj
= SWIG_NewPointerObj((void *) wxGREY_PEN
, SWIGTYPE_p_wxPen
, 0);
14780 static int _wrap_MEDIUM_GREY_PEN_set(PyObject
*_val
) {
14781 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_PEN is read-only.");
14786 static PyObject
*_wrap_MEDIUM_GREY_PEN_get() {
14789 pyobj
= SWIG_NewPointerObj((void *) wxMEDIUM_GREY_PEN
, SWIGTYPE_p_wxPen
, 0);
14794 static int _wrap_LIGHT_GREY_PEN_set(PyObject
*_val
) {
14795 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_PEN is read-only.");
14800 static PyObject
*_wrap_LIGHT_GREY_PEN_get() {
14803 pyobj
= SWIG_NewPointerObj((void *) wxLIGHT_GREY_PEN
, SWIGTYPE_p_wxPen
, 0);
14808 static int _wrap_BLUE_BRUSH_set(PyObject
*_val
) {
14809 PyErr_SetString(PyExc_TypeError
,"Variable BLUE_BRUSH is read-only.");
14814 static PyObject
*_wrap_BLUE_BRUSH_get() {
14817 pyobj
= SWIG_NewPointerObj((void *) wxBLUE_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
14822 static int _wrap_GREEN_BRUSH_set(PyObject
*_val
) {
14823 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_BRUSH is read-only.");
14828 static PyObject
*_wrap_GREEN_BRUSH_get() {
14831 pyobj
= SWIG_NewPointerObj((void *) wxGREEN_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
14836 static int _wrap_WHITE_BRUSH_set(PyObject
*_val
) {
14837 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_BRUSH is read-only.");
14842 static PyObject
*_wrap_WHITE_BRUSH_get() {
14845 pyobj
= SWIG_NewPointerObj((void *) wxWHITE_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
14850 static int _wrap_BLACK_BRUSH_set(PyObject
*_val
) {
14851 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_BRUSH is read-only.");
14856 static PyObject
*_wrap_BLACK_BRUSH_get() {
14859 pyobj
= SWIG_NewPointerObj((void *) wxBLACK_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
14864 static int _wrap_TRANSPARENT_BRUSH_set(PyObject
*_val
) {
14865 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_BRUSH is read-only.");
14870 static PyObject
*_wrap_TRANSPARENT_BRUSH_get() {
14873 pyobj
= SWIG_NewPointerObj((void *) wxTRANSPARENT_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
14878 static int _wrap_CYAN_BRUSH_set(PyObject
*_val
) {
14879 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_BRUSH is read-only.");
14884 static PyObject
*_wrap_CYAN_BRUSH_get() {
14887 pyobj
= SWIG_NewPointerObj((void *) wxCYAN_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
14892 static int _wrap_RED_BRUSH_set(PyObject
*_val
) {
14893 PyErr_SetString(PyExc_TypeError
,"Variable RED_BRUSH is read-only.");
14898 static PyObject
*_wrap_RED_BRUSH_get() {
14901 pyobj
= SWIG_NewPointerObj((void *) wxRED_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
14906 static int _wrap_GREY_BRUSH_set(PyObject
*_val
) {
14907 PyErr_SetString(PyExc_TypeError
,"Variable GREY_BRUSH is read-only.");
14912 static PyObject
*_wrap_GREY_BRUSH_get() {
14915 pyobj
= SWIG_NewPointerObj((void *) wxGREY_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
14920 static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject
*_val
) {
14921 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_BRUSH is read-only.");
14926 static PyObject
*_wrap_MEDIUM_GREY_BRUSH_get() {
14929 pyobj
= SWIG_NewPointerObj((void *) wxMEDIUM_GREY_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
14934 static int _wrap_LIGHT_GREY_BRUSH_set(PyObject
*_val
) {
14935 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_BRUSH is read-only.");
14940 static PyObject
*_wrap_LIGHT_GREY_BRUSH_get() {
14943 pyobj
= SWIG_NewPointerObj((void *) wxLIGHT_GREY_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
14948 static int _wrap_BLACK_set(PyObject
*_val
) {
14949 PyErr_SetString(PyExc_TypeError
,"Variable BLACK is read-only.");
14954 static PyObject
*_wrap_BLACK_get() {
14957 pyobj
= SWIG_NewPointerObj((void *) wxBLACK
, SWIGTYPE_p_wxColour
, 0);
14962 static int _wrap_WHITE_set(PyObject
*_val
) {
14963 PyErr_SetString(PyExc_TypeError
,"Variable WHITE is read-only.");
14968 static PyObject
*_wrap_WHITE_get() {
14971 pyobj
= SWIG_NewPointerObj((void *) wxWHITE
, SWIGTYPE_p_wxColour
, 0);
14976 static int _wrap_RED_set(PyObject
*_val
) {
14977 PyErr_SetString(PyExc_TypeError
,"Variable RED is read-only.");
14982 static PyObject
*_wrap_RED_get() {
14985 pyobj
= SWIG_NewPointerObj((void *) wxRED
, SWIGTYPE_p_wxColour
, 0);
14990 static int _wrap_BLUE_set(PyObject
*_val
) {
14991 PyErr_SetString(PyExc_TypeError
,"Variable BLUE is read-only.");
14996 static PyObject
*_wrap_BLUE_get() {
14999 pyobj
= SWIG_NewPointerObj((void *) wxBLUE
, SWIGTYPE_p_wxColour
, 0);
15004 static int _wrap_GREEN_set(PyObject
*_val
) {
15005 PyErr_SetString(PyExc_TypeError
,"Variable GREEN is read-only.");
15010 static PyObject
*_wrap_GREEN_get() {
15013 pyobj
= SWIG_NewPointerObj((void *) wxGREEN
, SWIGTYPE_p_wxColour
, 0);
15018 static int _wrap_CYAN_set(PyObject
*_val
) {
15019 PyErr_SetString(PyExc_TypeError
,"Variable CYAN is read-only.");
15024 static PyObject
*_wrap_CYAN_get() {
15027 pyobj
= SWIG_NewPointerObj((void *) wxCYAN
, SWIGTYPE_p_wxColour
, 0);
15032 static int _wrap_LIGHT_GREY_set(PyObject
*_val
) {
15033 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY is read-only.");
15038 static PyObject
*_wrap_LIGHT_GREY_get() {
15041 pyobj
= SWIG_NewPointerObj((void *) wxLIGHT_GREY
, SWIGTYPE_p_wxColour
, 0);
15046 static int _wrap_STANDARD_CURSOR_set(PyObject
*_val
) {
15047 PyErr_SetString(PyExc_TypeError
,"Variable STANDARD_CURSOR is read-only.");
15052 static PyObject
*_wrap_STANDARD_CURSOR_get() {
15055 pyobj
= SWIG_NewPointerObj((void *) wxSTANDARD_CURSOR
, SWIGTYPE_p_wxCursor
, 0);
15060 static int _wrap_HOURGLASS_CURSOR_set(PyObject
*_val
) {
15061 PyErr_SetString(PyExc_TypeError
,"Variable HOURGLASS_CURSOR is read-only.");
15066 static PyObject
*_wrap_HOURGLASS_CURSOR_get() {
15069 pyobj
= SWIG_NewPointerObj((void *) wxHOURGLASS_CURSOR
, SWIGTYPE_p_wxCursor
, 0);
15074 static int _wrap_CROSS_CURSOR_set(PyObject
*_val
) {
15075 PyErr_SetString(PyExc_TypeError
,"Variable CROSS_CURSOR is read-only.");
15080 static PyObject
*_wrap_CROSS_CURSOR_get() {
15083 pyobj
= SWIG_NewPointerObj((void *) wxCROSS_CURSOR
, SWIGTYPE_p_wxCursor
, 0);
15088 static int _wrap_NullBitmap_set(PyObject
*_val
) {
15089 PyErr_SetString(PyExc_TypeError
,"Variable NullBitmap is read-only.");
15094 static PyObject
*_wrap_NullBitmap_get() {
15097 pyobj
= SWIG_NewPointerObj((void *) &wxNullBitmap
, SWIGTYPE_p_wxBitmap
, 0);
15102 static int _wrap_NullIcon_set(PyObject
*_val
) {
15103 PyErr_SetString(PyExc_TypeError
,"Variable NullIcon is read-only.");
15108 static PyObject
*_wrap_NullIcon_get() {
15111 pyobj
= SWIG_NewPointerObj((void *) &wxNullIcon
, SWIGTYPE_p_wxIcon
, 0);
15116 static int _wrap_NullCursor_set(PyObject
*_val
) {
15117 PyErr_SetString(PyExc_TypeError
,"Variable NullCursor is read-only.");
15122 static PyObject
*_wrap_NullCursor_get() {
15125 pyobj
= SWIG_NewPointerObj((void *) &wxNullCursor
, SWIGTYPE_p_wxCursor
, 0);
15130 static int _wrap_NullPen_set(PyObject
*_val
) {
15131 PyErr_SetString(PyExc_TypeError
,"Variable NullPen is read-only.");
15136 static PyObject
*_wrap_NullPen_get() {
15139 pyobj
= SWIG_NewPointerObj((void *) &wxNullPen
, SWIGTYPE_p_wxPen
, 0);
15144 static int _wrap_NullBrush_set(PyObject
*_val
) {
15145 PyErr_SetString(PyExc_TypeError
,"Variable NullBrush is read-only.");
15150 static PyObject
*_wrap_NullBrush_get() {
15153 pyobj
= SWIG_NewPointerObj((void *) &wxNullBrush
, SWIGTYPE_p_wxBrush
, 0);
15158 static int _wrap_NullPalette_set(PyObject
*_val
) {
15159 PyErr_SetString(PyExc_TypeError
,"Variable NullPalette is read-only.");
15164 static PyObject
*_wrap_NullPalette_get() {
15167 pyobj
= SWIG_NewPointerObj((void *) &wxNullPalette
, SWIGTYPE_p_wxPalette
, 0);
15172 static int _wrap_NullFont_set(PyObject
*_val
) {
15173 PyErr_SetString(PyExc_TypeError
,"Variable NullFont is read-only.");
15178 static PyObject
*_wrap_NullFont_get() {
15181 pyobj
= SWIG_NewPointerObj((void *) &wxNullFont
, SWIGTYPE_p_wxFont
, 0);
15186 static int _wrap_NullColour_set(PyObject
*_val
) {
15187 PyErr_SetString(PyExc_TypeError
,"Variable NullColour is read-only.");
15192 static PyObject
*_wrap_NullColour_get() {
15195 pyobj
= SWIG_NewPointerObj((void *) &wxNullColour
, SWIGTYPE_p_wxColour
, 0);
15200 static int _wrap_TheFontList_set(PyObject
*_val
) {
15201 PyErr_SetString(PyExc_TypeError
,"Variable TheFontList is read-only.");
15206 static PyObject
*_wrap_TheFontList_get() {
15209 pyobj
= SWIG_NewPointerObj((void *) wxTheFontList
, SWIGTYPE_p_wxFontList
, 0);
15214 static int _wrap_ThePenList_set(PyObject
*_val
) {
15215 PyErr_SetString(PyExc_TypeError
,"Variable ThePenList is read-only.");
15220 static PyObject
*_wrap_ThePenList_get() {
15223 pyobj
= SWIG_NewPointerObj((void *) wxThePenList
, SWIGTYPE_p_wxPenList
, 0);
15228 static int _wrap_TheBrushList_set(PyObject
*_val
) {
15229 PyErr_SetString(PyExc_TypeError
,"Variable TheBrushList is read-only.");
15234 static PyObject
*_wrap_TheBrushList_get() {
15237 pyobj
= SWIG_NewPointerObj((void *) wxTheBrushList
, SWIGTYPE_p_wxBrushList
, 0);
15242 static int _wrap_TheColourDatabase_set(PyObject
*_val
) {
15243 PyErr_SetString(PyExc_TypeError
,"Variable TheColourDatabase is read-only.");
15248 static PyObject
*_wrap_TheColourDatabase_get() {
15251 pyobj
= SWIG_NewPointerObj((void *) wxTheColourDatabase
, SWIGTYPE_p_wxColourDatabase
, 0);
15256 static PyObject
*_wrap_new_Effects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15257 PyObject
*resultobj
;
15259 char *kwnames
[] = {
15263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Effects",kwnames
)) goto fail
;
15265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15266 result
= (wxEffects
*)new wxEffects();
15268 wxPyEndAllowThreads(__tstate
);
15269 if (PyErr_Occurred()) SWIG_fail
;
15271 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxEffects
, 1);
15278 static PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15279 PyObject
*resultobj
;
15280 wxEffects
*arg1
= (wxEffects
*) 0 ;
15282 PyObject
* obj0
= 0 ;
15283 char *kwnames
[] = {
15284 (char *) "self", NULL
15287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetHighlightColour",kwnames
,&obj0
)) goto fail
;
15288 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15291 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
15293 wxPyEndAllowThreads(__tstate
);
15294 if (PyErr_Occurred()) SWIG_fail
;
15297 wxColour
* resultptr
;
15298 resultptr
= new wxColour((wxColour
&) result
);
15299 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
15307 static PyObject
*_wrap_Effects_GetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15308 PyObject
*resultobj
;
15309 wxEffects
*arg1
= (wxEffects
*) 0 ;
15311 PyObject
* obj0
= 0 ;
15312 char *kwnames
[] = {
15313 (char *) "self", NULL
15316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetLightShadow",kwnames
,&obj0
)) goto fail
;
15317 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15320 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
15322 wxPyEndAllowThreads(__tstate
);
15323 if (PyErr_Occurred()) SWIG_fail
;
15326 wxColour
* resultptr
;
15327 resultptr
= new wxColour((wxColour
&) result
);
15328 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
15336 static PyObject
*_wrap_Effects_GetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15337 PyObject
*resultobj
;
15338 wxEffects
*arg1
= (wxEffects
*) 0 ;
15340 PyObject
* obj0
= 0 ;
15341 char *kwnames
[] = {
15342 (char *) "self", NULL
15345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetFaceColour",kwnames
,&obj0
)) goto fail
;
15346 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15349 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
15351 wxPyEndAllowThreads(__tstate
);
15352 if (PyErr_Occurred()) SWIG_fail
;
15355 wxColour
* resultptr
;
15356 resultptr
= new wxColour((wxColour
&) result
);
15357 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
15365 static PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15366 PyObject
*resultobj
;
15367 wxEffects
*arg1
= (wxEffects
*) 0 ;
15369 PyObject
* obj0
= 0 ;
15370 char *kwnames
[] = {
15371 (char *) "self", NULL
15374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetMediumShadow",kwnames
,&obj0
)) goto fail
;
15375 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15378 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
15380 wxPyEndAllowThreads(__tstate
);
15381 if (PyErr_Occurred()) SWIG_fail
;
15384 wxColour
* resultptr
;
15385 resultptr
= new wxColour((wxColour
&) result
);
15386 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
15394 static PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15395 PyObject
*resultobj
;
15396 wxEffects
*arg1
= (wxEffects
*) 0 ;
15398 PyObject
* obj0
= 0 ;
15399 char *kwnames
[] = {
15400 (char *) "self", NULL
15403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetDarkShadow",kwnames
,&obj0
)) goto fail
;
15404 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15407 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
15409 wxPyEndAllowThreads(__tstate
);
15410 if (PyErr_Occurred()) SWIG_fail
;
15413 wxColour
* resultptr
;
15414 resultptr
= new wxColour((wxColour
&) result
);
15415 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
15423 static PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15424 PyObject
*resultobj
;
15425 wxEffects
*arg1
= (wxEffects
*) 0 ;
15426 wxColour
*arg2
= 0 ;
15428 PyObject
* obj0
= 0 ;
15429 PyObject
* obj1
= 0 ;
15430 char *kwnames
[] = {
15431 (char *) "self",(char *) "c", NULL
15434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15438 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15442 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
15444 wxPyEndAllowThreads(__tstate
);
15445 if (PyErr_Occurred()) SWIG_fail
;
15447 Py_INCREF(Py_None
); resultobj
= Py_None
;
15454 static PyObject
*_wrap_Effects_SetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15455 PyObject
*resultobj
;
15456 wxEffects
*arg1
= (wxEffects
*) 0 ;
15457 wxColour
*arg2
= 0 ;
15459 PyObject
* obj0
= 0 ;
15460 PyObject
* obj1
= 0 ;
15461 char *kwnames
[] = {
15462 (char *) "self",(char *) "c", NULL
15465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
15466 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15469 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15473 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
15475 wxPyEndAllowThreads(__tstate
);
15476 if (PyErr_Occurred()) SWIG_fail
;
15478 Py_INCREF(Py_None
); resultobj
= Py_None
;
15485 static PyObject
*_wrap_Effects_SetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15486 PyObject
*resultobj
;
15487 wxEffects
*arg1
= (wxEffects
*) 0 ;
15488 wxColour
*arg2
= 0 ;
15490 PyObject
* obj0
= 0 ;
15491 PyObject
* obj1
= 0 ;
15492 char *kwnames
[] = {
15493 (char *) "self",(char *) "c", NULL
15496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15497 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15500 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15504 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
15506 wxPyEndAllowThreads(__tstate
);
15507 if (PyErr_Occurred()) SWIG_fail
;
15509 Py_INCREF(Py_None
); resultobj
= Py_None
;
15516 static PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15517 PyObject
*resultobj
;
15518 wxEffects
*arg1
= (wxEffects
*) 0 ;
15519 wxColour
*arg2
= 0 ;
15521 PyObject
* obj0
= 0 ;
15522 PyObject
* obj1
= 0 ;
15523 char *kwnames
[] = {
15524 (char *) "self",(char *) "c", NULL
15527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
15528 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15531 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15535 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
15537 wxPyEndAllowThreads(__tstate
);
15538 if (PyErr_Occurred()) SWIG_fail
;
15540 Py_INCREF(Py_None
); resultobj
= Py_None
;
15547 static PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15548 PyObject
*resultobj
;
15549 wxEffects
*arg1
= (wxEffects
*) 0 ;
15550 wxColour
*arg2
= 0 ;
15552 PyObject
* obj0
= 0 ;
15553 PyObject
* obj1
= 0 ;
15554 char *kwnames
[] = {
15555 (char *) "self",(char *) "c", NULL
15558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
15559 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15562 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15566 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
15568 wxPyEndAllowThreads(__tstate
);
15569 if (PyErr_Occurred()) SWIG_fail
;
15571 Py_INCREF(Py_None
); resultobj
= Py_None
;
15578 static PyObject
*_wrap_Effects_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15579 PyObject
*resultobj
;
15580 wxEffects
*arg1
= (wxEffects
*) 0 ;
15581 wxColour
*arg2
= 0 ;
15582 wxColour
*arg3
= 0 ;
15583 wxColour
*arg4
= 0 ;
15584 wxColour
*arg5
= 0 ;
15585 wxColour
*arg6
= 0 ;
15591 PyObject
* obj0
= 0 ;
15592 PyObject
* obj1
= 0 ;
15593 PyObject
* obj2
= 0 ;
15594 PyObject
* obj3
= 0 ;
15595 PyObject
* obj4
= 0 ;
15596 PyObject
* obj5
= 0 ;
15597 char *kwnames
[] = {
15598 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
15601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15602 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15605 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15609 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
15613 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
15617 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
15621 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
15624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15625 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
15627 wxPyEndAllowThreads(__tstate
);
15628 if (PyErr_Occurred()) SWIG_fail
;
15630 Py_INCREF(Py_None
); resultobj
= Py_None
;
15637 static PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15638 PyObject
*resultobj
;
15639 wxEffects
*arg1
= (wxEffects
*) 0 ;
15642 int arg4
= (int) 1 ;
15644 PyObject
* obj0
= 0 ;
15645 PyObject
* obj1
= 0 ;
15646 PyObject
* obj2
= 0 ;
15647 char *kwnames
[] = {
15648 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
15651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
15652 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15653 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15654 if (arg2
== NULL
) {
15655 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15659 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15663 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
15665 wxPyEndAllowThreads(__tstate
);
15666 if (PyErr_Occurred()) SWIG_fail
;
15668 Py_INCREF(Py_None
); resultobj
= Py_None
;
15675 static PyObject
*_wrap_Effects_TileBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15676 PyObject
*resultobj
;
15677 wxEffects
*arg1
= (wxEffects
*) 0 ;
15680 wxBitmap
*arg4
= 0 ;
15683 PyObject
* obj0
= 0 ;
15684 PyObject
* obj1
= 0 ;
15685 PyObject
* obj2
= 0 ;
15686 PyObject
* obj3
= 0 ;
15687 char *kwnames
[] = {
15688 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
15691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15695 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15697 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15698 if (arg3
== NULL
) {
15699 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15701 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15702 if (arg4
== NULL
) {
15703 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15707 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
15709 wxPyEndAllowThreads(__tstate
);
15710 if (PyErr_Occurred()) SWIG_fail
;
15712 resultobj
= PyInt_FromLong((long)result
);
15719 static PyObject
* Effects_swigregister(PyObject
*self
, PyObject
*args
) {
15721 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15722 SWIG_TypeClientData(SWIGTYPE_p_wxEffects
, obj
);
15724 return Py_BuildValue((char *)"");
15726 static PyMethodDef SwigMethods
[] = {
15727 { (char *)"new_GDIObject", (PyCFunction
) _wrap_new_GDIObject
, METH_VARARGS
| METH_KEYWORDS
},
15728 { (char *)"delete_GDIObject", (PyCFunction
) _wrap_delete_GDIObject
, METH_VARARGS
| METH_KEYWORDS
},
15729 { (char *)"GDIObject_GetVisible", (PyCFunction
) _wrap_GDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
},
15730 { (char *)"GDIObject_SetVisible", (PyCFunction
) _wrap_GDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
},
15731 { (char *)"GDIObject_IsNull", (PyCFunction
) _wrap_GDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
15732 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
},
15733 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
},
15734 { (char *)"delete_Colour", (PyCFunction
) _wrap_delete_Colour
, METH_VARARGS
| METH_KEYWORDS
},
15735 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
},
15736 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
},
15737 { (char *)"Colour_Red", (PyCFunction
) _wrap_Colour_Red
, METH_VARARGS
| METH_KEYWORDS
},
15738 { (char *)"Colour_Green", (PyCFunction
) _wrap_Colour_Green
, METH_VARARGS
| METH_KEYWORDS
},
15739 { (char *)"Colour_Blue", (PyCFunction
) _wrap_Colour_Blue
, METH_VARARGS
| METH_KEYWORDS
},
15740 { (char *)"Colour_Ok", (PyCFunction
) _wrap_Colour_Ok
, METH_VARARGS
| METH_KEYWORDS
},
15741 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
},
15742 { (char *)"Colour_SetRBG", (PyCFunction
) _wrap_Colour_SetRBG
, METH_VARARGS
| METH_KEYWORDS
},
15743 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
},
15744 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
},
15745 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
},
15746 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
},
15747 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
},
15748 { (char *)"delete_Palette", (PyCFunction
) _wrap_delete_Palette
, METH_VARARGS
| METH_KEYWORDS
},
15749 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
15750 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
15751 { (char *)"Palette_Ok", (PyCFunction
) _wrap_Palette_Ok
, METH_VARARGS
| METH_KEYWORDS
},
15752 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
},
15753 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
},
15754 { (char *)"delete_Pen", (PyCFunction
) _wrap_delete_Pen
, METH_VARARGS
| METH_KEYWORDS
},
15755 { (char *)"Pen_GetCap", (PyCFunction
) _wrap_Pen_GetCap
, METH_VARARGS
| METH_KEYWORDS
},
15756 { (char *)"Pen_GetColour", (PyCFunction
) _wrap_Pen_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
15757 { (char *)"Pen_GetJoin", (PyCFunction
) _wrap_Pen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
},
15758 { (char *)"Pen_GetStyle", (PyCFunction
) _wrap_Pen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
15759 { (char *)"Pen_GetWidth", (PyCFunction
) _wrap_Pen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
15760 { (char *)"Pen_Ok", (PyCFunction
) _wrap_Pen_Ok
, METH_VARARGS
| METH_KEYWORDS
},
15761 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
},
15762 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
15763 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
},
15764 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
15765 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
15766 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
15767 { (char *)"Pen_GetDashes", (PyCFunction
) _wrap_Pen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
},
15768 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
},
15769 { (char *)"new_PyPen", (PyCFunction
) _wrap_new_PyPen
, METH_VARARGS
| METH_KEYWORDS
},
15770 { (char *)"delete_PyPen", (PyCFunction
) _wrap_delete_PyPen
, METH_VARARGS
| METH_KEYWORDS
},
15771 { (char *)"PyPen_SetDashes", (PyCFunction
) _wrap_PyPen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
15772 { (char *)"PyPen_swigregister", PyPen_swigregister
, METH_VARARGS
},
15773 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
},
15774 { (char *)"delete_Brush", (PyCFunction
) _wrap_delete_Brush
, METH_VARARGS
| METH_KEYWORDS
},
15775 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
15776 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
15777 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
15778 { (char *)"Brush_GetColour", (PyCFunction
) _wrap_Brush_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
15779 { (char *)"Brush_GetStyle", (PyCFunction
) _wrap_Brush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
15780 { (char *)"Brush_GetStipple", (PyCFunction
) _wrap_Brush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
15781 { (char *)"Brush_Ok", (PyCFunction
) _wrap_Brush_Ok
, METH_VARARGS
| METH_KEYWORDS
},
15782 { (char *)"Brush_GetMacTheme", (PyCFunction
) _wrap_Brush_GetMacTheme
, METH_VARARGS
| METH_KEYWORDS
},
15783 { (char *)"Brush_SetMacTheme", (PyCFunction
) _wrap_Brush_SetMacTheme
, METH_VARARGS
| METH_KEYWORDS
},
15784 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
},
15785 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
},
15786 { (char *)"delete_Bitmap", (PyCFunction
) _wrap_delete_Bitmap
, METH_VARARGS
| METH_KEYWORDS
},
15787 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
},
15788 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
15789 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
},
15790 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
15791 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
},
15792 { (char *)"Bitmap_Ok", (PyCFunction
) _wrap_Bitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
},
15793 { (char *)"Bitmap_GetWidth", (PyCFunction
) _wrap_Bitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
15794 { (char *)"Bitmap_GetHeight", (PyCFunction
) _wrap_Bitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
15795 { (char *)"Bitmap_GetDepth", (PyCFunction
) _wrap_Bitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
15796 { (char *)"Bitmap_ConvertToImage", (PyCFunction
) _wrap_Bitmap_ConvertToImage
, METH_VARARGS
| METH_KEYWORDS
},
15797 { (char *)"Bitmap_GetMask", (PyCFunction
) _wrap_Bitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
15798 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
15799 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
15800 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
},
15801 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
15802 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
15803 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
15804 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
15805 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
15806 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
15807 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
},
15808 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
},
15809 { (char *)"new_MaskColour", (PyCFunction
) _wrap_new_MaskColour
, METH_VARARGS
| METH_KEYWORDS
},
15810 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
},
15811 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
},
15812 { (char *)"delete_Icon", (PyCFunction
) _wrap_delete_Icon
, METH_VARARGS
| METH_KEYWORDS
},
15813 { (char *)"new_EmptyIcon", (PyCFunction
) _wrap_new_EmptyIcon
, METH_VARARGS
| METH_KEYWORDS
},
15814 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
},
15815 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
15816 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
15817 { (char *)"Icon_Ok", (PyCFunction
) _wrap_Icon_Ok
, METH_VARARGS
| METH_KEYWORDS
},
15818 { (char *)"Icon_GetWidth", (PyCFunction
) _wrap_Icon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
15819 { (char *)"Icon_GetHeight", (PyCFunction
) _wrap_Icon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
15820 { (char *)"Icon_GetDepth", (PyCFunction
) _wrap_Icon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
15821 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
15822 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
15823 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
15824 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
15825 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
},
15826 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
},
15827 { (char *)"delete_IconLocation", (PyCFunction
) _wrap_delete_IconLocation
, METH_VARARGS
| METH_KEYWORDS
},
15828 { (char *)"IconLocation_IsOk", (PyCFunction
) _wrap_IconLocation_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
15829 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
},
15830 { (char *)"IconLocation_GetFileName", (PyCFunction
) _wrap_IconLocation_GetFileName
, METH_VARARGS
| METH_KEYWORDS
},
15831 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
},
15832 { (char *)"IconLocation_GetIndex", (PyCFunction
) _wrap_IconLocation_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
15833 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
},
15834 { (char *)"new_IconBundle", (PyCFunction
) _wrap_new_IconBundle
, METH_VARARGS
| METH_KEYWORDS
},
15835 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
},
15836 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
15837 { (char *)"delete_IconBundle", (PyCFunction
) _wrap_delete_IconBundle
, METH_VARARGS
| METH_KEYWORDS
},
15838 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
15839 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
},
15840 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
15841 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
},
15842 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
},
15843 { (char *)"delete_Cursor", (PyCFunction
) _wrap_delete_Cursor
, METH_VARARGS
| METH_KEYWORDS
},
15844 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
},
15845 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
},
15846 { (char *)"new_CursorFromBits", (PyCFunction
) _wrap_new_CursorFromBits
, METH_VARARGS
| METH_KEYWORDS
},
15847 { (char *)"Cursor_Ok", (PyCFunction
) _wrap_Cursor_Ok
, METH_VARARGS
| METH_KEYWORDS
},
15848 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
},
15849 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
},
15850 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
15851 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
},
15852 { (char *)"delete_Region", (PyCFunction
) _wrap_delete_Region
, METH_VARARGS
| METH_KEYWORDS
},
15853 { (char *)"Region_Clear", (PyCFunction
) _wrap_Region_Clear
, METH_VARARGS
| METH_KEYWORDS
},
15854 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
},
15855 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
},
15856 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
},
15857 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
},
15858 { (char *)"Region_GetBox", (PyCFunction
) _wrap_Region_GetBox
, METH_VARARGS
| METH_KEYWORDS
},
15859 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
15860 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
15861 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
},
15862 { (char *)"Region_IsEmpty", (PyCFunction
) _wrap_Region_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
15863 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
},
15864 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
},
15865 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
},
15866 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
15867 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
},
15868 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
},
15869 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
},
15870 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
},
15871 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
},
15872 { (char *)"Region_ConvertToBitmap", (PyCFunction
) _wrap_Region_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
15873 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
},
15874 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
},
15875 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
15876 { (char *)"delete_RegionIterator", (PyCFunction
) _wrap_delete_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
15877 { (char *)"RegionIterator_GetX", (PyCFunction
) _wrap_RegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
},
15878 { (char *)"RegionIterator_GetY", (PyCFunction
) _wrap_RegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
},
15879 { (char *)"RegionIterator_GetW", (PyCFunction
) _wrap_RegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
},
15880 { (char *)"RegionIterator_GetWidth", (PyCFunction
) _wrap_RegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
15881 { (char *)"RegionIterator_GetH", (PyCFunction
) _wrap_RegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
},
15882 { (char *)"RegionIterator_GetHeight", (PyCFunction
) _wrap_RegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
15883 { (char *)"RegionIterator_GetRect", (PyCFunction
) _wrap_RegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
15884 { (char *)"RegionIterator_HaveRects", (PyCFunction
) _wrap_RegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
},
15885 { (char *)"RegionIterator_Reset", (PyCFunction
) _wrap_RegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
},
15886 { (char *)"RegionIterator_Next", (PyCFunction
) _wrap_RegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
},
15887 { (char *)"RegionIterator___nonzero__", (PyCFunction
) _wrap_RegionIterator___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
15888 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
},
15889 { (char *)"new_NativeFontInfo", (PyCFunction
) _wrap_new_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
15890 { (char *)"delete_NativeFontInfo", (PyCFunction
) _wrap_delete_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
15891 { (char *)"NativeFontInfo_Init", (PyCFunction
) _wrap_NativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
},
15892 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
},
15893 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
) _wrap_NativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
15894 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
) _wrap_NativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
15895 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
) _wrap_NativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
15896 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
15897 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
) _wrap_NativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
15898 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
) _wrap_NativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
15899 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
) _wrap_NativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
15900 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
15901 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
15902 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
15903 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
15904 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
15905 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
15906 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
15907 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
15908 { (char *)"NativeFontInfo_ToString", (PyCFunction
) _wrap_NativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
15909 { (char *)"NativeFontInfo___str__", (PyCFunction
) _wrap_NativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
},
15910 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
},
15911 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
) _wrap_NativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
},
15912 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
},
15913 { (char *)"NativeEncodingInfo_facename_set", (PyCFunction
) _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
| METH_KEYWORDS
},
15914 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
) _wrap_NativeEncodingInfo_facename_get
, METH_VARARGS
| METH_KEYWORDS
},
15915 { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
| METH_KEYWORDS
},
15916 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_get
, METH_VARARGS
| METH_KEYWORDS
},
15917 { (char *)"new_NativeEncodingInfo", (PyCFunction
) _wrap_new_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
},
15918 { (char *)"delete_NativeEncodingInfo", (PyCFunction
) _wrap_delete_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
},
15919 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
15920 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
) _wrap_NativeEncodingInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
15921 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
},
15922 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
},
15923 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
},
15924 { (char *)"new_FontMapper", (PyCFunction
) _wrap_new_FontMapper
, METH_VARARGS
| METH_KEYWORDS
},
15925 { (char *)"delete_FontMapper", (PyCFunction
) _wrap_delete_FontMapper
, METH_VARARGS
| METH_KEYWORDS
},
15926 { (char *)"FontMapper_Get", (PyCFunction
) _wrap_FontMapper_Get
, METH_VARARGS
| METH_KEYWORDS
},
15927 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
},
15928 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
},
15929 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
) _wrap_FontMapper_GetSupportedEncodingsCount
, METH_VARARGS
| METH_KEYWORDS
},
15930 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
15931 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
15932 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
},
15933 { (char *)"FontMapper_SetConfig", (PyCFunction
) _wrap_FontMapper_SetConfig
, METH_VARARGS
| METH_KEYWORDS
},
15934 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
15935 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_FontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
15936 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
},
15937 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
},
15938 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
},
15939 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
},
15940 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
},
15941 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
},
15942 { (char *)"delete_Font", (PyCFunction
) _wrap_delete_Font
, METH_VARARGS
| METH_KEYWORDS
},
15943 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
},
15944 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
},
15945 { (char *)"new_Font2", (PyCFunction
) _wrap_new_Font2
, METH_VARARGS
| METH_KEYWORDS
},
15946 { (char *)"Font_Ok", (PyCFunction
) _wrap_Font_Ok
, METH_VARARGS
| METH_KEYWORDS
},
15947 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
},
15948 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
},
15949 { (char *)"Font_GetPointSize", (PyCFunction
) _wrap_Font_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
15950 { (char *)"Font_GetFamily", (PyCFunction
) _wrap_Font_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
15951 { (char *)"Font_GetStyle", (PyCFunction
) _wrap_Font_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
15952 { (char *)"Font_GetWeight", (PyCFunction
) _wrap_Font_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
15953 { (char *)"Font_GetUnderlined", (PyCFunction
) _wrap_Font_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
15954 { (char *)"Font_GetFaceName", (PyCFunction
) _wrap_Font_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
15955 { (char *)"Font_GetEncoding", (PyCFunction
) _wrap_Font_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
15956 { (char *)"Font_GetNativeFontInfo", (PyCFunction
) _wrap_Font_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
15957 { (char *)"Font_IsFixedWidth", (PyCFunction
) _wrap_Font_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
},
15958 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
},
15959 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
15960 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
15961 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
15962 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
15963 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
15964 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
15965 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
15966 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
15967 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
15968 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
},
15969 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
15970 { (char *)"Font_GetFamilyString", (PyCFunction
) _wrap_Font_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
},
15971 { (char *)"Font_GetStyleString", (PyCFunction
) _wrap_Font_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
},
15972 { (char *)"Font_GetWeightString", (PyCFunction
) _wrap_Font_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
},
15973 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
15974 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
) _wrap_Font_GetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
15975 { (char *)"Font_GetDefaultEncoding", (PyCFunction
) _wrap_Font_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
15976 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
15977 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
},
15978 { (char *)"new_FontEnumerator", (PyCFunction
) _wrap_new_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
15979 { (char *)"delete_FontEnumerator", (PyCFunction
) _wrap_delete_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
15980 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
15981 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
},
15982 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
},
15983 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
) _wrap_FontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
},
15984 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
) _wrap_FontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
},
15985 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
},
15986 { (char *)"LanguageInfo_Language_set", (PyCFunction
) _wrap_LanguageInfo_Language_set
, METH_VARARGS
| METH_KEYWORDS
},
15987 { (char *)"LanguageInfo_Language_get", (PyCFunction
) _wrap_LanguageInfo_Language_get
, METH_VARARGS
| METH_KEYWORDS
},
15988 { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
| METH_KEYWORDS
},
15989 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_get
, METH_VARARGS
| METH_KEYWORDS
},
15990 { (char *)"LanguageInfo_Description_set", (PyCFunction
) _wrap_LanguageInfo_Description_set
, METH_VARARGS
| METH_KEYWORDS
},
15991 { (char *)"LanguageInfo_Description_get", (PyCFunction
) _wrap_LanguageInfo_Description_get
, METH_VARARGS
| METH_KEYWORDS
},
15992 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
},
15993 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
},
15994 { (char *)"delete_Locale", (PyCFunction
) _wrap_delete_Locale
, METH_VARARGS
| METH_KEYWORDS
},
15995 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
},
15996 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
},
15997 { (char *)"Locale_GetSystemLanguage", (PyCFunction
) _wrap_Locale_GetSystemLanguage
, METH_VARARGS
| METH_KEYWORDS
},
15998 { (char *)"Locale_GetSystemEncoding", (PyCFunction
) _wrap_Locale_GetSystemEncoding
, METH_VARARGS
| METH_KEYWORDS
},
15999 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
) _wrap_Locale_GetSystemEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
16000 { (char *)"Locale_IsOk", (PyCFunction
) _wrap_Locale_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
16001 { (char *)"Locale_GetLocale", (PyCFunction
) _wrap_Locale_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
16002 { (char *)"Locale_GetLanguage", (PyCFunction
) _wrap_Locale_GetLanguage
, METH_VARARGS
| METH_KEYWORDS
},
16003 { (char *)"Locale_GetSysName", (PyCFunction
) _wrap_Locale_GetSysName
, METH_VARARGS
| METH_KEYWORDS
},
16004 { (char *)"Locale_GetCanonicalName", (PyCFunction
) _wrap_Locale_GetCanonicalName
, METH_VARARGS
| METH_KEYWORDS
},
16005 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
},
16006 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
},
16007 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
},
16008 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
16009 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
},
16010 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
16011 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
},
16012 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
},
16013 { (char *)"Locale_GetName", (PyCFunction
) _wrap_Locale_GetName
, METH_VARARGS
| METH_KEYWORDS
},
16014 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
},
16015 { (char *)"GetLocale", (PyCFunction
) _wrap_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
16016 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
},
16017 { (char *)"new_EncodingConverter", (PyCFunction
) _wrap_new_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
16018 { (char *)"delete_EncodingConverter", (PyCFunction
) _wrap_delete_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
16019 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
},
16020 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
},
16021 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
16022 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
16023 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
},
16024 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
},
16025 { (char *)"delete_DC", (PyCFunction
) _wrap_delete_DC
, METH_VARARGS
| METH_KEYWORDS
},
16026 { (char *)"DC_BeginDrawing", (PyCFunction
) _wrap_DC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
},
16027 { (char *)"DC_EndDrawing", (PyCFunction
) _wrap_DC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
},
16028 { (char *)"DC_FloodFillXY", (PyCFunction
) _wrap_DC_FloodFillXY
, METH_VARARGS
| METH_KEYWORDS
},
16029 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
},
16030 { (char *)"DC_GetPixelXY", (PyCFunction
) _wrap_DC_GetPixelXY
, METH_VARARGS
| METH_KEYWORDS
},
16031 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
16032 { (char *)"DC_DrawLineXY", (PyCFunction
) _wrap_DC_DrawLineXY
, METH_VARARGS
| METH_KEYWORDS
},
16033 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
16034 { (char *)"DC_CrossHairXY", (PyCFunction
) _wrap_DC_CrossHairXY
, METH_VARARGS
| METH_KEYWORDS
},
16035 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
},
16036 { (char *)"DC_DrawArcXY", (PyCFunction
) _wrap_DC_DrawArcXY
, METH_VARARGS
| METH_KEYWORDS
},
16037 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
16038 { (char *)"DC_DrawCheckMarkXY", (PyCFunction
) _wrap_DC_DrawCheckMarkXY
, METH_VARARGS
| METH_KEYWORDS
},
16039 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
},
16040 { (char *)"DC_DrawEllipticArcXY", (PyCFunction
) _wrap_DC_DrawEllipticArcXY
, METH_VARARGS
| METH_KEYWORDS
},
16041 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
16042 { (char *)"DC_DrawPointXY", (PyCFunction
) _wrap_DC_DrawPointXY
, METH_VARARGS
| METH_KEYWORDS
},
16043 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
16044 { (char *)"DC_DrawRectangleXY", (PyCFunction
) _wrap_DC_DrawRectangleXY
, METH_VARARGS
| METH_KEYWORDS
},
16045 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
16046 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
16047 { (char *)"DC_DrawRoundedRectangleXY", (PyCFunction
) _wrap_DC_DrawRoundedRectangleXY
, METH_VARARGS
| METH_KEYWORDS
},
16048 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
16049 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
16050 { (char *)"DC_DrawCircleXY", (PyCFunction
) _wrap_DC_DrawCircleXY
, METH_VARARGS
| METH_KEYWORDS
},
16051 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
},
16052 { (char *)"DC_DrawEllipseXY", (PyCFunction
) _wrap_DC_DrawEllipseXY
, METH_VARARGS
| METH_KEYWORDS
},
16053 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
16054 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
},
16055 { (char *)"DC_DrawIconXY", (PyCFunction
) _wrap_DC_DrawIconXY
, METH_VARARGS
| METH_KEYWORDS
},
16056 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
},
16057 { (char *)"DC_DrawBitmapXY", (PyCFunction
) _wrap_DC_DrawBitmapXY
, METH_VARARGS
| METH_KEYWORDS
},
16058 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
16059 { (char *)"DC_DrawTextXY", (PyCFunction
) _wrap_DC_DrawTextXY
, METH_VARARGS
| METH_KEYWORDS
},
16060 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
16061 { (char *)"DC_DrawRotatedTextXY", (PyCFunction
) _wrap_DC_DrawRotatedTextXY
, METH_VARARGS
| METH_KEYWORDS
},
16062 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
},
16063 { (char *)"DC_BlitXY", (PyCFunction
) _wrap_DC_BlitXY
, METH_VARARGS
| METH_KEYWORDS
},
16064 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
},
16065 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
16066 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
16067 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
},
16068 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
},
16069 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
16070 { (char *)"DC_Clear", (PyCFunction
) _wrap_DC_Clear
, METH_VARARGS
| METH_KEYWORDS
},
16071 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
},
16072 { (char *)"DC_EndDoc", (PyCFunction
) _wrap_DC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
},
16073 { (char *)"DC_StartPage", (PyCFunction
) _wrap_DC_StartPage
, METH_VARARGS
| METH_KEYWORDS
},
16074 { (char *)"DC_EndPage", (PyCFunction
) _wrap_DC_EndPage
, METH_VARARGS
| METH_KEYWORDS
},
16075 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
16076 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
16077 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
16078 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
},
16079 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
16080 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
16081 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
16082 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
16083 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
},
16084 { (char *)"DC_DestroyClippingRegion", (PyCFunction
) _wrap_DC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
16085 { (char *)"DC_GetClippingBox", (PyCFunction
) _wrap_DC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
},
16086 { (char *)"DC_GetClippingRect", (PyCFunction
) _wrap_DC_GetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
16087 { (char *)"DC_GetCharHeight", (PyCFunction
) _wrap_DC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
16088 { (char *)"DC_GetCharWidth", (PyCFunction
) _wrap_DC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
16089 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
16090 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
16091 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
16092 { (char *)"DC_GetSize", (PyCFunction
) _wrap_DC_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
16093 { (char *)"DC_GetSizeTuple", (PyCFunction
) _wrap_DC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
16094 { (char *)"DC_GetSizeMM", (PyCFunction
) _wrap_DC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
16095 { (char *)"DC_GetSizeMMTuple", (PyCFunction
) _wrap_DC_GetSizeMMTuple
, METH_VARARGS
| METH_KEYWORDS
},
16096 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
},
16097 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
},
16098 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
},
16099 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
},
16100 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
},
16101 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
},
16102 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
},
16103 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
},
16104 { (char *)"DC_CanDrawBitmap", (PyCFunction
) _wrap_DC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
16105 { (char *)"DC_CanGetTextExtent", (PyCFunction
) _wrap_DC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
16106 { (char *)"DC_GetDepth", (PyCFunction
) _wrap_DC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
16107 { (char *)"DC_GetPPI", (PyCFunction
) _wrap_DC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
},
16108 { (char *)"DC_Ok", (PyCFunction
) _wrap_DC_Ok
, METH_VARARGS
| METH_KEYWORDS
},
16109 { (char *)"DC_GetBackgroundMode", (PyCFunction
) _wrap_DC_GetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
16110 { (char *)"DC_GetBackground", (PyCFunction
) _wrap_DC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
},
16111 { (char *)"DC_GetBrush", (PyCFunction
) _wrap_DC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
16112 { (char *)"DC_GetFont", (PyCFunction
) _wrap_DC_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
16113 { (char *)"DC_GetPen", (PyCFunction
) _wrap_DC_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
16114 { (char *)"DC_GetTextBackground", (PyCFunction
) _wrap_DC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
16115 { (char *)"DC_GetTextForeground", (PyCFunction
) _wrap_DC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
16116 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
16117 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
16118 { (char *)"DC_GetMapMode", (PyCFunction
) _wrap_DC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
16119 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
16120 { (char *)"DC_GetUserScale", (PyCFunction
) _wrap_DC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
16121 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
16122 { (char *)"DC_GetLogicalScale", (PyCFunction
) _wrap_DC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
16123 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
16124 { (char *)"DC_GetLogicalOrigin", (PyCFunction
) _wrap_DC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
16125 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
) _wrap_DC_GetLogicalOriginTuple
, METH_VARARGS
| METH_KEYWORDS
},
16126 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
16127 { (char *)"DC_GetDeviceOrigin", (PyCFunction
) _wrap_DC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
16128 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
) _wrap_DC_GetDeviceOriginTuple
, METH_VARARGS
| METH_KEYWORDS
},
16129 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
16130 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
},
16131 { (char *)"DC_GetLogicalFunction", (PyCFunction
) _wrap_DC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
16132 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
16133 { (char *)"DC_SetOptimization", (PyCFunction
) _wrap_DC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
16134 { (char *)"DC_GetOptimization", (PyCFunction
) _wrap_DC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
16135 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
16136 { (char *)"DC_ResetBoundingBox", (PyCFunction
) _wrap_DC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
16137 { (char *)"DC_MinX", (PyCFunction
) _wrap_DC_MinX
, METH_VARARGS
| METH_KEYWORDS
},
16138 { (char *)"DC_MaxX", (PyCFunction
) _wrap_DC_MaxX
, METH_VARARGS
| METH_KEYWORDS
},
16139 { (char *)"DC_MinY", (PyCFunction
) _wrap_DC_MinY
, METH_VARARGS
| METH_KEYWORDS
},
16140 { (char *)"DC_MaxY", (PyCFunction
) _wrap_DC_MaxY
, METH_VARARGS
| METH_KEYWORDS
},
16141 { (char *)"DC_GetBoundingBox", (PyCFunction
) _wrap_DC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
16142 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
},
16143 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
},
16144 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
},
16145 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
},
16146 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
},
16147 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
},
16148 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
},
16149 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
},
16150 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
},
16151 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
},
16152 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
},
16153 { (char *)"new_BufferedDC", (PyCFunction
) _wrap_new_BufferedDC
, METH_VARARGS
| METH_KEYWORDS
},
16154 { (char *)"new_BufferedDCInternalBuffer", (PyCFunction
) _wrap_new_BufferedDCInternalBuffer
, METH_VARARGS
| METH_KEYWORDS
},
16155 { (char *)"BufferedDC_UnMask", (PyCFunction
) _wrap_BufferedDC_UnMask
, METH_VARARGS
| METH_KEYWORDS
},
16156 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
},
16157 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
16158 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
},
16159 { (char *)"new_ScreenDC", (PyCFunction
) _wrap_new_ScreenDC
, METH_VARARGS
| METH_KEYWORDS
},
16160 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
},
16161 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
16162 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
16163 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
},
16164 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
},
16165 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
},
16166 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
},
16167 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
},
16168 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
},
16169 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
},
16170 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
},
16171 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
},
16172 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
},
16173 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
) _wrap_PostScriptDC_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
16174 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
16175 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
},
16176 { (char *)"PostScriptDC_GetResolution", (PyCFunction
) _wrap_PostScriptDC_GetResolution
, METH_VARARGS
| METH_KEYWORDS
},
16177 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
},
16178 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
},
16179 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
},
16180 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
},
16181 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
},
16182 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
},
16183 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
},
16184 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
},
16185 { (char *)"delete_ImageList", (PyCFunction
) _wrap_delete_ImageList
, METH_VARARGS
| METH_KEYWORDS
},
16186 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
},
16187 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
},
16188 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
16189 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
},
16190 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
},
16191 { (char *)"ImageList_GetImageCount", (PyCFunction
) _wrap_ImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
16192 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
},
16193 { (char *)"ImageList_RemoveAll", (PyCFunction
) _wrap_ImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
},
16194 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
16195 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
},
16196 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
},
16197 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
},
16198 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
},
16199 { (char *)"PenList_GetCount", (PyCFunction
) _wrap_PenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
16200 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
},
16201 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
},
16202 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
},
16203 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
},
16204 { (char *)"BrushList_GetCount", (PyCFunction
) _wrap_BrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
16205 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
},
16206 { (char *)"new_ColourDatabase", (PyCFunction
) _wrap_new_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
16207 { (char *)"delete_ColourDatabase", (PyCFunction
) _wrap_delete_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
16208 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
},
16209 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
},
16210 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
},
16211 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
},
16212 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
},
16213 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
},
16214 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
},
16215 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
},
16216 { (char *)"FontList_GetCount", (PyCFunction
) _wrap_FontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
16217 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
},
16218 { (char *)"new_Effects", (PyCFunction
) _wrap_new_Effects
, METH_VARARGS
| METH_KEYWORDS
},
16219 { (char *)"Effects_GetHighlightColour", (PyCFunction
) _wrap_Effects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
16220 { (char *)"Effects_GetLightShadow", (PyCFunction
) _wrap_Effects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
16221 { (char *)"Effects_GetFaceColour", (PyCFunction
) _wrap_Effects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
16222 { (char *)"Effects_GetMediumShadow", (PyCFunction
) _wrap_Effects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
16223 { (char *)"Effects_GetDarkShadow", (PyCFunction
) _wrap_Effects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
16224 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
16225 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
16226 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
16227 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
16228 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
16229 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
},
16230 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
},
16231 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
},
16232 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
},
16237 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
16239 static void *_p_wxControlTo_p_wxWindow(void *x
) {
16240 return (void *)((wxWindow
*) ((wxControl
*) x
));
16242 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
16243 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
16245 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
16246 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
16248 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
16249 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
16251 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
16252 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
16254 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
16255 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
16257 static void *_p_wxPenTo_p_wxObject(void *x
) {
16258 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
16260 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
16261 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
16263 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
16264 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
16266 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
16267 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
16269 static void *_p_wxColourDatabaseTo_p_wxObject(void *x
) {
16270 return (void *)((wxObject
*) ((wxColourDatabase
*) x
));
16272 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
16273 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
16275 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
16276 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
16278 static void *_p_wxIconTo_p_wxObject(void *x
) {
16279 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
16281 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
16282 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
16284 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
16285 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
16287 static void *_p_wxSizerTo_p_wxObject(void *x
) {
16288 return (void *)((wxObject
*) ((wxSizer
*) x
));
16290 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
16291 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
16293 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
16294 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
16296 static void *_p_wxPenListTo_p_wxObject(void *x
) {
16297 return (void *)((wxObject
*) ((wxPenList
*) x
));
16299 static void *_p_wxEventTo_p_wxObject(void *x
) {
16300 return (void *)((wxObject
*) ((wxEvent
*) x
));
16302 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
16303 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
16305 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
16306 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
16308 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
16309 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
16311 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
16312 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
16314 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
16315 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
16317 static void *_p_wxDCTo_p_wxObject(void *x
) {
16318 return (void *)((wxObject
*) ((wxDC
*) x
));
16320 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
16321 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
16323 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
16324 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
16326 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
16327 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
16329 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
16330 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
16332 static void *_p_wxControlTo_p_wxObject(void *x
) {
16333 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
16335 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
16336 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
16338 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
16339 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
16341 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
16342 return (void *)((wxObject
*) ((wxFSFile
*) x
));
16344 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
16345 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
16347 static void *_p_wxRegionTo_p_wxObject(void *x
) {
16348 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
16350 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
16351 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
16353 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
16354 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
16356 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
16357 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
16359 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
16360 return (void *)((wxObject
*) ((wxEffects
*) x
));
16362 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
16363 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
16365 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
16366 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
16368 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
16369 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
16371 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
16372 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
16374 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
16375 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
16377 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
16378 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
16380 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
16381 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
16383 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
16384 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
16386 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
16387 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
16389 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
16390 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
16392 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
16393 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
16395 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
16396 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
16398 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
16399 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
16401 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
16402 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
16404 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
16405 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
16407 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
16408 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
16410 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
16411 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
16413 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
16414 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
16416 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
16417 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
16419 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
16420 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
16422 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
16423 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
16425 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
16426 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
16428 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
16429 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
16431 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
16432 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
16434 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
16435 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
16437 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
16438 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
16440 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
16441 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
16443 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
16444 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
16446 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
16447 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
16449 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
16450 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
16452 static void *_p_wxImageTo_p_wxObject(void *x
) {
16453 return (void *)((wxObject
*) ((wxImage
*) x
));
16455 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
16456 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
16458 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
16459 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
16461 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
16462 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
16464 static void *_p_wxImageListTo_p_wxObject(void *x
) {
16465 return (void *)((wxObject
*) ((wxImageList
*) x
));
16467 static void *_p_wxCursorTo_p_wxObject(void *x
) {
16468 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
16470 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
16471 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
16473 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
16474 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
16476 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
16477 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
16479 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
16480 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
16482 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
16483 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
16485 static void *_p_wxWindowTo_p_wxObject(void *x
) {
16486 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
16488 static void *_p_wxMenuTo_p_wxObject(void *x
) {
16489 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
16491 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
16492 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
16494 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
16495 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
16497 static void *_p_wxBrushListTo_p_wxObject(void *x
) {
16498 return (void *)((wxObject
*) ((wxBrushList
*) x
));
16500 static void *_p_wxPyPenTo_p_wxObject(void *x
) {
16501 return (void *)((wxObject
*) (wxGDIObject
*)(wxPen
*) ((wxPyPen
*) x
));
16503 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
16504 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
16506 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
16507 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
16509 static void *_p_wxMaskTo_p_wxObject(void *x
) {
16510 return (void *)((wxObject
*) ((wxMask
*) x
));
16512 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
16513 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
16515 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
16516 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
16518 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
16519 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
16521 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
16522 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
16524 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
16525 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
16527 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
16528 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
16530 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
16531 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
16533 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
16534 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
16536 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
16537 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
16539 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
16540 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
16542 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
16543 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
16545 static void *_p_wxFontTo_p_wxObject(void *x
) {
16546 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
16548 static void *_p_wxBrushTo_p_wxObject(void *x
) {
16549 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
16551 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
16552 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
16554 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
16555 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
16557 static void *_p_wxColourTo_p_wxObject(void *x
) {
16558 return (void *)((wxObject
*) ((wxColour
*) x
));
16560 static void *_p_wxFontListTo_p_wxObject(void *x
) {
16561 return (void *)((wxObject
*) ((wxFontList
*) x
));
16563 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
16564 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
16566 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
16567 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
16569 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
16570 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
16572 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
16573 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
16575 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
16576 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
16578 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
16579 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
16581 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
16582 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
16584 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
16585 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
16587 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
16588 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
16590 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
16591 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
16593 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
16594 return (void *)((wxDC
*) ((wxClientDC
*) x
));
16596 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
16597 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
16599 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
16600 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
16602 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
16603 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
16605 static void *_p_wxPyPenTo_p_wxGDIObject(void *x
) {
16606 return (void *)((wxGDIObject
*) (wxPen
*) ((wxPyPen
*) x
));
16608 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
16609 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
16611 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
16612 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
16614 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
16615 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
16617 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
16618 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
16620 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
16621 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
16623 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
16624 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
16626 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
16627 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
16629 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
16630 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
16632 static void *_p_wxPyPenTo_p_wxPen(void *x
) {
16633 return (void *)((wxPen
*) ((wxPyPen
*) x
));
16635 static swig_type_info _swigt__p_wxPostScriptDC
[] = {{"_p_wxPostScriptDC", 0, "wxPostScriptDC *", 0},{"_p_wxPostScriptDC"},{0}};
16636 static swig_type_info _swigt__p_wxBrush
[] = {{"_p_wxBrush", 0, "wxBrush *", 0},{"_p_wxBrush"},{0}};
16637 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
16638 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxBufferedDC", _p_wxBufferedDCTo_p_wxDC
},{"_p_wxScreenDC", _p_wxScreenDCTo_p_wxDC
},{"_p_wxMirrorDC", _p_wxMirrorDCTo_p_wxDC
},{"_p_wxMemoryDC", _p_wxMemoryDCTo_p_wxDC
},{"_p_wxWindowDC", _p_wxWindowDCTo_p_wxDC
},{"_p_wxDC"},{"_p_wxMetaFileDC", _p_wxMetaFileDCTo_p_wxDC
},{"_p_wxBufferedPaintDC", _p_wxBufferedPaintDCTo_p_wxDC
},{"_p_wxClientDC", _p_wxClientDCTo_p_wxDC
},{"_p_wxPaintDC", _p_wxPaintDCTo_p_wxDC
},{"_p_wxPostScriptDC", _p_wxPostScriptDCTo_p_wxDC
},{"_p_wxPrinterDC", _p_wxPrinterDCTo_p_wxDC
},{0}};
16639 static swig_type_info _swigt__p_wxMirrorDC
[] = {{"_p_wxMirrorDC", 0, "wxMirrorDC *", 0},{"_p_wxMirrorDC"},{0}};
16640 static swig_type_info _swigt__p_byte
[] = {{"_p_byte", 0, "byte *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}};
16641 static swig_type_info _swigt__p_wxPyFontEnumerator
[] = {{"_p_wxPyFontEnumerator", 0, "wxPyFontEnumerator *", 0},{"_p_wxPyFontEnumerator"},{0}};
16642 static swig_type_info _swigt__p_wxIconLocation
[] = {{"_p_wxIconLocation", 0, "wxIconLocation *", 0},{"_p_wxIconLocation"},{0}};
16643 static swig_type_info _swigt__p_wxImage
[] = {{"_p_wxImage", 0, "wxImage *", 0},{"_p_wxImage"},{0}};
16644 static swig_type_info _swigt__p_wxMetaFileDC
[] = {{"_p_wxMetaFileDC", 0, "wxMetaFileDC *", 0},{"_p_wxMetaFileDC"},{0}};
16645 static swig_type_info _swigt__p_wxMask
[] = {{"_p_wxMask", 0, "wxMask *", 0},{"_p_wxMask"},{0}};
16646 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
16647 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow
},{"_p_wxWindow"},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
},{0}};
16648 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
16649 static swig_type_info _swigt__p_double
[] = {{"_p_double", 0, "double *", 0},{"_p_double"},{0}};
16650 static swig_type_info _swigt__p_wxMemoryDC
[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0},{"_p_wxBufferedDC", _p_wxBufferedDCTo_p_wxMemoryDC
},{"_p_wxMemoryDC"},{"_p_wxBufferedPaintDC", _p_wxBufferedPaintDCTo_p_wxMemoryDC
},{0}};
16651 static swig_type_info _swigt__p_wxFontMapper
[] = {{"_p_wxFontMapper", 0, "wxFontMapper *", 0},{"_p_wxFontMapper"},{0}};
16652 static swig_type_info _swigt__p_wxEffects
[] = {{"_p_wxEffects", 0, "wxEffects *", 0},{"_p_wxEffects"},{0}};
16653 static swig_type_info _swigt__p_wxNativeEncodingInfo
[] = {{"_p_wxNativeEncodingInfo", 0, "wxNativeEncodingInfo *", 0},{"_p_wxNativeEncodingInfo"},{0}};
16654 static swig_type_info _swigt__p_wxPalette
[] = {{"_p_wxPalette", 0, "wxPalette *", 0},{"_p_wxPalette"},{0}};
16655 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
16656 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
},{"_p_wxRegionIterator", _p_wxRegionIteratorTo_p_wxObject
},{"_p_wxPen", _p_wxPenTo_p_wxObject
},{"_p_wxColourDatabase", _p_wxColourDatabaseTo_p_wxObject
},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
},{"_p_wxPenList", _p_wxPenListTo_p_wxObject
},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
},{"_p_wxEvent", _p_wxEventTo_p_wxObject
},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
},{"_p_wxMask", _p_wxMaskTo_p_wxObject
},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
},{"_p_wxControl", _p_wxControlTo_p_wxObject
},{"_p_wxFont", _p_wxFontTo_p_wxObject
},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
},{"_p_wxClientDC", _p_wxClientDCTo_p_wxObject
},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
},{"_p_wxMemoryDC", _p_wxMemoryDCTo_p_wxObject
},{"_p_wxRegion", _p_wxRegionTo_p_wxObject
},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
},{"_p_wxDC", _p_wxDCTo_p_wxObject
},{"_p_wxIcon", _p_wxIconTo_p_wxObject
},{"_p_wxWindowDC", _p_wxWindowDCTo_p_wxObject
},{"_p_wxGDIObject", _p_wxGDIObjectTo_p_wxObject
},{"_p_wxEffects", _p_wxEffectsTo_p_wxObject
},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
},{"_p_wxPostScriptDC", _p_wxPostScriptDCTo_p_wxObject
},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
},{"_p_wxPaintDC", _p_wxPaintDCTo_p_wxObject
},{"_p_wxBufferedPaintDC", _p_wxBufferedPaintDCTo_p_wxObject
},{"_p_wxPrinterDC", _p_wxPrinterDCTo_p_wxObject
},{"_p_wxScreenDC", _p_wxScreenDCTo_p_wxObject
},{"_p_wxImage", _p_wxImageTo_p_wxObject
},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
},{"_p_wxBufferedDC", _p_wxBufferedDCTo_p_wxObject
},{"_p_wxPalette", _p_wxPaletteTo_p_wxObject
},{"_p_wxImageList", _p_wxImageListTo_p_wxObject
},{"_p_wxCursor", _p_wxCursorTo_p_wxObject
},{"_p_wxObject"},{"_p_wxMirrorDC", _p_wxMirrorDCTo_p_wxObject
},{"_p_wxEncodingConverter", _p_wxEncodingConverterTo_p_wxObject
},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
},{"_p_wxMetaFileDC", _p_wxMetaFileDCTo_p_wxObject
},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
},{"_p_wxBrushList", _p_wxBrushListTo_p_wxObject
},{"_p_wxPyPen", _p_wxPyPenTo_p_wxObject
},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
},{"_p_wxBitmap", _p_wxBitmapTo_p_wxObject
},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
},{"_p_wxBrush", _p_wxBrushTo_p_wxObject
},{"_p_wxMetaFile", _p_wxMetaFileTo_p_wxObject
},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
},{"_p_wxColour", _p_wxColourTo_p_wxObject
},{"_p_wxFontList", _p_wxFontListTo_p_wxObject
},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
},{0}};
16657 static swig_type_info _swigt__p_wxRegionIterator
[] = {{"_p_wxRegionIterator", 0, "wxRegionIterator *", 0},{"_p_wxRegionIterator"},{0}};
16658 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
16659 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
16660 static swig_type_info _swigt__p_wxPrinterDC
[] = {{"_p_wxPrinterDC", 0, "wxPrinterDC *", 0},{"_p_wxPrinterDC"},{0}};
16661 static swig_type_info _swigt__p_wxIconBundle
[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0},{"_p_wxIconBundle"},{0}};
16662 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
16663 static swig_type_info _swigt__p_wxDash
[] = {{"_p_wxDash", 0, "wxDash *", 0},{"_p_wxDash"},{0}};
16664 static swig_type_info _swigt__p_wxScreenDC
[] = {{"_p_wxScreenDC", 0, "wxScreenDC *", 0},{"_p_wxScreenDC"},{0}};
16665 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
16666 static swig_type_info _swigt__p_wxClientDC
[] = {{"_p_wxClientDC", 0, "wxClientDC *", 0},{"_p_wxClientDC"},{0}};
16667 static swig_type_info _swigt__p_wxBufferedDC
[] = {{"_p_wxBufferedDC", 0, "wxBufferedDC *", 0},{"_p_wxBufferedDC"},{"_p_wxBufferedPaintDC", _p_wxBufferedPaintDCTo_p_wxBufferedDC
},{0}};
16668 static swig_type_info _swigt__p_wxImageList
[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}};
16669 static swig_type_info _swigt__p_unsigned_char
[] = {{"_p_unsigned_char", 0, "unsigned char *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}};
16670 static swig_type_info _swigt__p_wxGDIObject
[] = {{"_p_wxGDIObject", 0, "wxGDIObject *", 0},{"_p_wxIcon", _p_wxIconTo_p_wxGDIObject
},{"_p_wxPyPen", _p_wxPyPenTo_p_wxGDIObject
},{"_p_wxPen", _p_wxPenTo_p_wxGDIObject
},{"_p_wxFont", _p_wxFontTo_p_wxGDIObject
},{"_p_wxPalette", _p_wxPaletteTo_p_wxGDIObject
},{"_p_wxGDIObject"},{"_p_wxCursor", _p_wxCursorTo_p_wxGDIObject
},{"_p_wxBitmap", _p_wxBitmapTo_p_wxGDIObject
},{"_p_wxRegion", _p_wxRegionTo_p_wxGDIObject
},{"_p_wxBrush", _p_wxBrushTo_p_wxGDIObject
},{0}};
16671 static swig_type_info _swigt__p_wxLocale
[] = {{"_p_wxLocale", 0, "wxLocale *", 0},{"_p_wxLocale"},{0}};
16672 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
16673 static swig_type_info _swigt__p_wxRegion
[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
16674 static swig_type_info _swigt__p_wxLanguageInfo
[] = {{"_p_wxLanguageInfo", 0, "wxLanguageInfo *", 0},{"_p_wxLanguageInfo"},{0}};
16675 static swig_type_info _swigt__p_wxConfigBase
[] = {{"_p_wxConfigBase", 0, "wxConfigBase *", 0},{"_p_wxConfigBase"},{0}};
16676 static swig_type_info _swigt__p_wxWindowDC
[] = {{"_p_wxWindowDC", 0, "wxWindowDC *", 0},{"_p_wxWindowDC"},{0}};
16677 static swig_type_info _swigt__p_wxPrintData
[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0},{"_p_wxPrintData"},{0}};
16678 static swig_type_info _swigt__p_wxBrushList
[] = {{"_p_wxBrushList", 0, "wxBrushList *", 0},{"_p_wxBrushList"},{0}};
16679 static swig_type_info _swigt__p_wxFontList
[] = {{"_p_wxFontList", 0, "wxFontList *", 0},{"_p_wxFontList"},{0}};
16680 static swig_type_info _swigt__p_wxPen
[] = {{"_p_wxPen", 0, "wxPen *", 0},{"_p_wxPyPen", _p_wxPyPenTo_p_wxPen
},{"_p_wxPen"},{0}};
16681 static swig_type_info _swigt__p_wxBufferedPaintDC
[] = {{"_p_wxBufferedPaintDC", 0, "wxBufferedPaintDC *", 0},{"_p_wxBufferedPaintDC"},{0}};
16682 static swig_type_info _swigt__p_wxPaintDC
[] = {{"_p_wxPaintDC", 0, "wxPaintDC *", 0},{"_p_wxPaintDC"},{0}};
16683 static swig_type_info _swigt__p_wxPenList
[] = {{"_p_wxPenList", 0, "wxPenList *", 0},{"_p_wxPenList"},{0}};
16684 static swig_type_info _swigt__p_wxPyPen
[] = {{"_p_wxPyPen", 0, "wxPyPen *", 0},{"_p_wxPyPen"},{0}};
16685 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
16686 static swig_type_info _swigt__p_wxMetaFile
[] = {{"_p_wxMetaFile", 0, "wxMetaFile *", 0},{"_p_wxMetaFile"},{0}};
16687 static swig_type_info _swigt__p_wxNativeFontInfo
[] = {{"_p_wxNativeFontInfo", 0, "wxNativeFontInfo *", 0},{"_p_wxNativeFontInfo"},{0}};
16688 static swig_type_info _swigt__p_wxEncodingConverter
[] = {{"_p_wxEncodingConverter", 0, "wxEncodingConverter *", 0},{"_p_wxEncodingConverter"},{0}};
16689 static swig_type_info _swigt__p_wxColourDatabase
[] = {{"_p_wxColourDatabase", 0, "wxColourDatabase *", 0},{"_p_wxColourDatabase"},{0}};
16691 static swig_type_info
*swig_types_initial
[] = {
16692 _swigt__p_wxPostScriptDC
,
16694 _swigt__p_wxColour
,
16696 _swigt__p_wxMirrorDC
,
16698 _swigt__p_wxPyFontEnumerator
,
16699 _swigt__p_wxIconLocation
,
16701 _swigt__p_wxMetaFileDC
,
16704 _swigt__p_wxWindow
,
16707 _swigt__p_wxMemoryDC
,
16708 _swigt__p_wxFontMapper
,
16709 _swigt__p_wxEffects
,
16710 _swigt__p_wxNativeEncodingInfo
,
16711 _swigt__p_wxPalette
,
16712 _swigt__p_wxBitmap
,
16713 _swigt__p_wxObject
,
16714 _swigt__p_wxRegionIterator
,
16716 _swigt__p_wxString
,
16717 _swigt__p_wxPrinterDC
,
16718 _swigt__p_wxIconBundle
,
16721 _swigt__p_wxScreenDC
,
16722 _swigt__p_wxCursor
,
16723 _swigt__p_wxClientDC
,
16724 _swigt__p_wxBufferedDC
,
16725 _swigt__p_wxImageList
,
16726 _swigt__p_unsigned_char
,
16727 _swigt__p_wxGDIObject
,
16728 _swigt__p_wxLocale
,
16730 _swigt__p_wxRegion
,
16731 _swigt__p_wxLanguageInfo
,
16732 _swigt__p_wxConfigBase
,
16733 _swigt__p_wxWindowDC
,
16734 _swigt__p_wxPrintData
,
16735 _swigt__p_wxBrushList
,
16736 _swigt__p_wxFontList
,
16738 _swigt__p_wxBufferedPaintDC
,
16739 _swigt__p_wxPaintDC
,
16740 _swigt__p_wxPenList
,
16743 _swigt__p_wxMetaFile
,
16744 _swigt__p_wxNativeFontInfo
,
16745 _swigt__p_wxEncodingConverter
,
16746 _swigt__p_wxColourDatabase
,
16751 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
16753 static swig_const_info swig_const_table
[] = {
16754 { SWIG_PY_INT
, (char *)"OutRegion", (long) wxOutRegion
, 0, 0, 0},
16755 { SWIG_PY_INT
, (char *)"PartRegion", (long) wxPartRegion
, 0, 0, 0},
16756 { SWIG_PY_INT
, (char *)"InRegion", (long) wxInRegion
, 0, 0, 0},
16757 { SWIG_PY_INT
, (char *)"FONTFAMILY_DEFAULT", (long) wxFONTFAMILY_DEFAULT
, 0, 0, 0},
16758 { SWIG_PY_INT
, (char *)"FONTFAMILY_DECORATIVE", (long) wxFONTFAMILY_DECORATIVE
, 0, 0, 0},
16759 { SWIG_PY_INT
, (char *)"FONTFAMILY_ROMAN", (long) wxFONTFAMILY_ROMAN
, 0, 0, 0},
16760 { SWIG_PY_INT
, (char *)"FONTFAMILY_SCRIPT", (long) wxFONTFAMILY_SCRIPT
, 0, 0, 0},
16761 { SWIG_PY_INT
, (char *)"FONTFAMILY_SWISS", (long) wxFONTFAMILY_SWISS
, 0, 0, 0},
16762 { SWIG_PY_INT
, (char *)"FONTFAMILY_MODERN", (long) wxFONTFAMILY_MODERN
, 0, 0, 0},
16763 { SWIG_PY_INT
, (char *)"FONTFAMILY_TELETYPE", (long) wxFONTFAMILY_TELETYPE
, 0, 0, 0},
16764 { SWIG_PY_INT
, (char *)"FONTFAMILY_MAX", (long) wxFONTFAMILY_MAX
, 0, 0, 0},
16765 { SWIG_PY_INT
, (char *)"FONTFAMILY_UNKNOWN", (long) wxFONTFAMILY_UNKNOWN
, 0, 0, 0},
16766 { SWIG_PY_INT
, (char *)"FONTSTYLE_NORMAL", (long) wxFONTSTYLE_NORMAL
, 0, 0, 0},
16767 { SWIG_PY_INT
, (char *)"FONTSTYLE_ITALIC", (long) wxFONTSTYLE_ITALIC
, 0, 0, 0},
16768 { SWIG_PY_INT
, (char *)"FONTSTYLE_SLANT", (long) wxFONTSTYLE_SLANT
, 0, 0, 0},
16769 { SWIG_PY_INT
, (char *)"FONTSTYLE_MAX", (long) wxFONTSTYLE_MAX
, 0, 0, 0},
16770 { SWIG_PY_INT
, (char *)"FONTWEIGHT_NORMAL", (long) wxFONTWEIGHT_NORMAL
, 0, 0, 0},
16771 { SWIG_PY_INT
, (char *)"FONTWEIGHT_LIGHT", (long) wxFONTWEIGHT_LIGHT
, 0, 0, 0},
16772 { SWIG_PY_INT
, (char *)"FONTWEIGHT_BOLD", (long) wxFONTWEIGHT_BOLD
, 0, 0, 0},
16773 { SWIG_PY_INT
, (char *)"FONTWEIGHT_MAX", (long) wxFONTWEIGHT_MAX
, 0, 0, 0},
16774 { SWIG_PY_INT
, (char *)"FONTFLAG_DEFAULT", (long) wxFONTFLAG_DEFAULT
, 0, 0, 0},
16775 { SWIG_PY_INT
, (char *)"FONTFLAG_ITALIC", (long) wxFONTFLAG_ITALIC
, 0, 0, 0},
16776 { SWIG_PY_INT
, (char *)"FONTFLAG_SLANT", (long) wxFONTFLAG_SLANT
, 0, 0, 0},
16777 { SWIG_PY_INT
, (char *)"FONTFLAG_LIGHT", (long) wxFONTFLAG_LIGHT
, 0, 0, 0},
16778 { SWIG_PY_INT
, (char *)"FONTFLAG_BOLD", (long) wxFONTFLAG_BOLD
, 0, 0, 0},
16779 { SWIG_PY_INT
, (char *)"FONTFLAG_ANTIALIASED", (long) wxFONTFLAG_ANTIALIASED
, 0, 0, 0},
16780 { SWIG_PY_INT
, (char *)"FONTFLAG_NOT_ANTIALIASED", (long) wxFONTFLAG_NOT_ANTIALIASED
, 0, 0, 0},
16781 { SWIG_PY_INT
, (char *)"FONTFLAG_UNDERLINED", (long) wxFONTFLAG_UNDERLINED
, 0, 0, 0},
16782 { SWIG_PY_INT
, (char *)"FONTFLAG_STRIKETHROUGH", (long) wxFONTFLAG_STRIKETHROUGH
, 0, 0, 0},
16783 { SWIG_PY_INT
, (char *)"FONTFLAG_MASK", (long) wxFONTFLAG_MASK
, 0, 0, 0},
16784 { SWIG_PY_INT
, (char *)"FONTENCODING_SYSTEM", (long) wxFONTENCODING_SYSTEM
, 0, 0, 0},
16785 { SWIG_PY_INT
, (char *)"FONTENCODING_DEFAULT", (long) wxFONTENCODING_DEFAULT
, 0, 0, 0},
16786 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_1", (long) wxFONTENCODING_ISO8859_1
, 0, 0, 0},
16787 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_2", (long) wxFONTENCODING_ISO8859_2
, 0, 0, 0},
16788 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_3", (long) wxFONTENCODING_ISO8859_3
, 0, 0, 0},
16789 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_4", (long) wxFONTENCODING_ISO8859_4
, 0, 0, 0},
16790 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_5", (long) wxFONTENCODING_ISO8859_5
, 0, 0, 0},
16791 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_6", (long) wxFONTENCODING_ISO8859_6
, 0, 0, 0},
16792 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_7", (long) wxFONTENCODING_ISO8859_7
, 0, 0, 0},
16793 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_8", (long) wxFONTENCODING_ISO8859_8
, 0, 0, 0},
16794 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_9", (long) wxFONTENCODING_ISO8859_9
, 0, 0, 0},
16795 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_10", (long) wxFONTENCODING_ISO8859_10
, 0, 0, 0},
16796 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_11", (long) wxFONTENCODING_ISO8859_11
, 0, 0, 0},
16797 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_12", (long) wxFONTENCODING_ISO8859_12
, 0, 0, 0},
16798 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_13", (long) wxFONTENCODING_ISO8859_13
, 0, 0, 0},
16799 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_14", (long) wxFONTENCODING_ISO8859_14
, 0, 0, 0},
16800 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_15", (long) wxFONTENCODING_ISO8859_15
, 0, 0, 0},
16801 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_MAX", (long) wxFONTENCODING_ISO8859_MAX
, 0, 0, 0},
16802 { SWIG_PY_INT
, (char *)"FONTENCODING_KOI8", (long) wxFONTENCODING_KOI8
, 0, 0, 0},
16803 { SWIG_PY_INT
, (char *)"FONTENCODING_ALTERNATIVE", (long) wxFONTENCODING_ALTERNATIVE
, 0, 0, 0},
16804 { SWIG_PY_INT
, (char *)"FONTENCODING_BULGARIAN", (long) wxFONTENCODING_BULGARIAN
, 0, 0, 0},
16805 { SWIG_PY_INT
, (char *)"FONTENCODING_CP437", (long) wxFONTENCODING_CP437
, 0, 0, 0},
16806 { SWIG_PY_INT
, (char *)"FONTENCODING_CP850", (long) wxFONTENCODING_CP850
, 0, 0, 0},
16807 { SWIG_PY_INT
, (char *)"FONTENCODING_CP852", (long) wxFONTENCODING_CP852
, 0, 0, 0},
16808 { SWIG_PY_INT
, (char *)"FONTENCODING_CP855", (long) wxFONTENCODING_CP855
, 0, 0, 0},
16809 { SWIG_PY_INT
, (char *)"FONTENCODING_CP866", (long) wxFONTENCODING_CP866
, 0, 0, 0},
16810 { SWIG_PY_INT
, (char *)"FONTENCODING_CP874", (long) wxFONTENCODING_CP874
, 0, 0, 0},
16811 { SWIG_PY_INT
, (char *)"FONTENCODING_CP932", (long) wxFONTENCODING_CP932
, 0, 0, 0},
16812 { SWIG_PY_INT
, (char *)"FONTENCODING_CP936", (long) wxFONTENCODING_CP936
, 0, 0, 0},
16813 { SWIG_PY_INT
, (char *)"FONTENCODING_CP949", (long) wxFONTENCODING_CP949
, 0, 0, 0},
16814 { SWIG_PY_INT
, (char *)"FONTENCODING_CP950", (long) wxFONTENCODING_CP950
, 0, 0, 0},
16815 { SWIG_PY_INT
, (char *)"FONTENCODING_CP1250", (long) wxFONTENCODING_CP1250
, 0, 0, 0},
16816 { SWIG_PY_INT
, (char *)"FONTENCODING_CP1251", (long) wxFONTENCODING_CP1251
, 0, 0, 0},
16817 { SWIG_PY_INT
, (char *)"FONTENCODING_CP1252", (long) wxFONTENCODING_CP1252
, 0, 0, 0},
16818 { SWIG_PY_INT
, (char *)"FONTENCODING_CP1253", (long) wxFONTENCODING_CP1253
, 0, 0, 0},
16819 { SWIG_PY_INT
, (char *)"FONTENCODING_CP1254", (long) wxFONTENCODING_CP1254
, 0, 0, 0},
16820 { SWIG_PY_INT
, (char *)"FONTENCODING_CP1255", (long) wxFONTENCODING_CP1255
, 0, 0, 0},
16821 { SWIG_PY_INT
, (char *)"FONTENCODING_CP1256", (long) wxFONTENCODING_CP1256
, 0, 0, 0},
16822 { SWIG_PY_INT
, (char *)"FONTENCODING_CP1257", (long) wxFONTENCODING_CP1257
, 0, 0, 0},
16823 { SWIG_PY_INT
, (char *)"FONTENCODING_CP12_MAX", (long) wxFONTENCODING_CP12_MAX
, 0, 0, 0},
16824 { SWIG_PY_INT
, (char *)"FONTENCODING_UTF7", (long) wxFONTENCODING_UTF7
, 0, 0, 0},
16825 { SWIG_PY_INT
, (char *)"FONTENCODING_UTF8", (long) wxFONTENCODING_UTF8
, 0, 0, 0},
16826 { SWIG_PY_INT
, (char *)"FONTENCODING_EUC_JP", (long) wxFONTENCODING_EUC_JP
, 0, 0, 0},
16827 { SWIG_PY_INT
, (char *)"FONTENCODING_UTF16BE", (long) wxFONTENCODING_UTF16BE
, 0, 0, 0},
16828 { SWIG_PY_INT
, (char *)"FONTENCODING_UTF16LE", (long) wxFONTENCODING_UTF16LE
, 0, 0, 0},
16829 { SWIG_PY_INT
, (char *)"FONTENCODING_UTF32BE", (long) wxFONTENCODING_UTF32BE
, 0, 0, 0},
16830 { SWIG_PY_INT
, (char *)"FONTENCODING_UTF32LE", (long) wxFONTENCODING_UTF32LE
, 0, 0, 0},
16831 { SWIG_PY_INT
, (char *)"FONTENCODING_MAX", (long) wxFONTENCODING_MAX
, 0, 0, 0},
16832 { SWIG_PY_INT
, (char *)"FONTENCODING_UTF16", (long) wxFONTENCODING_UTF16
, 0, 0, 0},
16833 { SWIG_PY_INT
, (char *)"FONTENCODING_UTF32", (long) wxFONTENCODING_UTF32
, 0, 0, 0},
16834 { SWIG_PY_INT
, (char *)"FONTENCODING_UNICODE", (long) wxFONTENCODING_UNICODE
, 0, 0, 0},
16835 { SWIG_PY_INT
, (char *)"FONTENCODING_GB2312", (long) wxFONTENCODING_GB2312
, 0, 0, 0},
16836 { SWIG_PY_INT
, (char *)"FONTENCODING_BIG5", (long) wxFONTENCODING_BIG5
, 0, 0, 0},
16837 { SWIG_PY_INT
, (char *)"FONTENCODING_SHIFT_JIS", (long) wxFONTENCODING_SHIFT_JIS
, 0, 0, 0},
16838 { SWIG_PY_INT
, (char *)"LANGUAGE_DEFAULT", (long) wxLANGUAGE_DEFAULT
, 0, 0, 0},
16839 { SWIG_PY_INT
, (char *)"LANGUAGE_UNKNOWN", (long) wxLANGUAGE_UNKNOWN
, 0, 0, 0},
16840 { SWIG_PY_INT
, (char *)"LANGUAGE_ABKHAZIAN", (long) wxLANGUAGE_ABKHAZIAN
, 0, 0, 0},
16841 { SWIG_PY_INT
, (char *)"LANGUAGE_AFAR", (long) wxLANGUAGE_AFAR
, 0, 0, 0},
16842 { SWIG_PY_INT
, (char *)"LANGUAGE_AFRIKAANS", (long) wxLANGUAGE_AFRIKAANS
, 0, 0, 0},
16843 { SWIG_PY_INT
, (char *)"LANGUAGE_ALBANIAN", (long) wxLANGUAGE_ALBANIAN
, 0, 0, 0},
16844 { SWIG_PY_INT
, (char *)"LANGUAGE_AMHARIC", (long) wxLANGUAGE_AMHARIC
, 0, 0, 0},
16845 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC", (long) wxLANGUAGE_ARABIC
, 0, 0, 0},
16846 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_ALGERIA", (long) wxLANGUAGE_ARABIC_ALGERIA
, 0, 0, 0},
16847 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_BAHRAIN", (long) wxLANGUAGE_ARABIC_BAHRAIN
, 0, 0, 0},
16848 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_EGYPT", (long) wxLANGUAGE_ARABIC_EGYPT
, 0, 0, 0},
16849 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_IRAQ", (long) wxLANGUAGE_ARABIC_IRAQ
, 0, 0, 0},
16850 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_JORDAN", (long) wxLANGUAGE_ARABIC_JORDAN
, 0, 0, 0},
16851 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_KUWAIT", (long) wxLANGUAGE_ARABIC_KUWAIT
, 0, 0, 0},
16852 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_LEBANON", (long) wxLANGUAGE_ARABIC_LEBANON
, 0, 0, 0},
16853 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_LIBYA", (long) wxLANGUAGE_ARABIC_LIBYA
, 0, 0, 0},
16854 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_MOROCCO", (long) wxLANGUAGE_ARABIC_MOROCCO
, 0, 0, 0},
16855 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_OMAN", (long) wxLANGUAGE_ARABIC_OMAN
, 0, 0, 0},
16856 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_QATAR", (long) wxLANGUAGE_ARABIC_QATAR
, 0, 0, 0},
16857 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_SAUDI_ARABIA", (long) wxLANGUAGE_ARABIC_SAUDI_ARABIA
, 0, 0, 0},
16858 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_SUDAN", (long) wxLANGUAGE_ARABIC_SUDAN
, 0, 0, 0},
16859 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_SYRIA", (long) wxLANGUAGE_ARABIC_SYRIA
, 0, 0, 0},
16860 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_TUNISIA", (long) wxLANGUAGE_ARABIC_TUNISIA
, 0, 0, 0},
16861 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_UAE", (long) wxLANGUAGE_ARABIC_UAE
, 0, 0, 0},
16862 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_YEMEN", (long) wxLANGUAGE_ARABIC_YEMEN
, 0, 0, 0},
16863 { SWIG_PY_INT
, (char *)"LANGUAGE_ARMENIAN", (long) wxLANGUAGE_ARMENIAN
, 0, 0, 0},
16864 { SWIG_PY_INT
, (char *)"LANGUAGE_ASSAMESE", (long) wxLANGUAGE_ASSAMESE
, 0, 0, 0},
16865 { SWIG_PY_INT
, (char *)"LANGUAGE_AYMARA", (long) wxLANGUAGE_AYMARA
, 0, 0, 0},
16866 { SWIG_PY_INT
, (char *)"LANGUAGE_AZERI", (long) wxLANGUAGE_AZERI
, 0, 0, 0},
16867 { SWIG_PY_INT
, (char *)"LANGUAGE_AZERI_CYRILLIC", (long) wxLANGUAGE_AZERI_CYRILLIC
, 0, 0, 0},
16868 { SWIG_PY_INT
, (char *)"LANGUAGE_AZERI_LATIN", (long) wxLANGUAGE_AZERI_LATIN
, 0, 0, 0},
16869 { SWIG_PY_INT
, (char *)"LANGUAGE_BASHKIR", (long) wxLANGUAGE_BASHKIR
, 0, 0, 0},
16870 { SWIG_PY_INT
, (char *)"LANGUAGE_BASQUE", (long) wxLANGUAGE_BASQUE
, 0, 0, 0},
16871 { SWIG_PY_INT
, (char *)"LANGUAGE_BELARUSIAN", (long) wxLANGUAGE_BELARUSIAN
, 0, 0, 0},
16872 { SWIG_PY_INT
, (char *)"LANGUAGE_BENGALI", (long) wxLANGUAGE_BENGALI
, 0, 0, 0},
16873 { SWIG_PY_INT
, (char *)"LANGUAGE_BHUTANI", (long) wxLANGUAGE_BHUTANI
, 0, 0, 0},
16874 { SWIG_PY_INT
, (char *)"LANGUAGE_BIHARI", (long) wxLANGUAGE_BIHARI
, 0, 0, 0},
16875 { SWIG_PY_INT
, (char *)"LANGUAGE_BISLAMA", (long) wxLANGUAGE_BISLAMA
, 0, 0, 0},
16876 { SWIG_PY_INT
, (char *)"LANGUAGE_BRETON", (long) wxLANGUAGE_BRETON
, 0, 0, 0},
16877 { SWIG_PY_INT
, (char *)"LANGUAGE_BULGARIAN", (long) wxLANGUAGE_BULGARIAN
, 0, 0, 0},
16878 { SWIG_PY_INT
, (char *)"LANGUAGE_BURMESE", (long) wxLANGUAGE_BURMESE
, 0, 0, 0},
16879 { SWIG_PY_INT
, (char *)"LANGUAGE_CAMBODIAN", (long) wxLANGUAGE_CAMBODIAN
, 0, 0, 0},
16880 { SWIG_PY_INT
, (char *)"LANGUAGE_CATALAN", (long) wxLANGUAGE_CATALAN
, 0, 0, 0},
16881 { SWIG_PY_INT
, (char *)"LANGUAGE_CHINESE", (long) wxLANGUAGE_CHINESE
, 0, 0, 0},
16882 { SWIG_PY_INT
, (char *)"LANGUAGE_CHINESE_SIMPLIFIED", (long) wxLANGUAGE_CHINESE_SIMPLIFIED
, 0, 0, 0},
16883 { SWIG_PY_INT
, (char *)"LANGUAGE_CHINESE_TRADITIONAL", (long) wxLANGUAGE_CHINESE_TRADITIONAL
, 0, 0, 0},
16884 { SWIG_PY_INT
, (char *)"LANGUAGE_CHINESE_HONGKONG", (long) wxLANGUAGE_CHINESE_HONGKONG
, 0, 0, 0},
16885 { SWIG_PY_INT
, (char *)"LANGUAGE_CHINESE_MACAU", (long) wxLANGUAGE_CHINESE_MACAU
, 0, 0, 0},
16886 { SWIG_PY_INT
, (char *)"LANGUAGE_CHINESE_SINGAPORE", (long) wxLANGUAGE_CHINESE_SINGAPORE
, 0, 0, 0},
16887 { SWIG_PY_INT
, (char *)"LANGUAGE_CHINESE_TAIWAN", (long) wxLANGUAGE_CHINESE_TAIWAN
, 0, 0, 0},
16888 { SWIG_PY_INT
, (char *)"LANGUAGE_CORSICAN", (long) wxLANGUAGE_CORSICAN
, 0, 0, 0},
16889 { SWIG_PY_INT
, (char *)"LANGUAGE_CROATIAN", (long) wxLANGUAGE_CROATIAN
, 0, 0, 0},
16890 { SWIG_PY_INT
, (char *)"LANGUAGE_CZECH", (long) wxLANGUAGE_CZECH
, 0, 0, 0},
16891 { SWIG_PY_INT
, (char *)"LANGUAGE_DANISH", (long) wxLANGUAGE_DANISH
, 0, 0, 0},
16892 { SWIG_PY_INT
, (char *)"LANGUAGE_DUTCH", (long) wxLANGUAGE_DUTCH
, 0, 0, 0},
16893 { SWIG_PY_INT
, (char *)"LANGUAGE_DUTCH_BELGIAN", (long) wxLANGUAGE_DUTCH_BELGIAN
, 0, 0, 0},
16894 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH", (long) wxLANGUAGE_ENGLISH
, 0, 0, 0},
16895 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_UK", (long) wxLANGUAGE_ENGLISH_UK
, 0, 0, 0},
16896 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_US", (long) wxLANGUAGE_ENGLISH_US
, 0, 0, 0},
16897 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_AUSTRALIA", (long) wxLANGUAGE_ENGLISH_AUSTRALIA
, 0, 0, 0},
16898 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_BELIZE", (long) wxLANGUAGE_ENGLISH_BELIZE
, 0, 0, 0},
16899 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_BOTSWANA", (long) wxLANGUAGE_ENGLISH_BOTSWANA
, 0, 0, 0},
16900 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_CANADA", (long) wxLANGUAGE_ENGLISH_CANADA
, 0, 0, 0},
16901 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_CARIBBEAN", (long) wxLANGUAGE_ENGLISH_CARIBBEAN
, 0, 0, 0},
16902 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_DENMARK", (long) wxLANGUAGE_ENGLISH_DENMARK
, 0, 0, 0},
16903 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_EIRE", (long) wxLANGUAGE_ENGLISH_EIRE
, 0, 0, 0},
16904 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_JAMAICA", (long) wxLANGUAGE_ENGLISH_JAMAICA
, 0, 0, 0},
16905 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_NEW_ZEALAND", (long) wxLANGUAGE_ENGLISH_NEW_ZEALAND
, 0, 0, 0},
16906 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_PHILIPPINES", (long) wxLANGUAGE_ENGLISH_PHILIPPINES
, 0, 0, 0},
16907 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_SOUTH_AFRICA", (long) wxLANGUAGE_ENGLISH_SOUTH_AFRICA
, 0, 0, 0},
16908 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_TRINIDAD", (long) wxLANGUAGE_ENGLISH_TRINIDAD
, 0, 0, 0},
16909 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_ZIMBABWE", (long) wxLANGUAGE_ENGLISH_ZIMBABWE
, 0, 0, 0},
16910 { SWIG_PY_INT
, (char *)"LANGUAGE_ESPERANTO", (long) wxLANGUAGE_ESPERANTO
, 0, 0, 0},
16911 { SWIG_PY_INT
, (char *)"LANGUAGE_ESTONIAN", (long) wxLANGUAGE_ESTONIAN
, 0, 0, 0},
16912 { SWIG_PY_INT
, (char *)"LANGUAGE_FAEROESE", (long) wxLANGUAGE_FAEROESE
, 0, 0, 0},
16913 { SWIG_PY_INT
, (char *)"LANGUAGE_FARSI", (long) wxLANGUAGE_FARSI
, 0, 0, 0},
16914 { SWIG_PY_INT
, (char *)"LANGUAGE_FIJI", (long) wxLANGUAGE_FIJI
, 0, 0, 0},
16915 { SWIG_PY_INT
, (char *)"LANGUAGE_FINNISH", (long) wxLANGUAGE_FINNISH
, 0, 0, 0},
16916 { SWIG_PY_INT
, (char *)"LANGUAGE_FRENCH", (long) wxLANGUAGE_FRENCH
, 0, 0, 0},
16917 { SWIG_PY_INT
, (char *)"LANGUAGE_FRENCH_BELGIAN", (long) wxLANGUAGE_FRENCH_BELGIAN
, 0, 0, 0},
16918 { SWIG_PY_INT
, (char *)"LANGUAGE_FRENCH_CANADIAN", (long) wxLANGUAGE_FRENCH_CANADIAN
, 0, 0, 0},
16919 { SWIG_PY_INT
, (char *)"LANGUAGE_FRENCH_LUXEMBOURG", (long) wxLANGUAGE_FRENCH_LUXEMBOURG
, 0, 0, 0},
16920 { SWIG_PY_INT
, (char *)"LANGUAGE_FRENCH_MONACO", (long) wxLANGUAGE_FRENCH_MONACO
, 0, 0, 0},
16921 { SWIG_PY_INT
, (char *)"LANGUAGE_FRENCH_SWISS", (long) wxLANGUAGE_FRENCH_SWISS
, 0, 0, 0},
16922 { SWIG_PY_INT
, (char *)"LANGUAGE_FRISIAN", (long) wxLANGUAGE_FRISIAN
, 0, 0, 0},
16923 { SWIG_PY_INT
, (char *)"LANGUAGE_GALICIAN", (long) wxLANGUAGE_GALICIAN
, 0, 0, 0},
16924 { SWIG_PY_INT
, (char *)"LANGUAGE_GEORGIAN", (long) wxLANGUAGE_GEORGIAN
, 0, 0, 0},
16925 { SWIG_PY_INT
, (char *)"LANGUAGE_GERMAN", (long) wxLANGUAGE_GERMAN
, 0, 0, 0},
16926 { SWIG_PY_INT
, (char *)"LANGUAGE_GERMAN_AUSTRIAN", (long) wxLANGUAGE_GERMAN_AUSTRIAN
, 0, 0, 0},
16927 { SWIG_PY_INT
, (char *)"LANGUAGE_GERMAN_BELGIUM", (long) wxLANGUAGE_GERMAN_BELGIUM
, 0, 0, 0},
16928 { SWIG_PY_INT
, (char *)"LANGUAGE_GERMAN_LIECHTENSTEIN", (long) wxLANGUAGE_GERMAN_LIECHTENSTEIN
, 0, 0, 0},
16929 { SWIG_PY_INT
, (char *)"LANGUAGE_GERMAN_LUXEMBOURG", (long) wxLANGUAGE_GERMAN_LUXEMBOURG
, 0, 0, 0},
16930 { SWIG_PY_INT
, (char *)"LANGUAGE_GERMAN_SWISS", (long) wxLANGUAGE_GERMAN_SWISS
, 0, 0, 0},
16931 { SWIG_PY_INT
, (char *)"LANGUAGE_GREEK", (long) wxLANGUAGE_GREEK
, 0, 0, 0},
16932 { SWIG_PY_INT
, (char *)"LANGUAGE_GREENLANDIC", (long) wxLANGUAGE_GREENLANDIC
, 0, 0, 0},
16933 { SWIG_PY_INT
, (char *)"LANGUAGE_GUARANI", (long) wxLANGUAGE_GUARANI
, 0, 0, 0},
16934 { SWIG_PY_INT
, (char *)"LANGUAGE_GUJARATI", (long) wxLANGUAGE_GUJARATI
, 0, 0, 0},
16935 { SWIG_PY_INT
, (char *)"LANGUAGE_HAUSA", (long) wxLANGUAGE_HAUSA
, 0, 0, 0},
16936 { SWIG_PY_INT
, (char *)"LANGUAGE_HEBREW", (long) wxLANGUAGE_HEBREW
, 0, 0, 0},
16937 { SWIG_PY_INT
, (char *)"LANGUAGE_HINDI", (long) wxLANGUAGE_HINDI
, 0, 0, 0},
16938 { SWIG_PY_INT
, (char *)"LANGUAGE_HUNGARIAN", (long) wxLANGUAGE_HUNGARIAN
, 0, 0, 0},
16939 { SWIG_PY_INT
, (char *)"LANGUAGE_ICELANDIC", (long) wxLANGUAGE_ICELANDIC
, 0, 0, 0},
16940 { SWIG_PY_INT
, (char *)"LANGUAGE_INDONESIAN", (long) wxLANGUAGE_INDONESIAN
, 0, 0, 0},
16941 { SWIG_PY_INT
, (char *)"LANGUAGE_INTERLINGUA", (long) wxLANGUAGE_INTERLINGUA
, 0, 0, 0},
16942 { SWIG_PY_INT
, (char *)"LANGUAGE_INTERLINGUE", (long) wxLANGUAGE_INTERLINGUE
, 0, 0, 0},
16943 { SWIG_PY_INT
, (char *)"LANGUAGE_INUKTITUT", (long) wxLANGUAGE_INUKTITUT
, 0, 0, 0},
16944 { SWIG_PY_INT
, (char *)"LANGUAGE_INUPIAK", (long) wxLANGUAGE_INUPIAK
, 0, 0, 0},
16945 { SWIG_PY_INT
, (char *)"LANGUAGE_IRISH", (long) wxLANGUAGE_IRISH
, 0, 0, 0},
16946 { SWIG_PY_INT
, (char *)"LANGUAGE_ITALIAN", (long) wxLANGUAGE_ITALIAN
, 0, 0, 0},
16947 { SWIG_PY_INT
, (char *)"LANGUAGE_ITALIAN_SWISS", (long) wxLANGUAGE_ITALIAN_SWISS
, 0, 0, 0},
16948 { SWIG_PY_INT
, (char *)"LANGUAGE_JAPANESE", (long) wxLANGUAGE_JAPANESE
, 0, 0, 0},
16949 { SWIG_PY_INT
, (char *)"LANGUAGE_JAVANESE", (long) wxLANGUAGE_JAVANESE
, 0, 0, 0},
16950 { SWIG_PY_INT
, (char *)"LANGUAGE_KANNADA", (long) wxLANGUAGE_KANNADA
, 0, 0, 0},
16951 { SWIG_PY_INT
, (char *)"LANGUAGE_KASHMIRI", (long) wxLANGUAGE_KASHMIRI
, 0, 0, 0},
16952 { SWIG_PY_INT
, (char *)"LANGUAGE_KASHMIRI_INDIA", (long) wxLANGUAGE_KASHMIRI_INDIA
, 0, 0, 0},
16953 { SWIG_PY_INT
, (char *)"LANGUAGE_KAZAKH", (long) wxLANGUAGE_KAZAKH
, 0, 0, 0},
16954 { SWIG_PY_INT
, (char *)"LANGUAGE_KERNEWEK", (long) wxLANGUAGE_KERNEWEK
, 0, 0, 0},
16955 { SWIG_PY_INT
, (char *)"LANGUAGE_KINYARWANDA", (long) wxLANGUAGE_KINYARWANDA
, 0, 0, 0},
16956 { SWIG_PY_INT
, (char *)"LANGUAGE_KIRGHIZ", (long) wxLANGUAGE_KIRGHIZ
, 0, 0, 0},
16957 { SWIG_PY_INT
, (char *)"LANGUAGE_KIRUNDI", (long) wxLANGUAGE_KIRUNDI
, 0, 0, 0},
16958 { SWIG_PY_INT
, (char *)"LANGUAGE_KONKANI", (long) wxLANGUAGE_KONKANI
, 0, 0, 0},
16959 { SWIG_PY_INT
, (char *)"LANGUAGE_KOREAN", (long) wxLANGUAGE_KOREAN
, 0, 0, 0},
16960 { SWIG_PY_INT
, (char *)"LANGUAGE_KURDISH", (long) wxLANGUAGE_KURDISH
, 0, 0, 0},
16961 { SWIG_PY_INT
, (char *)"LANGUAGE_LAOTHIAN", (long) wxLANGUAGE_LAOTHIAN
, 0, 0, 0},
16962 { SWIG_PY_INT
, (char *)"LANGUAGE_LATIN", (long) wxLANGUAGE_LATIN
, 0, 0, 0},
16963 { SWIG_PY_INT
, (char *)"LANGUAGE_LATVIAN", (long) wxLANGUAGE_LATVIAN
, 0, 0, 0},
16964 { SWIG_PY_INT
, (char *)"LANGUAGE_LINGALA", (long) wxLANGUAGE_LINGALA
, 0, 0, 0},
16965 { SWIG_PY_INT
, (char *)"LANGUAGE_LITHUANIAN", (long) wxLANGUAGE_LITHUANIAN
, 0, 0, 0},
16966 { SWIG_PY_INT
, (char *)"LANGUAGE_MACEDONIAN", (long) wxLANGUAGE_MACEDONIAN
, 0, 0, 0},
16967 { SWIG_PY_INT
, (char *)"LANGUAGE_MALAGASY", (long) wxLANGUAGE_MALAGASY
, 0, 0, 0},
16968 { SWIG_PY_INT
, (char *)"LANGUAGE_MALAY", (long) wxLANGUAGE_MALAY
, 0, 0, 0},
16969 { SWIG_PY_INT
, (char *)"LANGUAGE_MALAYALAM", (long) wxLANGUAGE_MALAYALAM
, 0, 0, 0},
16970 { SWIG_PY_INT
, (char *)"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", (long) wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
, 0, 0, 0},
16971 { SWIG_PY_INT
, (char *)"LANGUAGE_MALAY_MALAYSIA", (long) wxLANGUAGE_MALAY_MALAYSIA
, 0, 0, 0},
16972 { SWIG_PY_INT
, (char *)"LANGUAGE_MALTESE", (long) wxLANGUAGE_MALTESE
, 0, 0, 0},
16973 { SWIG_PY_INT
, (char *)"LANGUAGE_MANIPURI", (long) wxLANGUAGE_MANIPURI
, 0, 0, 0},
16974 { SWIG_PY_INT
, (char *)"LANGUAGE_MAORI", (long) wxLANGUAGE_MAORI
, 0, 0, 0},
16975 { SWIG_PY_INT
, (char *)"LANGUAGE_MARATHI", (long) wxLANGUAGE_MARATHI
, 0, 0, 0},
16976 { SWIG_PY_INT
, (char *)"LANGUAGE_MOLDAVIAN", (long) wxLANGUAGE_MOLDAVIAN
, 0, 0, 0},
16977 { SWIG_PY_INT
, (char *)"LANGUAGE_MONGOLIAN", (long) wxLANGUAGE_MONGOLIAN
, 0, 0, 0},
16978 { SWIG_PY_INT
, (char *)"LANGUAGE_NAURU", (long) wxLANGUAGE_NAURU
, 0, 0, 0},
16979 { SWIG_PY_INT
, (char *)"LANGUAGE_NEPALI", (long) wxLANGUAGE_NEPALI
, 0, 0, 0},
16980 { SWIG_PY_INT
, (char *)"LANGUAGE_NEPALI_INDIA", (long) wxLANGUAGE_NEPALI_INDIA
, 0, 0, 0},
16981 { SWIG_PY_INT
, (char *)"LANGUAGE_NORWEGIAN_BOKMAL", (long) wxLANGUAGE_NORWEGIAN_BOKMAL
, 0, 0, 0},
16982 { SWIG_PY_INT
, (char *)"LANGUAGE_NORWEGIAN_NYNORSK", (long) wxLANGUAGE_NORWEGIAN_NYNORSK
, 0, 0, 0},
16983 { SWIG_PY_INT
, (char *)"LANGUAGE_OCCITAN", (long) wxLANGUAGE_OCCITAN
, 0, 0, 0},
16984 { SWIG_PY_INT
, (char *)"LANGUAGE_ORIYA", (long) wxLANGUAGE_ORIYA
, 0, 0, 0},
16985 { SWIG_PY_INT
, (char *)"LANGUAGE_OROMO", (long) wxLANGUAGE_OROMO
, 0, 0, 0},
16986 { SWIG_PY_INT
, (char *)"LANGUAGE_PASHTO", (long) wxLANGUAGE_PASHTO
, 0, 0, 0},
16987 { SWIG_PY_INT
, (char *)"LANGUAGE_POLISH", (long) wxLANGUAGE_POLISH
, 0, 0, 0},
16988 { SWIG_PY_INT
, (char *)"LANGUAGE_PORTUGUESE", (long) wxLANGUAGE_PORTUGUESE
, 0, 0, 0},
16989 { SWIG_PY_INT
, (char *)"LANGUAGE_PORTUGUESE_BRAZILIAN", (long) wxLANGUAGE_PORTUGUESE_BRAZILIAN
, 0, 0, 0},
16990 { SWIG_PY_INT
, (char *)"LANGUAGE_PUNJABI", (long) wxLANGUAGE_PUNJABI
, 0, 0, 0},
16991 { SWIG_PY_INT
, (char *)"LANGUAGE_QUECHUA", (long) wxLANGUAGE_QUECHUA
, 0, 0, 0},
16992 { SWIG_PY_INT
, (char *)"LANGUAGE_RHAETO_ROMANCE", (long) wxLANGUAGE_RHAETO_ROMANCE
, 0, 0, 0},
16993 { SWIG_PY_INT
, (char *)"LANGUAGE_ROMANIAN", (long) wxLANGUAGE_ROMANIAN
, 0, 0, 0},
16994 { SWIG_PY_INT
, (char *)"LANGUAGE_RUSSIAN", (long) wxLANGUAGE_RUSSIAN
, 0, 0, 0},
16995 { SWIG_PY_INT
, (char *)"LANGUAGE_RUSSIAN_UKRAINE", (long) wxLANGUAGE_RUSSIAN_UKRAINE
, 0, 0, 0},
16996 { SWIG_PY_INT
, (char *)"LANGUAGE_SAMOAN", (long) wxLANGUAGE_SAMOAN
, 0, 0, 0},
16997 { SWIG_PY_INT
, (char *)"LANGUAGE_SANGHO", (long) wxLANGUAGE_SANGHO
, 0, 0, 0},
16998 { SWIG_PY_INT
, (char *)"LANGUAGE_SANSKRIT", (long) wxLANGUAGE_SANSKRIT
, 0, 0, 0},
16999 { SWIG_PY_INT
, (char *)"LANGUAGE_SCOTS_GAELIC", (long) wxLANGUAGE_SCOTS_GAELIC
, 0, 0, 0},
17000 { SWIG_PY_INT
, (char *)"LANGUAGE_SERBIAN", (long) wxLANGUAGE_SERBIAN
, 0, 0, 0},
17001 { SWIG_PY_INT
, (char *)"LANGUAGE_SERBIAN_CYRILLIC", (long) wxLANGUAGE_SERBIAN_CYRILLIC
, 0, 0, 0},
17002 { SWIG_PY_INT
, (char *)"LANGUAGE_SERBIAN_LATIN", (long) wxLANGUAGE_SERBIAN_LATIN
, 0, 0, 0},
17003 { SWIG_PY_INT
, (char *)"LANGUAGE_SERBO_CROATIAN", (long) wxLANGUAGE_SERBO_CROATIAN
, 0, 0, 0},
17004 { SWIG_PY_INT
, (char *)"LANGUAGE_SESOTHO", (long) wxLANGUAGE_SESOTHO
, 0, 0, 0},
17005 { SWIG_PY_INT
, (char *)"LANGUAGE_SETSWANA", (long) wxLANGUAGE_SETSWANA
, 0, 0, 0},
17006 { SWIG_PY_INT
, (char *)"LANGUAGE_SHONA", (long) wxLANGUAGE_SHONA
, 0, 0, 0},
17007 { SWIG_PY_INT
, (char *)"LANGUAGE_SINDHI", (long) wxLANGUAGE_SINDHI
, 0, 0, 0},
17008 { SWIG_PY_INT
, (char *)"LANGUAGE_SINHALESE", (long) wxLANGUAGE_SINHALESE
, 0, 0, 0},
17009 { SWIG_PY_INT
, (char *)"LANGUAGE_SISWATI", (long) wxLANGUAGE_SISWATI
, 0, 0, 0},
17010 { SWIG_PY_INT
, (char *)"LANGUAGE_SLOVAK", (long) wxLANGUAGE_SLOVAK
, 0, 0, 0},
17011 { SWIG_PY_INT
, (char *)"LANGUAGE_SLOVENIAN", (long) wxLANGUAGE_SLOVENIAN
, 0, 0, 0},
17012 { SWIG_PY_INT
, (char *)"LANGUAGE_SOMALI", (long) wxLANGUAGE_SOMALI
, 0, 0, 0},
17013 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH", (long) wxLANGUAGE_SPANISH
, 0, 0, 0},
17014 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_ARGENTINA", (long) wxLANGUAGE_SPANISH_ARGENTINA
, 0, 0, 0},
17015 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_BOLIVIA", (long) wxLANGUAGE_SPANISH_BOLIVIA
, 0, 0, 0},
17016 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_CHILE", (long) wxLANGUAGE_SPANISH_CHILE
, 0, 0, 0},
17017 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_COLOMBIA", (long) wxLANGUAGE_SPANISH_COLOMBIA
, 0, 0, 0},
17018 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_COSTA_RICA", (long) wxLANGUAGE_SPANISH_COSTA_RICA
, 0, 0, 0},
17019 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", (long) wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
, 0, 0, 0},
17020 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_ECUADOR", (long) wxLANGUAGE_SPANISH_ECUADOR
, 0, 0, 0},
17021 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_EL_SALVADOR", (long) wxLANGUAGE_SPANISH_EL_SALVADOR
, 0, 0, 0},
17022 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_GUATEMALA", (long) wxLANGUAGE_SPANISH_GUATEMALA
, 0, 0, 0},
17023 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_HONDURAS", (long) wxLANGUAGE_SPANISH_HONDURAS
, 0, 0, 0},
17024 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_MEXICAN", (long) wxLANGUAGE_SPANISH_MEXICAN
, 0, 0, 0},
17025 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_MODERN", (long) wxLANGUAGE_SPANISH_MODERN
, 0, 0, 0},
17026 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_NICARAGUA", (long) wxLANGUAGE_SPANISH_NICARAGUA
, 0, 0, 0},
17027 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_PANAMA", (long) wxLANGUAGE_SPANISH_PANAMA
, 0, 0, 0},
17028 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_PARAGUAY", (long) wxLANGUAGE_SPANISH_PARAGUAY
, 0, 0, 0},
17029 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_PERU", (long) wxLANGUAGE_SPANISH_PERU
, 0, 0, 0},
17030 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_PUERTO_RICO", (long) wxLANGUAGE_SPANISH_PUERTO_RICO
, 0, 0, 0},
17031 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_URUGUAY", (long) wxLANGUAGE_SPANISH_URUGUAY
, 0, 0, 0},
17032 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_US", (long) wxLANGUAGE_SPANISH_US
, 0, 0, 0},
17033 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_VENEZUELA", (long) wxLANGUAGE_SPANISH_VENEZUELA
, 0, 0, 0},
17034 { SWIG_PY_INT
, (char *)"LANGUAGE_SUNDANESE", (long) wxLANGUAGE_SUNDANESE
, 0, 0, 0},
17035 { SWIG_PY_INT
, (char *)"LANGUAGE_SWAHILI", (long) wxLANGUAGE_SWAHILI
, 0, 0, 0},
17036 { SWIG_PY_INT
, (char *)"LANGUAGE_SWEDISH", (long) wxLANGUAGE_SWEDISH
, 0, 0, 0},
17037 { SWIG_PY_INT
, (char *)"LANGUAGE_SWEDISH_FINLAND", (long) wxLANGUAGE_SWEDISH_FINLAND
, 0, 0, 0},
17038 { SWIG_PY_INT
, (char *)"LANGUAGE_TAGALOG", (long) wxLANGUAGE_TAGALOG
, 0, 0, 0},
17039 { SWIG_PY_INT
, (char *)"LANGUAGE_TAJIK", (long) wxLANGUAGE_TAJIK
, 0, 0, 0},
17040 { SWIG_PY_INT
, (char *)"LANGUAGE_TAMIL", (long) wxLANGUAGE_TAMIL
, 0, 0, 0},
17041 { SWIG_PY_INT
, (char *)"LANGUAGE_TATAR", (long) wxLANGUAGE_TATAR
, 0, 0, 0},
17042 { SWIG_PY_INT
, (char *)"LANGUAGE_TELUGU", (long) wxLANGUAGE_TELUGU
, 0, 0, 0},
17043 { SWIG_PY_INT
, (char *)"LANGUAGE_THAI", (long) wxLANGUAGE_THAI
, 0, 0, 0},
17044 { SWIG_PY_INT
, (char *)"LANGUAGE_TIBETAN", (long) wxLANGUAGE_TIBETAN
, 0, 0, 0},
17045 { SWIG_PY_INT
, (char *)"LANGUAGE_TIGRINYA", (long) wxLANGUAGE_TIGRINYA
, 0, 0, 0},
17046 { SWIG_PY_INT
, (char *)"LANGUAGE_TONGA", (long) wxLANGUAGE_TONGA
, 0, 0, 0},
17047 { SWIG_PY_INT
, (char *)"LANGUAGE_TSONGA", (long) wxLANGUAGE_TSONGA
, 0, 0, 0},
17048 { SWIG_PY_INT
, (char *)"LANGUAGE_TURKISH", (long) wxLANGUAGE_TURKISH
, 0, 0, 0},
17049 { SWIG_PY_INT
, (char *)"LANGUAGE_TURKMEN", (long) wxLANGUAGE_TURKMEN
, 0, 0, 0},
17050 { SWIG_PY_INT
, (char *)"LANGUAGE_TWI", (long) wxLANGUAGE_TWI
, 0, 0, 0},
17051 { SWIG_PY_INT
, (char *)"LANGUAGE_UIGHUR", (long) wxLANGUAGE_UIGHUR
, 0, 0, 0},
17052 { SWIG_PY_INT
, (char *)"LANGUAGE_UKRAINIAN", (long) wxLANGUAGE_UKRAINIAN
, 0, 0, 0},
17053 { SWIG_PY_INT
, (char *)"LANGUAGE_URDU", (long) wxLANGUAGE_URDU
, 0, 0, 0},
17054 { SWIG_PY_INT
, (char *)"LANGUAGE_URDU_INDIA", (long) wxLANGUAGE_URDU_INDIA
, 0, 0, 0},
17055 { SWIG_PY_INT
, (char *)"LANGUAGE_URDU_PAKISTAN", (long) wxLANGUAGE_URDU_PAKISTAN
, 0, 0, 0},
17056 { SWIG_PY_INT
, (char *)"LANGUAGE_UZBEK", (long) wxLANGUAGE_UZBEK
, 0, 0, 0},
17057 { SWIG_PY_INT
, (char *)"LANGUAGE_UZBEK_CYRILLIC", (long) wxLANGUAGE_UZBEK_CYRILLIC
, 0, 0, 0},
17058 { SWIG_PY_INT
, (char *)"LANGUAGE_UZBEK_LATIN", (long) wxLANGUAGE_UZBEK_LATIN
, 0, 0, 0},
17059 { SWIG_PY_INT
, (char *)"LANGUAGE_VIETNAMESE", (long) wxLANGUAGE_VIETNAMESE
, 0, 0, 0},
17060 { SWIG_PY_INT
, (char *)"LANGUAGE_VOLAPUK", (long) wxLANGUAGE_VOLAPUK
, 0, 0, 0},
17061 { SWIG_PY_INT
, (char *)"LANGUAGE_WELSH", (long) wxLANGUAGE_WELSH
, 0, 0, 0},
17062 { SWIG_PY_INT
, (char *)"LANGUAGE_WOLOF", (long) wxLANGUAGE_WOLOF
, 0, 0, 0},
17063 { SWIG_PY_INT
, (char *)"LANGUAGE_XHOSA", (long) wxLANGUAGE_XHOSA
, 0, 0, 0},
17064 { SWIG_PY_INT
, (char *)"LANGUAGE_YIDDISH", (long) wxLANGUAGE_YIDDISH
, 0, 0, 0},
17065 { SWIG_PY_INT
, (char *)"LANGUAGE_YORUBA", (long) wxLANGUAGE_YORUBA
, 0, 0, 0},
17066 { SWIG_PY_INT
, (char *)"LANGUAGE_ZHUANG", (long) wxLANGUAGE_ZHUANG
, 0, 0, 0},
17067 { SWIG_PY_INT
, (char *)"LANGUAGE_ZULU", (long) wxLANGUAGE_ZULU
, 0, 0, 0},
17068 { SWIG_PY_INT
, (char *)"LANGUAGE_USER_DEFINED", (long) wxLANGUAGE_USER_DEFINED
, 0, 0, 0},
17069 { SWIG_PY_INT
, (char *)"LOCALE_CAT_NUMBER", (long) wxLOCALE_CAT_NUMBER
, 0, 0, 0},
17070 { SWIG_PY_INT
, (char *)"LOCALE_CAT_DATE", (long) wxLOCALE_CAT_DATE
, 0, 0, 0},
17071 { SWIG_PY_INT
, (char *)"LOCALE_CAT_MONEY", (long) wxLOCALE_CAT_MONEY
, 0, 0, 0},
17072 { SWIG_PY_INT
, (char *)"LOCALE_CAT_MAX", (long) wxLOCALE_CAT_MAX
, 0, 0, 0},
17073 { SWIG_PY_INT
, (char *)"LOCALE_THOUSANDS_SEP", (long) wxLOCALE_THOUSANDS_SEP
, 0, 0, 0},
17074 { SWIG_PY_INT
, (char *)"LOCALE_DECIMAL_POINT", (long) wxLOCALE_DECIMAL_POINT
, 0, 0, 0},
17075 { SWIG_PY_INT
, (char *)"LOCALE_LOAD_DEFAULT", (long) wxLOCALE_LOAD_DEFAULT
, 0, 0, 0},
17076 { SWIG_PY_INT
, (char *)"LOCALE_CONV_ENCODING", (long) wxLOCALE_CONV_ENCODING
, 0, 0, 0},
17077 { SWIG_PY_INT
, (char *)"CONVERT_STRICT", (long) wxCONVERT_STRICT
, 0, 0, 0},
17078 { SWIG_PY_INT
, (char *)"CONVERT_SUBSTITUTE", (long) wxCONVERT_SUBSTITUTE
, 0, 0, 0},
17079 { SWIG_PY_INT
, (char *)"PLATFORM_CURRENT", (long) wxPLATFORM_CURRENT
, 0, 0, 0},
17080 { SWIG_PY_INT
, (char *)"PLATFORM_UNIX", (long) wxPLATFORM_UNIX
, 0, 0, 0},
17081 { SWIG_PY_INT
, (char *)"PLATFORM_WINDOWS", (long) wxPLATFORM_WINDOWS
, 0, 0, 0},
17082 { SWIG_PY_INT
, (char *)"PLATFORM_OS2", (long) wxPLATFORM_OS2
, 0, 0, 0},
17083 { SWIG_PY_INT
, (char *)"PLATFORM_MAC", (long) wxPLATFORM_MAC
, 0, 0, 0},
17084 { SWIG_PY_INT
, (char *)"IMAGELIST_DRAW_NORMAL", (long) wxIMAGELIST_DRAW_NORMAL
, 0, 0, 0},
17085 { SWIG_PY_INT
, (char *)"IMAGELIST_DRAW_TRANSPARENT", (long) wxIMAGELIST_DRAW_TRANSPARENT
, 0, 0, 0},
17086 { SWIG_PY_INT
, (char *)"IMAGELIST_DRAW_SELECTED", (long) wxIMAGELIST_DRAW_SELECTED
, 0, 0, 0},
17087 { SWIG_PY_INT
, (char *)"IMAGELIST_DRAW_FOCUSED", (long) wxIMAGELIST_DRAW_FOCUSED
, 0, 0, 0},
17088 { SWIG_PY_INT
, (char *)"IMAGE_LIST_NORMAL", (long) wxIMAGE_LIST_NORMAL
, 0, 0, 0},
17089 { SWIG_PY_INT
, (char *)"IMAGE_LIST_SMALL", (long) wxIMAGE_LIST_SMALL
, 0, 0, 0},
17090 { SWIG_PY_INT
, (char *)"IMAGE_LIST_STATE", (long) wxIMAGE_LIST_STATE
, 0, 0, 0},
17100 SWIGEXPORT(void) SWIG_init(void) {
17101 static PyObject
*SWIG_globals
= 0;
17102 static int typeinit
= 0;
17105 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
17106 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
17107 d
= PyModule_GetDict(m
);
17110 for (i
= 0; swig_types_initial
[i
]; i
++) {
17111 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
17115 SWIG_InstallConstants(d
,swig_const_table
);
17118 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
17120 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
17121 SWIG_addvarlink(SWIG_globals
,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get
, _wrap_NORMAL_FONT_set
);
17122 SWIG_addvarlink(SWIG_globals
,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get
, _wrap_SMALL_FONT_set
);
17123 SWIG_addvarlink(SWIG_globals
,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get
, _wrap_ITALIC_FONT_set
);
17124 SWIG_addvarlink(SWIG_globals
,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get
, _wrap_SWISS_FONT_set
);
17125 SWIG_addvarlink(SWIG_globals
,(char*)"RED_PEN",_wrap_RED_PEN_get
, _wrap_RED_PEN_set
);
17126 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get
, _wrap_CYAN_PEN_set
);
17127 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get
, _wrap_GREEN_PEN_set
);
17128 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get
, _wrap_BLACK_PEN_set
);
17129 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get
, _wrap_WHITE_PEN_set
);
17130 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get
, _wrap_TRANSPARENT_PEN_set
);
17131 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get
, _wrap_BLACK_DASHED_PEN_set
);
17132 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_PEN",_wrap_GREY_PEN_get
, _wrap_GREY_PEN_set
);
17133 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get
, _wrap_MEDIUM_GREY_PEN_set
);
17134 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get
, _wrap_LIGHT_GREY_PEN_set
);
17135 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get
, _wrap_BLUE_BRUSH_set
);
17136 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get
, _wrap_GREEN_BRUSH_set
);
17137 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get
, _wrap_WHITE_BRUSH_set
);
17138 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get
, _wrap_BLACK_BRUSH_set
);
17139 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get
, _wrap_TRANSPARENT_BRUSH_set
);
17140 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get
, _wrap_CYAN_BRUSH_set
);
17141 SWIG_addvarlink(SWIG_globals
,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get
, _wrap_RED_BRUSH_set
);
17142 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get
, _wrap_GREY_BRUSH_set
);
17143 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get
, _wrap_MEDIUM_GREY_BRUSH_set
);
17144 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get
, _wrap_LIGHT_GREY_BRUSH_set
);
17145 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK",_wrap_BLACK_get
, _wrap_BLACK_set
);
17146 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE",_wrap_WHITE_get
, _wrap_WHITE_set
);
17147 SWIG_addvarlink(SWIG_globals
,(char*)"RED",_wrap_RED_get
, _wrap_RED_set
);
17148 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE",_wrap_BLUE_get
, _wrap_BLUE_set
);
17149 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN",_wrap_GREEN_get
, _wrap_GREEN_set
);
17150 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN",_wrap_CYAN_get
, _wrap_CYAN_set
);
17151 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get
, _wrap_LIGHT_GREY_set
);
17152 SWIG_addvarlink(SWIG_globals
,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get
, _wrap_STANDARD_CURSOR_set
);
17153 SWIG_addvarlink(SWIG_globals
,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get
, _wrap_HOURGLASS_CURSOR_set
);
17154 SWIG_addvarlink(SWIG_globals
,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get
, _wrap_CROSS_CURSOR_set
);
17155 SWIG_addvarlink(SWIG_globals
,(char*)"NullBitmap",_wrap_NullBitmap_get
, _wrap_NullBitmap_set
);
17156 SWIG_addvarlink(SWIG_globals
,(char*)"NullIcon",_wrap_NullIcon_get
, _wrap_NullIcon_set
);
17157 SWIG_addvarlink(SWIG_globals
,(char*)"NullCursor",_wrap_NullCursor_get
, _wrap_NullCursor_set
);
17158 SWIG_addvarlink(SWIG_globals
,(char*)"NullPen",_wrap_NullPen_get
, _wrap_NullPen_set
);
17159 SWIG_addvarlink(SWIG_globals
,(char*)"NullBrush",_wrap_NullBrush_get
, _wrap_NullBrush_set
);
17160 SWIG_addvarlink(SWIG_globals
,(char*)"NullPalette",_wrap_NullPalette_get
, _wrap_NullPalette_set
);
17161 SWIG_addvarlink(SWIG_globals
,(char*)"NullFont",_wrap_NullFont_get
, _wrap_NullFont_set
);
17162 SWIG_addvarlink(SWIG_globals
,(char*)"NullColour",_wrap_NullColour_get
, _wrap_NullColour_set
);
17163 SWIG_addvarlink(SWIG_globals
,(char*)"TheFontList",_wrap_TheFontList_get
, _wrap_TheFontList_set
);
17164 SWIG_addvarlink(SWIG_globals
,(char*)"ThePenList",_wrap_ThePenList_get
, _wrap_ThePenList_set
);
17165 SWIG_addvarlink(SWIG_globals
,(char*)"TheBrushList",_wrap_TheBrushList_get
, _wrap_TheBrushList_set
);
17166 SWIG_addvarlink(SWIG_globals
,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get
, _wrap_TheColourDatabase_set
);
17168 // Work around a chicken/egg problem in drawlist.cpp
17169 wxPyDrawList_SetAPIPtr();