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 *);
123 /***********************************************************************
124 * pyrun.swg for wxPython
126 * Include only the function prototypes and such from SWIG's pyrun.swg,
127 * but not the runtime functions themselves. This helps keep the
128 * wrapper files clean of unnecessary stuff that is in the libpy.c file
131 ************************************************************************/
140 #define SWIG_PY_INT 1
141 #define SWIG_PY_FLOAT 2
142 #define SWIG_PY_STRING 3
143 #define SWIG_PY_POINTER 4
144 #define SWIG_PY_BINARY 5
146 /* Flags for pointer conversion */
148 #define SWIG_POINTER_EXCEPTION 0x1
149 #define SWIG_POINTER_DISOWN 0x2
151 /* Exception handling in wrappers */
152 #define SWIG_fail goto fail
154 /* Constant information structure */
155 typedef struct swig_const_info
{
161 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_PackData(c, ptr, sz) \
182 SWIG_Python_PackData(c, ptr, sz)
183 #define SWIG_UnpackData(c, ptr, sz) \
184 SWIG_Python_UnpackData(c, ptr, sz)
185 #define SWIG_NewPackedObj(ptr, sz, type) \
186 SWIG_Python_NewPackedObj(ptr, sz, type)
187 #define SWIG_InstallConstants(d, constants) \
188 SWIG_Python_InstallConstants(d, constants)
191 SWIGEXPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
192 SWIGEXPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
193 SWIGEXPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
195 SWIGEXPORT(PyObject
*) SWIG_Python_newvarlink(void);
196 SWIGEXPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
197 SWIGEXPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
198 SWIGEXPORT(char *) SWIG_Python_PackData(char *c
, void *, int);
199 SWIGEXPORT(char *) SWIG_Python_UnpackData(char *c
, void *, int);
200 SWIGEXPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
201 SWIGEXPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
204 /* Contract support */
206 #define SWIG_preassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
207 #define SWIG_postassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
209 #define SWIG_inherit_preassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
210 #define SWIG_inherit_postassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
212 #define SWIG_invariant(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
213 #define SWIG_invariant_begin(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
214 #define SWIG_invariant_end(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
222 /* -------- TYPES TABLE (BEGIN) -------- */
224 #define SWIGTYPE_p_wxPostScriptDC swig_types[0]
225 #define SWIGTYPE_p_wxGenericDragImage swig_types[1]
226 #define SWIGTYPE_p_wxBrush swig_types[2]
227 #define SWIGTYPE_p_wxColour swig_types[3]
228 #define SWIGTYPE_p_wxCoord swig_types[4]
229 #define SWIGTYPE_p_wxDC swig_types[5]
230 #define SWIGTYPE_p_wxMirrorDC swig_types[6]
231 #define SWIGTYPE_p_byte swig_types[7]
232 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[8]
233 #define SWIGTYPE_p_wxIconLocation swig_types[9]
234 #define SWIGTYPE_p_wxImage swig_types[10]
235 #define SWIGTYPE_p_wxMetaFileDC swig_types[11]
236 #define SWIGTYPE_p_wxMask swig_types[12]
237 #define SWIGTYPE_p_wxFont swig_types[13]
238 #define SWIGTYPE_p_wxWindow swig_types[14]
239 #define SWIGTYPE_p_wxSize swig_types[15]
240 #define SWIGTYPE_p_double swig_types[16]
241 #define SWIGTYPE_p_wxMemoryDC swig_types[17]
242 #define SWIGTYPE_p_wxFontMapper swig_types[18]
243 #define SWIGTYPE_p_wxListCtrl swig_types[19]
244 #define SWIGTYPE_p_wxEffects swig_types[20]
245 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[21]
246 #define SWIGTYPE_p_wxPalette swig_types[22]
247 #define SWIGTYPE_p_wxBitmap swig_types[23]
248 #define SWIGTYPE_p_wxObject swig_types[24]
249 #define SWIGTYPE_p_wxRegionIterator swig_types[25]
250 #define SWIGTYPE_p_wxRect swig_types[26]
251 #define SWIGTYPE_p_wxString swig_types[27]
252 #define SWIGTYPE_p_wxPrinterDC swig_types[28]
253 #define SWIGTYPE_p_wxIconBundle swig_types[29]
254 #define SWIGTYPE_p_wxPoint swig_types[30]
255 #define SWIGTYPE_p_wxDash swig_types[31]
256 #define SWIGTYPE_p_wxScreenDC swig_types[32]
257 #define SWIGTYPE_p_wxCursor swig_types[33]
258 #define SWIGTYPE_p_wxClientDC swig_types[34]
259 #define SWIGTYPE_p_wxTreeCtrl swig_types[35]
260 #define SWIGTYPE_p_wxBufferedDC swig_types[36]
261 #define SWIGTYPE_p_wxImageList swig_types[37]
262 #define SWIGTYPE_p_unsigned_char swig_types[38]
263 #define SWIGTYPE_p_wxGDIObject swig_types[39]
264 #define SWIGTYPE_p_wxLocale swig_types[40]
265 #define SWIGTYPE_p_wxIcon swig_types[41]
266 #define SWIGTYPE_p_wxRegion swig_types[42]
267 #define SWIGTYPE_p_wxLanguageInfo swig_types[43]
268 #define SWIGTYPE_p_wxConfigBase swig_types[44]
269 #define SWIGTYPE_p_wxWindowDC swig_types[45]
270 #define SWIGTYPE_p_wxPrintData swig_types[46]
271 #define SWIGTYPE_p_wxBrushList swig_types[47]
272 #define SWIGTYPE_p_wxFontList swig_types[48]
273 #define SWIGTYPE_p_wxPen swig_types[49]
274 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[50]
275 #define SWIGTYPE_p_wxPaintDC swig_types[51]
276 #define SWIGTYPE_p_wxPenList swig_types[52]
277 #define SWIGTYPE_p_wxTreeItemId swig_types[53]
278 #define SWIGTYPE_p_wxPyPen swig_types[54]
279 #define SWIGTYPE_p_int swig_types[55]
280 #define SWIGTYPE_p_wxMetaFile swig_types[56]
281 #define SWIGTYPE_p_wxNativeFontInfo swig_types[57]
282 #define SWIGTYPE_p_wxEncodingConverter swig_types[58]
283 #define SWIGTYPE_p_wxColourDatabase swig_types[59]
284 static swig_type_info
*swig_types
[61];
286 /* -------- TYPES TABLE (END) -------- */
289 /*-----------------------------------------------
291 ------------------------------------------------*/
292 #define SWIG_init init_gdi
294 #define SWIG_name "_gdi"
296 #include "wx/wxPython/wxPython.h"
297 #include "wx/wxPython/pyclasses.h"
299 DECLARE_DEF_STRING(EmptyString
);
301 PyObject
*wxColour_Get(wxColour
*self
){
302 PyObject
* rv
= PyTuple_New(3);
308 green
= self
->Green();
311 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
312 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
313 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
317 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
323 } else if (target
== Py_None
) {
327 if (!PyTuple_Check(target
)) {
329 target
= PyTuple_New(1);
330 PyTuple_SetItem(target
, 0, o2
);
333 PyTuple_SetItem(o3
, 0, o
);
336 target
= PySequence_Concat(o2
, o3
);
343 PyObject
*wxPen_GetDashes(wxPen
*self
){
345 int count
= self
->GetDashes(&dashes
);
346 wxPyBeginBlockThreads();
347 PyObject
* retval
= PyList_New(0);
348 for (int x
=0; x
<count
; x
++)
349 PyList_Append(retval
, PyInt_FromLong(dashes
[x
]));
350 wxPyEndBlockThreads();
360 void wxPyPen::SetDashes(int nb_dashes
, const wxDash
*dash
)
364 m_dash
= new wxDash
[nb_dashes
];
365 for (int i
=0; i
<nb_dashes
; i
++) {
368 wxPen::SetDashes(nb_dashes
, m_dash
);
372 #include <wx/image.h>
374 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
375 char** cArray
= NULL
;
378 if (!PyList_Check(listOfStrings
)) {
379 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
382 count
= PyList_Size(listOfStrings
);
383 cArray
= new char*[count
];
385 for(int x
=0; x
<count
; x
++) {
386 // TODO: Need some validation and error checking here
387 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
393 wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
394 char** cArray
= NULL
;
397 cArray
= ConvertListOfStrings(listOfStrings
);
400 bmp
= new wxBitmap(cArray
);
404 wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
){
407 PyString_AsStringAndSize(bits
, &buf
, &length
);
408 return new wxBitmap(buf
, width
, height
, depth
);
410 void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
411 wxMask
*mask
= new wxMask(*self
, colour
);
415 #include <wx/iconbndl.h>
417 wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
418 wxIcon
* icon
= new wxIcon();
419 icon
->CopyFromBitmap(bmp
);
422 wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
423 char** cArray
= NULL
;
426 cArray
= ConvertListOfStrings(listOfStrings
);
429 icon
= new wxIcon(cArray
);
433 wxIconLocation
*new_wxIconLocation(wxString
const *filename
,int num
){
435 return new wxIconLocation(*filename
, num
);
440 void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
447 int wxIconLocation_GetIndex(wxIconLocation
*self
){
449 return self
->GetIndex();
454 wxCursor
*new_wxCursor(wxString
const *cursorName
,long flags
,int hotSpotX
,int hotSpotY
){
459 return new wxCursor(*cursorName
, flags
, hotSpotX
, hotSpotY
);
462 wxCursor
*new_wxCursor(PyObject
*bits
,int width
,int height
,int hotSpotX
,int hotSpotY
,PyObject
*maskBits
){
464 char* maskbuf
= NULL
;
466 PyString_AsStringAndSize(bits
, &bitsbuf
, &length
);
468 PyString_AsStringAndSize(maskBits
, &maskbuf
, &length
);
469 return new wxCursor(bitsbuf
, width
, height
, hotSpotX
, hotSpotY
, maskbuf
);
473 void wxRegionIterator_Next(wxRegionIterator
*self
){
476 bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
477 return self
->operator bool();
480 #include <wx/fontutil.h>
481 #include <wx/fontmap.h>
482 #include <wx/fontenum.h>
484 wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
485 return self
->ToString();
488 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
)
489 { PyErr_SetNone(PyExc_NotImplementedError
); return NULL
; }
491 bool wxTestFontEncoding(const wxNativeEncodingInfo
& info
)
492 { PyErr_SetNone(PyExc_NotImplementedError
); return false; }
494 PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
,bool interactive
){
495 wxFontEncoding alt_enc
;
496 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
497 return PyInt_FromLong(alt_enc
);
503 wxFont
*new_wxFont(wxString
const &info
){
504 wxNativeFontInfo nfi
;
505 nfi
.FromString(info
);
506 return new wxFont(nfi
);
508 wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
,wxString
const &face
,wxFontEncoding encoding
){
509 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
512 class wxPyFontEnumerator
: public wxFontEnumerator
{
514 wxPyFontEnumerator() {}
515 ~wxPyFontEnumerator() {}
517 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
518 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
523 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
524 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
527 PyObject
*wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
){
528 wxArrayString
* arr
= self
->GetEncodings();
529 return wxArrayString2PyList_helper(*arr
);
531 PyObject
*wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
){
532 wxArrayString
* arr
= self
->GetFacenames();
533 return wxArrayString2PyList_helper(*arr
);
538 #include "wx/wxPython/pydrawxxx.h"
540 wxColour
wxDC_GetPixelXY(wxDC
*self
,wxCoord x
,wxCoord y
){
542 self
->GetPixel(x
, y
, &col
);
545 wxColour
wxDC_GetPixel(wxDC
*self
,wxPoint
const &pt
){
547 self
->GetPixel(pt
, &col
);
550 wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
,int indexAccel
){
552 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
555 wxRect
wxDC_GetClippingRect(wxDC
*self
){
557 self
->GetClippingBox(rect
);
560 PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
561 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
563 PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
564 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
566 PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
567 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
569 PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
570 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
572 PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
573 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
575 PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
576 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
579 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
590 #include <wx/metafile.h>
594 void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
595 self
->AddColour(name
, wxColour(red
, green
, blue
));
598 #include <wx/generic/dragimgg.h>
601 #include <wx/effects.h>
606 static PyObject
*_wrap_new_GDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GDIObject",kwnames
)) goto fail
;
615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
616 result
= (wxGDIObject
*)new wxGDIObject();
618 wxPyEndAllowThreads(__tstate
);
619 if (PyErr_Occurred()) SWIG_fail
;
621 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGDIObject
, 1);
628 static PyObject
*_wrap_delete_GDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
630 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
631 PyObject
* obj0
= 0 ;
633 (char *) "self", NULL
636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GDIObject",kwnames
,&obj0
)) goto fail
;
637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGDIObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
642 wxPyEndAllowThreads(__tstate
);
643 if (PyErr_Occurred()) SWIG_fail
;
645 Py_INCREF(Py_None
); resultobj
= Py_None
;
652 static PyObject
*_wrap_GDIObject_GetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
654 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
656 PyObject
* obj0
= 0 ;
658 (char *) "self", NULL
661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_GetVisible",kwnames
,&obj0
)) goto fail
;
662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGDIObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
665 result
= (bool)(arg1
)->GetVisible();
667 wxPyEndAllowThreads(__tstate
);
668 if (PyErr_Occurred()) SWIG_fail
;
670 resultobj
= PyInt_FromLong((long)result
);
677 static PyObject
*_wrap_GDIObject_SetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
679 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
681 PyObject
* obj0
= 0 ;
682 PyObject
* obj1
= 0 ;
684 (char *) "self",(char *) "visible", NULL
687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GDIObject_SetVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
688 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGDIObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
689 arg2
= PyInt_AsLong(obj1
) ? true : false;
690 if (PyErr_Occurred()) SWIG_fail
;
692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
693 (arg1
)->SetVisible(arg2
);
695 wxPyEndAllowThreads(__tstate
);
696 if (PyErr_Occurred()) SWIG_fail
;
698 Py_INCREF(Py_None
); resultobj
= Py_None
;
705 static PyObject
*_wrap_GDIObject_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
707 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
709 PyObject
* obj0
= 0 ;
711 (char *) "self", NULL
714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_IsNull",kwnames
,&obj0
)) goto fail
;
715 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGDIObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
718 result
= (bool)(arg1
)->IsNull();
720 wxPyEndAllowThreads(__tstate
);
721 if (PyErr_Occurred()) SWIG_fail
;
723 resultobj
= PyInt_FromLong((long)result
);
730 static PyObject
* GDIObject_swigregister(PyObject
*self
, PyObject
*args
) {
732 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
733 SWIG_TypeClientData(SWIGTYPE_p_wxGDIObject
, obj
);
735 return Py_BuildValue((char *)"");
737 static PyObject
*_wrap_new_Colour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
739 unsigned char arg1
= (unsigned char) 0 ;
740 unsigned char arg2
= (unsigned char) 0 ;
741 unsigned char arg3
= (unsigned char) 0 ;
743 PyObject
* obj0
= 0 ;
744 PyObject
* obj1
= 0 ;
745 PyObject
* obj2
= 0 ;
747 (char *) "red",(char *) "green",(char *) "blue", NULL
750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
752 arg1
= (unsigned char) PyInt_AsLong(obj0
);
753 if (PyErr_Occurred()) SWIG_fail
;
756 arg2
= (unsigned char) PyInt_AsLong(obj1
);
757 if (PyErr_Occurred()) SWIG_fail
;
760 arg3
= (unsigned char) PyInt_AsLong(obj2
);
761 if (PyErr_Occurred()) SWIG_fail
;
764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
765 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
767 wxPyEndAllowThreads(__tstate
);
768 if (PyErr_Occurred()) SWIG_fail
;
770 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 1);
777 static PyObject
*_wrap_delete_Colour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
779 wxColour
*arg1
= (wxColour
*) 0 ;
780 PyObject
* obj0
= 0 ;
782 (char *) "self", NULL
785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Colour",kwnames
,&obj0
)) goto fail
;
786 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
791 wxPyEndAllowThreads(__tstate
);
792 if (PyErr_Occurred()) SWIG_fail
;
794 Py_INCREF(Py_None
); resultobj
= Py_None
;
801 static PyObject
*_wrap_new_NamedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
806 PyObject
* obj0
= 0 ;
808 (char *) "colorName", NULL
811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) goto fail
;
813 arg1
= wxString_in_helper(obj0
);
814 if (arg1
== NULL
) SWIG_fail
;
818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
819 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
821 wxPyEndAllowThreads(__tstate
);
822 if (PyErr_Occurred()) SWIG_fail
;
824 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 1);
839 static PyObject
*_wrap_new_ColourRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
843 PyObject
* obj0
= 0 ;
845 (char *) "colRGB", NULL
848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) goto fail
;
849 arg1
= (unsigned long) PyInt_AsLong(obj0
);
850 if (PyErr_Occurred()) SWIG_fail
;
852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
853 result
= (wxColour
*)new wxColour(arg1
);
855 wxPyEndAllowThreads(__tstate
);
856 if (PyErr_Occurred()) SWIG_fail
;
858 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 1);
865 static PyObject
*_wrap_Colour_Red(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
867 wxColour
*arg1
= (wxColour
*) 0 ;
868 unsigned char result
;
869 PyObject
* obj0
= 0 ;
871 (char *) "self", NULL
874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Red",kwnames
,&obj0
)) goto fail
;
875 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
878 result
= (unsigned char)(arg1
)->Red();
880 wxPyEndAllowThreads(__tstate
);
881 if (PyErr_Occurred()) SWIG_fail
;
883 resultobj
= PyInt_FromLong((long)result
);
890 static PyObject
*_wrap_Colour_Green(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
892 wxColour
*arg1
= (wxColour
*) 0 ;
893 unsigned char result
;
894 PyObject
* obj0
= 0 ;
896 (char *) "self", NULL
899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Green",kwnames
,&obj0
)) goto fail
;
900 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
903 result
= (unsigned char)(arg1
)->Green();
905 wxPyEndAllowThreads(__tstate
);
906 if (PyErr_Occurred()) SWIG_fail
;
908 resultobj
= PyInt_FromLong((long)result
);
915 static PyObject
*_wrap_Colour_Blue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
917 wxColour
*arg1
= (wxColour
*) 0 ;
918 unsigned char result
;
919 PyObject
* obj0
= 0 ;
921 (char *) "self", NULL
924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Blue",kwnames
,&obj0
)) goto fail
;
925 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
928 result
= (unsigned char)(arg1
)->Blue();
930 wxPyEndAllowThreads(__tstate
);
931 if (PyErr_Occurred()) SWIG_fail
;
933 resultobj
= PyInt_FromLong((long)result
);
940 static PyObject
*_wrap_Colour_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
942 wxColour
*arg1
= (wxColour
*) 0 ;
944 PyObject
* obj0
= 0 ;
946 (char *) "self", NULL
949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Ok",kwnames
,&obj0
)) goto fail
;
950 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
953 result
= (bool)(arg1
)->Ok();
955 wxPyEndAllowThreads(__tstate
);
956 if (PyErr_Occurred()) SWIG_fail
;
958 resultobj
= PyInt_FromLong((long)result
);
965 static PyObject
*_wrap_Colour_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
967 wxColour
*arg1
= (wxColour
*) 0 ;
971 PyObject
* obj0
= 0 ;
972 PyObject
* obj1
= 0 ;
973 PyObject
* obj2
= 0 ;
974 PyObject
* obj3
= 0 ;
976 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
980 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
981 arg2
= (unsigned char) PyInt_AsLong(obj1
);
982 if (PyErr_Occurred()) SWIG_fail
;
983 arg3
= (unsigned char) PyInt_AsLong(obj2
);
984 if (PyErr_Occurred()) SWIG_fail
;
985 arg4
= (unsigned char) PyInt_AsLong(obj3
);
986 if (PyErr_Occurred()) SWIG_fail
;
988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
989 (arg1
)->Set(arg2
,arg3
,arg4
);
991 wxPyEndAllowThreads(__tstate
);
992 if (PyErr_Occurred()) SWIG_fail
;
994 Py_INCREF(Py_None
); resultobj
= Py_None
;
1001 static PyObject
*_wrap_Colour_SetRBG(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1002 PyObject
*resultobj
;
1003 wxColour
*arg1
= (wxColour
*) 0 ;
1004 unsigned long arg2
;
1005 PyObject
* obj0
= 0 ;
1006 PyObject
* obj1
= 0 ;
1008 (char *) "self",(char *) "colRGB", NULL
1011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRBG",kwnames
,&obj0
,&obj1
)) goto fail
;
1012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1013 arg2
= (unsigned long) PyInt_AsLong(obj1
);
1014 if (PyErr_Occurred()) SWIG_fail
;
1016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1019 wxPyEndAllowThreads(__tstate
);
1020 if (PyErr_Occurred()) SWIG_fail
;
1022 Py_INCREF(Py_None
); resultobj
= Py_None
;
1029 static PyObject
*_wrap_Colour___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1030 PyObject
*resultobj
;
1031 wxColour
*arg1
= (wxColour
*) 0 ;
1032 wxColour
*arg2
= 0 ;
1035 PyObject
* obj0
= 0 ;
1036 PyObject
* obj1
= 0 ;
1038 (char *) "self",(char *) "colour", NULL
1041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
1042 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1045 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1049 result
= (bool)((wxColour
const *)arg1
)->operator ==((wxColour
const &)*arg2
);
1051 wxPyEndAllowThreads(__tstate
);
1052 if (PyErr_Occurred()) SWIG_fail
;
1054 resultobj
= PyInt_FromLong((long)result
);
1061 static PyObject
*_wrap_Colour___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1062 PyObject
*resultobj
;
1063 wxColour
*arg1
= (wxColour
*) 0 ;
1064 wxColour
*arg2
= 0 ;
1067 PyObject
* obj0
= 0 ;
1068 PyObject
* obj1
= 0 ;
1070 (char *) "self",(char *) "colour", NULL
1073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
1074 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1077 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1081 result
= (bool)((wxColour
const *)arg1
)->operator !=((wxColour
const &)*arg2
);
1083 wxPyEndAllowThreads(__tstate
);
1084 if (PyErr_Occurred()) SWIG_fail
;
1086 resultobj
= PyInt_FromLong((long)result
);
1093 static PyObject
*_wrap_Colour_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1094 PyObject
*resultobj
;
1095 wxColour
*arg1
= (wxColour
*) 0 ;
1097 PyObject
* obj0
= 0 ;
1099 (char *) "self", NULL
1102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Get",kwnames
,&obj0
)) goto fail
;
1103 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1106 result
= (PyObject
*)wxColour_Get(arg1
);
1108 wxPyEndAllowThreads(__tstate
);
1109 if (PyErr_Occurred()) SWIG_fail
;
1118 static PyObject
* Colour_swigregister(PyObject
*self
, PyObject
*args
) {
1120 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1121 SWIG_TypeClientData(SWIGTYPE_p_wxColour
, obj
);
1123 return Py_BuildValue((char *)"");
1125 static PyObject
*_wrap_new_Palette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1126 PyObject
*resultobj
;
1128 unsigned char *arg2
= (unsigned char *) 0 ;
1129 unsigned char *arg3
= (unsigned char *) 0 ;
1130 unsigned char *arg4
= (unsigned char *) 0 ;
1132 PyObject
* obj1
= 0 ;
1133 PyObject
* obj2
= 0 ;
1134 PyObject
* obj3
= 0 ;
1136 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
1139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iOOO:new_Palette",kwnames
,&arg1
,&obj1
,&obj2
,&obj3
)) goto fail
;
1140 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_unsigned_char
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1141 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_unsigned_char
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1142 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_unsigned_char
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1145 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
1147 wxPyEndAllowThreads(__tstate
);
1148 if (PyErr_Occurred()) SWIG_fail
;
1150 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPalette
, 1);
1157 static PyObject
*_wrap_delete_Palette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1158 PyObject
*resultobj
;
1159 wxPalette
*arg1
= (wxPalette
*) 0 ;
1160 PyObject
* obj0
= 0 ;
1162 (char *) "self", NULL
1165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Palette",kwnames
,&obj0
)) goto fail
;
1166 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1171 wxPyEndAllowThreads(__tstate
);
1172 if (PyErr_Occurred()) SWIG_fail
;
1174 Py_INCREF(Py_None
); resultobj
= Py_None
;
1181 static PyObject
*_wrap_Palette_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1182 PyObject
*resultobj
;
1183 wxPalette
*arg1
= (wxPalette
*) 0 ;
1188 PyObject
* obj0
= 0 ;
1189 PyObject
* obj1
= 0 ;
1190 PyObject
* obj2
= 0 ;
1191 PyObject
* obj3
= 0 ;
1193 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1197 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1198 arg2
= (byte
) PyInt_AsLong(obj1
);
1199 if (PyErr_Occurred()) SWIG_fail
;
1200 arg3
= (byte
) PyInt_AsLong(obj2
);
1201 if (PyErr_Occurred()) SWIG_fail
;
1202 arg4
= (byte
) PyInt_AsLong(obj3
);
1203 if (PyErr_Occurred()) SWIG_fail
;
1205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1206 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
1208 wxPyEndAllowThreads(__tstate
);
1209 if (PyErr_Occurred()) SWIG_fail
;
1211 resultobj
= PyInt_FromLong((long)result
);
1218 static PyObject
*_wrap_Palette_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1219 PyObject
*resultobj
;
1220 wxPalette
*arg1
= (wxPalette
*) 0 ;
1222 byte
*arg3
= (byte
*) 0 ;
1223 byte
*arg4
= (byte
*) 0 ;
1224 byte
*arg5
= (byte
*) 0 ;
1229 PyObject
* obj0
= 0 ;
1231 (char *) "self",(char *) "pixel", NULL
1237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Palette_GetRGB",kwnames
,&obj0
,&arg2
)) goto fail
;
1238 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1241 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
1243 wxPyEndAllowThreads(__tstate
);
1244 if (PyErr_Occurred()) SWIG_fail
;
1246 resultobj
= PyInt_FromLong((long)result
);
1248 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1249 resultobj
= t_output_helper(resultobj
,o
);
1252 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
1253 resultobj
= t_output_helper(resultobj
,o
);
1256 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
1257 resultobj
= t_output_helper(resultobj
,o
);
1265 static PyObject
*_wrap_Palette_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1266 PyObject
*resultobj
;
1267 wxPalette
*arg1
= (wxPalette
*) 0 ;
1269 PyObject
* obj0
= 0 ;
1271 (char *) "self", NULL
1274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_Ok",kwnames
,&obj0
)) goto fail
;
1275 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1278 result
= (bool)(arg1
)->Ok();
1280 wxPyEndAllowThreads(__tstate
);
1281 if (PyErr_Occurred()) SWIG_fail
;
1283 resultobj
= PyInt_FromLong((long)result
);
1290 static PyObject
* Palette_swigregister(PyObject
*self
, PyObject
*args
) {
1292 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1293 SWIG_TypeClientData(SWIGTYPE_p_wxPalette
, obj
);
1295 return Py_BuildValue((char *)"");
1297 static PyObject
*_wrap_new_Pen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1298 PyObject
*resultobj
;
1299 wxColour
*arg1
= 0 ;
1300 int arg2
= (int) 1 ;
1301 int arg3
= (int) wxSOLID
;
1304 PyObject
* obj0
= 0 ;
1306 (char *) "colour",(char *) "width",(char *) "style", NULL
1309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|ii:new_Pen",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1312 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
1315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1316 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
1318 wxPyEndAllowThreads(__tstate
);
1319 if (PyErr_Occurred()) SWIG_fail
;
1321 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPen
, 1);
1328 static PyObject
*_wrap_delete_Pen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1329 PyObject
*resultobj
;
1330 wxPen
*arg1
= (wxPen
*) 0 ;
1331 PyObject
* obj0
= 0 ;
1333 (char *) "self", NULL
1336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Pen",kwnames
,&obj0
)) goto fail
;
1337 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1342 wxPyEndAllowThreads(__tstate
);
1343 if (PyErr_Occurred()) SWIG_fail
;
1345 Py_INCREF(Py_None
); resultobj
= Py_None
;
1352 static PyObject
*_wrap_Pen_GetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1353 PyObject
*resultobj
;
1354 wxPen
*arg1
= (wxPen
*) 0 ;
1356 PyObject
* obj0
= 0 ;
1358 (char *) "self", NULL
1361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetCap",kwnames
,&obj0
)) goto fail
;
1362 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1365 result
= (int)(arg1
)->GetCap();
1367 wxPyEndAllowThreads(__tstate
);
1368 if (PyErr_Occurred()) SWIG_fail
;
1370 resultobj
= PyInt_FromLong((long)result
);
1377 static PyObject
*_wrap_Pen_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1378 PyObject
*resultobj
;
1379 wxPen
*arg1
= (wxPen
*) 0 ;
1381 PyObject
* obj0
= 0 ;
1383 (char *) "self", NULL
1386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetColour",kwnames
,&obj0
)) goto fail
;
1387 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1390 result
= (arg1
)->GetColour();
1392 wxPyEndAllowThreads(__tstate
);
1393 if (PyErr_Occurred()) SWIG_fail
;
1396 wxColour
* resultptr
;
1397 resultptr
= new wxColour((wxColour
&) result
);
1398 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1406 static PyObject
*_wrap_Pen_GetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1407 PyObject
*resultobj
;
1408 wxPen
*arg1
= (wxPen
*) 0 ;
1410 PyObject
* obj0
= 0 ;
1412 (char *) "self", NULL
1415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetJoin",kwnames
,&obj0
)) goto fail
;
1416 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1419 result
= (int)(arg1
)->GetJoin();
1421 wxPyEndAllowThreads(__tstate
);
1422 if (PyErr_Occurred()) SWIG_fail
;
1424 resultobj
= PyInt_FromLong((long)result
);
1431 static PyObject
*_wrap_Pen_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1432 PyObject
*resultobj
;
1433 wxPen
*arg1
= (wxPen
*) 0 ;
1435 PyObject
* obj0
= 0 ;
1437 (char *) "self", NULL
1440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStyle",kwnames
,&obj0
)) goto fail
;
1441 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1444 result
= (int)(arg1
)->GetStyle();
1446 wxPyEndAllowThreads(__tstate
);
1447 if (PyErr_Occurred()) SWIG_fail
;
1449 resultobj
= PyInt_FromLong((long)result
);
1456 static PyObject
*_wrap_Pen_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1457 PyObject
*resultobj
;
1458 wxPen
*arg1
= (wxPen
*) 0 ;
1460 PyObject
* obj0
= 0 ;
1462 (char *) "self", NULL
1465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetWidth",kwnames
,&obj0
)) goto fail
;
1466 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1469 result
= (int)(arg1
)->GetWidth();
1471 wxPyEndAllowThreads(__tstate
);
1472 if (PyErr_Occurred()) SWIG_fail
;
1474 resultobj
= PyInt_FromLong((long)result
);
1481 static PyObject
*_wrap_Pen_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1482 PyObject
*resultobj
;
1483 wxPen
*arg1
= (wxPen
*) 0 ;
1485 PyObject
* obj0
= 0 ;
1487 (char *) "self", NULL
1490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_Ok",kwnames
,&obj0
)) goto fail
;
1491 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1494 result
= (bool)(arg1
)->Ok();
1496 wxPyEndAllowThreads(__tstate
);
1497 if (PyErr_Occurred()) SWIG_fail
;
1499 resultobj
= PyInt_FromLong((long)result
);
1506 static PyObject
*_wrap_Pen_SetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1507 PyObject
*resultobj
;
1508 wxPen
*arg1
= (wxPen
*) 0 ;
1510 PyObject
* obj0
= 0 ;
1512 (char *) "self",(char *) "cap_style", NULL
1515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Pen_SetCap",kwnames
,&obj0
,&arg2
)) goto fail
;
1516 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1519 (arg1
)->SetCap(arg2
);
1521 wxPyEndAllowThreads(__tstate
);
1522 if (PyErr_Occurred()) SWIG_fail
;
1524 Py_INCREF(Py_None
); resultobj
= Py_None
;
1531 static PyObject
*_wrap_Pen_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1532 PyObject
*resultobj
;
1533 wxPen
*arg1
= (wxPen
*) 0 ;
1534 wxColour
*arg2
= 0 ;
1536 PyObject
* obj0
= 0 ;
1537 PyObject
* obj1
= 0 ;
1539 (char *) "self",(char *) "colour", NULL
1542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
1543 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1546 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1550 (arg1
)->SetColour(*arg2
);
1552 wxPyEndAllowThreads(__tstate
);
1553 if (PyErr_Occurred()) SWIG_fail
;
1555 Py_INCREF(Py_None
); resultobj
= Py_None
;
1562 static PyObject
*_wrap_Pen_SetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1563 PyObject
*resultobj
;
1564 wxPen
*arg1
= (wxPen
*) 0 ;
1566 PyObject
* obj0
= 0 ;
1568 (char *) "self",(char *) "join_style", NULL
1571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Pen_SetJoin",kwnames
,&obj0
,&arg2
)) goto fail
;
1572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1575 (arg1
)->SetJoin(arg2
);
1577 wxPyEndAllowThreads(__tstate
);
1578 if (PyErr_Occurred()) SWIG_fail
;
1580 Py_INCREF(Py_None
); resultobj
= Py_None
;
1587 static PyObject
*_wrap_Pen_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1588 PyObject
*resultobj
;
1589 wxPen
*arg1
= (wxPen
*) 0 ;
1591 PyObject
* obj0
= 0 ;
1593 (char *) "self",(char *) "style", NULL
1596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Pen_SetStyle",kwnames
,&obj0
,&arg2
)) goto fail
;
1597 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1600 (arg1
)->SetStyle(arg2
);
1602 wxPyEndAllowThreads(__tstate
);
1603 if (PyErr_Occurred()) SWIG_fail
;
1605 Py_INCREF(Py_None
); resultobj
= Py_None
;
1612 static PyObject
*_wrap_Pen_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1613 PyObject
*resultobj
;
1614 wxPen
*arg1
= (wxPen
*) 0 ;
1616 PyObject
* obj0
= 0 ;
1618 (char *) "self",(char *) "width", NULL
1621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Pen_SetWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
1622 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1625 (arg1
)->SetWidth(arg2
);
1627 wxPyEndAllowThreads(__tstate
);
1628 if (PyErr_Occurred()) SWIG_fail
;
1630 Py_INCREF(Py_None
); resultobj
= Py_None
;
1637 static PyObject
*_wrap_Pen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1638 PyObject
*resultobj
;
1639 wxPen
*arg1
= (wxPen
*) 0 ;
1641 wxDash
*arg3
= (wxDash
*) 0 ;
1642 PyObject
* obj0
= 0 ;
1643 PyObject
* obj1
= 0 ;
1645 (char *) "self",(char *) "dashes", NULL
1648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
1649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1651 arg2
= PyList_Size(obj1
);
1652 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
1653 if (arg3
== NULL
) SWIG_fail
;
1656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1657 (arg1
)->SetDashes(arg2
,arg3
);
1659 wxPyEndAllowThreads(__tstate
);
1660 if (PyErr_Occurred()) SWIG_fail
;
1662 Py_INCREF(Py_None
); resultobj
= Py_None
;
1664 if (arg3
) delete [] arg3
;
1669 if (arg3
) delete [] arg3
;
1675 static PyObject
*_wrap_Pen_GetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1676 PyObject
*resultobj
;
1677 wxPen
*arg1
= (wxPen
*) 0 ;
1679 PyObject
* obj0
= 0 ;
1681 (char *) "self", NULL
1684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashes",kwnames
,&obj0
)) goto fail
;
1685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1688 result
= (PyObject
*)wxPen_GetDashes(arg1
);
1690 wxPyEndAllowThreads(__tstate
);
1691 if (PyErr_Occurred()) SWIG_fail
;
1700 static PyObject
*_wrap_Pen_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1701 PyObject
*resultobj
;
1702 wxPen
*arg1
= (wxPen
*) 0 ;
1704 PyObject
* obj0
= 0 ;
1706 (char *) "self", NULL
1709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStipple",kwnames
,&obj0
)) goto fail
;
1710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1713 result
= (wxBitmap
*)(arg1
)->GetStipple();
1715 wxPyEndAllowThreads(__tstate
);
1716 if (PyErr_Occurred()) SWIG_fail
;
1718 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
1725 static PyObject
*_wrap_Pen_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1726 PyObject
*resultobj
;
1727 wxPen
*arg1
= (wxPen
*) 0 ;
1728 wxBitmap
*arg2
= 0 ;
1729 PyObject
* obj0
= 0 ;
1730 PyObject
* obj1
= 0 ;
1732 (char *) "self",(char *) "stipple", NULL
1735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
1736 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1737 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1739 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1743 (arg1
)->SetStipple(*arg2
);
1745 wxPyEndAllowThreads(__tstate
);
1746 if (PyErr_Occurred()) SWIG_fail
;
1748 Py_INCREF(Py_None
); resultobj
= Py_None
;
1755 static PyObject
* Pen_swigregister(PyObject
*self
, PyObject
*args
) {
1757 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1758 SWIG_TypeClientData(SWIGTYPE_p_wxPen
, obj
);
1760 return Py_BuildValue((char *)"");
1762 static PyObject
*_wrap_new_PyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1763 PyObject
*resultobj
;
1764 wxColour
*arg1
= 0 ;
1765 int arg2
= (int) 1 ;
1766 int arg3
= (int) wxSOLID
;
1769 PyObject
* obj0
= 0 ;
1771 (char *) "colour",(char *) "width",(char *) "style", NULL
1774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|ii:new_PyPen",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1777 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
1780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1781 result
= (wxPyPen
*)new wxPyPen(*arg1
,arg2
,arg3
);
1783 wxPyEndAllowThreads(__tstate
);
1784 if (PyErr_Occurred()) SWIG_fail
;
1786 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPen
, 1);
1793 static PyObject
*_wrap_delete_PyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1794 PyObject
*resultobj
;
1795 wxPyPen
*arg1
= (wxPyPen
*) 0 ;
1796 PyObject
* obj0
= 0 ;
1798 (char *) "self", NULL
1801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyPen",kwnames
,&obj0
)) goto fail
;
1802 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1807 wxPyEndAllowThreads(__tstate
);
1808 if (PyErr_Occurred()) SWIG_fail
;
1810 Py_INCREF(Py_None
); resultobj
= Py_None
;
1817 static PyObject
*_wrap_PyPen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1818 PyObject
*resultobj
;
1819 wxPyPen
*arg1
= (wxPyPen
*) 0 ;
1821 wxDash
*arg3
= (wxDash
*) 0 ;
1822 PyObject
* obj0
= 0 ;
1823 PyObject
* obj1
= 0 ;
1825 (char *) "self",(char *) "dashes", NULL
1828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
1829 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1831 arg2
= PyList_Size(obj1
);
1832 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
1833 if (arg3
== NULL
) SWIG_fail
;
1836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1837 (arg1
)->SetDashes(arg2
,arg3
);
1839 wxPyEndAllowThreads(__tstate
);
1840 if (PyErr_Occurred()) SWIG_fail
;
1842 Py_INCREF(Py_None
); resultobj
= Py_None
;
1844 if (arg3
) delete [] arg3
;
1849 if (arg3
) delete [] arg3
;
1855 static PyObject
* PyPen_swigregister(PyObject
*self
, PyObject
*args
) {
1857 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1858 SWIG_TypeClientData(SWIGTYPE_p_wxPyPen
, obj
);
1860 return Py_BuildValue((char *)"");
1862 static PyObject
*_wrap_new_Brush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1863 PyObject
*resultobj
;
1864 wxColour
*arg1
= 0 ;
1865 int arg2
= (int) wxSOLID
;
1868 PyObject
* obj0
= 0 ;
1870 (char *) "colour",(char *) "style", NULL
1873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:new_Brush",kwnames
,&obj0
,&arg2
)) goto fail
;
1876 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
1879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1880 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
1882 wxPyEndAllowThreads(__tstate
);
1883 if (PyErr_Occurred()) SWIG_fail
;
1885 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBrush
, 1);
1892 static PyObject
*_wrap_delete_Brush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1893 PyObject
*resultobj
;
1894 wxBrush
*arg1
= (wxBrush
*) 0 ;
1895 PyObject
* obj0
= 0 ;
1897 (char *) "self", NULL
1900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Brush",kwnames
,&obj0
)) goto fail
;
1901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1906 wxPyEndAllowThreads(__tstate
);
1907 if (PyErr_Occurred()) SWIG_fail
;
1909 Py_INCREF(Py_None
); resultobj
= Py_None
;
1916 static PyObject
*_wrap_Brush_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1917 PyObject
*resultobj
;
1918 wxBrush
*arg1
= (wxBrush
*) 0 ;
1919 wxColour
*arg2
= 0 ;
1921 PyObject
* obj0
= 0 ;
1922 PyObject
* obj1
= 0 ;
1924 (char *) "self",(char *) "col", NULL
1927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
1928 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1931 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1935 (arg1
)->SetColour((wxColour
const &)*arg2
);
1937 wxPyEndAllowThreads(__tstate
);
1938 if (PyErr_Occurred()) SWIG_fail
;
1940 Py_INCREF(Py_None
); resultobj
= Py_None
;
1947 static PyObject
*_wrap_Brush_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1948 PyObject
*resultobj
;
1949 wxBrush
*arg1
= (wxBrush
*) 0 ;
1951 PyObject
* obj0
= 0 ;
1953 (char *) "self",(char *) "style", NULL
1956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Brush_SetStyle",kwnames
,&obj0
,&arg2
)) goto fail
;
1957 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1960 (arg1
)->SetStyle(arg2
);
1962 wxPyEndAllowThreads(__tstate
);
1963 if (PyErr_Occurred()) SWIG_fail
;
1965 Py_INCREF(Py_None
); resultobj
= Py_None
;
1972 static PyObject
*_wrap_Brush_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1973 PyObject
*resultobj
;
1974 wxBrush
*arg1
= (wxBrush
*) 0 ;
1975 wxBitmap
*arg2
= 0 ;
1976 PyObject
* obj0
= 0 ;
1977 PyObject
* obj1
= 0 ;
1979 (char *) "self",(char *) "stipple", NULL
1982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
1983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1984 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1986 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1990 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
1992 wxPyEndAllowThreads(__tstate
);
1993 if (PyErr_Occurred()) SWIG_fail
;
1995 Py_INCREF(Py_None
); resultobj
= Py_None
;
2002 static PyObject
*_wrap_Brush_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2003 PyObject
*resultobj
;
2004 wxBrush
*arg1
= (wxBrush
*) 0 ;
2006 PyObject
* obj0
= 0 ;
2008 (char *) "self", NULL
2011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetColour",kwnames
,&obj0
)) goto fail
;
2012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2015 result
= ((wxBrush
const *)arg1
)->GetColour();
2017 wxPyEndAllowThreads(__tstate
);
2018 if (PyErr_Occurred()) SWIG_fail
;
2021 wxColour
* resultptr
;
2022 resultptr
= new wxColour((wxColour
&) result
);
2023 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
2031 static PyObject
*_wrap_Brush_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2032 PyObject
*resultobj
;
2033 wxBrush
*arg1
= (wxBrush
*) 0 ;
2035 PyObject
* obj0
= 0 ;
2037 (char *) "self", NULL
2040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStyle",kwnames
,&obj0
)) goto fail
;
2041 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2044 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
2046 wxPyEndAllowThreads(__tstate
);
2047 if (PyErr_Occurred()) SWIG_fail
;
2049 resultobj
= PyInt_FromLong((long)result
);
2056 static PyObject
*_wrap_Brush_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2057 PyObject
*resultobj
;
2058 wxBrush
*arg1
= (wxBrush
*) 0 ;
2060 PyObject
* obj0
= 0 ;
2062 (char *) "self", NULL
2065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStipple",kwnames
,&obj0
)) goto fail
;
2066 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2069 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
2071 wxPyEndAllowThreads(__tstate
);
2072 if (PyErr_Occurred()) SWIG_fail
;
2074 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
2081 static PyObject
*_wrap_Brush_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2082 PyObject
*resultobj
;
2083 wxBrush
*arg1
= (wxBrush
*) 0 ;
2085 PyObject
* obj0
= 0 ;
2087 (char *) "self", NULL
2090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_Ok",kwnames
,&obj0
)) goto fail
;
2091 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2094 result
= (bool)(arg1
)->Ok();
2096 wxPyEndAllowThreads(__tstate
);
2097 if (PyErr_Occurred()) SWIG_fail
;
2099 resultobj
= PyInt_FromLong((long)result
);
2106 static PyObject
* Brush_swigregister(PyObject
*self
, PyObject
*args
) {
2108 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2109 SWIG_TypeClientData(SWIGTYPE_p_wxBrush
, obj
);
2111 return Py_BuildValue((char *)"");
2113 static PyObject
*_wrap_new_Bitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2114 PyObject
*resultobj
;
2115 wxString
*arg1
= 0 ;
2116 int arg2
= (int) wxBITMAP_TYPE_ANY
;
2118 bool temp1
= false ;
2119 PyObject
* obj0
= 0 ;
2121 (char *) "name",(char *) "type", NULL
2124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:new_Bitmap",kwnames
,&obj0
,&arg2
)) goto fail
;
2126 arg1
= wxString_in_helper(obj0
);
2127 if (arg1
== NULL
) SWIG_fail
;
2131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2132 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,(wxBitmapType
)arg2
);
2134 wxPyEndAllowThreads(__tstate
);
2135 if (PyErr_Occurred()) SWIG_fail
;
2137 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 1);
2152 static PyObject
*_wrap_delete_Bitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2153 PyObject
*resultobj
;
2154 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2155 PyObject
* obj0
= 0 ;
2157 (char *) "self", NULL
2160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Bitmap",kwnames
,&obj0
)) goto fail
;
2161 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2166 wxPyEndAllowThreads(__tstate
);
2167 if (PyErr_Occurred()) SWIG_fail
;
2169 Py_INCREF(Py_None
); resultobj
= Py_None
;
2176 static PyObject
*_wrap_new_EmptyBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2177 PyObject
*resultobj
;
2180 int arg3
= (int) -1 ;
2183 (char *) "width",(char *) "height",(char *) "depth", NULL
2186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"ii|i:new_EmptyBitmap",kwnames
,&arg1
,&arg2
,&arg3
)) goto fail
;
2188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2189 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
2191 wxPyEndAllowThreads(__tstate
);
2192 if (PyErr_Occurred()) SWIG_fail
;
2194 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 1);
2201 static PyObject
*_wrap_new_BitmapFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2202 PyObject
*resultobj
;
2205 PyObject
* obj0
= 0 ;
2207 (char *) "icon", NULL
2210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) goto fail
;
2211 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2213 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2217 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
2219 wxPyEndAllowThreads(__tstate
);
2220 if (PyErr_Occurred()) SWIG_fail
;
2222 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 1);
2229 static PyObject
*_wrap_new_BitmapFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2230 PyObject
*resultobj
;
2232 int arg2
= (int) -1 ;
2234 PyObject
* obj0
= 0 ;
2236 (char *) "image",(char *) "depth", NULL
2239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:new_BitmapFromImage",kwnames
,&obj0
,&arg2
)) goto fail
;
2240 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2242 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2246 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
2248 wxPyEndAllowThreads(__tstate
);
2249 if (PyErr_Occurred()) SWIG_fail
;
2251 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 1);
2258 static PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2259 PyObject
*resultobj
;
2260 PyObject
*arg1
= (PyObject
*) 0 ;
2262 PyObject
* obj0
= 0 ;
2264 (char *) "listOfStrings", NULL
2267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) goto fail
;
2270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2271 result
= (wxBitmap
*)new_wxBitmap(arg1
);
2273 wxPyEndAllowThreads(__tstate
);
2274 if (PyErr_Occurred()) SWIG_fail
;
2276 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 1);
2283 static PyObject
*_wrap_new_BitmapFromBits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2284 PyObject
*resultobj
;
2285 PyObject
*arg1
= (PyObject
*) 0 ;
2288 int arg4
= (int) 1 ;
2290 PyObject
* obj0
= 0 ;
2292 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
2295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|i:new_BitmapFromBits",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
2298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2299 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
2301 wxPyEndAllowThreads(__tstate
);
2302 if (PyErr_Occurred()) SWIG_fail
;
2304 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 1);
2311 static PyObject
*_wrap_Bitmap_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2312 PyObject
*resultobj
;
2313 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2314 wxPalette
*arg2
= 0 ;
2315 PyObject
* obj0
= 0 ;
2316 PyObject
* obj1
= 0 ;
2318 (char *) "self",(char *) "palette", NULL
2321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
2322 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2323 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2325 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2329 (arg1
)->SetPalette(*arg2
);
2331 wxPyEndAllowThreads(__tstate
);
2332 if (PyErr_Occurred()) SWIG_fail
;
2334 Py_INCREF(Py_None
); resultobj
= Py_None
;
2341 static PyObject
*_wrap_Bitmap_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2342 PyObject
*resultobj
;
2343 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2345 PyObject
* obj0
= 0 ;
2347 (char *) "self", NULL
2350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHandle",kwnames
,&obj0
)) goto fail
;
2351 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2354 result
= (long)(arg1
)->GetHandle();
2356 wxPyEndAllowThreads(__tstate
);
2357 if (PyErr_Occurred()) SWIG_fail
;
2359 resultobj
= PyInt_FromLong((long)result
);
2366 static PyObject
*_wrap_Bitmap_SetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2367 PyObject
*resultobj
;
2368 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2370 PyObject
* obj0
= 0 ;
2372 (char *) "self",(char *) "handle", NULL
2375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:Bitmap_SetHandle",kwnames
,&obj0
,&arg2
)) goto fail
;
2376 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2379 (arg1
)->SetHandle(arg2
);
2381 wxPyEndAllowThreads(__tstate
);
2382 if (PyErr_Occurred()) SWIG_fail
;
2384 Py_INCREF(Py_None
); resultobj
= Py_None
;
2391 static PyObject
*_wrap_Bitmap_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2392 PyObject
*resultobj
;
2393 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2395 PyObject
* obj0
= 0 ;
2397 (char *) "self", NULL
2400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_Ok",kwnames
,&obj0
)) goto fail
;
2401 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2404 result
= (bool)(arg1
)->Ok();
2406 wxPyEndAllowThreads(__tstate
);
2407 if (PyErr_Occurred()) SWIG_fail
;
2409 resultobj
= PyInt_FromLong((long)result
);
2416 static PyObject
*_wrap_Bitmap_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2417 PyObject
*resultobj
;
2418 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2420 PyObject
* obj0
= 0 ;
2422 (char *) "self", NULL
2425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetWidth",kwnames
,&obj0
)) goto fail
;
2426 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2429 result
= (int)(arg1
)->GetWidth();
2431 wxPyEndAllowThreads(__tstate
);
2432 if (PyErr_Occurred()) SWIG_fail
;
2434 resultobj
= PyInt_FromLong((long)result
);
2441 static PyObject
*_wrap_Bitmap_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2442 PyObject
*resultobj
;
2443 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2445 PyObject
* obj0
= 0 ;
2447 (char *) "self", NULL
2450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHeight",kwnames
,&obj0
)) goto fail
;
2451 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2454 result
= (int)(arg1
)->GetHeight();
2456 wxPyEndAllowThreads(__tstate
);
2457 if (PyErr_Occurred()) SWIG_fail
;
2459 resultobj
= PyInt_FromLong((long)result
);
2466 static PyObject
*_wrap_Bitmap_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2467 PyObject
*resultobj
;
2468 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2470 PyObject
* obj0
= 0 ;
2472 (char *) "self", NULL
2475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetDepth",kwnames
,&obj0
)) goto fail
;
2476 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2479 result
= (int)(arg1
)->GetDepth();
2481 wxPyEndAllowThreads(__tstate
);
2482 if (PyErr_Occurred()) SWIG_fail
;
2484 resultobj
= PyInt_FromLong((long)result
);
2491 static PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2492 PyObject
*resultobj
;
2493 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2494 SwigValueWrapper
< wxImage
> result
;
2495 PyObject
* obj0
= 0 ;
2497 (char *) "self", NULL
2500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_ConvertToImage",kwnames
,&obj0
)) goto fail
;
2501 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2504 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
2506 wxPyEndAllowThreads(__tstate
);
2507 if (PyErr_Occurred()) SWIG_fail
;
2510 wxImage
* resultptr
;
2511 resultptr
= new wxImage((wxImage
&) result
);
2512 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
2520 static PyObject
*_wrap_Bitmap_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2521 PyObject
*resultobj
;
2522 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2524 PyObject
* obj0
= 0 ;
2526 (char *) "self", NULL
2529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetMask",kwnames
,&obj0
)) goto fail
;
2530 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2533 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
2535 wxPyEndAllowThreads(__tstate
);
2536 if (PyErr_Occurred()) SWIG_fail
;
2538 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMask
, 0);
2545 static PyObject
*_wrap_Bitmap_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2546 PyObject
*resultobj
;
2547 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2548 wxMask
*arg2
= (wxMask
*) 0 ;
2549 PyObject
* obj0
= 0 ;
2550 PyObject
* obj1
= 0 ;
2552 (char *) "self",(char *) "mask", NULL
2555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
2556 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2557 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMask
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2560 (arg1
)->SetMask(arg2
);
2562 wxPyEndAllowThreads(__tstate
);
2563 if (PyErr_Occurred()) SWIG_fail
;
2565 Py_INCREF(Py_None
); resultobj
= Py_None
;
2572 static PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2573 PyObject
*resultobj
;
2574 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2575 wxColour
*arg2
= 0 ;
2577 PyObject
* obj0
= 0 ;
2578 PyObject
* obj1
= 0 ;
2580 (char *) "self",(char *) "colour", NULL
2583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2584 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2587 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2591 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
2593 wxPyEndAllowThreads(__tstate
);
2594 if (PyErr_Occurred()) SWIG_fail
;
2596 Py_INCREF(Py_None
); resultobj
= Py_None
;
2603 static PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2604 PyObject
*resultobj
;
2605 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2607 SwigValueWrapper
< wxBitmap
> result
;
2609 PyObject
* obj0
= 0 ;
2610 PyObject
* obj1
= 0 ;
2612 (char *) "self",(char *) "rect", NULL
2615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
2616 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2619 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2623 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
2625 wxPyEndAllowThreads(__tstate
);
2626 if (PyErr_Occurred()) SWIG_fail
;
2629 wxBitmap
* resultptr
;
2630 resultptr
= new wxBitmap((wxBitmap
&) result
);
2631 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
2639 static PyObject
*_wrap_Bitmap_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2640 PyObject
*resultobj
;
2641 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2642 wxString
*arg2
= 0 ;
2644 wxPalette
*arg4
= (wxPalette
*) (wxPalette
*) NULL
;
2646 bool temp2
= false ;
2647 PyObject
* obj0
= 0 ;
2648 PyObject
* obj1
= 0 ;
2649 PyObject
* obj3
= 0 ;
2651 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
2654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
)) goto fail
;
2655 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2657 arg2
= wxString_in_helper(obj1
);
2658 if (arg2
== NULL
) SWIG_fail
;
2662 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2666 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
,arg4
);
2668 wxPyEndAllowThreads(__tstate
);
2669 if (PyErr_Occurred()) SWIG_fail
;
2671 resultobj
= PyInt_FromLong((long)result
);
2686 static PyObject
*_wrap_Bitmap_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2687 PyObject
*resultobj
;
2688 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2689 wxString
*arg2
= 0 ;
2692 bool temp2
= false ;
2693 PyObject
* obj0
= 0 ;
2694 PyObject
* obj1
= 0 ;
2696 (char *) "self",(char *) "name",(char *) "type", NULL
2699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
2700 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2702 arg2
= wxString_in_helper(obj1
);
2703 if (arg2
== NULL
) SWIG_fail
;
2707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2708 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
2710 wxPyEndAllowThreads(__tstate
);
2711 if (PyErr_Occurred()) SWIG_fail
;
2713 resultobj
= PyInt_FromLong((long)result
);
2728 static PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2729 PyObject
*resultobj
;
2730 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2733 PyObject
* obj0
= 0 ;
2734 PyObject
* obj1
= 0 ;
2736 (char *) "self",(char *) "icon", NULL
2739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
2740 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2741 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2743 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2747 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
2749 wxPyEndAllowThreads(__tstate
);
2750 if (PyErr_Occurred()) SWIG_fail
;
2752 resultobj
= PyInt_FromLong((long)result
);
2759 static PyObject
*_wrap_Bitmap_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2760 PyObject
*resultobj
;
2761 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2763 PyObject
* obj0
= 0 ;
2765 (char *) "self",(char *) "height", NULL
2768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Bitmap_SetHeight",kwnames
,&obj0
,&arg2
)) goto fail
;
2769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2772 (arg1
)->SetHeight(arg2
);
2774 wxPyEndAllowThreads(__tstate
);
2775 if (PyErr_Occurred()) SWIG_fail
;
2777 Py_INCREF(Py_None
); resultobj
= Py_None
;
2784 static PyObject
*_wrap_Bitmap_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2785 PyObject
*resultobj
;
2786 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2788 PyObject
* obj0
= 0 ;
2790 (char *) "self",(char *) "width", NULL
2793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Bitmap_SetWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
2794 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2797 (arg1
)->SetWidth(arg2
);
2799 wxPyEndAllowThreads(__tstate
);
2800 if (PyErr_Occurred()) SWIG_fail
;
2802 Py_INCREF(Py_None
); resultobj
= Py_None
;
2809 static PyObject
*_wrap_Bitmap_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2810 PyObject
*resultobj
;
2811 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2813 PyObject
* obj0
= 0 ;
2815 (char *) "self",(char *) "depth", NULL
2818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Bitmap_SetDepth",kwnames
,&obj0
,&arg2
)) goto fail
;
2819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2822 (arg1
)->SetDepth(arg2
);
2824 wxPyEndAllowThreads(__tstate
);
2825 if (PyErr_Occurred()) SWIG_fail
;
2827 Py_INCREF(Py_None
); resultobj
= Py_None
;
2834 static PyObject
*_wrap_Bitmap_CopyFromCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2835 PyObject
*resultobj
;
2836 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2837 wxCursor
*arg2
= 0 ;
2839 PyObject
* obj0
= 0 ;
2840 PyObject
* obj1
= 0 ;
2842 (char *) "self",(char *) "cursor", NULL
2845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
2846 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2847 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2849 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2853 result
= (bool)(arg1
)->CopyFromCursor((wxCursor
const &)*arg2
);
2855 wxPyEndAllowThreads(__tstate
);
2856 if (PyErr_Occurred()) SWIG_fail
;
2858 resultobj
= PyInt_FromLong((long)result
);
2865 static PyObject
*_wrap_Bitmap_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2866 PyObject
*resultobj
;
2867 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2869 PyObject
* obj0
= 0 ;
2871 (char *) "self", NULL
2874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetQuality",kwnames
,&obj0
)) goto fail
;
2875 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2878 result
= (int)(arg1
)->GetQuality();
2880 wxPyEndAllowThreads(__tstate
);
2881 if (PyErr_Occurred()) SWIG_fail
;
2883 resultobj
= PyInt_FromLong((long)result
);
2890 static PyObject
*_wrap_Bitmap_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2891 PyObject
*resultobj
;
2892 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2894 PyObject
* obj0
= 0 ;
2896 (char *) "self",(char *) "q", NULL
2899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Bitmap_SetQuality",kwnames
,&obj0
,&arg2
)) goto fail
;
2900 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2903 (arg1
)->SetQuality(arg2
);
2905 wxPyEndAllowThreads(__tstate
);
2906 if (PyErr_Occurred()) SWIG_fail
;
2908 Py_INCREF(Py_None
); resultobj
= Py_None
;
2915 static PyObject
* Bitmap_swigregister(PyObject
*self
, PyObject
*args
) {
2917 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2918 SWIG_TypeClientData(SWIGTYPE_p_wxBitmap
, obj
);
2920 return Py_BuildValue((char *)"");
2922 static PyObject
*_wrap_new_Mask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2923 PyObject
*resultobj
;
2924 wxBitmap
*arg1
= 0 ;
2926 PyObject
* obj0
= 0 ;
2928 (char *) "bitmap", NULL
2931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Mask",kwnames
,&obj0
)) goto fail
;
2932 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2934 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2938 result
= (wxMask
*)new wxMask((wxBitmap
const &)*arg1
);
2940 wxPyEndAllowThreads(__tstate
);
2941 if (PyErr_Occurred()) SWIG_fail
;
2943 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMask
, 1);
2950 static PyObject
*_wrap_new_MaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2951 PyObject
*resultobj
;
2952 wxBitmap
*arg1
= 0 ;
2953 wxColour
*arg2
= 0 ;
2956 PyObject
* obj0
= 0 ;
2957 PyObject
* obj1
= 0 ;
2959 (char *) "bitmap",(char *) "colour", NULL
2962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MaskColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2963 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2965 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2969 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2973 result
= (wxMask
*)new wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
2975 wxPyEndAllowThreads(__tstate
);
2976 if (PyErr_Occurred()) SWIG_fail
;
2978 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMask
, 1);
2985 static PyObject
* Mask_swigregister(PyObject
*self
, PyObject
*args
) {
2987 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2988 SWIG_TypeClientData(SWIGTYPE_p_wxMask
, obj
);
2990 return Py_BuildValue((char *)"");
2992 static PyObject
*_wrap_new_Icon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2993 PyObject
*resultobj
;
2994 wxString
*arg1
= 0 ;
2996 int arg3
= (int) -1 ;
2997 int arg4
= (int) -1 ;
2999 bool temp1
= false ;
3000 PyObject
* obj0
= 0 ;
3002 (char *) "name",(char *) "flags",(char *) "desiredWidth",(char *) "desiredHeight", NULL
3005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|ii:new_Icon",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
3007 arg1
= wxString_in_helper(obj0
);
3008 if (arg1
== NULL
) SWIG_fail
;
3012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3013 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
3015 wxPyEndAllowThreads(__tstate
);
3016 if (PyErr_Occurred()) SWIG_fail
;
3018 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
3033 static PyObject
*_wrap_delete_Icon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3034 PyObject
*resultobj
;
3035 wxIcon
*arg1
= (wxIcon
*) 0 ;
3036 PyObject
* obj0
= 0 ;
3038 (char *) "self", NULL
3041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Icon",kwnames
,&obj0
)) goto fail
;
3042 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3047 wxPyEndAllowThreads(__tstate
);
3048 if (PyErr_Occurred()) SWIG_fail
;
3050 Py_INCREF(Py_None
); resultobj
= Py_None
;
3057 static PyObject
*_wrap_new_EmptyIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3058 PyObject
*resultobj
;
3064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EmptyIcon",kwnames
)) goto fail
;
3066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3067 result
= (wxIcon
*)new wxIcon();
3069 wxPyEndAllowThreads(__tstate
);
3070 if (PyErr_Occurred()) SWIG_fail
;
3072 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
3079 static PyObject
*_wrap_new_IconFromLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3080 PyObject
*resultobj
;
3081 wxIconLocation
*arg1
= 0 ;
3083 PyObject
* obj0
= 0 ;
3085 (char *) "loc", NULL
3088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) goto fail
;
3089 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3091 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3095 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
3097 wxPyEndAllowThreads(__tstate
);
3098 if (PyErr_Occurred()) SWIG_fail
;
3100 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
3107 static PyObject
*_wrap_new_IconFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3108 PyObject
*resultobj
;
3109 wxBitmap
*arg1
= 0 ;
3111 PyObject
* obj0
= 0 ;
3113 (char *) "bmp", NULL
3116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) goto fail
;
3117 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3119 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3123 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
3125 wxPyEndAllowThreads(__tstate
);
3126 if (PyErr_Occurred()) SWIG_fail
;
3128 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
3135 static PyObject
*_wrap_new_IconFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3136 PyObject
*resultobj
;
3137 PyObject
*arg1
= (PyObject
*) 0 ;
3139 PyObject
* obj0
= 0 ;
3141 (char *) "listOfStrings", NULL
3144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) goto fail
;
3147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3148 result
= (wxIcon
*)new_wxIcon(arg1
);
3150 wxPyEndAllowThreads(__tstate
);
3151 if (PyErr_Occurred()) SWIG_fail
;
3153 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
3160 static PyObject
*_wrap_Icon_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3161 PyObject
*resultobj
;
3162 wxIcon
*arg1
= (wxIcon
*) 0 ;
3163 wxString
*arg2
= 0 ;
3166 bool temp2
= false ;
3167 PyObject
* obj0
= 0 ;
3168 PyObject
* obj1
= 0 ;
3170 (char *) "self",(char *) "name",(char *) "flags", NULL
3173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOl:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
3174 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3176 arg2
= wxString_in_helper(obj1
);
3177 if (arg2
== NULL
) SWIG_fail
;
3181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3182 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
3184 wxPyEndAllowThreads(__tstate
);
3185 if (PyErr_Occurred()) SWIG_fail
;
3187 resultobj
= PyInt_FromLong((long)result
);
3202 static PyObject
*_wrap_Icon_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3203 PyObject
*resultobj
;
3204 wxIcon
*arg1
= (wxIcon
*) 0 ;
3206 PyObject
* obj0
= 0 ;
3208 (char *) "self", NULL
3211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHandle",kwnames
,&obj0
)) goto fail
;
3212 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3215 result
= (long)(arg1
)->GetHandle();
3217 wxPyEndAllowThreads(__tstate
);
3218 if (PyErr_Occurred()) SWIG_fail
;
3220 resultobj
= PyInt_FromLong((long)result
);
3227 static PyObject
*_wrap_Icon_SetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3228 PyObject
*resultobj
;
3229 wxIcon
*arg1
= (wxIcon
*) 0 ;
3231 PyObject
* obj0
= 0 ;
3233 (char *) "self",(char *) "handle", NULL
3236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:Icon_SetHandle",kwnames
,&obj0
,&arg2
)) goto fail
;
3237 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3240 (arg1
)->SetHandle(arg2
);
3242 wxPyEndAllowThreads(__tstate
);
3243 if (PyErr_Occurred()) SWIG_fail
;
3245 Py_INCREF(Py_None
); resultobj
= Py_None
;
3252 static PyObject
*_wrap_Icon_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3253 PyObject
*resultobj
;
3254 wxIcon
*arg1
= (wxIcon
*) 0 ;
3256 PyObject
* obj0
= 0 ;
3258 (char *) "self", NULL
3261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_Ok",kwnames
,&obj0
)) goto fail
;
3262 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3265 result
= (bool)(arg1
)->Ok();
3267 wxPyEndAllowThreads(__tstate
);
3268 if (PyErr_Occurred()) SWIG_fail
;
3270 resultobj
= PyInt_FromLong((long)result
);
3277 static PyObject
*_wrap_Icon_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3278 PyObject
*resultobj
;
3279 wxIcon
*arg1
= (wxIcon
*) 0 ;
3281 PyObject
* obj0
= 0 ;
3283 (char *) "self", NULL
3286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetWidth",kwnames
,&obj0
)) goto fail
;
3287 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3290 result
= (int)(arg1
)->GetWidth();
3292 wxPyEndAllowThreads(__tstate
);
3293 if (PyErr_Occurred()) SWIG_fail
;
3295 resultobj
= PyInt_FromLong((long)result
);
3302 static PyObject
*_wrap_Icon_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3303 PyObject
*resultobj
;
3304 wxIcon
*arg1
= (wxIcon
*) 0 ;
3306 PyObject
* obj0
= 0 ;
3308 (char *) "self", NULL
3311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHeight",kwnames
,&obj0
)) goto fail
;
3312 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3315 result
= (int)(arg1
)->GetHeight();
3317 wxPyEndAllowThreads(__tstate
);
3318 if (PyErr_Occurred()) SWIG_fail
;
3320 resultobj
= PyInt_FromLong((long)result
);
3327 static PyObject
*_wrap_Icon_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3328 PyObject
*resultobj
;
3329 wxIcon
*arg1
= (wxIcon
*) 0 ;
3331 PyObject
* obj0
= 0 ;
3333 (char *) "self", NULL
3336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetDepth",kwnames
,&obj0
)) goto fail
;
3337 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3340 result
= (int)(arg1
)->GetDepth();
3342 wxPyEndAllowThreads(__tstate
);
3343 if (PyErr_Occurred()) SWIG_fail
;
3345 resultobj
= PyInt_FromLong((long)result
);
3352 static PyObject
*_wrap_Icon_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3353 PyObject
*resultobj
;
3354 wxIcon
*arg1
= (wxIcon
*) 0 ;
3356 PyObject
* obj0
= 0 ;
3358 (char *) "self",(char *) "w", NULL
3361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Icon_SetWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
3362 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3365 (arg1
)->SetWidth(arg2
);
3367 wxPyEndAllowThreads(__tstate
);
3368 if (PyErr_Occurred()) SWIG_fail
;
3370 Py_INCREF(Py_None
); resultobj
= Py_None
;
3377 static PyObject
*_wrap_Icon_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3378 PyObject
*resultobj
;
3379 wxIcon
*arg1
= (wxIcon
*) 0 ;
3381 PyObject
* obj0
= 0 ;
3383 (char *) "self",(char *) "h", NULL
3386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Icon_SetHeight",kwnames
,&obj0
,&arg2
)) goto fail
;
3387 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3390 (arg1
)->SetHeight(arg2
);
3392 wxPyEndAllowThreads(__tstate
);
3393 if (PyErr_Occurred()) SWIG_fail
;
3395 Py_INCREF(Py_None
); resultobj
= Py_None
;
3402 static PyObject
*_wrap_Icon_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3403 PyObject
*resultobj
;
3404 wxIcon
*arg1
= (wxIcon
*) 0 ;
3406 PyObject
* obj0
= 0 ;
3408 (char *) "self",(char *) "d", NULL
3411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Icon_SetDepth",kwnames
,&obj0
,&arg2
)) goto fail
;
3412 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3415 (arg1
)->SetDepth(arg2
);
3417 wxPyEndAllowThreads(__tstate
);
3418 if (PyErr_Occurred()) SWIG_fail
;
3420 Py_INCREF(Py_None
); resultobj
= Py_None
;
3427 static PyObject
*_wrap_Icon_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3428 PyObject
*resultobj
;
3429 wxIcon
*arg1
= (wxIcon
*) 0 ;
3432 PyObject
* obj0
= 0 ;
3433 PyObject
* obj1
= 0 ;
3435 (char *) "self",(char *) "size", NULL
3438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3439 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3442 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3446 (arg1
)->SetSize((wxSize
const &)*arg2
);
3448 wxPyEndAllowThreads(__tstate
);
3449 if (PyErr_Occurred()) SWIG_fail
;
3451 Py_INCREF(Py_None
); resultobj
= Py_None
;
3458 static PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3459 PyObject
*resultobj
;
3460 wxIcon
*arg1
= (wxIcon
*) 0 ;
3461 wxBitmap
*arg2
= 0 ;
3462 PyObject
* obj0
= 0 ;
3463 PyObject
* obj1
= 0 ;
3465 (char *) "self",(char *) "bmp", NULL
3468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3469 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3470 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3472 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3476 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
3478 wxPyEndAllowThreads(__tstate
);
3479 if (PyErr_Occurred()) SWIG_fail
;
3481 Py_INCREF(Py_None
); resultobj
= Py_None
;
3488 static PyObject
* Icon_swigregister(PyObject
*self
, PyObject
*args
) {
3490 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3491 SWIG_TypeClientData(SWIGTYPE_p_wxIcon
, obj
);
3493 return Py_BuildValue((char *)"");
3495 static PyObject
*_wrap_new_IconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3496 PyObject
*resultobj
;
3497 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
3498 int arg2
= (int) 0 ;
3499 wxIconLocation
*result
;
3500 PyObject
* obj0
= 0 ;
3502 (char *) "filename",(char *) "num", NULL
3505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|Oi:new_IconLocation",kwnames
,&obj0
,&arg2
)) goto fail
;
3507 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxString
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3511 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
3513 wxPyEndAllowThreads(__tstate
);
3514 if (PyErr_Occurred()) SWIG_fail
;
3516 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIconLocation
, 1);
3523 static PyObject
*_wrap_delete_IconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3524 PyObject
*resultobj
;
3525 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3526 PyObject
* obj0
= 0 ;
3528 (char *) "self", NULL
3531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconLocation",kwnames
,&obj0
)) goto fail
;
3532 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3537 wxPyEndAllowThreads(__tstate
);
3538 if (PyErr_Occurred()) SWIG_fail
;
3540 Py_INCREF(Py_None
); resultobj
= Py_None
;
3547 static PyObject
*_wrap_IconLocation_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3548 PyObject
*resultobj
;
3549 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3551 PyObject
* obj0
= 0 ;
3553 (char *) "self", NULL
3556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_IsOk",kwnames
,&obj0
)) goto fail
;
3557 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3560 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
3562 wxPyEndAllowThreads(__tstate
);
3563 if (PyErr_Occurred()) SWIG_fail
;
3565 resultobj
= PyInt_FromLong((long)result
);
3572 static PyObject
*_wrap_IconLocation_SetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3573 PyObject
*resultobj
;
3574 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3575 wxString
*arg2
= 0 ;
3576 bool temp2
= false ;
3577 PyObject
* obj0
= 0 ;
3578 PyObject
* obj1
= 0 ;
3580 (char *) "self",(char *) "filename", NULL
3583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) goto fail
;
3584 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3586 arg2
= wxString_in_helper(obj1
);
3587 if (arg2
== NULL
) SWIG_fail
;
3591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3592 (arg1
)->SetFileName((wxString
const &)*arg2
);
3594 wxPyEndAllowThreads(__tstate
);
3595 if (PyErr_Occurred()) SWIG_fail
;
3597 Py_INCREF(Py_None
); resultobj
= Py_None
;
3612 static PyObject
*_wrap_IconLocation_GetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3613 PyObject
*resultobj
;
3614 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3616 PyObject
* obj0
= 0 ;
3618 (char *) "self", NULL
3621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetFileName",kwnames
,&obj0
)) goto fail
;
3622 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3626 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
3627 result
= (wxString
*) &_result_ref
;
3630 wxPyEndAllowThreads(__tstate
);
3631 if (PyErr_Occurred()) SWIG_fail
;
3633 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
3640 static PyObject
*_wrap_IconLocation_SetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3641 PyObject
*resultobj
;
3642 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3644 PyObject
* obj0
= 0 ;
3646 (char *) "self",(char *) "num", NULL
3649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:IconLocation_SetIndex",kwnames
,&obj0
,&arg2
)) goto fail
;
3650 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3653 wxIconLocation_SetIndex(arg1
,arg2
);
3655 wxPyEndAllowThreads(__tstate
);
3656 if (PyErr_Occurred()) SWIG_fail
;
3658 Py_INCREF(Py_None
); resultobj
= Py_None
;
3665 static PyObject
*_wrap_IconLocation_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3666 PyObject
*resultobj
;
3667 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3669 PyObject
* obj0
= 0 ;
3671 (char *) "self", NULL
3674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetIndex",kwnames
,&obj0
)) goto fail
;
3675 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3678 result
= (int)wxIconLocation_GetIndex(arg1
);
3680 wxPyEndAllowThreads(__tstate
);
3681 if (PyErr_Occurred()) SWIG_fail
;
3683 resultobj
= PyInt_FromLong((long)result
);
3690 static PyObject
* IconLocation_swigregister(PyObject
*self
, PyObject
*args
) {
3692 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3693 SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation
, obj
);
3695 return Py_BuildValue((char *)"");
3697 static PyObject
*_wrap_new_IconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3698 PyObject
*resultobj
;
3699 wxIconBundle
*result
;
3704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IconBundle",kwnames
)) goto fail
;
3706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3707 result
= (wxIconBundle
*)new wxIconBundle();
3709 wxPyEndAllowThreads(__tstate
);
3710 if (PyErr_Occurred()) SWIG_fail
;
3712 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIconBundle
, 1);
3719 static PyObject
*_wrap_new_IconBundleFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3720 PyObject
*resultobj
;
3721 wxString
*arg1
= 0 ;
3723 wxIconBundle
*result
;
3724 bool temp1
= false ;
3725 PyObject
* obj0
= 0 ;
3727 (char *) "file",(char *) "type", NULL
3730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:new_IconBundleFromFile",kwnames
,&obj0
,&arg2
)) goto fail
;
3732 arg1
= wxString_in_helper(obj0
);
3733 if (arg1
== NULL
) SWIG_fail
;
3737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3738 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
3740 wxPyEndAllowThreads(__tstate
);
3741 if (PyErr_Occurred()) SWIG_fail
;
3743 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIconBundle
, 1);
3758 static PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3759 PyObject
*resultobj
;
3761 wxIconBundle
*result
;
3762 PyObject
* obj0
= 0 ;
3764 (char *) "icon", NULL
3767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) goto fail
;
3768 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3770 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3774 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
3776 wxPyEndAllowThreads(__tstate
);
3777 if (PyErr_Occurred()) SWIG_fail
;
3779 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIconBundle
, 1);
3786 static PyObject
*_wrap_delete_IconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3787 PyObject
*resultobj
;
3788 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
3789 PyObject
* obj0
= 0 ;
3791 (char *) "self", NULL
3794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconBundle",kwnames
,&obj0
)) goto fail
;
3795 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconBundle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3800 wxPyEndAllowThreads(__tstate
);
3801 if (PyErr_Occurred()) SWIG_fail
;
3803 Py_INCREF(Py_None
); resultobj
= Py_None
;
3810 static PyObject
*_wrap_IconBundle_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3811 PyObject
*resultobj
;
3812 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
3814 PyObject
* obj0
= 0 ;
3815 PyObject
* obj1
= 0 ;
3817 (char *) "self",(char *) "icon", NULL
3820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
3821 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconBundle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3822 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3824 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3828 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
3830 wxPyEndAllowThreads(__tstate
);
3831 if (PyErr_Occurred()) SWIG_fail
;
3833 Py_INCREF(Py_None
); resultobj
= Py_None
;
3840 static PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3841 PyObject
*resultobj
;
3842 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
3843 wxString
*arg2
= 0 ;
3845 bool temp2
= false ;
3846 PyObject
* obj0
= 0 ;
3847 PyObject
* obj1
= 0 ;
3849 (char *) "self",(char *) "file",(char *) "type", NULL
3852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOl:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
3853 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconBundle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3855 arg2
= wxString_in_helper(obj1
);
3856 if (arg2
== NULL
) SWIG_fail
;
3860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3861 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
3863 wxPyEndAllowThreads(__tstate
);
3864 if (PyErr_Occurred()) SWIG_fail
;
3866 Py_INCREF(Py_None
); resultobj
= Py_None
;
3881 static PyObject
*_wrap_IconBundle_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3882 PyObject
*resultobj
;
3883 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
3887 PyObject
* obj0
= 0 ;
3888 PyObject
* obj1
= 0 ;
3890 (char *) "self",(char *) "size", NULL
3893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
3894 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconBundle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3897 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3902 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
3903 result
= (wxIcon
*) &_result_ref
;
3906 wxPyEndAllowThreads(__tstate
);
3907 if (PyErr_Occurred()) SWIG_fail
;
3909 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 0);
3916 static PyObject
* IconBundle_swigregister(PyObject
*self
, PyObject
*args
) {
3918 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3919 SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle
, obj
);
3921 return Py_BuildValue((char *)"");
3923 static PyObject
*_wrap_new_Cursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3924 PyObject
*resultobj
;
3925 wxString
*arg1
= (wxString
*) 0 ;
3927 int arg3
= (int) 0 ;
3928 int arg4
= (int) 0 ;
3930 PyObject
* obj0
= 0 ;
3932 (char *) "cursorName",(char *) "flags",(char *) "hotSpotX",(char *) "hotSpotY", NULL
3935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|ii:new_Cursor",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
3936 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxString
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3939 result
= (wxCursor
*)new_wxCursor((wxString
const *)arg1
,arg2
,arg3
,arg4
);
3941 wxPyEndAllowThreads(__tstate
);
3942 if (PyErr_Occurred()) SWIG_fail
;
3944 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 1);
3951 static PyObject
*_wrap_delete_Cursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3952 PyObject
*resultobj
;
3953 wxCursor
*arg1
= (wxCursor
*) 0 ;
3954 PyObject
* obj0
= 0 ;
3956 (char *) "self", NULL
3959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Cursor",kwnames
,&obj0
)) goto fail
;
3960 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3965 wxPyEndAllowThreads(__tstate
);
3966 if (PyErr_Occurred()) SWIG_fail
;
3968 Py_INCREF(Py_None
); resultobj
= Py_None
;
3975 static PyObject
*_wrap_new_StockCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3976 PyObject
*resultobj
;
3983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:new_StockCursor",kwnames
,&arg1
)) goto fail
;
3985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3986 result
= (wxCursor
*)new wxCursor(arg1
);
3988 wxPyEndAllowThreads(__tstate
);
3989 if (PyErr_Occurred()) SWIG_fail
;
3991 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 1);
3998 static PyObject
*_wrap_new_CursorFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3999 PyObject
*resultobj
;
4002 PyObject
* obj0
= 0 ;
4004 (char *) "image", NULL
4007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) goto fail
;
4008 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4010 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4014 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
4016 wxPyEndAllowThreads(__tstate
);
4017 if (PyErr_Occurred()) SWIG_fail
;
4019 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 1);
4026 static PyObject
*_wrap_new_CursorFromBits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4027 PyObject
*resultobj
;
4028 PyObject
*arg1
= (PyObject
*) 0 ;
4031 int arg4
= (int) -1 ;
4032 int arg5
= (int) -1 ;
4033 PyObject
*arg6
= (PyObject
*) 0 ;
4035 PyObject
* obj0
= 0 ;
4036 PyObject
* obj5
= 0 ;
4038 (char *) "bits",(char *) "width",(char *) "height",(char *) "hotSpotX",(char *) "hotSpotY",(char *) "maskBits", NULL
4041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|iiO:new_CursorFromBits",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&obj5
)) goto fail
;
4047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4048 result
= (wxCursor
*)new_wxCursor(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
4050 wxPyEndAllowThreads(__tstate
);
4051 if (PyErr_Occurred()) SWIG_fail
;
4053 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 1);
4060 static PyObject
*_wrap_Cursor_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4061 PyObject
*resultobj
;
4062 wxCursor
*arg1
= (wxCursor
*) 0 ;
4064 PyObject
* obj0
= 0 ;
4066 (char *) "self", NULL
4069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetHandle",kwnames
,&obj0
)) goto fail
;
4070 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4073 result
= (long)(arg1
)->GetHandle();
4075 wxPyEndAllowThreads(__tstate
);
4076 if (PyErr_Occurred()) SWIG_fail
;
4078 resultobj
= PyInt_FromLong((long)result
);
4085 static PyObject
*_wrap_Cursor_SetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4086 PyObject
*resultobj
;
4087 wxCursor
*arg1
= (wxCursor
*) 0 ;
4089 PyObject
* obj0
= 0 ;
4091 (char *) "self",(char *) "handle", NULL
4094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:Cursor_SetHandle",kwnames
,&obj0
,&arg2
)) goto fail
;
4095 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4098 (arg1
)->SetHandle(arg2
);
4100 wxPyEndAllowThreads(__tstate
);
4101 if (PyErr_Occurred()) SWIG_fail
;
4103 Py_INCREF(Py_None
); resultobj
= Py_None
;
4110 static PyObject
*_wrap_Cursor_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4111 PyObject
*resultobj
;
4112 wxCursor
*arg1
= (wxCursor
*) 0 ;
4114 PyObject
* obj0
= 0 ;
4116 (char *) "self", NULL
4119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_Ok",kwnames
,&obj0
)) goto fail
;
4120 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4123 result
= (bool)(arg1
)->Ok();
4125 wxPyEndAllowThreads(__tstate
);
4126 if (PyErr_Occurred()) SWIG_fail
;
4128 resultobj
= PyInt_FromLong((long)result
);
4135 static PyObject
*_wrap_Cursor_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4136 PyObject
*resultobj
;
4137 wxCursor
*arg1
= (wxCursor
*) 0 ;
4139 PyObject
* obj0
= 0 ;
4141 (char *) "self", NULL
4144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetWidth",kwnames
,&obj0
)) goto fail
;
4145 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4148 result
= (int)(arg1
)->GetWidth();
4150 wxPyEndAllowThreads(__tstate
);
4151 if (PyErr_Occurred()) SWIG_fail
;
4153 resultobj
= PyInt_FromLong((long)result
);
4160 static PyObject
*_wrap_Cursor_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4161 PyObject
*resultobj
;
4162 wxCursor
*arg1
= (wxCursor
*) 0 ;
4164 PyObject
* obj0
= 0 ;
4166 (char *) "self", NULL
4169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetHeight",kwnames
,&obj0
)) goto fail
;
4170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4173 result
= (int)(arg1
)->GetHeight();
4175 wxPyEndAllowThreads(__tstate
);
4176 if (PyErr_Occurred()) SWIG_fail
;
4178 resultobj
= PyInt_FromLong((long)result
);
4185 static PyObject
*_wrap_Cursor_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4186 PyObject
*resultobj
;
4187 wxCursor
*arg1
= (wxCursor
*) 0 ;
4189 PyObject
* obj0
= 0 ;
4191 (char *) "self", NULL
4194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetDepth",kwnames
,&obj0
)) goto fail
;
4195 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4198 result
= (int)(arg1
)->GetDepth();
4200 wxPyEndAllowThreads(__tstate
);
4201 if (PyErr_Occurred()) SWIG_fail
;
4203 resultobj
= PyInt_FromLong((long)result
);
4210 static PyObject
*_wrap_Cursor_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4211 PyObject
*resultobj
;
4212 wxCursor
*arg1
= (wxCursor
*) 0 ;
4214 PyObject
* obj0
= 0 ;
4216 (char *) "self",(char *) "w", NULL
4219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Cursor_SetWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
4220 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4223 (arg1
)->SetWidth(arg2
);
4225 wxPyEndAllowThreads(__tstate
);
4226 if (PyErr_Occurred()) SWIG_fail
;
4228 Py_INCREF(Py_None
); resultobj
= Py_None
;
4235 static PyObject
*_wrap_Cursor_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4236 PyObject
*resultobj
;
4237 wxCursor
*arg1
= (wxCursor
*) 0 ;
4239 PyObject
* obj0
= 0 ;
4241 (char *) "self",(char *) "h", NULL
4244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Cursor_SetHeight",kwnames
,&obj0
,&arg2
)) goto fail
;
4245 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4248 (arg1
)->SetHeight(arg2
);
4250 wxPyEndAllowThreads(__tstate
);
4251 if (PyErr_Occurred()) SWIG_fail
;
4253 Py_INCREF(Py_None
); resultobj
= Py_None
;
4260 static PyObject
*_wrap_Cursor_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4261 PyObject
*resultobj
;
4262 wxCursor
*arg1
= (wxCursor
*) 0 ;
4264 PyObject
* obj0
= 0 ;
4266 (char *) "self",(char *) "d", NULL
4269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Cursor_SetDepth",kwnames
,&obj0
,&arg2
)) goto fail
;
4270 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4273 (arg1
)->SetDepth(arg2
);
4275 wxPyEndAllowThreads(__tstate
);
4276 if (PyErr_Occurred()) SWIG_fail
;
4278 Py_INCREF(Py_None
); resultobj
= Py_None
;
4285 static PyObject
*_wrap_Cursor_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4286 PyObject
*resultobj
;
4287 wxCursor
*arg1
= (wxCursor
*) 0 ;
4290 PyObject
* obj0
= 0 ;
4291 PyObject
* obj1
= 0 ;
4293 (char *) "self",(char *) "size", NULL
4296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4297 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4300 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4304 (arg1
)->SetSize((wxSize
const &)*arg2
);
4306 wxPyEndAllowThreads(__tstate
);
4307 if (PyErr_Occurred()) SWIG_fail
;
4309 Py_INCREF(Py_None
); resultobj
= Py_None
;
4316 static PyObject
* Cursor_swigregister(PyObject
*self
, PyObject
*args
) {
4318 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4319 SWIG_TypeClientData(SWIGTYPE_p_wxCursor
, obj
);
4321 return Py_BuildValue((char *)"");
4323 static PyObject
*_wrap_new_Region(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4324 PyObject
*resultobj
;
4325 wxCoord arg1
= (wxCoord
) 0 ;
4326 wxCoord arg2
= (wxCoord
) 0 ;
4327 wxCoord arg3
= (wxCoord
) 0 ;
4328 wxCoord arg4
= (wxCoord
) 0 ;
4331 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_Region",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
4336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4337 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
4339 wxPyEndAllowThreads(__tstate
);
4340 if (PyErr_Occurred()) SWIG_fail
;
4342 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRegion
, 1);
4349 static PyObject
*_wrap_new_RegionFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4350 PyObject
*resultobj
;
4351 wxBitmap
*arg1
= 0 ;
4352 wxColour
const &arg2_defvalue
= wxNullColour
;
4353 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
4354 int arg3
= (int) 0 ;
4357 PyObject
* obj0
= 0 ;
4358 PyObject
* obj1
= 0 ;
4360 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
4363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|Oi:new_RegionFromBitmap",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
4364 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4366 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4371 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4376 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
4378 wxPyEndAllowThreads(__tstate
);
4379 if (PyErr_Occurred()) SWIG_fail
;
4381 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRegion
, 1);
4388 static PyObject
*_wrap_new_RegionFromPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4389 PyObject
*resultobj
;
4391 wxPoint
*arg2
= (wxPoint
*) 0 ;
4392 int arg3
= (int) wxWINDING_RULE
;
4394 PyObject
* obj0
= 0 ;
4396 (char *) "points",(char *) "fillStyle", NULL
4399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:new_RegionFromPoints",kwnames
,&obj0
,&arg3
)) goto fail
;
4401 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
4402 if (arg2
== NULL
) SWIG_fail
;
4405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4406 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
4408 wxPyEndAllowThreads(__tstate
);
4409 if (PyErr_Occurred()) SWIG_fail
;
4411 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRegion
, 1);
4413 if (arg2
) delete [] arg2
;
4418 if (arg2
) delete [] arg2
;
4424 static PyObject
*_wrap_delete_Region(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4425 PyObject
*resultobj
;
4426 wxRegion
*arg1
= (wxRegion
*) 0 ;
4427 PyObject
* obj0
= 0 ;
4429 (char *) "self", NULL
4432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Region",kwnames
,&obj0
)) goto fail
;
4433 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4438 wxPyEndAllowThreads(__tstate
);
4439 if (PyErr_Occurred()) SWIG_fail
;
4441 Py_INCREF(Py_None
); resultobj
= Py_None
;
4448 static PyObject
*_wrap_Region_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4449 PyObject
*resultobj
;
4450 wxRegion
*arg1
= (wxRegion
*) 0 ;
4451 PyObject
* obj0
= 0 ;
4453 (char *) "self", NULL
4456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_Clear",kwnames
,&obj0
)) goto fail
;
4457 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4462 wxPyEndAllowThreads(__tstate
);
4463 if (PyErr_Occurred()) SWIG_fail
;
4465 Py_INCREF(Py_None
); resultobj
= Py_None
;
4472 static PyObject
*_wrap_Region_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4473 PyObject
*resultobj
;
4474 wxRegion
*arg1
= (wxRegion
*) 0 ;
4478 PyObject
* obj0
= 0 ;
4480 (char *) "self",(char *) "x",(char *) "y", NULL
4483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Region_Offset",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
4484 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4487 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
4489 wxPyEndAllowThreads(__tstate
);
4490 if (PyErr_Occurred()) SWIG_fail
;
4492 resultobj
= PyInt_FromLong((long)result
);
4499 static PyObject
*_wrap_Region_Contains(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4500 PyObject
*resultobj
;
4501 wxRegion
*arg1
= (wxRegion
*) 0 ;
4505 PyObject
* obj0
= 0 ;
4507 (char *) "self",(char *) "x",(char *) "y", NULL
4510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Region_Contains",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
4511 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4514 result
= (int)(arg1
)->Contains(arg2
,arg3
);
4516 wxPyEndAllowThreads(__tstate
);
4517 if (PyErr_Occurred()) SWIG_fail
;
4519 resultobj
= PyInt_FromLong((long)result
);
4526 static PyObject
*_wrap_Region_ContainsPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4527 PyObject
*resultobj
;
4528 wxRegion
*arg1
= (wxRegion
*) 0 ;
4532 PyObject
* obj0
= 0 ;
4533 PyObject
* obj1
= 0 ;
4535 (char *) "self",(char *) "pt", NULL
4538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4539 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4542 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4546 result
= (int)(arg1
)->Contains((wxPoint
const &)*arg2
);
4548 wxPyEndAllowThreads(__tstate
);
4549 if (PyErr_Occurred()) SWIG_fail
;
4551 resultobj
= PyInt_FromLong((long)result
);
4558 static PyObject
*_wrap_Region_ContainsRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4559 PyObject
*resultobj
;
4560 wxRegion
*arg1
= (wxRegion
*) 0 ;
4564 PyObject
* obj0
= 0 ;
4565 PyObject
* obj1
= 0 ;
4567 (char *) "self",(char *) "rect", NULL
4570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4571 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4574 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4578 result
= (int)(arg1
)->Contains((wxRect
const &)*arg2
);
4580 wxPyEndAllowThreads(__tstate
);
4581 if (PyErr_Occurred()) SWIG_fail
;
4583 resultobj
= PyInt_FromLong((long)result
);
4590 static PyObject
*_wrap_Region_ContainsRectDim(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4591 PyObject
*resultobj
;
4592 wxRegion
*arg1
= (wxRegion
*) 0 ;
4598 PyObject
* obj0
= 0 ;
4600 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
4603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:Region_ContainsRectDim",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
4604 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4607 result
= (int)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
4609 wxPyEndAllowThreads(__tstate
);
4610 if (PyErr_Occurred()) SWIG_fail
;
4612 resultobj
= PyInt_FromLong((long)result
);
4619 static PyObject
*_wrap_Region_GetBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4620 PyObject
*resultobj
;
4621 wxRegion
*arg1
= (wxRegion
*) 0 ;
4623 PyObject
* obj0
= 0 ;
4625 (char *) "self", NULL
4628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_GetBox",kwnames
,&obj0
)) goto fail
;
4629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4632 result
= (arg1
)->GetBox();
4634 wxPyEndAllowThreads(__tstate
);
4635 if (PyErr_Occurred()) SWIG_fail
;
4639 resultptr
= new wxRect((wxRect
&) result
);
4640 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
4648 static PyObject
*_wrap_Region_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4649 PyObject
*resultobj
;
4650 wxRegion
*arg1
= (wxRegion
*) 0 ;
4656 PyObject
* obj0
= 0 ;
4658 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:Region_Intersect",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
4662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4665 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
4667 wxPyEndAllowThreads(__tstate
);
4668 if (PyErr_Occurred()) SWIG_fail
;
4670 resultobj
= PyInt_FromLong((long)result
);
4677 static PyObject
*_wrap_Region_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4678 PyObject
*resultobj
;
4679 wxRegion
*arg1
= (wxRegion
*) 0 ;
4683 PyObject
* obj0
= 0 ;
4684 PyObject
* obj1
= 0 ;
4686 (char *) "self",(char *) "rect", NULL
4689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4690 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4693 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4697 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
4699 wxPyEndAllowThreads(__tstate
);
4700 if (PyErr_Occurred()) SWIG_fail
;
4702 resultobj
= PyInt_FromLong((long)result
);
4709 static PyObject
*_wrap_Region_IntersectRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4710 PyObject
*resultobj
;
4711 wxRegion
*arg1
= (wxRegion
*) 0 ;
4712 wxRegion
*arg2
= 0 ;
4714 PyObject
* obj0
= 0 ;
4715 PyObject
* obj1
= 0 ;
4717 (char *) "self",(char *) "region", NULL
4720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
4721 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4722 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4724 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4728 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
4730 wxPyEndAllowThreads(__tstate
);
4731 if (PyErr_Occurred()) SWIG_fail
;
4733 resultobj
= PyInt_FromLong((long)result
);
4740 static PyObject
*_wrap_Region_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4741 PyObject
*resultobj
;
4742 wxRegion
*arg1
= (wxRegion
*) 0 ;
4744 PyObject
* obj0
= 0 ;
4746 (char *) "self", NULL
4749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_IsEmpty",kwnames
,&obj0
)) goto fail
;
4750 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4753 result
= (bool)(arg1
)->IsEmpty();
4755 wxPyEndAllowThreads(__tstate
);
4756 if (PyErr_Occurred()) SWIG_fail
;
4758 resultobj
= PyInt_FromLong((long)result
);
4765 static PyObject
*_wrap_Region_Union(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4766 PyObject
*resultobj
;
4767 wxRegion
*arg1
= (wxRegion
*) 0 ;
4773 PyObject
* obj0
= 0 ;
4775 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:Region_Union",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
4779 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4782 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
4784 wxPyEndAllowThreads(__tstate
);
4785 if (PyErr_Occurred()) SWIG_fail
;
4787 resultobj
= PyInt_FromLong((long)result
);
4794 static PyObject
*_wrap_Region_UnionRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4795 PyObject
*resultobj
;
4796 wxRegion
*arg1
= (wxRegion
*) 0 ;
4800 PyObject
* obj0
= 0 ;
4801 PyObject
* obj1
= 0 ;
4803 (char *) "self",(char *) "rect", NULL
4806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4807 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4810 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4814 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
4816 wxPyEndAllowThreads(__tstate
);
4817 if (PyErr_Occurred()) SWIG_fail
;
4819 resultobj
= PyInt_FromLong((long)result
);
4826 static PyObject
*_wrap_Region_UnionRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4827 PyObject
*resultobj
;
4828 wxRegion
*arg1
= (wxRegion
*) 0 ;
4829 wxRegion
*arg2
= 0 ;
4831 PyObject
* obj0
= 0 ;
4832 PyObject
* obj1
= 0 ;
4834 (char *) "self",(char *) "region", NULL
4837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
4838 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4839 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4841 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4845 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
4847 wxPyEndAllowThreads(__tstate
);
4848 if (PyErr_Occurred()) SWIG_fail
;
4850 resultobj
= PyInt_FromLong((long)result
);
4857 static PyObject
*_wrap_Region_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4858 PyObject
*resultobj
;
4859 wxRegion
*arg1
= (wxRegion
*) 0 ;
4865 PyObject
* obj0
= 0 ;
4867 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:Region_Subtract",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
4871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4874 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
4876 wxPyEndAllowThreads(__tstate
);
4877 if (PyErr_Occurred()) SWIG_fail
;
4879 resultobj
= PyInt_FromLong((long)result
);
4886 static PyObject
*_wrap_Region_SubtractRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4887 PyObject
*resultobj
;
4888 wxRegion
*arg1
= (wxRegion
*) 0 ;
4892 PyObject
* obj0
= 0 ;
4893 PyObject
* obj1
= 0 ;
4895 (char *) "self",(char *) "rect", NULL
4898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4899 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4902 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4906 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
4908 wxPyEndAllowThreads(__tstate
);
4909 if (PyErr_Occurred()) SWIG_fail
;
4911 resultobj
= PyInt_FromLong((long)result
);
4918 static PyObject
*_wrap_Region_SubtractRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4919 PyObject
*resultobj
;
4920 wxRegion
*arg1
= (wxRegion
*) 0 ;
4921 wxRegion
*arg2
= 0 ;
4923 PyObject
* obj0
= 0 ;
4924 PyObject
* obj1
= 0 ;
4926 (char *) "self",(char *) "region", NULL
4929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
4930 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4931 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4933 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4937 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
4939 wxPyEndAllowThreads(__tstate
);
4940 if (PyErr_Occurred()) SWIG_fail
;
4942 resultobj
= PyInt_FromLong((long)result
);
4949 static PyObject
*_wrap_Region_Xor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4950 PyObject
*resultobj
;
4951 wxRegion
*arg1
= (wxRegion
*) 0 ;
4957 PyObject
* obj0
= 0 ;
4959 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:Region_Xor",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
4963 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4966 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
4968 wxPyEndAllowThreads(__tstate
);
4969 if (PyErr_Occurred()) SWIG_fail
;
4971 resultobj
= PyInt_FromLong((long)result
);
4978 static PyObject
*_wrap_Region_XorRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4979 PyObject
*resultobj
;
4980 wxRegion
*arg1
= (wxRegion
*) 0 ;
4984 PyObject
* obj0
= 0 ;
4985 PyObject
* obj1
= 0 ;
4987 (char *) "self",(char *) "rect", NULL
4990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4991 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4994 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4998 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
5000 wxPyEndAllowThreads(__tstate
);
5001 if (PyErr_Occurred()) SWIG_fail
;
5003 resultobj
= PyInt_FromLong((long)result
);
5010 static PyObject
*_wrap_Region_XorRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5011 PyObject
*resultobj
;
5012 wxRegion
*arg1
= (wxRegion
*) 0 ;
5013 wxRegion
*arg2
= 0 ;
5015 PyObject
* obj0
= 0 ;
5016 PyObject
* obj1
= 0 ;
5018 (char *) "self",(char *) "region", NULL
5021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5022 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5023 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5025 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5029 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
5031 wxPyEndAllowThreads(__tstate
);
5032 if (PyErr_Occurred()) SWIG_fail
;
5034 resultobj
= PyInt_FromLong((long)result
);
5041 static PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5042 PyObject
*resultobj
;
5043 wxRegion
*arg1
= (wxRegion
*) 0 ;
5044 SwigValueWrapper
< wxBitmap
> result
;
5045 PyObject
* obj0
= 0 ;
5047 (char *) "self", NULL
5050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
5051 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5054 result
= (arg1
)->ConvertToBitmap();
5056 wxPyEndAllowThreads(__tstate
);
5057 if (PyErr_Occurred()) SWIG_fail
;
5060 wxBitmap
* resultptr
;
5061 resultptr
= new wxBitmap((wxBitmap
&) result
);
5062 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
5070 static PyObject
*_wrap_Region_UnionBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5071 PyObject
*resultobj
;
5072 wxRegion
*arg1
= (wxRegion
*) 0 ;
5073 wxBitmap
*arg2
= 0 ;
5074 wxColour
const &arg3_defvalue
= wxNullColour
;
5075 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
5076 int arg4
= (int) 0 ;
5079 PyObject
* obj0
= 0 ;
5080 PyObject
* obj1
= 0 ;
5081 PyObject
* obj2
= 0 ;
5083 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
5086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|Oi:Region_UnionBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
5087 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5088 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5090 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5095 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5100 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
5102 wxPyEndAllowThreads(__tstate
);
5103 if (PyErr_Occurred()) SWIG_fail
;
5105 resultobj
= PyInt_FromLong((long)result
);
5112 static PyObject
* Region_swigregister(PyObject
*self
, PyObject
*args
) {
5114 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5115 SWIG_TypeClientData(SWIGTYPE_p_wxRegion
, obj
);
5117 return Py_BuildValue((char *)"");
5119 static PyObject
*_wrap_new_RegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5120 PyObject
*resultobj
;
5121 wxRegion
*arg1
= 0 ;
5122 wxRegionIterator
*result
;
5123 PyObject
* obj0
= 0 ;
5125 (char *) "region", NULL
5128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) goto fail
;
5129 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5131 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5135 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
5137 wxPyEndAllowThreads(__tstate
);
5138 if (PyErr_Occurred()) SWIG_fail
;
5140 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRegionIterator
, 1);
5147 static PyObject
*_wrap_delete_RegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5148 PyObject
*resultobj
;
5149 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5150 PyObject
* obj0
= 0 ;
5152 (char *) "self", NULL
5155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RegionIterator",kwnames
,&obj0
)) goto fail
;
5156 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5161 wxPyEndAllowThreads(__tstate
);
5162 if (PyErr_Occurred()) SWIG_fail
;
5164 Py_INCREF(Py_None
); resultobj
= Py_None
;
5171 static PyObject
*_wrap_RegionIterator_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5172 PyObject
*resultobj
;
5173 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5175 PyObject
* obj0
= 0 ;
5177 (char *) "self", NULL
5180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetX",kwnames
,&obj0
)) goto fail
;
5181 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5184 result
= (wxCoord
)(arg1
)->GetX();
5186 wxPyEndAllowThreads(__tstate
);
5187 if (PyErr_Occurred()) SWIG_fail
;
5189 resultobj
= PyInt_FromLong((long)result
);
5196 static PyObject
*_wrap_RegionIterator_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5197 PyObject
*resultobj
;
5198 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5200 PyObject
* obj0
= 0 ;
5202 (char *) "self", NULL
5205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetY",kwnames
,&obj0
)) goto fail
;
5206 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5209 result
= (wxCoord
)(arg1
)->GetY();
5211 wxPyEndAllowThreads(__tstate
);
5212 if (PyErr_Occurred()) SWIG_fail
;
5214 resultobj
= PyInt_FromLong((long)result
);
5221 static PyObject
*_wrap_RegionIterator_GetW(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5222 PyObject
*resultobj
;
5223 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5225 PyObject
* obj0
= 0 ;
5227 (char *) "self", NULL
5230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetW",kwnames
,&obj0
)) goto fail
;
5231 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5234 result
= (wxCoord
)(arg1
)->GetW();
5236 wxPyEndAllowThreads(__tstate
);
5237 if (PyErr_Occurred()) SWIG_fail
;
5239 resultobj
= PyInt_FromLong((long)result
);
5246 static PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5247 PyObject
*resultobj
;
5248 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5250 PyObject
* obj0
= 0 ;
5252 (char *) "self", NULL
5255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetWidth",kwnames
,&obj0
)) goto fail
;
5256 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5259 result
= (wxCoord
)(arg1
)->GetWidth();
5261 wxPyEndAllowThreads(__tstate
);
5262 if (PyErr_Occurred()) SWIG_fail
;
5264 resultobj
= PyInt_FromLong((long)result
);
5271 static PyObject
*_wrap_RegionIterator_GetH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5272 PyObject
*resultobj
;
5273 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5275 PyObject
* obj0
= 0 ;
5277 (char *) "self", NULL
5280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetH",kwnames
,&obj0
)) goto fail
;
5281 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5284 result
= (wxCoord
)(arg1
)->GetH();
5286 wxPyEndAllowThreads(__tstate
);
5287 if (PyErr_Occurred()) SWIG_fail
;
5289 resultobj
= PyInt_FromLong((long)result
);
5296 static PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5297 PyObject
*resultobj
;
5298 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5300 PyObject
* obj0
= 0 ;
5302 (char *) "self", NULL
5305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetHeight",kwnames
,&obj0
)) goto fail
;
5306 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5309 result
= (wxCoord
)(arg1
)->GetHeight();
5311 wxPyEndAllowThreads(__tstate
);
5312 if (PyErr_Occurred()) SWIG_fail
;
5314 resultobj
= PyInt_FromLong((long)result
);
5321 static PyObject
*_wrap_RegionIterator_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5322 PyObject
*resultobj
;
5323 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5325 PyObject
* obj0
= 0 ;
5327 (char *) "self", NULL
5330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetRect",kwnames
,&obj0
)) goto fail
;
5331 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5334 result
= (arg1
)->GetRect();
5336 wxPyEndAllowThreads(__tstate
);
5337 if (PyErr_Occurred()) SWIG_fail
;
5341 resultptr
= new wxRect((wxRect
&) result
);
5342 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
5350 static PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5351 PyObject
*resultobj
;
5352 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5354 PyObject
* obj0
= 0 ;
5356 (char *) "self", NULL
5359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_HaveRects",kwnames
,&obj0
)) goto fail
;
5360 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5363 result
= (bool)(arg1
)->HaveRects();
5365 wxPyEndAllowThreads(__tstate
);
5366 if (PyErr_Occurred()) SWIG_fail
;
5368 resultobj
= PyInt_FromLong((long)result
);
5375 static PyObject
*_wrap_RegionIterator_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5376 PyObject
*resultobj
;
5377 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5378 PyObject
* obj0
= 0 ;
5380 (char *) "self", NULL
5383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Reset",kwnames
,&obj0
)) goto fail
;
5384 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5389 wxPyEndAllowThreads(__tstate
);
5390 if (PyErr_Occurred()) SWIG_fail
;
5392 Py_INCREF(Py_None
); resultobj
= Py_None
;
5399 static PyObject
*_wrap_RegionIterator_Next(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5400 PyObject
*resultobj
;
5401 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5402 PyObject
* obj0
= 0 ;
5404 (char *) "self", NULL
5407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Next",kwnames
,&obj0
)) goto fail
;
5408 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5411 wxRegionIterator_Next(arg1
);
5413 wxPyEndAllowThreads(__tstate
);
5414 if (PyErr_Occurred()) SWIG_fail
;
5416 Py_INCREF(Py_None
); resultobj
= Py_None
;
5423 static PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5424 PyObject
*resultobj
;
5425 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5427 PyObject
* obj0
= 0 ;
5429 (char *) "self", NULL
5432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator___nonzero__",kwnames
,&obj0
)) goto fail
;
5433 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5436 result
= (bool)wxRegionIterator___nonzero__(arg1
);
5438 wxPyEndAllowThreads(__tstate
);
5439 if (PyErr_Occurred()) SWIG_fail
;
5441 resultobj
= PyInt_FromLong((long)result
);
5448 static PyObject
* RegionIterator_swigregister(PyObject
*self
, PyObject
*args
) {
5450 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5451 SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator
, obj
);
5453 return Py_BuildValue((char *)"");
5455 static PyObject
*_wrap_new_NativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5456 PyObject
*resultobj
;
5457 wxNativeFontInfo
*result
;
5462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeFontInfo",kwnames
)) goto fail
;
5464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5465 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
5467 wxPyEndAllowThreads(__tstate
);
5468 if (PyErr_Occurred()) SWIG_fail
;
5470 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNativeFontInfo
, 1);
5477 static PyObject
*_wrap_delete_NativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5478 PyObject
*resultobj
;
5479 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5480 PyObject
* obj0
= 0 ;
5482 (char *) "self", NULL
5485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeFontInfo",kwnames
,&obj0
)) goto fail
;
5486 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5491 wxPyEndAllowThreads(__tstate
);
5492 if (PyErr_Occurred()) SWIG_fail
;
5494 Py_INCREF(Py_None
); resultobj
= Py_None
;
5501 static PyObject
*_wrap_NativeFontInfo_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5502 PyObject
*resultobj
;
5503 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5504 PyObject
* obj0
= 0 ;
5506 (char *) "self", NULL
5509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_Init",kwnames
,&obj0
)) goto fail
;
5510 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5515 wxPyEndAllowThreads(__tstate
);
5516 if (PyErr_Occurred()) SWIG_fail
;
5518 Py_INCREF(Py_None
); resultobj
= Py_None
;
5525 static PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5526 PyObject
*resultobj
;
5527 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5529 PyObject
* obj0
= 0 ;
5530 PyObject
* obj1
= 0 ;
5532 (char *) "self",(char *) "font", NULL
5535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) goto fail
;
5536 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5537 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5539 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5543 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
5545 wxPyEndAllowThreads(__tstate
);
5546 if (PyErr_Occurred()) SWIG_fail
;
5548 Py_INCREF(Py_None
); resultobj
= Py_None
;
5555 static PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5556 PyObject
*resultobj
;
5557 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5559 PyObject
* obj0
= 0 ;
5561 (char *) "self", NULL
5564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPointSize",kwnames
,&obj0
)) goto fail
;
5565 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5568 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
5570 wxPyEndAllowThreads(__tstate
);
5571 if (PyErr_Occurred()) SWIG_fail
;
5573 resultobj
= PyInt_FromLong((long)result
);
5580 static PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5581 PyObject
*resultobj
;
5582 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5584 PyObject
* obj0
= 0 ;
5586 (char *) "self", NULL
5589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetStyle",kwnames
,&obj0
)) goto fail
;
5590 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5593 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetStyle();
5595 wxPyEndAllowThreads(__tstate
);
5596 if (PyErr_Occurred()) SWIG_fail
;
5598 resultobj
= PyInt_FromLong((long)result
);
5605 static PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5606 PyObject
*resultobj
;
5607 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5609 PyObject
* obj0
= 0 ;
5611 (char *) "self", NULL
5614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetWeight",kwnames
,&obj0
)) goto fail
;
5615 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5618 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetWeight();
5620 wxPyEndAllowThreads(__tstate
);
5621 if (PyErr_Occurred()) SWIG_fail
;
5623 resultobj
= PyInt_FromLong((long)result
);
5630 static PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5631 PyObject
*resultobj
;
5632 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5634 PyObject
* obj0
= 0 ;
5636 (char *) "self", NULL
5639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetUnderlined",kwnames
,&obj0
)) goto fail
;
5640 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5643 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
5645 wxPyEndAllowThreads(__tstate
);
5646 if (PyErr_Occurred()) SWIG_fail
;
5648 resultobj
= PyInt_FromLong((long)result
);
5655 static PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5656 PyObject
*resultobj
;
5657 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5659 PyObject
* obj0
= 0 ;
5661 (char *) "self", NULL
5664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFaceName",kwnames
,&obj0
)) goto fail
;
5665 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5668 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
5670 wxPyEndAllowThreads(__tstate
);
5671 if (PyErr_Occurred()) SWIG_fail
;
5675 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5677 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5686 static PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5687 PyObject
*resultobj
;
5688 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5690 PyObject
* obj0
= 0 ;
5692 (char *) "self", NULL
5695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFamily",kwnames
,&obj0
)) goto fail
;
5696 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5699 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetFamily();
5701 wxPyEndAllowThreads(__tstate
);
5702 if (PyErr_Occurred()) SWIG_fail
;
5704 resultobj
= PyInt_FromLong((long)result
);
5711 static PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5712 PyObject
*resultobj
;
5713 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5715 PyObject
* obj0
= 0 ;
5717 (char *) "self", NULL
5720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetEncoding",kwnames
,&obj0
)) goto fail
;
5721 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5724 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
5726 wxPyEndAllowThreads(__tstate
);
5727 if (PyErr_Occurred()) SWIG_fail
;
5729 resultobj
= PyInt_FromLong((long)result
);
5736 static PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5737 PyObject
*resultobj
;
5738 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5740 PyObject
* obj0
= 0 ;
5742 (char *) "self",(char *) "pointsize", NULL
5745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&arg2
)) goto fail
;
5746 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5749 (arg1
)->SetPointSize(arg2
);
5751 wxPyEndAllowThreads(__tstate
);
5752 if (PyErr_Occurred()) SWIG_fail
;
5754 Py_INCREF(Py_None
); resultobj
= Py_None
;
5761 static PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5762 PyObject
*resultobj
;
5763 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5765 PyObject
* obj0
= 0 ;
5767 (char *) "self",(char *) "style", NULL
5770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:NativeFontInfo_SetStyle",kwnames
,&obj0
,&arg2
)) goto fail
;
5771 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5774 (arg1
)->SetStyle((wxFontStyle
)arg2
);
5776 wxPyEndAllowThreads(__tstate
);
5777 if (PyErr_Occurred()) SWIG_fail
;
5779 Py_INCREF(Py_None
); resultobj
= Py_None
;
5786 static PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5787 PyObject
*resultobj
;
5788 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5790 PyObject
* obj0
= 0 ;
5792 (char *) "self",(char *) "weight", NULL
5795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:NativeFontInfo_SetWeight",kwnames
,&obj0
,&arg2
)) goto fail
;
5796 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5799 (arg1
)->SetWeight((wxFontWeight
)arg2
);
5801 wxPyEndAllowThreads(__tstate
);
5802 if (PyErr_Occurred()) SWIG_fail
;
5804 Py_INCREF(Py_None
); resultobj
= Py_None
;
5811 static PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5812 PyObject
*resultobj
;
5813 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5815 PyObject
* obj0
= 0 ;
5816 PyObject
* obj1
= 0 ;
5818 (char *) "self",(char *) "underlined", NULL
5821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
5822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5823 arg2
= PyInt_AsLong(obj1
) ? true : false;
5824 if (PyErr_Occurred()) SWIG_fail
;
5826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5827 (arg1
)->SetUnderlined(arg2
);
5829 wxPyEndAllowThreads(__tstate
);
5830 if (PyErr_Occurred()) SWIG_fail
;
5832 Py_INCREF(Py_None
); resultobj
= Py_None
;
5839 static PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5840 PyObject
*resultobj
;
5841 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5844 PyObject
* obj0
= 0 ;
5845 PyObject
* obj1
= 0 ;
5847 (char *) "self",(char *) "facename", NULL
5850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
5851 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5852 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxString
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
5855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5856 (arg1
)->SetFaceName(arg2
);
5858 wxPyEndAllowThreads(__tstate
);
5859 if (PyErr_Occurred()) SWIG_fail
;
5861 Py_INCREF(Py_None
); resultobj
= Py_None
;
5868 static PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5869 PyObject
*resultobj
;
5870 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5872 PyObject
* obj0
= 0 ;
5874 (char *) "self",(char *) "family", NULL
5877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:NativeFontInfo_SetFamily",kwnames
,&obj0
,&arg2
)) goto fail
;
5878 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5881 (arg1
)->SetFamily((wxFontFamily
)arg2
);
5883 wxPyEndAllowThreads(__tstate
);
5884 if (PyErr_Occurred()) SWIG_fail
;
5886 Py_INCREF(Py_None
); resultobj
= Py_None
;
5893 static PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5894 PyObject
*resultobj
;
5895 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5897 PyObject
* obj0
= 0 ;
5899 (char *) "self",(char *) "encoding", NULL
5902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&arg2
)) goto fail
;
5903 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5906 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
5908 wxPyEndAllowThreads(__tstate
);
5909 if (PyErr_Occurred()) SWIG_fail
;
5911 Py_INCREF(Py_None
); resultobj
= Py_None
;
5918 static PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5919 PyObject
*resultobj
;
5920 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5921 wxString
*arg2
= 0 ;
5923 bool temp2
= false ;
5924 PyObject
* obj0
= 0 ;
5925 PyObject
* obj1
= 0 ;
5927 (char *) "self",(char *) "s", NULL
5930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
5931 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5933 arg2
= wxString_in_helper(obj1
);
5934 if (arg2
== NULL
) SWIG_fail
;
5938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5939 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
5941 wxPyEndAllowThreads(__tstate
);
5942 if (PyErr_Occurred()) SWIG_fail
;
5944 resultobj
= PyInt_FromLong((long)result
);
5959 static PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5960 PyObject
*resultobj
;
5961 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5963 PyObject
* obj0
= 0 ;
5965 (char *) "self", NULL
5968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToString",kwnames
,&obj0
)) goto fail
;
5969 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5972 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
5974 wxPyEndAllowThreads(__tstate
);
5975 if (PyErr_Occurred()) SWIG_fail
;
5979 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5981 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5990 static PyObject
*_wrap_NativeFontInfo___str__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5991 PyObject
*resultobj
;
5992 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5994 PyObject
* obj0
= 0 ;
5996 (char *) "self", NULL
5999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo___str__",kwnames
,&obj0
)) goto fail
;
6000 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6003 result
= wxNativeFontInfo___str__(arg1
);
6005 wxPyEndAllowThreads(__tstate
);
6006 if (PyErr_Occurred()) SWIG_fail
;
6010 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6012 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6021 static PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6022 PyObject
*resultobj
;
6023 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6024 wxString
*arg2
= 0 ;
6026 bool temp2
= false ;
6027 PyObject
* obj0
= 0 ;
6028 PyObject
* obj1
= 0 ;
6030 (char *) "self",(char *) "s", NULL
6033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) goto fail
;
6034 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6036 arg2
= wxString_in_helper(obj1
);
6037 if (arg2
== NULL
) SWIG_fail
;
6041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6042 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
6044 wxPyEndAllowThreads(__tstate
);
6045 if (PyErr_Occurred()) SWIG_fail
;
6047 resultobj
= PyInt_FromLong((long)result
);
6062 static PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6063 PyObject
*resultobj
;
6064 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6066 PyObject
* obj0
= 0 ;
6068 (char *) "self", NULL
6071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToUserString",kwnames
,&obj0
)) goto fail
;
6072 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6075 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
6077 wxPyEndAllowThreads(__tstate
);
6078 if (PyErr_Occurred()) SWIG_fail
;
6082 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6084 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6093 static PyObject
* NativeFontInfo_swigregister(PyObject
*self
, PyObject
*args
) {
6095 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6096 SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo
, obj
);
6098 return Py_BuildValue((char *)"");
6100 static PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6101 PyObject
*resultobj
;
6102 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6105 PyObject
* obj0
= 0 ;
6106 PyObject
* obj1
= 0 ;
6108 (char *) "self",(char *) "facename", NULL
6111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_facename_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6112 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6113 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxString
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
6115 if (arg1
) (arg1
)->facename
= arg2
;
6117 Py_INCREF(Py_None
); resultobj
= Py_None
;
6124 static PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6125 PyObject
*resultobj
;
6126 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6128 PyObject
* obj0
= 0 ;
6130 (char *) "self", NULL
6133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_facename_get",kwnames
,&obj0
)) goto fail
;
6134 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6135 result
= ((arg1
)->facename
);
6139 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6141 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6150 static PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6151 PyObject
*resultobj
;
6152 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6154 PyObject
* obj0
= 0 ;
6156 (char *) "self",(char *) "encoding", NULL
6159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:NativeEncodingInfo_encoding_set",kwnames
,&obj0
,&arg2
)) goto fail
;
6160 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6161 if (arg1
) (arg1
)->encoding
= (wxFontEncoding
)arg2
;
6163 Py_INCREF(Py_None
); resultobj
= Py_None
;
6170 static PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6171 PyObject
*resultobj
;
6172 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6174 PyObject
* obj0
= 0 ;
6176 (char *) "self", NULL
6179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_encoding_get",kwnames
,&obj0
)) goto fail
;
6180 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6181 result
= (int) ((arg1
)->encoding
);
6183 resultobj
= PyInt_FromLong((long)result
);
6190 static PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6191 PyObject
*resultobj
;
6192 wxNativeEncodingInfo
*result
;
6197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeEncodingInfo",kwnames
)) goto fail
;
6199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6200 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
6202 wxPyEndAllowThreads(__tstate
);
6203 if (PyErr_Occurred()) SWIG_fail
;
6205 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNativeEncodingInfo
, 1);
6212 static PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6213 PyObject
*resultobj
;
6214 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6215 PyObject
* obj0
= 0 ;
6217 (char *) "self", NULL
6220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeEncodingInfo",kwnames
,&obj0
)) goto fail
;
6221 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6226 wxPyEndAllowThreads(__tstate
);
6227 if (PyErr_Occurred()) SWIG_fail
;
6229 Py_INCREF(Py_None
); resultobj
= Py_None
;
6236 static PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6237 PyObject
*resultobj
;
6238 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6239 wxString
*arg2
= 0 ;
6241 bool temp2
= false ;
6242 PyObject
* obj0
= 0 ;
6243 PyObject
* obj1
= 0 ;
6245 (char *) "self",(char *) "s", NULL
6248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
6249 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6251 arg2
= wxString_in_helper(obj1
);
6252 if (arg2
== NULL
) SWIG_fail
;
6256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6257 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
6259 wxPyEndAllowThreads(__tstate
);
6260 if (PyErr_Occurred()) SWIG_fail
;
6262 resultobj
= PyInt_FromLong((long)result
);
6277 static PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6278 PyObject
*resultobj
;
6279 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6281 PyObject
* obj0
= 0 ;
6283 (char *) "self", NULL
6286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_ToString",kwnames
,&obj0
)) goto fail
;
6287 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6290 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
6292 wxPyEndAllowThreads(__tstate
);
6293 if (PyErr_Occurred()) SWIG_fail
;
6297 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6299 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6308 static PyObject
* NativeEncodingInfo_swigregister(PyObject
*self
, PyObject
*args
) {
6310 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6311 SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo
, obj
);
6313 return Py_BuildValue((char *)"");
6315 static PyObject
*_wrap_GetNativeFontEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6316 PyObject
*resultobj
;
6318 wxNativeEncodingInfo
*result
;
6320 (char *) "encoding", NULL
6323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:GetNativeFontEncoding",kwnames
,&arg1
)) goto fail
;
6325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6326 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding((wxFontEncoding
)arg1
);
6328 wxPyEndAllowThreads(__tstate
);
6329 if (PyErr_Occurred()) SWIG_fail
;
6331 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNativeEncodingInfo
, 0);
6338 static PyObject
*_wrap_TestFontEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6339 PyObject
*resultobj
;
6340 wxNativeEncodingInfo
*arg1
= 0 ;
6342 PyObject
* obj0
= 0 ;
6344 (char *) "info", NULL
6347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) goto fail
;
6348 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6350 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6354 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
6356 wxPyEndAllowThreads(__tstate
);
6357 if (PyErr_Occurred()) SWIG_fail
;
6359 resultobj
= PyInt_FromLong((long)result
);
6366 static PyObject
*_wrap_new_FontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6367 PyObject
*resultobj
;
6368 wxFontMapper
*result
;
6373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontMapper",kwnames
)) goto fail
;
6375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6376 result
= (wxFontMapper
*)new wxFontMapper();
6378 wxPyEndAllowThreads(__tstate
);
6379 if (PyErr_Occurred()) SWIG_fail
;
6381 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontMapper
, 1);
6388 static PyObject
*_wrap_delete_FontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6389 PyObject
*resultobj
;
6390 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6391 PyObject
* obj0
= 0 ;
6393 (char *) "self", NULL
6396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontMapper",kwnames
,&obj0
)) goto fail
;
6397 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6402 wxPyEndAllowThreads(__tstate
);
6403 if (PyErr_Occurred()) SWIG_fail
;
6405 Py_INCREF(Py_None
); resultobj
= Py_None
;
6412 static PyObject
*_wrap_FontMapper_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6413 PyObject
*resultobj
;
6414 wxFontMapper
*result
;
6419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_Get",kwnames
)) goto fail
;
6421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6422 result
= (wxFontMapper
*)wxFontMapper::Get();
6424 wxPyEndAllowThreads(__tstate
);
6425 if (PyErr_Occurred()) SWIG_fail
;
6427 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontMapper
, 0);
6434 static PyObject
*_wrap_FontMapper_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6435 PyObject
*resultobj
;
6436 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6437 wxFontMapper
*result
;
6438 PyObject
* obj0
= 0 ;
6440 (char *) "mapper", NULL
6443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) goto fail
;
6444 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6447 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
6449 wxPyEndAllowThreads(__tstate
);
6450 if (PyErr_Occurred()) SWIG_fail
;
6452 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontMapper
, 0);
6459 static PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6460 PyObject
*resultobj
;
6461 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6462 wxString
*arg2
= 0 ;
6463 bool arg3
= (bool) true ;
6465 bool temp2
= false ;
6466 PyObject
* obj0
= 0 ;
6467 PyObject
* obj1
= 0 ;
6468 PyObject
* obj2
= 0 ;
6470 (char *) "self",(char *) "charset",(char *) "interactive", NULL
6473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6474 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6476 arg2
= wxString_in_helper(obj1
);
6477 if (arg2
== NULL
) SWIG_fail
;
6481 arg3
= PyInt_AsLong(obj2
) ? true : false;
6482 if (PyErr_Occurred()) SWIG_fail
;
6485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6486 result
= (int)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
6488 wxPyEndAllowThreads(__tstate
);
6489 if (PyErr_Occurred()) SWIG_fail
;
6491 resultobj
= PyInt_FromLong((long)result
);
6506 static PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6507 PyObject
*resultobj
;
6513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames
)) goto fail
;
6515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6516 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
6518 wxPyEndAllowThreads(__tstate
);
6519 if (PyErr_Occurred()) SWIG_fail
;
6521 resultobj
= PyInt_FromLong((long)result
);
6528 static PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6529 PyObject
*resultobj
;
6532 PyObject
* obj0
= 0 ;
6537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) goto fail
;
6538 arg1
= (size_t) PyInt_AsLong(obj0
);
6539 if (PyErr_Occurred()) SWIG_fail
;
6541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6542 result
= (int)wxFontMapper::GetEncoding(arg1
);
6544 wxPyEndAllowThreads(__tstate
);
6545 if (PyErr_Occurred()) SWIG_fail
;
6547 resultobj
= PyInt_FromLong((long)result
);
6554 static PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6555 PyObject
*resultobj
;
6559 (char *) "encoding", NULL
6562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:FontMapper_GetEncodingName",kwnames
,&arg1
)) goto fail
;
6564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6565 result
= wxFontMapper::GetEncodingName((wxFontEncoding
)arg1
);
6567 wxPyEndAllowThreads(__tstate
);
6568 if (PyErr_Occurred()) SWIG_fail
;
6572 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6574 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6583 static PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6584 PyObject
*resultobj
;
6588 (char *) "encoding", NULL
6591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:FontMapper_GetEncodingDescription",kwnames
,&arg1
)) goto fail
;
6593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6594 result
= wxFontMapper::GetEncodingDescription((wxFontEncoding
)arg1
);
6596 wxPyEndAllowThreads(__tstate
);
6597 if (PyErr_Occurred()) SWIG_fail
;
6601 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6603 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6612 static PyObject
*_wrap_FontMapper_SetConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6613 PyObject
*resultobj
;
6614 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6615 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
6616 PyObject
* obj0
= 0 ;
6617 PyObject
* obj1
= 0 ;
6619 (char *) "self",(char *) "config", NULL
6622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfig",kwnames
,&obj0
,&obj1
)) goto fail
;
6623 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6624 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6627 (arg1
)->SetConfig(arg2
);
6629 wxPyEndAllowThreads(__tstate
);
6630 if (PyErr_Occurred()) SWIG_fail
;
6632 Py_INCREF(Py_None
); resultobj
= Py_None
;
6639 static PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6640 PyObject
*resultobj
;
6641 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6642 wxString
*arg2
= 0 ;
6643 bool temp2
= false ;
6644 PyObject
* obj0
= 0 ;
6645 PyObject
* obj1
= 0 ;
6647 (char *) "self",(char *) "prefix", NULL
6650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) goto fail
;
6651 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6653 arg2
= wxString_in_helper(obj1
);
6654 if (arg2
== NULL
) SWIG_fail
;
6658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6659 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
6661 wxPyEndAllowThreads(__tstate
);
6662 if (PyErr_Occurred()) SWIG_fail
;
6664 Py_INCREF(Py_None
); resultobj
= Py_None
;
6679 static PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6680 PyObject
*resultobj
;
6686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetDefaultConfigPath",kwnames
)) goto fail
;
6688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6689 result
= wxFontMapper::GetDefaultConfigPath();
6691 wxPyEndAllowThreads(__tstate
);
6692 if (PyErr_Occurred()) SWIG_fail
;
6696 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6698 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6707 static PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6708 PyObject
*resultobj
;
6709 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6711 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6712 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6713 bool arg4
= (bool) TRUE
;
6715 bool temp3
= false ;
6716 PyObject
* obj0
= 0 ;
6717 PyObject
* obj2
= 0 ;
6718 PyObject
* obj3
= 0 ;
6720 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
6723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
6724 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6727 arg3
= wxString_in_helper(obj2
);
6728 if (arg3
== NULL
) SWIG_fail
;
6733 arg4
= PyInt_AsLong(obj3
) ? true : false;
6734 if (PyErr_Occurred()) SWIG_fail
;
6737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6738 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,(wxFontEncoding
)arg2
,(wxString
const &)*arg3
,arg4
);
6740 wxPyEndAllowThreads(__tstate
);
6741 if (PyErr_Occurred()) SWIG_fail
;
6758 static PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6759 PyObject
*resultobj
;
6760 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6762 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6763 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6765 bool temp3
= false ;
6766 PyObject
* obj0
= 0 ;
6767 PyObject
* obj2
= 0 ;
6769 (char *) "self",(char *) "encoding",(char *) "facename", NULL
6772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
6773 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6776 arg3
= wxString_in_helper(obj2
);
6777 if (arg3
== NULL
) SWIG_fail
;
6782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6783 result
= (bool)(arg1
)->IsEncodingAvailable((wxFontEncoding
)arg2
,(wxString
const &)*arg3
);
6785 wxPyEndAllowThreads(__tstate
);
6786 if (PyErr_Occurred()) SWIG_fail
;
6788 resultobj
= PyInt_FromLong((long)result
);
6803 static PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6804 PyObject
*resultobj
;
6805 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6806 wxWindow
*arg2
= (wxWindow
*) 0 ;
6807 PyObject
* obj0
= 0 ;
6808 PyObject
* obj1
= 0 ;
6810 (char *) "self",(char *) "parent", NULL
6813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) goto fail
;
6814 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6815 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6818 (arg1
)->SetDialogParent(arg2
);
6820 wxPyEndAllowThreads(__tstate
);
6821 if (PyErr_Occurred()) SWIG_fail
;
6823 Py_INCREF(Py_None
); resultobj
= Py_None
;
6830 static PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6831 PyObject
*resultobj
;
6832 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6833 wxString
*arg2
= 0 ;
6834 bool temp2
= false ;
6835 PyObject
* obj0
= 0 ;
6836 PyObject
* obj1
= 0 ;
6838 (char *) "self",(char *) "title", NULL
6841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
6842 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6844 arg2
= wxString_in_helper(obj1
);
6845 if (arg2
== NULL
) SWIG_fail
;
6849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6850 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
6852 wxPyEndAllowThreads(__tstate
);
6853 if (PyErr_Occurred()) SWIG_fail
;
6855 Py_INCREF(Py_None
); resultobj
= Py_None
;
6870 static PyObject
* FontMapper_swigregister(PyObject
*self
, PyObject
*args
) {
6872 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6873 SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper
, obj
);
6875 return Py_BuildValue((char *)"");
6877 static PyObject
*_wrap_new_Font(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6878 PyObject
*resultobj
;
6883 bool arg5
= (bool) FALSE
;
6884 wxString
const &arg6_defvalue
= wxPyEmptyString
;
6885 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6886 int arg7
= (int) wxFONTENCODING_DEFAULT
;
6888 bool temp6
= false ;
6889 PyObject
* obj4
= 0 ;
6890 PyObject
* obj5
= 0 ;
6892 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
6895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iiii|OOi:new_Font",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
,&obj4
,&obj5
,&arg7
)) goto fail
;
6897 arg5
= PyInt_AsLong(obj4
) ? true : false;
6898 if (PyErr_Occurred()) SWIG_fail
;
6902 arg6
= wxString_in_helper(obj5
);
6903 if (arg6
== NULL
) SWIG_fail
;
6908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6909 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
6911 wxPyEndAllowThreads(__tstate
);
6912 if (PyErr_Occurred()) SWIG_fail
;
6914 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 1);
6929 static PyObject
*_wrap_delete_Font(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6930 PyObject
*resultobj
;
6931 wxFont
*arg1
= (wxFont
*) 0 ;
6932 PyObject
* obj0
= 0 ;
6934 (char *) "self", NULL
6937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Font",kwnames
,&obj0
)) goto fail
;
6938 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6943 wxPyEndAllowThreads(__tstate
);
6944 if (PyErr_Occurred()) SWIG_fail
;
6946 Py_INCREF(Py_None
); resultobj
= Py_None
;
6953 static PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6954 PyObject
*resultobj
;
6955 wxNativeFontInfo
*arg1
= 0 ;
6957 PyObject
* obj0
= 0 ;
6959 (char *) "info", NULL
6962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) goto fail
;
6963 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6965 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6969 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
6971 wxPyEndAllowThreads(__tstate
);
6972 if (PyErr_Occurred()) SWIG_fail
;
6974 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 1);
6981 static PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6982 PyObject
*resultobj
;
6983 wxString
*arg1
= 0 ;
6985 bool temp1
= false ;
6986 PyObject
* obj0
= 0 ;
6988 (char *) "info", NULL
6991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) goto fail
;
6993 arg1
= wxString_in_helper(obj0
);
6994 if (arg1
== NULL
) SWIG_fail
;
6998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6999 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
7001 wxPyEndAllowThreads(__tstate
);
7002 if (PyErr_Occurred()) SWIG_fail
;
7004 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 1);
7019 static PyObject
*_wrap_new_Font2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7020 PyObject
*resultobj
;
7023 int arg3
= (int) wxFONTFLAG_DEFAULT
;
7024 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7025 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7026 int arg5
= (int) wxFONTENCODING_DEFAULT
;
7028 bool temp4
= false ;
7029 PyObject
* obj3
= 0 ;
7031 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
7034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"ii|iOi:new_Font2",kwnames
,&arg1
,&arg2
,&arg3
,&obj3
,&arg5
)) goto fail
;
7037 arg4
= wxString_in_helper(obj3
);
7038 if (arg4
== NULL
) SWIG_fail
;
7043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7044 result
= (wxFont
*)new_wxFont(arg1
,(wxFontFamily
)arg2
,arg3
,(wxString
const &)*arg4
,(wxFontEncoding
)arg5
);
7046 wxPyEndAllowThreads(__tstate
);
7047 if (PyErr_Occurred()) SWIG_fail
;
7049 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 1);
7064 static PyObject
*_wrap_Font_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7065 PyObject
*resultobj
;
7066 wxFont
*arg1
= (wxFont
*) 0 ;
7068 PyObject
* obj0
= 0 ;
7070 (char *) "self", NULL
7073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_Ok",kwnames
,&obj0
)) goto fail
;
7074 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7077 result
= (bool)((wxFont
const *)arg1
)->Ok();
7079 wxPyEndAllowThreads(__tstate
);
7080 if (PyErr_Occurred()) SWIG_fail
;
7082 resultobj
= PyInt_FromLong((long)result
);
7089 static PyObject
*_wrap_Font___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7090 PyObject
*resultobj
;
7091 wxFont
*arg1
= (wxFont
*) 0 ;
7094 PyObject
* obj0
= 0 ;
7095 PyObject
* obj1
= 0 ;
7097 (char *) "self",(char *) "font", NULL
7100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7101 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7102 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7104 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7108 result
= (bool)((wxFont
const *)arg1
)->operator ==((wxFont
const &)*arg2
);
7110 wxPyEndAllowThreads(__tstate
);
7111 if (PyErr_Occurred()) SWIG_fail
;
7113 resultobj
= PyInt_FromLong((long)result
);
7120 static PyObject
*_wrap_Font___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7121 PyObject
*resultobj
;
7122 wxFont
*arg1
= (wxFont
*) 0 ;
7125 PyObject
* obj0
= 0 ;
7126 PyObject
* obj1
= 0 ;
7128 (char *) "self",(char *) "font", NULL
7131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7132 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7133 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7135 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7139 result
= (bool)((wxFont
const *)arg1
)->operator !=((wxFont
const &)*arg2
);
7141 wxPyEndAllowThreads(__tstate
);
7142 if (PyErr_Occurred()) SWIG_fail
;
7144 resultobj
= PyInt_FromLong((long)result
);
7151 static PyObject
*_wrap_Font_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7152 PyObject
*resultobj
;
7153 wxFont
*arg1
= (wxFont
*) 0 ;
7155 PyObject
* obj0
= 0 ;
7157 (char *) "self", NULL
7160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPointSize",kwnames
,&obj0
)) goto fail
;
7161 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7164 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
7166 wxPyEndAllowThreads(__tstate
);
7167 if (PyErr_Occurred()) SWIG_fail
;
7169 resultobj
= PyInt_FromLong((long)result
);
7176 static PyObject
*_wrap_Font_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7177 PyObject
*resultobj
;
7178 wxFont
*arg1
= (wxFont
*) 0 ;
7180 PyObject
* obj0
= 0 ;
7182 (char *) "self", NULL
7185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamily",kwnames
,&obj0
)) goto fail
;
7186 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7189 result
= (int)((wxFont
const *)arg1
)->GetFamily();
7191 wxPyEndAllowThreads(__tstate
);
7192 if (PyErr_Occurred()) SWIG_fail
;
7194 resultobj
= PyInt_FromLong((long)result
);
7201 static PyObject
*_wrap_Font_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7202 PyObject
*resultobj
;
7203 wxFont
*arg1
= (wxFont
*) 0 ;
7205 PyObject
* obj0
= 0 ;
7207 (char *) "self", NULL
7210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyle",kwnames
,&obj0
)) goto fail
;
7211 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7214 result
= (int)((wxFont
const *)arg1
)->GetStyle();
7216 wxPyEndAllowThreads(__tstate
);
7217 if (PyErr_Occurred()) SWIG_fail
;
7219 resultobj
= PyInt_FromLong((long)result
);
7226 static PyObject
*_wrap_Font_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7227 PyObject
*resultobj
;
7228 wxFont
*arg1
= (wxFont
*) 0 ;
7230 PyObject
* obj0
= 0 ;
7232 (char *) "self", NULL
7235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeight",kwnames
,&obj0
)) goto fail
;
7236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7239 result
= (int)((wxFont
const *)arg1
)->GetWeight();
7241 wxPyEndAllowThreads(__tstate
);
7242 if (PyErr_Occurred()) SWIG_fail
;
7244 resultobj
= PyInt_FromLong((long)result
);
7251 static PyObject
*_wrap_Font_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7252 PyObject
*resultobj
;
7253 wxFont
*arg1
= (wxFont
*) 0 ;
7255 PyObject
* obj0
= 0 ;
7257 (char *) "self", NULL
7260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetUnderlined",kwnames
,&obj0
)) goto fail
;
7261 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7264 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
7266 wxPyEndAllowThreads(__tstate
);
7267 if (PyErr_Occurred()) SWIG_fail
;
7269 resultobj
= PyInt_FromLong((long)result
);
7276 static PyObject
*_wrap_Font_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7277 PyObject
*resultobj
;
7278 wxFont
*arg1
= (wxFont
*) 0 ;
7280 PyObject
* obj0
= 0 ;
7282 (char *) "self", NULL
7285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFaceName",kwnames
,&obj0
)) goto fail
;
7286 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7289 result
= ((wxFont
const *)arg1
)->GetFaceName();
7291 wxPyEndAllowThreads(__tstate
);
7292 if (PyErr_Occurred()) SWIG_fail
;
7296 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7298 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7307 static PyObject
*_wrap_Font_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7308 PyObject
*resultobj
;
7309 wxFont
*arg1
= (wxFont
*) 0 ;
7311 PyObject
* obj0
= 0 ;
7313 (char *) "self", NULL
7316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetEncoding",kwnames
,&obj0
)) goto fail
;
7317 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7320 result
= (int)((wxFont
const *)arg1
)->GetEncoding();
7322 wxPyEndAllowThreads(__tstate
);
7323 if (PyErr_Occurred()) SWIG_fail
;
7325 resultobj
= PyInt_FromLong((long)result
);
7332 static PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7333 PyObject
*resultobj
;
7334 wxFont
*arg1
= (wxFont
*) 0 ;
7335 wxNativeFontInfo
*result
;
7336 PyObject
* obj0
= 0 ;
7338 (char *) "self", NULL
7341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfo",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
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
7347 wxPyEndAllowThreads(__tstate
);
7348 if (PyErr_Occurred()) SWIG_fail
;
7350 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNativeFontInfo
, 0);
7357 static PyObject
*_wrap_Font_IsFixedWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7358 PyObject
*resultobj
;
7359 wxFont
*arg1
= (wxFont
*) 0 ;
7361 PyObject
* obj0
= 0 ;
7363 (char *) "self", NULL
7366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsFixedWidth",kwnames
,&obj0
)) goto fail
;
7367 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7370 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
7372 wxPyEndAllowThreads(__tstate
);
7373 if (PyErr_Occurred()) SWIG_fail
;
7375 resultobj
= PyInt_FromLong((long)result
);
7382 static PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7383 PyObject
*resultobj
;
7384 wxFont
*arg1
= (wxFont
*) 0 ;
7386 PyObject
* obj0
= 0 ;
7388 (char *) "self", NULL
7391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoDesc",kwnames
,&obj0
)) goto fail
;
7392 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7395 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
7397 wxPyEndAllowThreads(__tstate
);
7398 if (PyErr_Occurred()) SWIG_fail
;
7402 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7404 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7413 static PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7414 PyObject
*resultobj
;
7415 wxFont
*arg1
= (wxFont
*) 0 ;
7417 PyObject
* obj0
= 0 ;
7419 (char *) "self", NULL
7422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames
,&obj0
)) goto fail
;
7423 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7426 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
7428 wxPyEndAllowThreads(__tstate
);
7429 if (PyErr_Occurred()) SWIG_fail
;
7433 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7435 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7444 static PyObject
*_wrap_Font_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7445 PyObject
*resultobj
;
7446 wxFont
*arg1
= (wxFont
*) 0 ;
7448 PyObject
* obj0
= 0 ;
7450 (char *) "self",(char *) "pointSize", NULL
7453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Font_SetPointSize",kwnames
,&obj0
,&arg2
)) goto fail
;
7454 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7457 (arg1
)->SetPointSize(arg2
);
7459 wxPyEndAllowThreads(__tstate
);
7460 if (PyErr_Occurred()) SWIG_fail
;
7462 Py_INCREF(Py_None
); resultobj
= Py_None
;
7469 static PyObject
*_wrap_Font_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7470 PyObject
*resultobj
;
7471 wxFont
*arg1
= (wxFont
*) 0 ;
7473 PyObject
* obj0
= 0 ;
7475 (char *) "self",(char *) "family", NULL
7478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Font_SetFamily",kwnames
,&obj0
,&arg2
)) goto fail
;
7479 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7482 (arg1
)->SetFamily(arg2
);
7484 wxPyEndAllowThreads(__tstate
);
7485 if (PyErr_Occurred()) SWIG_fail
;
7487 Py_INCREF(Py_None
); resultobj
= Py_None
;
7494 static PyObject
*_wrap_Font_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7495 PyObject
*resultobj
;
7496 wxFont
*arg1
= (wxFont
*) 0 ;
7498 PyObject
* obj0
= 0 ;
7500 (char *) "self",(char *) "style", NULL
7503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Font_SetStyle",kwnames
,&obj0
,&arg2
)) goto fail
;
7504 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7507 (arg1
)->SetStyle(arg2
);
7509 wxPyEndAllowThreads(__tstate
);
7510 if (PyErr_Occurred()) SWIG_fail
;
7512 Py_INCREF(Py_None
); resultobj
= Py_None
;
7519 static PyObject
*_wrap_Font_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7520 PyObject
*resultobj
;
7521 wxFont
*arg1
= (wxFont
*) 0 ;
7523 PyObject
* obj0
= 0 ;
7525 (char *) "self",(char *) "weight", NULL
7528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Font_SetWeight",kwnames
,&obj0
,&arg2
)) goto fail
;
7529 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7532 (arg1
)->SetWeight(arg2
);
7534 wxPyEndAllowThreads(__tstate
);
7535 if (PyErr_Occurred()) SWIG_fail
;
7537 Py_INCREF(Py_None
); resultobj
= Py_None
;
7544 static PyObject
*_wrap_Font_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7545 PyObject
*resultobj
;
7546 wxFont
*arg1
= (wxFont
*) 0 ;
7547 wxString
*arg2
= 0 ;
7548 bool temp2
= false ;
7549 PyObject
* obj0
= 0 ;
7550 PyObject
* obj1
= 0 ;
7552 (char *) "self",(char *) "faceName", NULL
7555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
7556 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7558 arg2
= wxString_in_helper(obj1
);
7559 if (arg2
== NULL
) SWIG_fail
;
7563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7564 (arg1
)->SetFaceName((wxString
const &)*arg2
);
7566 wxPyEndAllowThreads(__tstate
);
7567 if (PyErr_Occurred()) SWIG_fail
;
7569 Py_INCREF(Py_None
); resultobj
= Py_None
;
7584 static PyObject
*_wrap_Font_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7585 PyObject
*resultobj
;
7586 wxFont
*arg1
= (wxFont
*) 0 ;
7588 PyObject
* obj0
= 0 ;
7589 PyObject
* obj1
= 0 ;
7591 (char *) "self",(char *) "underlined", NULL
7594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
7595 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7596 arg2
= PyInt_AsLong(obj1
) ? true : false;
7597 if (PyErr_Occurred()) SWIG_fail
;
7599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7600 (arg1
)->SetUnderlined(arg2
);
7602 wxPyEndAllowThreads(__tstate
);
7603 if (PyErr_Occurred()) SWIG_fail
;
7605 Py_INCREF(Py_None
); resultobj
= Py_None
;
7612 static PyObject
*_wrap_Font_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7613 PyObject
*resultobj
;
7614 wxFont
*arg1
= (wxFont
*) 0 ;
7616 PyObject
* obj0
= 0 ;
7618 (char *) "self",(char *) "encoding", NULL
7621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Font_SetEncoding",kwnames
,&obj0
,&arg2
)) goto fail
;
7622 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7625 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
7627 wxPyEndAllowThreads(__tstate
);
7628 if (PyErr_Occurred()) SWIG_fail
;
7630 Py_INCREF(Py_None
); resultobj
= Py_None
;
7637 static PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7638 PyObject
*resultobj
;
7639 wxFont
*arg1
= (wxFont
*) 0 ;
7640 wxNativeFontInfo
*arg2
= 0 ;
7641 PyObject
* obj0
= 0 ;
7642 PyObject
* obj1
= 0 ;
7644 (char *) "self",(char *) "info", NULL
7647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
7648 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7649 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7651 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7655 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
7657 wxPyEndAllowThreads(__tstate
);
7658 if (PyErr_Occurred()) SWIG_fail
;
7660 Py_INCREF(Py_None
); resultobj
= Py_None
;
7667 static PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7668 PyObject
*resultobj
;
7669 wxFont
*arg1
= (wxFont
*) 0 ;
7670 wxString
*arg2
= 0 ;
7671 bool temp2
= false ;
7672 PyObject
* obj0
= 0 ;
7673 PyObject
* obj1
= 0 ;
7675 (char *) "self",(char *) "info", NULL
7678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) goto fail
;
7679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7681 arg2
= wxString_in_helper(obj1
);
7682 if (arg2
== NULL
) SWIG_fail
;
7686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7687 (arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
7689 wxPyEndAllowThreads(__tstate
);
7690 if (PyErr_Occurred()) SWIG_fail
;
7692 Py_INCREF(Py_None
); resultobj
= Py_None
;
7707 static PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7708 PyObject
*resultobj
;
7709 wxFont
*arg1
= (wxFont
*) 0 ;
7710 wxString
*arg2
= 0 ;
7711 bool temp2
= false ;
7712 PyObject
* obj0
= 0 ;
7713 PyObject
* obj1
= 0 ;
7715 (char *) "self",(char *) "info", NULL
7718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
7719 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7721 arg2
= wxString_in_helper(obj1
);
7722 if (arg2
== NULL
) SWIG_fail
;
7726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7727 (arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
7729 wxPyEndAllowThreads(__tstate
);
7730 if (PyErr_Occurred()) SWIG_fail
;
7732 Py_INCREF(Py_None
); resultobj
= Py_None
;
7747 static PyObject
*_wrap_Font_GetFamilyString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7748 PyObject
*resultobj
;
7749 wxFont
*arg1
= (wxFont
*) 0 ;
7751 PyObject
* obj0
= 0 ;
7753 (char *) "self", NULL
7756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamilyString",kwnames
,&obj0
)) goto fail
;
7757 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7760 result
= ((wxFont
const *)arg1
)->GetFamilyString();
7762 wxPyEndAllowThreads(__tstate
);
7763 if (PyErr_Occurred()) SWIG_fail
;
7767 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7769 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7778 static PyObject
*_wrap_Font_GetStyleString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7779 PyObject
*resultobj
;
7780 wxFont
*arg1
= (wxFont
*) 0 ;
7782 PyObject
* obj0
= 0 ;
7784 (char *) "self", NULL
7787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyleString",kwnames
,&obj0
)) goto fail
;
7788 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7791 result
= ((wxFont
const *)arg1
)->GetStyleString();
7793 wxPyEndAllowThreads(__tstate
);
7794 if (PyErr_Occurred()) SWIG_fail
;
7798 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7800 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7809 static PyObject
*_wrap_Font_GetWeightString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7810 PyObject
*resultobj
;
7811 wxFont
*arg1
= (wxFont
*) 0 ;
7813 PyObject
* obj0
= 0 ;
7815 (char *) "self", NULL
7818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeightString",kwnames
,&obj0
)) goto fail
;
7819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7822 result
= ((wxFont
const *)arg1
)->GetWeightString();
7824 wxPyEndAllowThreads(__tstate
);
7825 if (PyErr_Occurred()) SWIG_fail
;
7829 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7831 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7840 static PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7841 PyObject
*resultobj
;
7842 wxFont
*arg1
= (wxFont
*) 0 ;
7843 bool arg2
= (bool) TRUE
;
7844 PyObject
* obj0
= 0 ;
7845 PyObject
* obj1
= 0 ;
7847 (char *) "self",(char *) "no", NULL
7850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) goto fail
;
7851 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7853 arg2
= PyInt_AsLong(obj1
) ? true : false;
7854 if (PyErr_Occurred()) SWIG_fail
;
7857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7858 (arg1
)->SetNoAntiAliasing(arg2
);
7860 wxPyEndAllowThreads(__tstate
);
7861 if (PyErr_Occurred()) SWIG_fail
;
7863 Py_INCREF(Py_None
); resultobj
= Py_None
;
7870 static PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7871 PyObject
*resultobj
;
7872 wxFont
*arg1
= (wxFont
*) 0 ;
7874 PyObject
* obj0
= 0 ;
7876 (char *) "self", NULL
7879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNoAntiAliasing",kwnames
,&obj0
)) goto fail
;
7880 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7883 result
= (bool)(arg1
)->GetNoAntiAliasing();
7885 wxPyEndAllowThreads(__tstate
);
7886 if (PyErr_Occurred()) SWIG_fail
;
7888 resultobj
= PyInt_FromLong((long)result
);
7895 static PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7896 PyObject
*resultobj
;
7902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Font_GetDefaultEncoding",kwnames
)) goto fail
;
7904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7905 result
= (int)wxFont::GetDefaultEncoding();
7907 wxPyEndAllowThreads(__tstate
);
7908 if (PyErr_Occurred()) SWIG_fail
;
7910 resultobj
= PyInt_FromLong((long)result
);
7917 static PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7918 PyObject
*resultobj
;
7921 (char *) "encoding", NULL
7924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:Font_SetDefaultEncoding",kwnames
,&arg1
)) goto fail
;
7926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7927 wxFont::SetDefaultEncoding((wxFontEncoding
)arg1
);
7929 wxPyEndAllowThreads(__tstate
);
7930 if (PyErr_Occurred()) SWIG_fail
;
7932 Py_INCREF(Py_None
); resultobj
= Py_None
;
7939 static PyObject
* Font_swigregister(PyObject
*self
, PyObject
*args
) {
7941 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7942 SWIG_TypeClientData(SWIGTYPE_p_wxFont
, obj
);
7944 return Py_BuildValue((char *)"");
7946 static PyObject
*_wrap_new_FontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7947 PyObject
*resultobj
;
7948 wxPyFontEnumerator
*result
;
7953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontEnumerator",kwnames
)) goto fail
;
7955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7956 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
7958 wxPyEndAllowThreads(__tstate
);
7959 if (PyErr_Occurred()) SWIG_fail
;
7961 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyFontEnumerator
, 1);
7968 static PyObject
*_wrap_delete_FontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7969 PyObject
*resultobj
;
7970 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
7971 PyObject
* obj0
= 0 ;
7973 (char *) "self", NULL
7976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontEnumerator",kwnames
,&obj0
)) goto fail
;
7977 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7982 wxPyEndAllowThreads(__tstate
);
7983 if (PyErr_Occurred()) SWIG_fail
;
7985 Py_INCREF(Py_None
); resultobj
= Py_None
;
7992 static PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7993 PyObject
*resultobj
;
7994 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
7995 PyObject
*arg2
= (PyObject
*) 0 ;
7996 PyObject
*arg3
= (PyObject
*) 0 ;
7998 PyObject
* obj0
= 0 ;
7999 PyObject
* obj1
= 0 ;
8000 PyObject
* obj2
= 0 ;
8001 PyObject
* obj3
= 0 ;
8003 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
8006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8007 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8010 arg4
= PyInt_AsLong(obj3
) ? true : false;
8011 if (PyErr_Occurred()) SWIG_fail
;
8013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8014 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
8016 wxPyEndAllowThreads(__tstate
);
8017 if (PyErr_Occurred()) SWIG_fail
;
8019 Py_INCREF(Py_None
); resultobj
= Py_None
;
8026 static PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8027 PyObject
*resultobj
;
8028 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8029 int arg2
= (int) wxFONTENCODING_SYSTEM
;
8030 bool arg3
= (bool) FALSE
;
8032 PyObject
* obj0
= 0 ;
8033 PyObject
* obj2
= 0 ;
8035 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
8038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
8039 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8041 arg3
= PyInt_AsLong(obj2
) ? true : false;
8042 if (PyErr_Occurred()) SWIG_fail
;
8045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8046 result
= (bool)(arg1
)->EnumerateFacenames((wxFontEncoding
)arg2
,arg3
);
8048 wxPyEndAllowThreads(__tstate
);
8049 if (PyErr_Occurred()) SWIG_fail
;
8051 resultobj
= PyInt_FromLong((long)result
);
8058 static PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8059 PyObject
*resultobj
;
8060 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8061 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8062 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8064 bool temp2
= false ;
8065 PyObject
* obj0
= 0 ;
8066 PyObject
* obj1
= 0 ;
8068 (char *) "self",(char *) "facename", NULL
8071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) goto fail
;
8072 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8075 arg2
= wxString_in_helper(obj1
);
8076 if (arg2
== NULL
) SWIG_fail
;
8081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8082 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
8084 wxPyEndAllowThreads(__tstate
);
8085 if (PyErr_Occurred()) SWIG_fail
;
8087 resultobj
= PyInt_FromLong((long)result
);
8102 static PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8103 PyObject
*resultobj
;
8104 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8106 PyObject
* obj0
= 0 ;
8108 (char *) "self", NULL
8111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetEncodings",kwnames
,&obj0
)) goto fail
;
8112 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8115 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(arg1
);
8117 wxPyEndAllowThreads(__tstate
);
8118 if (PyErr_Occurred()) SWIG_fail
;
8127 static PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8128 PyObject
*resultobj
;
8129 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8131 PyObject
* obj0
= 0 ;
8133 (char *) "self", NULL
8136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetFacenames",kwnames
,&obj0
)) goto fail
;
8137 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8140 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(arg1
);
8142 wxPyEndAllowThreads(__tstate
);
8143 if (PyErr_Occurred()) SWIG_fail
;
8152 static PyObject
* FontEnumerator_swigregister(PyObject
*self
, PyObject
*args
) {
8154 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8155 SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator
, obj
);
8157 return Py_BuildValue((char *)"");
8159 static PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8160 PyObject
*resultobj
;
8161 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8163 PyObject
* obj0
= 0 ;
8165 (char *) "self",(char *) "Language", NULL
8168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:LanguageInfo_Language_set",kwnames
,&obj0
,&arg2
)) goto fail
;
8169 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8170 if (arg1
) (arg1
)->Language
= arg2
;
8172 Py_INCREF(Py_None
); resultobj
= Py_None
;
8179 static PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8180 PyObject
*resultobj
;
8181 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8183 PyObject
* obj0
= 0 ;
8185 (char *) "self", NULL
8188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Language_get",kwnames
,&obj0
)) goto fail
;
8189 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8190 result
= (int) ((arg1
)->Language
);
8192 resultobj
= PyInt_FromLong((long)result
);
8199 static PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8200 PyObject
*resultobj
;
8201 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8204 PyObject
* obj0
= 0 ;
8205 PyObject
* obj1
= 0 ;
8207 (char *) "self",(char *) "CanonicalName", NULL
8210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8211 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8212 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxString
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
8214 if (arg1
) (arg1
)->CanonicalName
= arg2
;
8216 Py_INCREF(Py_None
); resultobj
= Py_None
;
8223 static PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8224 PyObject
*resultobj
;
8225 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8227 PyObject
* obj0
= 0 ;
8229 (char *) "self", NULL
8232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_CanonicalName_get",kwnames
,&obj0
)) goto fail
;
8233 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8234 result
= ((arg1
)->CanonicalName
);
8238 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8240 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8249 static PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8250 PyObject
*resultobj
;
8251 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8254 PyObject
* obj0
= 0 ;
8255 PyObject
* obj1
= 0 ;
8257 (char *) "self",(char *) "Description", NULL
8260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Description_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8261 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8262 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxString
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
8264 if (arg1
) (arg1
)->Description
= arg2
;
8266 Py_INCREF(Py_None
); resultobj
= Py_None
;
8273 static PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8274 PyObject
*resultobj
;
8275 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8277 PyObject
* obj0
= 0 ;
8279 (char *) "self", NULL
8282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Description_get",kwnames
,&obj0
)) goto fail
;
8283 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8284 result
= ((arg1
)->Description
);
8288 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8290 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8299 static PyObject
* LanguageInfo_swigregister(PyObject
*self
, PyObject
*args
) {
8301 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8302 SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo
, obj
);
8304 return Py_BuildValue((char *)"");
8306 static PyObject
*_wrap_new_Locale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8307 PyObject
*resultobj
;
8308 int arg1
= (int) wxLANGUAGE_DEFAULT
;
8309 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
8312 (char *) "language",(char *) "flags", NULL
8315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_Locale",kwnames
,&arg1
,&arg2
)) goto fail
;
8317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8318 result
= (wxLocale
*)new wxLocale(arg1
,arg2
);
8320 wxPyEndAllowThreads(__tstate
);
8321 if (PyErr_Occurred()) SWIG_fail
;
8323 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLocale
, 1);
8330 static PyObject
*_wrap_delete_Locale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8331 PyObject
*resultobj
;
8332 wxLocale
*arg1
= (wxLocale
*) 0 ;
8333 PyObject
* obj0
= 0 ;
8335 (char *) "self", NULL
8338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Locale",kwnames
,&obj0
)) goto fail
;
8339 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8344 wxPyEndAllowThreads(__tstate
);
8345 if (PyErr_Occurred()) SWIG_fail
;
8347 Py_INCREF(Py_None
); resultobj
= Py_None
;
8354 static PyObject
*_wrap_Locale_Init1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8355 PyObject
*resultobj
;
8356 wxLocale
*arg1
= (wxLocale
*) 0 ;
8357 wxString
*arg2
= 0 ;
8358 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8359 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8360 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8361 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8362 bool arg5
= (bool) TRUE
;
8363 bool arg6
= (bool) FALSE
;
8365 bool temp2
= false ;
8366 bool temp3
= false ;
8367 bool temp4
= false ;
8368 PyObject
* obj0
= 0 ;
8369 PyObject
* obj1
= 0 ;
8370 PyObject
* obj2
= 0 ;
8371 PyObject
* obj3
= 0 ;
8372 PyObject
* obj4
= 0 ;
8373 PyObject
* obj5
= 0 ;
8375 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
8378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8379 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8381 arg2
= wxString_in_helper(obj1
);
8382 if (arg2
== NULL
) SWIG_fail
;
8387 arg3
= wxString_in_helper(obj2
);
8388 if (arg3
== NULL
) SWIG_fail
;
8394 arg4
= wxString_in_helper(obj3
);
8395 if (arg4
== NULL
) SWIG_fail
;
8400 arg5
= PyInt_AsLong(obj4
) ? true : false;
8401 if (PyErr_Occurred()) SWIG_fail
;
8404 arg6
= PyInt_AsLong(obj5
) ? true : false;
8405 if (PyErr_Occurred()) SWIG_fail
;
8408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8409 result
= (bool)(arg1
)->Init((wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
8411 wxPyEndAllowThreads(__tstate
);
8412 if (PyErr_Occurred()) SWIG_fail
;
8414 resultobj
= PyInt_FromLong((long)result
);
8445 static PyObject
*_wrap_Locale_Init2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8446 PyObject
*resultobj
;
8447 wxLocale
*arg1
= (wxLocale
*) 0 ;
8448 int arg2
= (int) wxLANGUAGE_DEFAULT
;
8449 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
8451 PyObject
* obj0
= 0 ;
8453 (char *) "self",(char *) "language",(char *) "flags", NULL
8456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|ii:Locale_Init2",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8457 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8460 result
= (bool)(arg1
)->Init(arg2
,arg3
);
8462 wxPyEndAllowThreads(__tstate
);
8463 if (PyErr_Occurred()) SWIG_fail
;
8465 resultobj
= PyInt_FromLong((long)result
);
8472 static PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8473 PyObject
*resultobj
;
8479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemLanguage",kwnames
)) goto fail
;
8481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8482 result
= (int)wxLocale::GetSystemLanguage();
8484 wxPyEndAllowThreads(__tstate
);
8485 if (PyErr_Occurred()) SWIG_fail
;
8487 resultobj
= PyInt_FromLong((long)result
);
8494 static PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8495 PyObject
*resultobj
;
8501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncoding",kwnames
)) goto fail
;
8503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8504 result
= (int)wxLocale::GetSystemEncoding();
8506 wxPyEndAllowThreads(__tstate
);
8507 if (PyErr_Occurred()) SWIG_fail
;
8509 resultobj
= PyInt_FromLong((long)result
);
8516 static PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8517 PyObject
*resultobj
;
8523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncodingName",kwnames
)) goto fail
;
8525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8526 result
= wxLocale::GetSystemEncodingName();
8528 wxPyEndAllowThreads(__tstate
);
8529 if (PyErr_Occurred()) SWIG_fail
;
8533 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8535 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8544 static PyObject
*_wrap_Locale_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8545 PyObject
*resultobj
;
8546 wxLocale
*arg1
= (wxLocale
*) 0 ;
8548 PyObject
* obj0
= 0 ;
8550 (char *) "self", NULL
8553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsOk",kwnames
,&obj0
)) goto fail
;
8554 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8557 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
8559 wxPyEndAllowThreads(__tstate
);
8560 if (PyErr_Occurred()) SWIG_fail
;
8562 resultobj
= PyInt_FromLong((long)result
);
8569 static PyObject
*_wrap_Locale_GetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8570 PyObject
*resultobj
;
8571 wxLocale
*arg1
= (wxLocale
*) 0 ;
8573 PyObject
* obj0
= 0 ;
8575 (char *) "self", NULL
8578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLocale",kwnames
,&obj0
)) goto fail
;
8579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8582 result
= ((wxLocale
const *)arg1
)->GetLocale();
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());
8600 static PyObject
*_wrap_Locale_GetLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8601 PyObject
*resultobj
;
8602 wxLocale
*arg1
= (wxLocale
*) 0 ;
8604 PyObject
* obj0
= 0 ;
8606 (char *) "self", NULL
8609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguage",kwnames
,&obj0
)) goto fail
;
8610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8613 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
8615 wxPyEndAllowThreads(__tstate
);
8616 if (PyErr_Occurred()) SWIG_fail
;
8618 resultobj
= PyInt_FromLong((long)result
);
8625 static PyObject
*_wrap_Locale_GetSysName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8626 PyObject
*resultobj
;
8627 wxLocale
*arg1
= (wxLocale
*) 0 ;
8629 PyObject
* obj0
= 0 ;
8631 (char *) "self", NULL
8634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetSysName",kwnames
,&obj0
)) goto fail
;
8635 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8638 result
= ((wxLocale
const *)arg1
)->GetSysName();
8640 wxPyEndAllowThreads(__tstate
);
8641 if (PyErr_Occurred()) SWIG_fail
;
8645 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8647 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8656 static PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8657 PyObject
*resultobj
;
8658 wxLocale
*arg1
= (wxLocale
*) 0 ;
8660 PyObject
* obj0
= 0 ;
8662 (char *) "self", NULL
8665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetCanonicalName",kwnames
,&obj0
)) goto fail
;
8666 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8669 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
8671 wxPyEndAllowThreads(__tstate
);
8672 if (PyErr_Occurred()) SWIG_fail
;
8676 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8678 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8687 static PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8688 PyObject
*resultobj
;
8689 wxString
*arg1
= 0 ;
8690 bool temp1
= false ;
8691 PyObject
* obj0
= 0 ;
8693 (char *) "prefix", NULL
8696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) goto fail
;
8698 arg1
= wxString_in_helper(obj0
);
8699 if (arg1
== NULL
) SWIG_fail
;
8703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8704 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
8706 wxPyEndAllowThreads(__tstate
);
8707 if (PyErr_Occurred()) SWIG_fail
;
8709 Py_INCREF(Py_None
); resultobj
= Py_None
;
8724 static PyObject
*_wrap_Locale_AddCatalog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8725 PyObject
*resultobj
;
8726 wxLocale
*arg1
= (wxLocale
*) 0 ;
8727 wxString
*arg2
= 0 ;
8729 bool temp2
= false ;
8730 PyObject
* obj0
= 0 ;
8731 PyObject
* obj1
= 0 ;
8733 (char *) "self",(char *) "szDomain", NULL
8736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) goto fail
;
8737 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8739 arg2
= wxString_in_helper(obj1
);
8740 if (arg2
== NULL
) SWIG_fail
;
8744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8745 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
8747 wxPyEndAllowThreads(__tstate
);
8748 if (PyErr_Occurred()) SWIG_fail
;
8750 resultobj
= PyInt_FromLong((long)result
);
8765 static PyObject
*_wrap_Locale_IsLoaded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8766 PyObject
*resultobj
;
8767 wxLocale
*arg1
= (wxLocale
*) 0 ;
8768 wxString
*arg2
= 0 ;
8770 bool temp2
= false ;
8771 PyObject
* obj0
= 0 ;
8772 PyObject
* obj1
= 0 ;
8774 (char *) "self",(char *) "szDomain", NULL
8777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) goto fail
;
8778 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8780 arg2
= wxString_in_helper(obj1
);
8781 if (arg2
== NULL
) SWIG_fail
;
8785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8786 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
8788 wxPyEndAllowThreads(__tstate
);
8789 if (PyErr_Occurred()) SWIG_fail
;
8791 resultobj
= PyInt_FromLong((long)result
);
8806 static PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8807 PyObject
*resultobj
;
8809 wxLanguageInfo
*result
;
8811 (char *) "lang", NULL
8814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:Locale_GetLanguageInfo",kwnames
,&arg1
)) goto fail
;
8816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8817 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
8819 wxPyEndAllowThreads(__tstate
);
8820 if (PyErr_Occurred()) SWIG_fail
;
8822 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLanguageInfo
, 0);
8829 static PyObject
*_wrap_Locale_GetLanguageName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8830 PyObject
*resultobj
;
8834 (char *) "lang", NULL
8837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:Locale_GetLanguageName",kwnames
,&arg1
)) goto fail
;
8839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8840 result
= wxLocale::GetLanguageName(arg1
);
8842 wxPyEndAllowThreads(__tstate
);
8843 if (PyErr_Occurred()) SWIG_fail
;
8847 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8849 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8858 static PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8859 PyObject
*resultobj
;
8860 wxString
*arg1
= 0 ;
8861 wxLanguageInfo
*result
;
8862 bool temp1
= false ;
8863 PyObject
* obj0
= 0 ;
8865 (char *) "locale", NULL
8868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) goto fail
;
8870 arg1
= wxString_in_helper(obj0
);
8871 if (arg1
== NULL
) SWIG_fail
;
8875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8876 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
8878 wxPyEndAllowThreads(__tstate
);
8879 if (PyErr_Occurred()) SWIG_fail
;
8881 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLanguageInfo
, 0);
8896 static PyObject
*_wrap_Locale_AddLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8897 PyObject
*resultobj
;
8898 wxLanguageInfo
*arg1
= 0 ;
8899 PyObject
* obj0
= 0 ;
8901 (char *) "info", NULL
8904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) goto fail
;
8905 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8907 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8911 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
8913 wxPyEndAllowThreads(__tstate
);
8914 if (PyErr_Occurred()) SWIG_fail
;
8916 Py_INCREF(Py_None
); resultobj
= Py_None
;
8923 static PyObject
*_wrap_Locale_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8924 PyObject
*resultobj
;
8925 wxLocale
*arg1
= (wxLocale
*) 0 ;
8926 wxString
*arg2
= 0 ;
8927 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8928 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8930 bool temp2
= false ;
8931 bool temp3
= false ;
8932 PyObject
* obj0
= 0 ;
8933 PyObject
* obj1
= 0 ;
8934 PyObject
* obj2
= 0 ;
8936 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
8939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8942 arg2
= wxString_in_helper(obj1
);
8943 if (arg2
== NULL
) SWIG_fail
;
8948 arg3
= wxString_in_helper(obj2
);
8949 if (arg3
== NULL
) SWIG_fail
;
8954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8955 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
8957 wxPyEndAllowThreads(__tstate
);
8958 if (PyErr_Occurred()) SWIG_fail
;
8962 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8964 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8989 static PyObject
*_wrap_Locale_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8990 PyObject
*resultobj
;
8991 wxLocale
*arg1
= (wxLocale
*) 0 ;
8993 PyObject
* obj0
= 0 ;
8995 (char *) "self", NULL
8998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetName",kwnames
,&obj0
)) goto fail
;
8999 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9003 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
9004 result
= (wxString
*) &_result_ref
;
9007 wxPyEndAllowThreads(__tstate
);
9008 if (PyErr_Occurred()) SWIG_fail
;
9010 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
9017 static PyObject
* Locale_swigregister(PyObject
*self
, PyObject
*args
) {
9019 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9020 SWIG_TypeClientData(SWIGTYPE_p_wxLocale
, obj
);
9022 return Py_BuildValue((char *)"");
9024 static PyObject
*_wrap_GetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9025 PyObject
*resultobj
;
9031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocale",kwnames
)) goto fail
;
9033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9034 result
= (wxLocale
*)wxGetLocale();
9036 wxPyEndAllowThreads(__tstate
);
9037 if (PyErr_Occurred()) SWIG_fail
;
9039 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLocale
, 0);
9046 static PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*self
, PyObject
*args
) {
9047 PyObject
*resultobj
;
9048 wxString
*arg1
= 0 ;
9050 bool temp1
= false ;
9051 PyObject
* obj0
= 0 ;
9053 if(!PyArg_ParseTuple(args
,(char *)"O:GetTranslation",&obj0
)) goto fail
;
9055 arg1
= wxString_in_helper(obj0
);
9056 if (arg1
== NULL
) SWIG_fail
;
9060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9061 result
= wxGetTranslation((wxString
const &)*arg1
);
9063 wxPyEndAllowThreads(__tstate
);
9064 if (PyErr_Occurred()) SWIG_fail
;
9068 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9070 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9087 static PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*self
, PyObject
*args
) {
9088 PyObject
*resultobj
;
9089 wxString
*arg1
= 0 ;
9090 wxString
*arg2
= 0 ;
9093 bool temp1
= false ;
9094 bool temp2
= false ;
9095 PyObject
* obj0
= 0 ;
9096 PyObject
* obj1
= 0 ;
9097 PyObject
* obj2
= 0 ;
9099 if(!PyArg_ParseTuple(args
,(char *)"OOO:GetTranslation",&obj0
,&obj1
,&obj2
)) goto fail
;
9101 arg1
= wxString_in_helper(obj0
);
9102 if (arg1
== NULL
) SWIG_fail
;
9106 arg2
= wxString_in_helper(obj1
);
9107 if (arg2
== NULL
) SWIG_fail
;
9110 arg3
= (size_t) PyInt_AsLong(obj2
);
9111 if (PyErr_Occurred()) SWIG_fail
;
9113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9114 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
9116 wxPyEndAllowThreads(__tstate
);
9117 if (PyErr_Occurred()) SWIG_fail
;
9121 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9123 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9148 static PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
9153 argc
= PyObject_Length(args
);
9154 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
9155 argv
[ii
] = PyTuple_GetItem(args
,ii
);
9161 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxString
, 0) == -1) {
9169 return _wrap_GetTranslation__SWIG_0(self
,args
);
9176 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxString
, 0) == -1) {
9186 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxString
, 0) == -1) {
9195 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
9198 return _wrap_GetTranslation__SWIG_1(self
,args
);
9204 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GetTranslation'");
9209 static PyObject
*_wrap_new_EncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9210 PyObject
*resultobj
;
9211 wxEncodingConverter
*result
;
9216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EncodingConverter",kwnames
)) goto fail
;
9218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9219 result
= (wxEncodingConverter
*)new wxEncodingConverter();
9221 wxPyEndAllowThreads(__tstate
);
9222 if (PyErr_Occurred()) SWIG_fail
;
9224 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxEncodingConverter
, 1);
9231 static PyObject
*_wrap_delete_EncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9232 PyObject
*resultobj
;
9233 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
9234 PyObject
* obj0
= 0 ;
9236 (char *) "self", NULL
9239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EncodingConverter",kwnames
,&obj0
)) goto fail
;
9240 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEncodingConverter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9245 wxPyEndAllowThreads(__tstate
);
9246 if (PyErr_Occurred()) SWIG_fail
;
9248 Py_INCREF(Py_None
); resultobj
= Py_None
;
9255 static PyObject
*_wrap_EncodingConverter_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9256 PyObject
*resultobj
;
9257 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
9260 int arg4
= (int) wxCONVERT_STRICT
;
9262 PyObject
* obj0
= 0 ;
9264 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
9267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|i:EncodingConverter_Init",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
9268 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEncodingConverter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9271 result
= (bool)(arg1
)->Init((wxFontEncoding
)arg2
,(wxFontEncoding
)arg3
,arg4
);
9273 wxPyEndAllowThreads(__tstate
);
9274 if (PyErr_Occurred()) SWIG_fail
;
9276 resultobj
= PyInt_FromLong((long)result
);
9283 static PyObject
*_wrap_EncodingConverter_Convert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9284 PyObject
*resultobj
;
9285 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
9286 wxString
*arg2
= 0 ;
9288 bool temp2
= false ;
9289 PyObject
* obj0
= 0 ;
9290 PyObject
* obj1
= 0 ;
9292 (char *) "self",(char *) "input", NULL
9295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) goto fail
;
9296 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEncodingConverter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9298 arg2
= wxString_in_helper(obj1
);
9299 if (arg2
== NULL
) SWIG_fail
;
9303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9304 result
= (arg1
)->Convert((wxString
const &)*arg2
);
9306 wxPyEndAllowThreads(__tstate
);
9307 if (PyErr_Occurred()) SWIG_fail
;
9311 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9313 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9330 static PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9331 PyObject
*resultobj
;
9333 int arg2
= (int) wxPLATFORM_CURRENT
;
9334 wxFontEncodingArray result
;
9336 (char *) "enc",(char *) "platform", NULL
9339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i|i:EncodingConverter_GetPlatformEquivalents",kwnames
,&arg1
,&arg2
)) goto fail
;
9341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9342 result
= wxEncodingConverter::GetPlatformEquivalents((wxFontEncoding
)arg1
,arg2
);
9344 wxPyEndAllowThreads(__tstate
);
9345 if (PyErr_Occurred()) SWIG_fail
;
9348 resultobj
= PyList_New(0);
9349 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
9350 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
9351 PyList_Append(resultobj
, number
);
9361 static PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9362 PyObject
*resultobj
;
9364 wxFontEncodingArray result
;
9366 (char *) "enc", NULL
9369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:EncodingConverter_GetAllEquivalents",kwnames
,&arg1
)) goto fail
;
9371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9372 result
= wxEncodingConverter::GetAllEquivalents((wxFontEncoding
)arg1
);
9374 wxPyEndAllowThreads(__tstate
);
9375 if (PyErr_Occurred()) SWIG_fail
;
9378 resultobj
= PyList_New(0);
9379 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
9380 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
9381 PyList_Append(resultobj
, number
);
9391 static PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9392 PyObject
*resultobj
;
9397 (char *) "encIn",(char *) "encOut", NULL
9400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"ii:EncodingConverter_CanConvert",kwnames
,&arg1
,&arg2
)) goto fail
;
9402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9403 result
= (bool)wxEncodingConverter::CanConvert((wxFontEncoding
)arg1
,(wxFontEncoding
)arg2
);
9405 wxPyEndAllowThreads(__tstate
);
9406 if (PyErr_Occurred()) SWIG_fail
;
9408 resultobj
= PyInt_FromLong((long)result
);
9415 static PyObject
* EncodingConverter_swigregister(PyObject
*self
, PyObject
*args
) {
9417 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9418 SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter
, obj
);
9420 return Py_BuildValue((char *)"");
9422 static PyObject
*_wrap_delete_DC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9423 PyObject
*resultobj
;
9424 wxDC
*arg1
= (wxDC
*) 0 ;
9425 PyObject
* obj0
= 0 ;
9427 (char *) "self", NULL
9430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DC",kwnames
,&obj0
)) goto fail
;
9431 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9436 wxPyEndAllowThreads(__tstate
);
9437 if (PyErr_Occurred()) SWIG_fail
;
9439 Py_INCREF(Py_None
); resultobj
= Py_None
;
9446 static PyObject
*_wrap_DC_BeginDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9447 PyObject
*resultobj
;
9448 wxDC
*arg1
= (wxDC
*) 0 ;
9449 PyObject
* obj0
= 0 ;
9451 (char *) "self", NULL
9454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_BeginDrawing",kwnames
,&obj0
)) goto fail
;
9455 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9458 (arg1
)->BeginDrawing();
9460 wxPyEndAllowThreads(__tstate
);
9461 if (PyErr_Occurred()) SWIG_fail
;
9463 Py_INCREF(Py_None
); resultobj
= Py_None
;
9470 static PyObject
*_wrap_DC_EndDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9471 PyObject
*resultobj
;
9472 wxDC
*arg1
= (wxDC
*) 0 ;
9473 PyObject
* obj0
= 0 ;
9475 (char *) "self", NULL
9478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDrawing",kwnames
,&obj0
)) goto fail
;
9479 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9482 (arg1
)->EndDrawing();
9484 wxPyEndAllowThreads(__tstate
);
9485 if (PyErr_Occurred()) SWIG_fail
;
9487 Py_INCREF(Py_None
); resultobj
= Py_None
;
9494 static PyObject
*_wrap_DC_FloodFillXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9495 PyObject
*resultobj
;
9496 wxDC
*arg1
= (wxDC
*) 0 ;
9499 wxColour
*arg4
= 0 ;
9500 int arg5
= (int) wxFLOOD_SURFACE
;
9503 PyObject
* obj0
= 0 ;
9504 PyObject
* obj3
= 0 ;
9506 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
9509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO|i:DC_FloodFillXY",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
,&arg5
)) goto fail
;
9510 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9513 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
9516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9517 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
9519 wxPyEndAllowThreads(__tstate
);
9520 if (PyErr_Occurred()) SWIG_fail
;
9522 resultobj
= PyInt_FromLong((long)result
);
9529 static PyObject
*_wrap_DC_FloodFill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9530 PyObject
*resultobj
;
9531 wxDC
*arg1
= (wxDC
*) 0 ;
9533 wxColour
*arg3
= 0 ;
9534 int arg4
= (int) wxFLOOD_SURFACE
;
9538 PyObject
* obj0
= 0 ;
9539 PyObject
* obj1
= 0 ;
9540 PyObject
* obj2
= 0 ;
9542 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
9545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
9546 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9549 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9553 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9557 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
9559 wxPyEndAllowThreads(__tstate
);
9560 if (PyErr_Occurred()) SWIG_fail
;
9562 resultobj
= PyInt_FromLong((long)result
);
9569 static PyObject
*_wrap_DC_GetPixelXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9570 PyObject
*resultobj
;
9571 wxDC
*arg1
= (wxDC
*) 0 ;
9575 PyObject
* obj0
= 0 ;
9577 (char *) "self",(char *) "x",(char *) "y", NULL
9580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:DC_GetPixelXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
9581 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9584 result
= wxDC_GetPixelXY(arg1
,arg2
,arg3
);
9586 wxPyEndAllowThreads(__tstate
);
9587 if (PyErr_Occurred()) SWIG_fail
;
9590 wxColour
* resultptr
;
9591 resultptr
= new wxColour((wxColour
&) result
);
9592 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
9600 static PyObject
*_wrap_DC_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9601 PyObject
*resultobj
;
9602 wxDC
*arg1
= (wxDC
*) 0 ;
9606 PyObject
* obj0
= 0 ;
9607 PyObject
* obj1
= 0 ;
9609 (char *) "self",(char *) "pt", NULL
9612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixel",kwnames
,&obj0
,&obj1
)) goto fail
;
9613 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9616 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9620 result
= wxDC_GetPixel(arg1
,(wxPoint
const &)*arg2
);
9622 wxPyEndAllowThreads(__tstate
);
9623 if (PyErr_Occurred()) SWIG_fail
;
9626 wxColour
* resultptr
;
9627 resultptr
= new wxColour((wxColour
&) result
);
9628 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
9636 static PyObject
*_wrap_DC_DrawLineXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9637 PyObject
*resultobj
;
9638 wxDC
*arg1
= (wxDC
*) 0 ;
9643 PyObject
* obj0
= 0 ;
9645 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
9648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:DC_DrawLineXY",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
9649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9652 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
9654 wxPyEndAllowThreads(__tstate
);
9655 if (PyErr_Occurred()) SWIG_fail
;
9657 Py_INCREF(Py_None
); resultobj
= Py_None
;
9664 static PyObject
*_wrap_DC_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9665 PyObject
*resultobj
;
9666 wxDC
*arg1
= (wxDC
*) 0 ;
9671 PyObject
* obj0
= 0 ;
9672 PyObject
* obj1
= 0 ;
9673 PyObject
* obj2
= 0 ;
9675 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
9678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9682 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9686 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9690 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
9692 wxPyEndAllowThreads(__tstate
);
9693 if (PyErr_Occurred()) SWIG_fail
;
9695 Py_INCREF(Py_None
); resultobj
= Py_None
;
9702 static PyObject
*_wrap_DC_CrossHairXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9703 PyObject
*resultobj
;
9704 wxDC
*arg1
= (wxDC
*) 0 ;
9707 PyObject
* obj0
= 0 ;
9709 (char *) "self",(char *) "x",(char *) "y", NULL
9712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:DC_CrossHairXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
9713 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9716 (arg1
)->CrossHair(arg2
,arg3
);
9718 wxPyEndAllowThreads(__tstate
);
9719 if (PyErr_Occurred()) SWIG_fail
;
9721 Py_INCREF(Py_None
); resultobj
= Py_None
;
9728 static PyObject
*_wrap_DC_CrossHair(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9729 PyObject
*resultobj
;
9730 wxDC
*arg1
= (wxDC
*) 0 ;
9733 PyObject
* obj0
= 0 ;
9734 PyObject
* obj1
= 0 ;
9736 (char *) "self",(char *) "pt", NULL
9739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHair",kwnames
,&obj0
,&obj1
)) goto fail
;
9740 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9743 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9747 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
9749 wxPyEndAllowThreads(__tstate
);
9750 if (PyErr_Occurred()) SWIG_fail
;
9752 Py_INCREF(Py_None
); resultobj
= Py_None
;
9759 static PyObject
*_wrap_DC_DrawArcXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9760 PyObject
*resultobj
;
9761 wxDC
*arg1
= (wxDC
*) 0 ;
9768 PyObject
* obj0
= 0 ;
9770 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
9773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiiiii:DC_DrawArcXY",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
9774 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9777 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9779 wxPyEndAllowThreads(__tstate
);
9780 if (PyErr_Occurred()) SWIG_fail
;
9782 Py_INCREF(Py_None
); resultobj
= Py_None
;
9789 static PyObject
*_wrap_DC_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9790 PyObject
*resultobj
;
9791 wxDC
*arg1
= (wxDC
*) 0 ;
9798 PyObject
* obj0
= 0 ;
9799 PyObject
* obj1
= 0 ;
9800 PyObject
* obj2
= 0 ;
9801 PyObject
* obj3
= 0 ;
9803 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "centre", NULL
9806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9807 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9810 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9814 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9818 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9822 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
9824 wxPyEndAllowThreads(__tstate
);
9825 if (PyErr_Occurred()) SWIG_fail
;
9827 Py_INCREF(Py_None
); resultobj
= Py_None
;
9834 static PyObject
*_wrap_DC_DrawCheckMarkXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9835 PyObject
*resultobj
;
9836 wxDC
*arg1
= (wxDC
*) 0 ;
9841 PyObject
* obj0
= 0 ;
9843 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
9846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:DC_DrawCheckMarkXY",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
9847 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9850 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
9852 wxPyEndAllowThreads(__tstate
);
9853 if (PyErr_Occurred()) SWIG_fail
;
9855 Py_INCREF(Py_None
); resultobj
= Py_None
;
9862 static PyObject
*_wrap_DC_DrawCheckMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9863 PyObject
*resultobj
;
9864 wxDC
*arg1
= (wxDC
*) 0 ;
9867 PyObject
* obj0
= 0 ;
9868 PyObject
* obj1
= 0 ;
9870 (char *) "self",(char *) "rect", NULL
9873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
)) goto fail
;
9874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9877 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9881 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
9883 wxPyEndAllowThreads(__tstate
);
9884 if (PyErr_Occurred()) SWIG_fail
;
9886 Py_INCREF(Py_None
); resultobj
= Py_None
;
9893 static PyObject
*_wrap_DC_DrawEllipticArcXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9894 PyObject
*resultobj
;
9895 wxDC
*arg1
= (wxDC
*) 0 ;
9902 PyObject
* obj0
= 0 ;
9904 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "sa",(char *) "ea", NULL
9907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiiidd:DC_DrawEllipticArcXY",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
9908 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9911 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9913 wxPyEndAllowThreads(__tstate
);
9914 if (PyErr_Occurred()) SWIG_fail
;
9916 Py_INCREF(Py_None
); resultobj
= Py_None
;
9923 static PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9924 PyObject
*resultobj
;
9925 wxDC
*arg1
= (wxDC
*) 0 ;
9932 PyObject
* obj0
= 0 ;
9933 PyObject
* obj1
= 0 ;
9934 PyObject
* obj2
= 0 ;
9936 (char *) "self",(char *) "pt",(char *) "sz",(char *) "sa",(char *) "ea", NULL
9939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
)) goto fail
;
9940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9943 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9947 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
9950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9951 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
9953 wxPyEndAllowThreads(__tstate
);
9954 if (PyErr_Occurred()) SWIG_fail
;
9956 Py_INCREF(Py_None
); resultobj
= Py_None
;
9963 static PyObject
*_wrap_DC_DrawPointXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9964 PyObject
*resultobj
;
9965 wxDC
*arg1
= (wxDC
*) 0 ;
9968 PyObject
* obj0
= 0 ;
9970 (char *) "self",(char *) "x",(char *) "y", NULL
9973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:DC_DrawPointXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
9974 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9977 (arg1
)->DrawPoint(arg2
,arg3
);
9979 wxPyEndAllowThreads(__tstate
);
9980 if (PyErr_Occurred()) SWIG_fail
;
9982 Py_INCREF(Py_None
); resultobj
= Py_None
;
9989 static PyObject
*_wrap_DC_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9990 PyObject
*resultobj
;
9991 wxDC
*arg1
= (wxDC
*) 0 ;
9994 PyObject
* obj0
= 0 ;
9995 PyObject
* obj1
= 0 ;
9997 (char *) "self",(char *) "pt", NULL
10000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
10001 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10004 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10008 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
10010 wxPyEndAllowThreads(__tstate
);
10011 if (PyErr_Occurred()) SWIG_fail
;
10013 Py_INCREF(Py_None
); resultobj
= Py_None
;
10020 static PyObject
*_wrap_DC_DrawRectangleXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10021 PyObject
*resultobj
;
10022 wxDC
*arg1
= (wxDC
*) 0 ;
10027 PyObject
* obj0
= 0 ;
10028 char *kwnames
[] = {
10029 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:DC_DrawRectangleXY",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
10033 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10036 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
10038 wxPyEndAllowThreads(__tstate
);
10039 if (PyErr_Occurred()) SWIG_fail
;
10041 Py_INCREF(Py_None
); resultobj
= Py_None
;
10048 static PyObject
*_wrap_DC_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10049 PyObject
*resultobj
;
10050 wxDC
*arg1
= (wxDC
*) 0 ;
10051 wxPoint
*arg2
= 0 ;
10055 PyObject
* obj0
= 0 ;
10056 PyObject
* obj1
= 0 ;
10057 PyObject
* obj2
= 0 ;
10058 char *kwnames
[] = {
10059 (char *) "self",(char *) "pt",(char *) "sz", NULL
10062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10066 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10070 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
10073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10074 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
10076 wxPyEndAllowThreads(__tstate
);
10077 if (PyErr_Occurred()) SWIG_fail
;
10079 Py_INCREF(Py_None
); resultobj
= Py_None
;
10086 static PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10087 PyObject
*resultobj
;
10088 wxDC
*arg1
= (wxDC
*) 0 ;
10091 PyObject
* obj0
= 0 ;
10092 PyObject
* obj1
= 0 ;
10093 char *kwnames
[] = {
10094 (char *) "self",(char *) "rect", NULL
10097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10098 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10101 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10105 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
10107 wxPyEndAllowThreads(__tstate
);
10108 if (PyErr_Occurred()) SWIG_fail
;
10110 Py_INCREF(Py_None
); resultobj
= Py_None
;
10117 static PyObject
*_wrap_DC_DrawRoundedRectangleXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10118 PyObject
*resultobj
;
10119 wxDC
*arg1
= (wxDC
*) 0 ;
10125 PyObject
* obj0
= 0 ;
10126 char *kwnames
[] = {
10127 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
10130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiiid:DC_DrawRoundedRectangleXY",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
10131 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10134 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
10136 wxPyEndAllowThreads(__tstate
);
10137 if (PyErr_Occurred()) SWIG_fail
;
10139 Py_INCREF(Py_None
); resultobj
= Py_None
;
10146 static PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10147 PyObject
*resultobj
;
10148 wxDC
*arg1
= (wxDC
*) 0 ;
10149 wxPoint
*arg2
= 0 ;
10154 PyObject
* obj0
= 0 ;
10155 PyObject
* obj1
= 0 ;
10156 PyObject
* obj2
= 0 ;
10157 char *kwnames
[] = {
10158 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
10161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOd:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
10162 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10165 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10169 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
10172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10173 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
10175 wxPyEndAllowThreads(__tstate
);
10176 if (PyErr_Occurred()) SWIG_fail
;
10178 Py_INCREF(Py_None
); resultobj
= Py_None
;
10185 static PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10186 PyObject
*resultobj
;
10187 wxDC
*arg1
= (wxDC
*) 0 ;
10191 PyObject
* obj0
= 0 ;
10192 PyObject
* obj1
= 0 ;
10193 char *kwnames
[] = {
10194 (char *) "self",(char *) "r",(char *) "radius", NULL
10197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOd:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
10198 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10201 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10205 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
10207 wxPyEndAllowThreads(__tstate
);
10208 if (PyErr_Occurred()) SWIG_fail
;
10210 Py_INCREF(Py_None
); resultobj
= Py_None
;
10217 static PyObject
*_wrap_DC_DrawCircleXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10218 PyObject
*resultobj
;
10219 wxDC
*arg1
= (wxDC
*) 0 ;
10223 PyObject
* obj0
= 0 ;
10224 char *kwnames
[] = {
10225 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
10228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:DC_DrawCircleXY",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
10229 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10232 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
10234 wxPyEndAllowThreads(__tstate
);
10235 if (PyErr_Occurred()) SWIG_fail
;
10237 Py_INCREF(Py_None
); resultobj
= Py_None
;
10244 static PyObject
*_wrap_DC_DrawCircle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10245 PyObject
*resultobj
;
10246 wxDC
*arg1
= (wxDC
*) 0 ;
10247 wxPoint
*arg2
= 0 ;
10250 PyObject
* obj0
= 0 ;
10251 PyObject
* obj1
= 0 ;
10252 char *kwnames
[] = {
10253 (char *) "self",(char *) "pt",(char *) "radius", NULL
10256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
10257 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10260 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10264 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
10266 wxPyEndAllowThreads(__tstate
);
10267 if (PyErr_Occurred()) SWIG_fail
;
10269 Py_INCREF(Py_None
); resultobj
= Py_None
;
10276 static PyObject
*_wrap_DC_DrawEllipseXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10277 PyObject
*resultobj
;
10278 wxDC
*arg1
= (wxDC
*) 0 ;
10283 PyObject
* obj0
= 0 ;
10284 char *kwnames
[] = {
10285 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:DC_DrawEllipseXY",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
10289 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10292 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
10294 wxPyEndAllowThreads(__tstate
);
10295 if (PyErr_Occurred()) SWIG_fail
;
10297 Py_INCREF(Py_None
); resultobj
= Py_None
;
10304 static PyObject
*_wrap_DC_DrawEllipse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10305 PyObject
*resultobj
;
10306 wxDC
*arg1
= (wxDC
*) 0 ;
10307 wxPoint
*arg2
= 0 ;
10311 PyObject
* obj0
= 0 ;
10312 PyObject
* obj1
= 0 ;
10313 PyObject
* obj2
= 0 ;
10314 char *kwnames
[] = {
10315 (char *) "self",(char *) "pt",(char *) "sz", NULL
10318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10322 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10326 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
10329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10330 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
10332 wxPyEndAllowThreads(__tstate
);
10333 if (PyErr_Occurred()) SWIG_fail
;
10335 Py_INCREF(Py_None
); resultobj
= Py_None
;
10342 static PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10343 PyObject
*resultobj
;
10344 wxDC
*arg1
= (wxDC
*) 0 ;
10347 PyObject
* obj0
= 0 ;
10348 PyObject
* obj1
= 0 ;
10349 char *kwnames
[] = {
10350 (char *) "self",(char *) "rect", NULL
10353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10354 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10357 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10361 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
10363 wxPyEndAllowThreads(__tstate
);
10364 if (PyErr_Occurred()) SWIG_fail
;
10366 Py_INCREF(Py_None
); resultobj
= Py_None
;
10373 static PyObject
*_wrap_DC_DrawIconXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10374 PyObject
*resultobj
;
10375 wxDC
*arg1
= (wxDC
*) 0 ;
10379 PyObject
* obj0
= 0 ;
10380 PyObject
* obj1
= 0 ;
10381 char *kwnames
[] = {
10382 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
10385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii:DC_DrawIconXY",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
10386 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10387 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10388 if (arg2
== NULL
) {
10389 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10393 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
10395 wxPyEndAllowThreads(__tstate
);
10396 if (PyErr_Occurred()) SWIG_fail
;
10398 Py_INCREF(Py_None
); resultobj
= Py_None
;
10405 static PyObject
*_wrap_DC_DrawIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10406 PyObject
*resultobj
;
10407 wxDC
*arg1
= (wxDC
*) 0 ;
10409 wxPoint
*arg3
= 0 ;
10411 PyObject
* obj0
= 0 ;
10412 PyObject
* obj1
= 0 ;
10413 PyObject
* obj2
= 0 ;
10414 char *kwnames
[] = {
10415 (char *) "self",(char *) "icon",(char *) "pt", NULL
10418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10419 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10420 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10421 if (arg2
== NULL
) {
10422 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10426 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10430 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
10432 wxPyEndAllowThreads(__tstate
);
10433 if (PyErr_Occurred()) SWIG_fail
;
10435 Py_INCREF(Py_None
); resultobj
= Py_None
;
10442 static PyObject
*_wrap_DC_DrawBitmapXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10443 PyObject
*resultobj
;
10444 wxDC
*arg1
= (wxDC
*) 0 ;
10445 wxBitmap
*arg2
= 0 ;
10448 bool arg5
= (bool) FALSE
;
10449 PyObject
* obj0
= 0 ;
10450 PyObject
* obj1
= 0 ;
10451 PyObject
* obj4
= 0 ;
10452 char *kwnames
[] = {
10453 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
10456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii|O:DC_DrawBitmapXY",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&obj4
)) goto fail
;
10457 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10458 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10459 if (arg2
== NULL
) {
10460 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10463 arg5
= PyInt_AsLong(obj4
) ? true : false;
10464 if (PyErr_Occurred()) SWIG_fail
;
10467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10468 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
10470 wxPyEndAllowThreads(__tstate
);
10471 if (PyErr_Occurred()) SWIG_fail
;
10473 Py_INCREF(Py_None
); resultobj
= Py_None
;
10480 static PyObject
*_wrap_DC_DrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10481 PyObject
*resultobj
;
10482 wxDC
*arg1
= (wxDC
*) 0 ;
10483 wxBitmap
*arg2
= 0 ;
10484 wxPoint
*arg3
= 0 ;
10485 bool arg4
= (bool) FALSE
;
10487 PyObject
* obj0
= 0 ;
10488 PyObject
* obj1
= 0 ;
10489 PyObject
* obj2
= 0 ;
10490 PyObject
* obj3
= 0 ;
10491 char *kwnames
[] = {
10492 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
10495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10496 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10497 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10498 if (arg2
== NULL
) {
10499 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10503 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10506 arg4
= PyInt_AsLong(obj3
) ? true : false;
10507 if (PyErr_Occurred()) SWIG_fail
;
10510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10511 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
10513 wxPyEndAllowThreads(__tstate
);
10514 if (PyErr_Occurred()) SWIG_fail
;
10516 Py_INCREF(Py_None
); resultobj
= Py_None
;
10523 static PyObject
*_wrap_DC_DrawTextXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10524 PyObject
*resultobj
;
10525 wxDC
*arg1
= (wxDC
*) 0 ;
10526 wxString
*arg2
= 0 ;
10529 bool temp2
= false ;
10530 PyObject
* obj0
= 0 ;
10531 PyObject
* obj1
= 0 ;
10532 char *kwnames
[] = {
10533 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
10536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii:DC_DrawTextXY",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
10537 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10539 arg2
= wxString_in_helper(obj1
);
10540 if (arg2
== NULL
) SWIG_fail
;
10544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10545 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
10547 wxPyEndAllowThreads(__tstate
);
10548 if (PyErr_Occurred()) SWIG_fail
;
10550 Py_INCREF(Py_None
); resultobj
= Py_None
;
10565 static PyObject
*_wrap_DC_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10566 PyObject
*resultobj
;
10567 wxDC
*arg1
= (wxDC
*) 0 ;
10568 wxString
*arg2
= 0 ;
10569 wxPoint
*arg3
= 0 ;
10570 bool temp2
= false ;
10572 PyObject
* obj0
= 0 ;
10573 PyObject
* obj1
= 0 ;
10574 PyObject
* obj2
= 0 ;
10575 char *kwnames
[] = {
10576 (char *) "self",(char *) "text",(char *) "pt", NULL
10579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10580 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10582 arg2
= wxString_in_helper(obj1
);
10583 if (arg2
== NULL
) SWIG_fail
;
10588 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10592 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
10594 wxPyEndAllowThreads(__tstate
);
10595 if (PyErr_Occurred()) SWIG_fail
;
10597 Py_INCREF(Py_None
); resultobj
= Py_None
;
10612 static PyObject
*_wrap_DC_DrawRotatedTextXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10613 PyObject
*resultobj
;
10614 wxDC
*arg1
= (wxDC
*) 0 ;
10615 wxString
*arg2
= 0 ;
10619 bool temp2
= false ;
10620 PyObject
* obj0
= 0 ;
10621 PyObject
* obj1
= 0 ;
10622 char *kwnames
[] = {
10623 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
10626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiid:DC_DrawRotatedTextXY",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
)) goto fail
;
10627 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10629 arg2
= wxString_in_helper(obj1
);
10630 if (arg2
== NULL
) SWIG_fail
;
10634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10635 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
10637 wxPyEndAllowThreads(__tstate
);
10638 if (PyErr_Occurred()) SWIG_fail
;
10640 Py_INCREF(Py_None
); resultobj
= Py_None
;
10655 static PyObject
*_wrap_DC_DrawRotatedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10656 PyObject
*resultobj
;
10657 wxDC
*arg1
= (wxDC
*) 0 ;
10658 wxString
*arg2
= 0 ;
10659 wxPoint
*arg3
= 0 ;
10661 bool temp2
= false ;
10663 PyObject
* obj0
= 0 ;
10664 PyObject
* obj1
= 0 ;
10665 PyObject
* obj2
= 0 ;
10666 char *kwnames
[] = {
10667 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
10670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOd:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
10671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10673 arg2
= wxString_in_helper(obj1
);
10674 if (arg2
== NULL
) SWIG_fail
;
10679 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10683 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
10685 wxPyEndAllowThreads(__tstate
);
10686 if (PyErr_Occurred()) SWIG_fail
;
10688 Py_INCREF(Py_None
); resultobj
= Py_None
;
10703 static PyObject
*_wrap_DC_BlitXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10704 PyObject
*resultobj
;
10705 wxDC
*arg1
= (wxDC
*) 0 ;
10710 wxDC
*arg6
= (wxDC
*) 0 ;
10713 int arg9
= (int) wxCOPY
;
10714 bool arg10
= (bool) FALSE
;
10715 wxCoord arg11
= (wxCoord
) -1 ;
10716 wxCoord arg12
= (wxCoord
) -1 ;
10718 PyObject
* obj0
= 0 ;
10719 PyObject
* obj5
= 0 ;
10720 PyObject
* obj9
= 0 ;
10721 char *kwnames
[] = {
10722 (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
10725 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
;
10726 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10727 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10729 arg10
= PyInt_AsLong(obj9
) ? true : false;
10730 if (PyErr_Occurred()) SWIG_fail
;
10733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10734 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
10736 wxPyEndAllowThreads(__tstate
);
10737 if (PyErr_Occurred()) SWIG_fail
;
10739 resultobj
= PyInt_FromLong((long)result
);
10746 static PyObject
*_wrap_DC_Blit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10747 PyObject
*resultobj
;
10748 wxDC
*arg1
= (wxDC
*) 0 ;
10749 wxPoint
*arg2
= 0 ;
10751 wxDC
*arg4
= (wxDC
*) 0 ;
10752 wxPoint
*arg5
= 0 ;
10753 int arg6
= (int) wxCOPY
;
10754 bool arg7
= (bool) FALSE
;
10755 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
10756 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
10762 PyObject
* obj0
= 0 ;
10763 PyObject
* obj1
= 0 ;
10764 PyObject
* obj2
= 0 ;
10765 PyObject
* obj3
= 0 ;
10766 PyObject
* obj4
= 0 ;
10767 PyObject
* obj6
= 0 ;
10768 PyObject
* obj7
= 0 ;
10769 char *kwnames
[] = {
10770 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
10773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|iOO:DC_Blit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
10774 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10777 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10781 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
10783 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10786 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
10789 arg7
= PyInt_AsLong(obj6
) ? true : false;
10790 if (PyErr_Occurred()) SWIG_fail
;
10795 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
10799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10800 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
10802 wxPyEndAllowThreads(__tstate
);
10803 if (PyErr_Occurred()) SWIG_fail
;
10805 resultobj
= PyInt_FromLong((long)result
);
10812 static PyObject
*_wrap_DC_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10813 PyObject
*resultobj
;
10814 wxDC
*arg1
= (wxDC
*) 0 ;
10816 wxPoint
*arg3
= (wxPoint
*) 0 ;
10817 wxCoord arg4
= (wxCoord
) 0 ;
10818 wxCoord arg5
= (wxCoord
) 0 ;
10819 PyObject
* obj0
= 0 ;
10820 PyObject
* obj1
= 0 ;
10821 char *kwnames
[] = {
10822 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
10825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|ii:DC_DrawLines",kwnames
,&obj0
,&obj1
,&arg4
,&arg5
)) goto fail
;
10826 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10828 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
10829 if (arg3
== NULL
) SWIG_fail
;
10832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10833 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
10835 wxPyEndAllowThreads(__tstate
);
10836 if (PyErr_Occurred()) SWIG_fail
;
10838 Py_INCREF(Py_None
); resultobj
= Py_None
;
10840 if (arg3
) delete [] arg3
;
10845 if (arg3
) delete [] arg3
;
10851 static PyObject
*_wrap_DC_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10852 PyObject
*resultobj
;
10853 wxDC
*arg1
= (wxDC
*) 0 ;
10855 wxPoint
*arg3
= (wxPoint
*) 0 ;
10856 wxCoord arg4
= (wxCoord
) 0 ;
10857 wxCoord arg5
= (wxCoord
) 0 ;
10858 int arg6
= (int) wxODDEVEN_RULE
;
10859 PyObject
* obj0
= 0 ;
10860 PyObject
* obj1
= 0 ;
10861 char *kwnames
[] = {
10862 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
10865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iii:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&arg4
,&arg5
,&arg6
)) goto fail
;
10866 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10868 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
10869 if (arg3
== NULL
) SWIG_fail
;
10872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10873 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
10875 wxPyEndAllowThreads(__tstate
);
10876 if (PyErr_Occurred()) SWIG_fail
;
10878 Py_INCREF(Py_None
); resultobj
= Py_None
;
10880 if (arg3
) delete [] arg3
;
10885 if (arg3
) delete [] arg3
;
10891 static PyObject
*_wrap_DC_DrawLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10892 PyObject
*resultobj
;
10893 wxDC
*arg1
= (wxDC
*) 0 ;
10894 wxString
*arg2
= 0 ;
10896 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
10897 int arg5
= (int) -1 ;
10898 bool temp2
= false ;
10900 PyObject
* obj0
= 0 ;
10901 PyObject
* obj1
= 0 ;
10902 PyObject
* obj2
= 0 ;
10903 char *kwnames
[] = {
10904 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
10907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|ii:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
)) goto fail
;
10908 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10910 arg2
= wxString_in_helper(obj1
);
10911 if (arg2
== NULL
) SWIG_fail
;
10916 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
10919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10920 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
10922 wxPyEndAllowThreads(__tstate
);
10923 if (PyErr_Occurred()) SWIG_fail
;
10925 Py_INCREF(Py_None
); resultobj
= Py_None
;
10940 static PyObject
*_wrap_DC_DrawImageLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10941 PyObject
*resultobj
;
10942 wxDC
*arg1
= (wxDC
*) 0 ;
10943 wxString
*arg2
= 0 ;
10944 wxBitmap
*arg3
= 0 ;
10946 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
10947 int arg6
= (int) -1 ;
10949 bool temp2
= false ;
10951 PyObject
* obj0
= 0 ;
10952 PyObject
* obj1
= 0 ;
10953 PyObject
* obj2
= 0 ;
10954 PyObject
* obj3
= 0 ;
10955 char *kwnames
[] = {
10956 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
10959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|ii:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&arg6
)) goto fail
;
10960 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10962 arg2
= wxString_in_helper(obj1
);
10963 if (arg2
== NULL
) SWIG_fail
;
10966 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10967 if (arg3
== NULL
) {
10968 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10972 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
10975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10976 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
10978 wxPyEndAllowThreads(__tstate
);
10979 if (PyErr_Occurred()) SWIG_fail
;
10982 wxRect
* resultptr
;
10983 resultptr
= new wxRect((wxRect
&) result
);
10984 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
11000 static PyObject
*_wrap_DC_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11001 PyObject
*resultobj
;
11002 wxDC
*arg1
= (wxDC
*) 0 ;
11004 wxPoint
*arg3
= (wxPoint
*) 0 ;
11005 PyObject
* obj0
= 0 ;
11006 PyObject
* obj1
= 0 ;
11007 char *kwnames
[] = {
11008 (char *) "self",(char *) "points", NULL
11011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
11012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11014 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
11015 if (arg3
== NULL
) SWIG_fail
;
11018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11019 (arg1
)->DrawSpline(arg2
,arg3
);
11021 wxPyEndAllowThreads(__tstate
);
11022 if (PyErr_Occurred()) SWIG_fail
;
11024 Py_INCREF(Py_None
); resultobj
= Py_None
;
11026 if (arg3
) delete [] arg3
;
11031 if (arg3
) delete [] arg3
;
11037 static PyObject
*_wrap_DC_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11038 PyObject
*resultobj
;
11039 wxDC
*arg1
= (wxDC
*) 0 ;
11040 PyObject
* obj0
= 0 ;
11041 char *kwnames
[] = {
11042 (char *) "self", NULL
11045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Clear",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();
11051 wxPyEndAllowThreads(__tstate
);
11052 if (PyErr_Occurred()) SWIG_fail
;
11054 Py_INCREF(Py_None
); resultobj
= Py_None
;
11061 static PyObject
*_wrap_DC_StartDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11062 PyObject
*resultobj
;
11063 wxDC
*arg1
= (wxDC
*) 0 ;
11064 wxString
*arg2
= 0 ;
11066 bool temp2
= false ;
11067 PyObject
* obj0
= 0 ;
11068 PyObject
* obj1
= 0 ;
11069 char *kwnames
[] = {
11070 (char *) "self",(char *) "message", NULL
11073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) goto fail
;
11074 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11076 arg2
= wxString_in_helper(obj1
);
11077 if (arg2
== NULL
) SWIG_fail
;
11081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11082 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
11084 wxPyEndAllowThreads(__tstate
);
11085 if (PyErr_Occurred()) SWIG_fail
;
11087 resultobj
= PyInt_FromLong((long)result
);
11102 static PyObject
*_wrap_DC_EndDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11103 PyObject
*resultobj
;
11104 wxDC
*arg1
= (wxDC
*) 0 ;
11105 PyObject
* obj0
= 0 ;
11106 char *kwnames
[] = {
11107 (char *) "self", NULL
11110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDoc",kwnames
,&obj0
)) goto fail
;
11111 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11116 wxPyEndAllowThreads(__tstate
);
11117 if (PyErr_Occurred()) SWIG_fail
;
11119 Py_INCREF(Py_None
); resultobj
= Py_None
;
11126 static PyObject
*_wrap_DC_StartPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11127 PyObject
*resultobj
;
11128 wxDC
*arg1
= (wxDC
*) 0 ;
11129 PyObject
* obj0
= 0 ;
11130 char *kwnames
[] = {
11131 (char *) "self", NULL
11134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_StartPage",kwnames
,&obj0
)) goto fail
;
11135 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11138 (arg1
)->StartPage();
11140 wxPyEndAllowThreads(__tstate
);
11141 if (PyErr_Occurred()) SWIG_fail
;
11143 Py_INCREF(Py_None
); resultobj
= Py_None
;
11150 static PyObject
*_wrap_DC_EndPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11151 PyObject
*resultobj
;
11152 wxDC
*arg1
= (wxDC
*) 0 ;
11153 PyObject
* obj0
= 0 ;
11154 char *kwnames
[] = {
11155 (char *) "self", NULL
11158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndPage",kwnames
,&obj0
)) goto fail
;
11159 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11164 wxPyEndAllowThreads(__tstate
);
11165 if (PyErr_Occurred()) SWIG_fail
;
11167 Py_INCREF(Py_None
); resultobj
= Py_None
;
11174 static PyObject
*_wrap_DC_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11175 PyObject
*resultobj
;
11176 wxDC
*arg1
= (wxDC
*) 0 ;
11178 PyObject
* obj0
= 0 ;
11179 PyObject
* obj1
= 0 ;
11180 char *kwnames
[] = {
11181 (char *) "self",(char *) "font", NULL
11184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
11185 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11186 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11187 if (arg2
== NULL
) {
11188 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11192 (arg1
)->SetFont((wxFont
const &)*arg2
);
11194 wxPyEndAllowThreads(__tstate
);
11195 if (PyErr_Occurred()) SWIG_fail
;
11197 Py_INCREF(Py_None
); resultobj
= Py_None
;
11204 static PyObject
*_wrap_DC_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11205 PyObject
*resultobj
;
11206 wxDC
*arg1
= (wxDC
*) 0 ;
11208 PyObject
* obj0
= 0 ;
11209 PyObject
* obj1
= 0 ;
11210 char *kwnames
[] = {
11211 (char *) "self",(char *) "pen", NULL
11214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
11215 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11216 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11217 if (arg2
== NULL
) {
11218 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11222 (arg1
)->SetPen((wxPen
const &)*arg2
);
11224 wxPyEndAllowThreads(__tstate
);
11225 if (PyErr_Occurred()) SWIG_fail
;
11227 Py_INCREF(Py_None
); resultobj
= Py_None
;
11234 static PyObject
*_wrap_DC_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11235 PyObject
*resultobj
;
11236 wxDC
*arg1
= (wxDC
*) 0 ;
11237 wxBrush
*arg2
= 0 ;
11238 PyObject
* obj0
= 0 ;
11239 PyObject
* obj1
= 0 ;
11240 char *kwnames
[] = {
11241 (char *) "self",(char *) "brush", NULL
11244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
11245 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11246 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11247 if (arg2
== NULL
) {
11248 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11252 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
11254 wxPyEndAllowThreads(__tstate
);
11255 if (PyErr_Occurred()) SWIG_fail
;
11257 Py_INCREF(Py_None
); resultobj
= Py_None
;
11264 static PyObject
*_wrap_DC_SetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11265 PyObject
*resultobj
;
11266 wxDC
*arg1
= (wxDC
*) 0 ;
11267 wxBrush
*arg2
= 0 ;
11268 PyObject
* obj0
= 0 ;
11269 PyObject
* obj1
= 0 ;
11270 char *kwnames
[] = {
11271 (char *) "self",(char *) "brush", NULL
11274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
11275 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11276 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11277 if (arg2
== NULL
) {
11278 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11282 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
11284 wxPyEndAllowThreads(__tstate
);
11285 if (PyErr_Occurred()) SWIG_fail
;
11287 Py_INCREF(Py_None
); resultobj
= Py_None
;
11294 static PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11295 PyObject
*resultobj
;
11296 wxDC
*arg1
= (wxDC
*) 0 ;
11298 PyObject
* obj0
= 0 ;
11299 char *kwnames
[] = {
11300 (char *) "self",(char *) "mode", NULL
11303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DC_SetBackgroundMode",kwnames
,&obj0
,&arg2
)) goto fail
;
11304 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11307 (arg1
)->SetBackgroundMode(arg2
);
11309 wxPyEndAllowThreads(__tstate
);
11310 if (PyErr_Occurred()) SWIG_fail
;
11312 Py_INCREF(Py_None
); resultobj
= Py_None
;
11319 static PyObject
*_wrap_DC_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11320 PyObject
*resultobj
;
11321 wxDC
*arg1
= (wxDC
*) 0 ;
11322 wxPalette
*arg2
= 0 ;
11323 PyObject
* obj0
= 0 ;
11324 PyObject
* obj1
= 0 ;
11325 char *kwnames
[] = {
11326 (char *) "self",(char *) "palette", NULL
11329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
11330 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11331 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11332 if (arg2
== NULL
) {
11333 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11337 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
11339 wxPyEndAllowThreads(__tstate
);
11340 if (PyErr_Occurred()) SWIG_fail
;
11342 Py_INCREF(Py_None
); resultobj
= Py_None
;
11349 static PyObject
*_wrap_DC_SetClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11350 PyObject
*resultobj
;
11351 wxDC
*arg1
= (wxDC
*) 0 ;
11356 PyObject
* obj0
= 0 ;
11357 char *kwnames
[] = {
11358 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:DC_SetClippingRegion",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
11362 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11365 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
11367 wxPyEndAllowThreads(__tstate
);
11368 if (PyErr_Occurred()) SWIG_fail
;
11370 Py_INCREF(Py_None
); resultobj
= Py_None
;
11377 static PyObject
*_wrap_DC_SetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11378 PyObject
*resultobj
;
11379 wxDC
*arg1
= (wxDC
*) 0 ;
11382 PyObject
* obj0
= 0 ;
11383 PyObject
* obj1
= 0 ;
11384 char *kwnames
[] = {
11385 (char *) "self",(char *) "rect", NULL
11388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11389 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11392 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11396 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
11398 wxPyEndAllowThreads(__tstate
);
11399 if (PyErr_Occurred()) SWIG_fail
;
11401 Py_INCREF(Py_None
); resultobj
= Py_None
;
11408 static PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11409 PyObject
*resultobj
;
11410 wxDC
*arg1
= (wxDC
*) 0 ;
11411 wxRegion
*arg2
= 0 ;
11412 PyObject
* obj0
= 0 ;
11413 PyObject
* obj1
= 0 ;
11414 char *kwnames
[] = {
11415 (char *) "self",(char *) "region", NULL
11418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
11419 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11420 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11421 if (arg2
== NULL
) {
11422 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11426 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
11428 wxPyEndAllowThreads(__tstate
);
11429 if (PyErr_Occurred()) SWIG_fail
;
11431 Py_INCREF(Py_None
); resultobj
= Py_None
;
11438 static PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11439 PyObject
*resultobj
;
11440 wxDC
*arg1
= (wxDC
*) 0 ;
11441 PyObject
* obj0
= 0 ;
11442 char *kwnames
[] = {
11443 (char *) "self", NULL
11446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_DestroyClippingRegion",kwnames
,&obj0
)) goto fail
;
11447 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11450 (arg1
)->DestroyClippingRegion();
11452 wxPyEndAllowThreads(__tstate
);
11453 if (PyErr_Occurred()) SWIG_fail
;
11455 Py_INCREF(Py_None
); resultobj
= Py_None
;
11462 static PyObject
*_wrap_DC_GetClippingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11463 PyObject
*resultobj
;
11464 wxDC
*arg1
= (wxDC
*) 0 ;
11465 wxCoord
*arg2
= (wxCoord
*) 0 ;
11466 wxCoord
*arg3
= (wxCoord
*) 0 ;
11467 wxCoord
*arg4
= (wxCoord
*) 0 ;
11468 wxCoord
*arg5
= (wxCoord
*) 0 ;
11473 PyObject
* obj0
= 0 ;
11474 char *kwnames
[] = {
11475 (char *) "self", NULL
11482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingBox",kwnames
,&obj0
)) goto fail
;
11483 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11486 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
11488 wxPyEndAllowThreads(__tstate
);
11489 if (PyErr_Occurred()) SWIG_fail
;
11491 Py_INCREF(Py_None
); resultobj
= Py_None
;
11493 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
11494 resultobj
= t_output_helper(resultobj
,o
);
11497 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
11498 resultobj
= t_output_helper(resultobj
,o
);
11501 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
11502 resultobj
= t_output_helper(resultobj
,o
);
11505 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
11506 resultobj
= t_output_helper(resultobj
,o
);
11514 static PyObject
*_wrap_DC_GetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11515 PyObject
*resultobj
;
11516 wxDC
*arg1
= (wxDC
*) 0 ;
11518 PyObject
* obj0
= 0 ;
11519 char *kwnames
[] = {
11520 (char *) "self", NULL
11523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingRect",kwnames
,&obj0
)) goto fail
;
11524 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11527 result
= wxDC_GetClippingRect(arg1
);
11529 wxPyEndAllowThreads(__tstate
);
11530 if (PyErr_Occurred()) SWIG_fail
;
11533 wxRect
* resultptr
;
11534 resultptr
= new wxRect((wxRect
&) result
);
11535 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
11543 static PyObject
*_wrap_DC_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11544 PyObject
*resultobj
;
11545 wxDC
*arg1
= (wxDC
*) 0 ;
11547 PyObject
* obj0
= 0 ;
11548 char *kwnames
[] = {
11549 (char *) "self", NULL
11552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharHeight",kwnames
,&obj0
)) goto fail
;
11553 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11556 result
= (wxCoord
)((wxDC
const *)arg1
)->GetCharHeight();
11558 wxPyEndAllowThreads(__tstate
);
11559 if (PyErr_Occurred()) SWIG_fail
;
11561 resultobj
= PyInt_FromLong((long)result
);
11568 static PyObject
*_wrap_DC_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11569 PyObject
*resultobj
;
11570 wxDC
*arg1
= (wxDC
*) 0 ;
11572 PyObject
* obj0
= 0 ;
11573 char *kwnames
[] = {
11574 (char *) "self", NULL
11577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharWidth",kwnames
,&obj0
)) goto fail
;
11578 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11581 result
= (wxCoord
)((wxDC
const *)arg1
)->GetCharWidth();
11583 wxPyEndAllowThreads(__tstate
);
11584 if (PyErr_Occurred()) SWIG_fail
;
11586 resultobj
= PyInt_FromLong((long)result
);
11593 static PyObject
*_wrap_DC_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11594 PyObject
*resultobj
;
11595 wxDC
*arg1
= (wxDC
*) 0 ;
11596 wxString
*arg2
= 0 ;
11597 wxCoord
*arg3
= (wxCoord
*) 0 ;
11598 wxCoord
*arg4
= (wxCoord
*) 0 ;
11599 bool temp2
= false ;
11602 PyObject
* obj0
= 0 ;
11603 PyObject
* obj1
= 0 ;
11604 char *kwnames
[] = {
11605 (char *) "self",(char *) "string", NULL
11610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
11611 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11613 arg2
= wxString_in_helper(obj1
);
11614 if (arg2
== NULL
) SWIG_fail
;
11618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11619 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
11621 wxPyEndAllowThreads(__tstate
);
11622 if (PyErr_Occurred()) SWIG_fail
;
11624 Py_INCREF(Py_None
); resultobj
= Py_None
;
11626 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
11627 resultobj
= t_output_helper(resultobj
,o
);
11630 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
11631 resultobj
= t_output_helper(resultobj
,o
);
11647 static PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11648 PyObject
*resultobj
;
11649 wxDC
*arg1
= (wxDC
*) 0 ;
11650 wxString
*arg2
= 0 ;
11651 wxCoord
*arg3
= (wxCoord
*) 0 ;
11652 wxCoord
*arg4
= (wxCoord
*) 0 ;
11653 wxCoord
*arg5
= (wxCoord
*) 0 ;
11654 wxCoord
*arg6
= (wxCoord
*) 0 ;
11655 wxFont
*arg7
= (wxFont
*) NULL
;
11656 bool temp2
= false ;
11661 PyObject
* obj0
= 0 ;
11662 PyObject
* obj1
= 0 ;
11663 PyObject
* obj2
= 0 ;
11664 char *kwnames
[] = {
11665 (char *) "self",(char *) "string",(char *) "font", NULL
11672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11673 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11675 arg2
= wxString_in_helper(obj1
);
11676 if (arg2
== NULL
) SWIG_fail
;
11680 if ((SWIG_ConvertPtr(obj2
,(void **) &arg7
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11684 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11686 wxPyEndAllowThreads(__tstate
);
11687 if (PyErr_Occurred()) SWIG_fail
;
11689 Py_INCREF(Py_None
); resultobj
= Py_None
;
11691 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
11692 resultobj
= t_output_helper(resultobj
,o
);
11695 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
11696 resultobj
= t_output_helper(resultobj
,o
);
11699 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
11700 resultobj
= t_output_helper(resultobj
,o
);
11703 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
11704 resultobj
= t_output_helper(resultobj
,o
);
11720 static PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11721 PyObject
*resultobj
;
11722 wxDC
*arg1
= (wxDC
*) 0 ;
11723 wxString
*arg2
= 0 ;
11724 wxCoord
*arg3
= (wxCoord
*) 0 ;
11725 wxCoord
*arg4
= (wxCoord
*) 0 ;
11726 wxCoord
*arg5
= (wxCoord
*) 0 ;
11727 wxFont
*arg6
= (wxFont
*) NULL
;
11728 bool temp2
= false ;
11732 PyObject
* obj0
= 0 ;
11733 PyObject
* obj1
= 0 ;
11734 PyObject
* obj2
= 0 ;
11735 char *kwnames
[] = {
11736 (char *) "self",(char *) "text",(char *) "font", NULL
11742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11743 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11745 arg2
= wxString_in_helper(obj1
);
11746 if (arg2
== NULL
) SWIG_fail
;
11750 if ((SWIG_ConvertPtr(obj2
,(void **) &arg6
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11754 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
11756 wxPyEndAllowThreads(__tstate
);
11757 if (PyErr_Occurred()) SWIG_fail
;
11759 Py_INCREF(Py_None
); resultobj
= Py_None
;
11761 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
11762 resultobj
= t_output_helper(resultobj
,o
);
11765 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
11766 resultobj
= t_output_helper(resultobj
,o
);
11769 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
11770 resultobj
= t_output_helper(resultobj
,o
);
11786 static PyObject
*_wrap_DC_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11787 PyObject
*resultobj
;
11788 wxDC
*arg1
= (wxDC
*) 0 ;
11789 int *arg2
= (int *) 0 ;
11790 int *arg3
= (int *) 0 ;
11793 PyObject
* obj0
= 0 ;
11794 char *kwnames
[] = {
11795 (char *) "self", NULL
11800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
11801 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11804 (arg1
)->GetSize(arg2
,arg3
);
11806 wxPyEndAllowThreads(__tstate
);
11807 if (PyErr_Occurred()) SWIG_fail
;
11809 Py_INCREF(Py_None
); resultobj
= Py_None
;
11811 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
11812 resultobj
= t_output_helper(resultobj
,o
);
11815 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
11816 resultobj
= t_output_helper(resultobj
,o
);
11824 static PyObject
*_wrap_DC_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11825 PyObject
*resultobj
;
11826 wxDC
*arg1
= (wxDC
*) 0 ;
11828 PyObject
* obj0
= 0 ;
11829 char *kwnames
[] = {
11830 (char *) "self", NULL
11833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSize",kwnames
,&obj0
)) goto fail
;
11834 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11837 result
= (arg1
)->GetSize();
11839 wxPyEndAllowThreads(__tstate
);
11840 if (PyErr_Occurred()) SWIG_fail
;
11843 wxSize
* resultptr
;
11844 resultptr
= new wxSize((wxSize
&) result
);
11845 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
11853 static PyObject
*_wrap_DC_GetSizeMMWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11854 PyObject
*resultobj
;
11855 wxDC
*arg1
= (wxDC
*) 0 ;
11856 int *arg2
= (int *) 0 ;
11857 int *arg3
= (int *) 0 ;
11860 PyObject
* obj0
= 0 ;
11861 char *kwnames
[] = {
11862 (char *) "self", NULL
11867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMMWH",kwnames
,&obj0
)) goto fail
;
11868 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11871 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
11873 wxPyEndAllowThreads(__tstate
);
11874 if (PyErr_Occurred()) SWIG_fail
;
11876 Py_INCREF(Py_None
); resultobj
= Py_None
;
11878 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
11879 resultobj
= t_output_helper(resultobj
,o
);
11882 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
11883 resultobj
= t_output_helper(resultobj
,o
);
11891 static PyObject
*_wrap_DC_GetSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11892 PyObject
*resultobj
;
11893 wxDC
*arg1
= (wxDC
*) 0 ;
11895 PyObject
* obj0
= 0 ;
11896 char *kwnames
[] = {
11897 (char *) "self", NULL
11900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMM",kwnames
,&obj0
)) goto fail
;
11901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11904 result
= ((wxDC
const *)arg1
)->GetSizeMM();
11906 wxPyEndAllowThreads(__tstate
);
11907 if (PyErr_Occurred()) SWIG_fail
;
11910 wxSize
* resultptr
;
11911 resultptr
= new wxSize((wxSize
&) result
);
11912 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
11920 static PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11921 PyObject
*resultobj
;
11922 wxDC
*arg1
= (wxDC
*) 0 ;
11925 PyObject
* obj0
= 0 ;
11926 char *kwnames
[] = {
11927 (char *) "self",(char *) "x", NULL
11930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DC_DeviceToLogicalX",kwnames
,&obj0
,&arg2
)) goto fail
;
11931 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11934 result
= (wxCoord
)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
11936 wxPyEndAllowThreads(__tstate
);
11937 if (PyErr_Occurred()) SWIG_fail
;
11939 resultobj
= PyInt_FromLong((long)result
);
11946 static PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11947 PyObject
*resultobj
;
11948 wxDC
*arg1
= (wxDC
*) 0 ;
11951 PyObject
* obj0
= 0 ;
11952 char *kwnames
[] = {
11953 (char *) "self",(char *) "y", NULL
11956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DC_DeviceToLogicalY",kwnames
,&obj0
,&arg2
)) goto fail
;
11957 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11960 result
= (wxCoord
)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
11962 wxPyEndAllowThreads(__tstate
);
11963 if (PyErr_Occurred()) SWIG_fail
;
11965 resultobj
= PyInt_FromLong((long)result
);
11972 static PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11973 PyObject
*resultobj
;
11974 wxDC
*arg1
= (wxDC
*) 0 ;
11977 PyObject
* obj0
= 0 ;
11978 char *kwnames
[] = {
11979 (char *) "self",(char *) "x", NULL
11982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&arg2
)) goto fail
;
11983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11986 result
= (wxCoord
)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
11988 wxPyEndAllowThreads(__tstate
);
11989 if (PyErr_Occurred()) SWIG_fail
;
11991 resultobj
= PyInt_FromLong((long)result
);
11998 static PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11999 PyObject
*resultobj
;
12000 wxDC
*arg1
= (wxDC
*) 0 ;
12003 PyObject
* obj0
= 0 ;
12004 char *kwnames
[] = {
12005 (char *) "self",(char *) "y", NULL
12008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&arg2
)) goto fail
;
12009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12012 result
= (wxCoord
)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
12014 wxPyEndAllowThreads(__tstate
);
12015 if (PyErr_Occurred()) SWIG_fail
;
12017 resultobj
= PyInt_FromLong((long)result
);
12024 static PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12025 PyObject
*resultobj
;
12026 wxDC
*arg1
= (wxDC
*) 0 ;
12029 PyObject
* obj0
= 0 ;
12030 char *kwnames
[] = {
12031 (char *) "self",(char *) "x", NULL
12034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DC_LogicalToDeviceX",kwnames
,&obj0
,&arg2
)) goto fail
;
12035 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12038 result
= (wxCoord
)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
12040 wxPyEndAllowThreads(__tstate
);
12041 if (PyErr_Occurred()) SWIG_fail
;
12043 resultobj
= PyInt_FromLong((long)result
);
12050 static PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12051 PyObject
*resultobj
;
12052 wxDC
*arg1
= (wxDC
*) 0 ;
12055 PyObject
* obj0
= 0 ;
12056 char *kwnames
[] = {
12057 (char *) "self",(char *) "y", NULL
12060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DC_LogicalToDeviceY",kwnames
,&obj0
,&arg2
)) goto fail
;
12061 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12064 result
= (wxCoord
)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
12066 wxPyEndAllowThreads(__tstate
);
12067 if (PyErr_Occurred()) SWIG_fail
;
12069 resultobj
= PyInt_FromLong((long)result
);
12076 static PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12077 PyObject
*resultobj
;
12078 wxDC
*arg1
= (wxDC
*) 0 ;
12081 PyObject
* obj0
= 0 ;
12082 char *kwnames
[] = {
12083 (char *) "self",(char *) "x", NULL
12086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&arg2
)) goto fail
;
12087 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12090 result
= (wxCoord
)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
12092 wxPyEndAllowThreads(__tstate
);
12093 if (PyErr_Occurred()) SWIG_fail
;
12095 resultobj
= PyInt_FromLong((long)result
);
12102 static PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12103 PyObject
*resultobj
;
12104 wxDC
*arg1
= (wxDC
*) 0 ;
12107 PyObject
* obj0
= 0 ;
12108 char *kwnames
[] = {
12109 (char *) "self",(char *) "y", NULL
12112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&arg2
)) goto fail
;
12113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12116 result
= (wxCoord
)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
12118 wxPyEndAllowThreads(__tstate
);
12119 if (PyErr_Occurred()) SWIG_fail
;
12121 resultobj
= PyInt_FromLong((long)result
);
12128 static PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12129 PyObject
*resultobj
;
12130 wxDC
*arg1
= (wxDC
*) 0 ;
12132 PyObject
* obj0
= 0 ;
12133 char *kwnames
[] = {
12134 (char *) "self", NULL
12137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanDrawBitmap",kwnames
,&obj0
)) goto fail
;
12138 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12141 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
12143 wxPyEndAllowThreads(__tstate
);
12144 if (PyErr_Occurred()) SWIG_fail
;
12146 resultobj
= PyInt_FromLong((long)result
);
12153 static PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12154 PyObject
*resultobj
;
12155 wxDC
*arg1
= (wxDC
*) 0 ;
12157 PyObject
* obj0
= 0 ;
12158 char *kwnames
[] = {
12159 (char *) "self", NULL
12162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanGetTextExtent",kwnames
,&obj0
)) goto fail
;
12163 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12166 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
12168 wxPyEndAllowThreads(__tstate
);
12169 if (PyErr_Occurred()) SWIG_fail
;
12171 resultobj
= PyInt_FromLong((long)result
);
12178 static PyObject
*_wrap_DC_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12179 PyObject
*resultobj
;
12180 wxDC
*arg1
= (wxDC
*) 0 ;
12182 PyObject
* obj0
= 0 ;
12183 char *kwnames
[] = {
12184 (char *) "self", NULL
12187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDepth",kwnames
,&obj0
)) goto fail
;
12188 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12191 result
= (int)((wxDC
const *)arg1
)->GetDepth();
12193 wxPyEndAllowThreads(__tstate
);
12194 if (PyErr_Occurred()) SWIG_fail
;
12196 resultobj
= PyInt_FromLong((long)result
);
12203 static PyObject
*_wrap_DC_GetPPI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12204 PyObject
*resultobj
;
12205 wxDC
*arg1
= (wxDC
*) 0 ;
12207 PyObject
* obj0
= 0 ;
12208 char *kwnames
[] = {
12209 (char *) "self", NULL
12212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPPI",kwnames
,&obj0
)) goto fail
;
12213 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12216 result
= ((wxDC
const *)arg1
)->GetPPI();
12218 wxPyEndAllowThreads(__tstate
);
12219 if (PyErr_Occurred()) SWIG_fail
;
12222 wxSize
* resultptr
;
12223 resultptr
= new wxSize((wxSize
&) result
);
12224 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
12232 static PyObject
*_wrap_DC_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12233 PyObject
*resultobj
;
12234 wxDC
*arg1
= (wxDC
*) 0 ;
12236 PyObject
* obj0
= 0 ;
12237 char *kwnames
[] = {
12238 (char *) "self", NULL
12241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Ok",kwnames
,&obj0
)) goto fail
;
12242 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12245 result
= (bool)((wxDC
const *)arg1
)->Ok();
12247 wxPyEndAllowThreads(__tstate
);
12248 if (PyErr_Occurred()) SWIG_fail
;
12250 resultobj
= PyInt_FromLong((long)result
);
12257 static PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12258 PyObject
*resultobj
;
12259 wxDC
*arg1
= (wxDC
*) 0 ;
12261 PyObject
* obj0
= 0 ;
12262 char *kwnames
[] = {
12263 (char *) "self", NULL
12266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackgroundMode",kwnames
,&obj0
)) goto fail
;
12267 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12270 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
12272 wxPyEndAllowThreads(__tstate
);
12273 if (PyErr_Occurred()) SWIG_fail
;
12275 resultobj
= PyInt_FromLong((long)result
);
12282 static PyObject
*_wrap_DC_GetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12283 PyObject
*resultobj
;
12284 wxDC
*arg1
= (wxDC
*) 0 ;
12286 PyObject
* obj0
= 0 ;
12287 char *kwnames
[] = {
12288 (char *) "self", NULL
12291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackground",kwnames
,&obj0
)) goto fail
;
12292 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12296 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
12297 result
= (wxBrush
*) &_result_ref
;
12300 wxPyEndAllowThreads(__tstate
);
12301 if (PyErr_Occurred()) SWIG_fail
;
12303 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBrush
, 0);
12310 static PyObject
*_wrap_DC_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12311 PyObject
*resultobj
;
12312 wxDC
*arg1
= (wxDC
*) 0 ;
12314 PyObject
* obj0
= 0 ;
12315 char *kwnames
[] = {
12316 (char *) "self", NULL
12319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBrush",kwnames
,&obj0
)) goto fail
;
12320 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12324 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
12325 result
= (wxBrush
*) &_result_ref
;
12328 wxPyEndAllowThreads(__tstate
);
12329 if (PyErr_Occurred()) SWIG_fail
;
12331 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBrush
, 0);
12338 static PyObject
*_wrap_DC_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12339 PyObject
*resultobj
;
12340 wxDC
*arg1
= (wxDC
*) 0 ;
12342 PyObject
* obj0
= 0 ;
12343 char *kwnames
[] = {
12344 (char *) "self", NULL
12347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetFont",kwnames
,&obj0
)) goto fail
;
12348 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12352 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
12353 result
= (wxFont
*) &_result_ref
;
12356 wxPyEndAllowThreads(__tstate
);
12357 if (PyErr_Occurred()) SWIG_fail
;
12359 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
12366 static PyObject
*_wrap_DC_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12367 PyObject
*resultobj
;
12368 wxDC
*arg1
= (wxDC
*) 0 ;
12370 PyObject
* obj0
= 0 ;
12371 char *kwnames
[] = {
12372 (char *) "self", NULL
12375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPen",kwnames
,&obj0
)) goto fail
;
12376 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12380 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
12381 result
= (wxPen
*) &_result_ref
;
12384 wxPyEndAllowThreads(__tstate
);
12385 if (PyErr_Occurred()) SWIG_fail
;
12387 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPen
, 0);
12394 static PyObject
*_wrap_DC_GetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12395 PyObject
*resultobj
;
12396 wxDC
*arg1
= (wxDC
*) 0 ;
12398 PyObject
* obj0
= 0 ;
12399 char *kwnames
[] = {
12400 (char *) "self", NULL
12403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextBackground",kwnames
,&obj0
)) goto fail
;
12404 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12408 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
12409 result
= (wxColour
*) &_result_ref
;
12412 wxPyEndAllowThreads(__tstate
);
12413 if (PyErr_Occurred()) SWIG_fail
;
12415 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
12422 static PyObject
*_wrap_DC_GetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12423 PyObject
*resultobj
;
12424 wxDC
*arg1
= (wxDC
*) 0 ;
12426 PyObject
* obj0
= 0 ;
12427 char *kwnames
[] = {
12428 (char *) "self", NULL
12431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextForeground",kwnames
,&obj0
)) goto fail
;
12432 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12436 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
12437 result
= (wxColour
*) &_result_ref
;
12440 wxPyEndAllowThreads(__tstate
);
12441 if (PyErr_Occurred()) SWIG_fail
;
12443 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
12450 static PyObject
*_wrap_DC_SetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12451 PyObject
*resultobj
;
12452 wxDC
*arg1
= (wxDC
*) 0 ;
12453 wxColour
*arg2
= 0 ;
12455 PyObject
* obj0
= 0 ;
12456 PyObject
* obj1
= 0 ;
12457 char *kwnames
[] = {
12458 (char *) "self",(char *) "colour", NULL
12461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
12462 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12465 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12469 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
12471 wxPyEndAllowThreads(__tstate
);
12472 if (PyErr_Occurred()) SWIG_fail
;
12474 Py_INCREF(Py_None
); resultobj
= Py_None
;
12481 static PyObject
*_wrap_DC_SetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12482 PyObject
*resultobj
;
12483 wxDC
*arg1
= (wxDC
*) 0 ;
12484 wxColour
*arg2
= 0 ;
12486 PyObject
* obj0
= 0 ;
12487 PyObject
* obj1
= 0 ;
12488 char *kwnames
[] = {
12489 (char *) "self",(char *) "colour", NULL
12492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
12493 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12496 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12500 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
12502 wxPyEndAllowThreads(__tstate
);
12503 if (PyErr_Occurred()) SWIG_fail
;
12505 Py_INCREF(Py_None
); resultobj
= Py_None
;
12512 static PyObject
*_wrap_DC_GetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12513 PyObject
*resultobj
;
12514 wxDC
*arg1
= (wxDC
*) 0 ;
12516 PyObject
* obj0
= 0 ;
12517 char *kwnames
[] = {
12518 (char *) "self", NULL
12521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetMapMode",kwnames
,&obj0
)) goto fail
;
12522 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12525 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
12527 wxPyEndAllowThreads(__tstate
);
12528 if (PyErr_Occurred()) SWIG_fail
;
12530 resultobj
= PyInt_FromLong((long)result
);
12537 static PyObject
*_wrap_DC_SetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12538 PyObject
*resultobj
;
12539 wxDC
*arg1
= (wxDC
*) 0 ;
12541 PyObject
* obj0
= 0 ;
12542 char *kwnames
[] = {
12543 (char *) "self",(char *) "mode", NULL
12546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DC_SetMapMode",kwnames
,&obj0
,&arg2
)) goto fail
;
12547 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12550 (arg1
)->SetMapMode(arg2
);
12552 wxPyEndAllowThreads(__tstate
);
12553 if (PyErr_Occurred()) SWIG_fail
;
12555 Py_INCREF(Py_None
); resultobj
= Py_None
;
12562 static PyObject
*_wrap_DC_GetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12563 PyObject
*resultobj
;
12564 wxDC
*arg1
= (wxDC
*) 0 ;
12565 double *arg2
= (double *) 0 ;
12566 double *arg3
= (double *) 0 ;
12569 PyObject
* obj0
= 0 ;
12570 char *kwnames
[] = {
12571 (char *) "self", NULL
12576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetUserScale",kwnames
,&obj0
)) goto fail
;
12577 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12580 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
12582 wxPyEndAllowThreads(__tstate
);
12583 if (PyErr_Occurred()) SWIG_fail
;
12585 Py_INCREF(Py_None
); resultobj
= Py_None
;
12587 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
12588 resultobj
= t_output_helper(resultobj
,o
);
12591 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
12592 resultobj
= t_output_helper(resultobj
,o
);
12600 static PyObject
*_wrap_DC_SetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12601 PyObject
*resultobj
;
12602 wxDC
*arg1
= (wxDC
*) 0 ;
12605 PyObject
* obj0
= 0 ;
12606 char *kwnames
[] = {
12607 (char *) "self",(char *) "x",(char *) "y", NULL
12610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:DC_SetUserScale",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
12611 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12614 (arg1
)->SetUserScale(arg2
,arg3
);
12616 wxPyEndAllowThreads(__tstate
);
12617 if (PyErr_Occurred()) SWIG_fail
;
12619 Py_INCREF(Py_None
); resultobj
= Py_None
;
12626 static PyObject
*_wrap_DC_GetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12627 PyObject
*resultobj
;
12628 wxDC
*arg1
= (wxDC
*) 0 ;
12629 double *arg2
= (double *) 0 ;
12630 double *arg3
= (double *) 0 ;
12633 PyObject
* obj0
= 0 ;
12634 char *kwnames
[] = {
12635 (char *) "self", NULL
12640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalScale",kwnames
,&obj0
)) goto fail
;
12641 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12644 (arg1
)->GetLogicalScale(arg2
,arg3
);
12646 wxPyEndAllowThreads(__tstate
);
12647 if (PyErr_Occurred()) SWIG_fail
;
12649 Py_INCREF(Py_None
); resultobj
= Py_None
;
12651 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
12652 resultobj
= t_output_helper(resultobj
,o
);
12655 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
12656 resultobj
= t_output_helper(resultobj
,o
);
12664 static PyObject
*_wrap_DC_SetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12665 PyObject
*resultobj
;
12666 wxDC
*arg1
= (wxDC
*) 0 ;
12669 PyObject
* obj0
= 0 ;
12670 char *kwnames
[] = {
12671 (char *) "self",(char *) "x",(char *) "y", NULL
12674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:DC_SetLogicalScale",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
12675 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12678 (arg1
)->SetLogicalScale(arg2
,arg3
);
12680 wxPyEndAllowThreads(__tstate
);
12681 if (PyErr_Occurred()) SWIG_fail
;
12683 Py_INCREF(Py_None
); resultobj
= Py_None
;
12690 static PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12691 PyObject
*resultobj
;
12692 wxDC
*arg1
= (wxDC
*) 0 ;
12693 wxCoord
*arg2
= (wxCoord
*) 0 ;
12694 wxCoord
*arg3
= (wxCoord
*) 0 ;
12697 PyObject
* obj0
= 0 ;
12698 char *kwnames
[] = {
12699 (char *) "self", NULL
12704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOriginTuple",kwnames
,&obj0
)) goto fail
;
12705 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12708 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
12710 wxPyEndAllowThreads(__tstate
);
12711 if (PyErr_Occurred()) SWIG_fail
;
12713 Py_INCREF(Py_None
); resultobj
= Py_None
;
12715 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
12716 resultobj
= t_output_helper(resultobj
,o
);
12719 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12720 resultobj
= t_output_helper(resultobj
,o
);
12728 static PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12729 PyObject
*resultobj
;
12730 wxDC
*arg1
= (wxDC
*) 0 ;
12732 PyObject
* obj0
= 0 ;
12733 char *kwnames
[] = {
12734 (char *) "self", NULL
12737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOrigin",kwnames
,&obj0
)) goto fail
;
12738 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12741 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
12743 wxPyEndAllowThreads(__tstate
);
12744 if (PyErr_Occurred()) SWIG_fail
;
12747 wxPoint
* resultptr
;
12748 resultptr
= new wxPoint((wxPoint
&) result
);
12749 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
12757 static PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12758 PyObject
*resultobj
;
12759 wxDC
*arg1
= (wxDC
*) 0 ;
12762 PyObject
* obj0
= 0 ;
12763 char *kwnames
[] = {
12764 (char *) "self",(char *) "x",(char *) "y", NULL
12767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:DC_SetLogicalOrigin",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
12768 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12771 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
12773 wxPyEndAllowThreads(__tstate
);
12774 if (PyErr_Occurred()) SWIG_fail
;
12776 Py_INCREF(Py_None
); resultobj
= Py_None
;
12783 static PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12784 PyObject
*resultobj
;
12785 wxDC
*arg1
= (wxDC
*) 0 ;
12786 wxCoord
*arg2
= (wxCoord
*) 0 ;
12787 wxCoord
*arg3
= (wxCoord
*) 0 ;
12790 PyObject
* obj0
= 0 ;
12791 char *kwnames
[] = {
12792 (char *) "self", NULL
12797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOriginTuple",kwnames
,&obj0
)) goto fail
;
12798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12801 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
12803 wxPyEndAllowThreads(__tstate
);
12804 if (PyErr_Occurred()) SWIG_fail
;
12806 Py_INCREF(Py_None
); resultobj
= Py_None
;
12808 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
12809 resultobj
= t_output_helper(resultobj
,o
);
12812 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12813 resultobj
= t_output_helper(resultobj
,o
);
12821 static PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12822 PyObject
*resultobj
;
12823 wxDC
*arg1
= (wxDC
*) 0 ;
12825 PyObject
* obj0
= 0 ;
12826 char *kwnames
[] = {
12827 (char *) "self", NULL
12830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOrigin",kwnames
,&obj0
)) goto fail
;
12831 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12834 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
12836 wxPyEndAllowThreads(__tstate
);
12837 if (PyErr_Occurred()) SWIG_fail
;
12840 wxPoint
* resultptr
;
12841 resultptr
= new wxPoint((wxPoint
&) result
);
12842 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
12850 static PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12851 PyObject
*resultobj
;
12852 wxDC
*arg1
= (wxDC
*) 0 ;
12855 PyObject
* obj0
= 0 ;
12856 char *kwnames
[] = {
12857 (char *) "self",(char *) "x",(char *) "y", NULL
12860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:DC_SetDeviceOrigin",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
12861 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12864 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
12866 wxPyEndAllowThreads(__tstate
);
12867 if (PyErr_Occurred()) SWIG_fail
;
12869 Py_INCREF(Py_None
); resultobj
= Py_None
;
12876 static PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12877 PyObject
*resultobj
;
12878 wxDC
*arg1
= (wxDC
*) 0 ;
12881 PyObject
* obj0
= 0 ;
12882 PyObject
* obj1
= 0 ;
12883 PyObject
* obj2
= 0 ;
12884 char *kwnames
[] = {
12885 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
12888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12889 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12890 arg2
= PyInt_AsLong(obj1
) ? true : false;
12891 if (PyErr_Occurred()) SWIG_fail
;
12892 arg3
= PyInt_AsLong(obj2
) ? true : false;
12893 if (PyErr_Occurred()) SWIG_fail
;
12895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12896 (arg1
)->SetAxisOrientation(arg2
,arg3
);
12898 wxPyEndAllowThreads(__tstate
);
12899 if (PyErr_Occurred()) SWIG_fail
;
12901 Py_INCREF(Py_None
); resultobj
= Py_None
;
12908 static PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12909 PyObject
*resultobj
;
12910 wxDC
*arg1
= (wxDC
*) 0 ;
12912 PyObject
* obj0
= 0 ;
12913 char *kwnames
[] = {
12914 (char *) "self", NULL
12917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalFunction",kwnames
,&obj0
)) goto fail
;
12918 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12921 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
12923 wxPyEndAllowThreads(__tstate
);
12924 if (PyErr_Occurred()) SWIG_fail
;
12926 resultobj
= PyInt_FromLong((long)result
);
12933 static PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12934 PyObject
*resultobj
;
12935 wxDC
*arg1
= (wxDC
*) 0 ;
12937 PyObject
* obj0
= 0 ;
12938 char *kwnames
[] = {
12939 (char *) "self",(char *) "function", NULL
12942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DC_SetLogicalFunction",kwnames
,&obj0
,&arg2
)) goto fail
;
12943 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12946 (arg1
)->SetLogicalFunction(arg2
);
12948 wxPyEndAllowThreads(__tstate
);
12949 if (PyErr_Occurred()) SWIG_fail
;
12951 Py_INCREF(Py_None
); resultobj
= Py_None
;
12958 static PyObject
*_wrap_DC_SetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12959 PyObject
*resultobj
;
12960 wxDC
*arg1
= (wxDC
*) 0 ;
12962 PyObject
* obj0
= 0 ;
12963 PyObject
* obj1
= 0 ;
12964 char *kwnames
[] = {
12965 (char *) "self",(char *) "opt", NULL
12968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetOptimization",kwnames
,&obj0
,&obj1
)) goto fail
;
12969 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12970 arg2
= PyInt_AsLong(obj1
) ? true : false;
12971 if (PyErr_Occurred()) SWIG_fail
;
12973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12974 (arg1
)->SetOptimization(arg2
);
12976 wxPyEndAllowThreads(__tstate
);
12977 if (PyErr_Occurred()) SWIG_fail
;
12979 Py_INCREF(Py_None
); resultobj
= Py_None
;
12986 static PyObject
*_wrap_DC_GetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12987 PyObject
*resultobj
;
12988 wxDC
*arg1
= (wxDC
*) 0 ;
12990 PyObject
* obj0
= 0 ;
12991 char *kwnames
[] = {
12992 (char *) "self", NULL
12995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetOptimization",kwnames
,&obj0
)) goto fail
;
12996 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12999 result
= (bool)(arg1
)->GetOptimization();
13001 wxPyEndAllowThreads(__tstate
);
13002 if (PyErr_Occurred()) SWIG_fail
;
13004 resultobj
= PyInt_FromLong((long)result
);
13011 static PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13012 PyObject
*resultobj
;
13013 wxDC
*arg1
= (wxDC
*) 0 ;
13016 PyObject
* obj0
= 0 ;
13017 char *kwnames
[] = {
13018 (char *) "self",(char *) "x",(char *) "y", NULL
13021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:DC_CalcBoundingBox",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
13022 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13025 (arg1
)->CalcBoundingBox(arg2
,arg3
);
13027 wxPyEndAllowThreads(__tstate
);
13028 if (PyErr_Occurred()) SWIG_fail
;
13030 Py_INCREF(Py_None
); resultobj
= Py_None
;
13037 static PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13038 PyObject
*resultobj
;
13039 wxDC
*arg1
= (wxDC
*) 0 ;
13040 PyObject
* obj0
= 0 ;
13041 char *kwnames
[] = {
13042 (char *) "self", NULL
13045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ResetBoundingBox",kwnames
,&obj0
)) goto fail
;
13046 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13049 (arg1
)->ResetBoundingBox();
13051 wxPyEndAllowThreads(__tstate
);
13052 if (PyErr_Occurred()) SWIG_fail
;
13054 Py_INCREF(Py_None
); resultobj
= Py_None
;
13061 static PyObject
*_wrap_DC_MinX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13062 PyObject
*resultobj
;
13063 wxDC
*arg1
= (wxDC
*) 0 ;
13065 PyObject
* obj0
= 0 ;
13066 char *kwnames
[] = {
13067 (char *) "self", NULL
13070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinX",kwnames
,&obj0
)) goto fail
;
13071 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13074 result
= (wxCoord
)((wxDC
const *)arg1
)->MinX();
13076 wxPyEndAllowThreads(__tstate
);
13077 if (PyErr_Occurred()) SWIG_fail
;
13079 resultobj
= PyInt_FromLong((long)result
);
13086 static PyObject
*_wrap_DC_MaxX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13087 PyObject
*resultobj
;
13088 wxDC
*arg1
= (wxDC
*) 0 ;
13090 PyObject
* obj0
= 0 ;
13091 char *kwnames
[] = {
13092 (char *) "self", NULL
13095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxX",kwnames
,&obj0
)) goto fail
;
13096 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13099 result
= (wxCoord
)((wxDC
const *)arg1
)->MaxX();
13101 wxPyEndAllowThreads(__tstate
);
13102 if (PyErr_Occurred()) SWIG_fail
;
13104 resultobj
= PyInt_FromLong((long)result
);
13111 static PyObject
*_wrap_DC_MinY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13112 PyObject
*resultobj
;
13113 wxDC
*arg1
= (wxDC
*) 0 ;
13115 PyObject
* obj0
= 0 ;
13116 char *kwnames
[] = {
13117 (char *) "self", NULL
13120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinY",kwnames
,&obj0
)) goto fail
;
13121 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13124 result
= (wxCoord
)((wxDC
const *)arg1
)->MinY();
13126 wxPyEndAllowThreads(__tstate
);
13127 if (PyErr_Occurred()) SWIG_fail
;
13129 resultobj
= PyInt_FromLong((long)result
);
13136 static PyObject
*_wrap_DC_MaxY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13137 PyObject
*resultobj
;
13138 wxDC
*arg1
= (wxDC
*) 0 ;
13140 PyObject
* obj0
= 0 ;
13141 char *kwnames
[] = {
13142 (char *) "self", NULL
13145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxY",kwnames
,&obj0
)) goto fail
;
13146 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13149 result
= (wxCoord
)((wxDC
const *)arg1
)->MaxY();
13151 wxPyEndAllowThreads(__tstate
);
13152 if (PyErr_Occurred()) SWIG_fail
;
13154 resultobj
= PyInt_FromLong((long)result
);
13161 static PyObject
*_wrap_DC_GetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13162 PyObject
*resultobj
;
13163 wxDC
*arg1
= (wxDC
*) 0 ;
13164 int *arg2
= (int *) 0 ;
13165 int *arg3
= (int *) 0 ;
13166 int *arg4
= (int *) 0 ;
13167 int *arg5
= (int *) 0 ;
13172 PyObject
* obj0
= 0 ;
13173 char *kwnames
[] = {
13174 (char *) "self", NULL
13181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBoundingBox",kwnames
,&obj0
)) goto fail
;
13182 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13185 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
13187 wxPyEndAllowThreads(__tstate
);
13188 if (PyErr_Occurred()) SWIG_fail
;
13190 Py_INCREF(Py_None
); resultobj
= Py_None
;
13192 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13193 resultobj
= t_output_helper(resultobj
,o
);
13196 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13197 resultobj
= t_output_helper(resultobj
,o
);
13200 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
13201 resultobj
= t_output_helper(resultobj
,o
);
13204 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
13205 resultobj
= t_output_helper(resultobj
,o
);
13213 static PyObject
*_wrap_DC__DrawPointList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13214 PyObject
*resultobj
;
13215 wxDC
*arg1
= (wxDC
*) 0 ;
13216 PyObject
*arg2
= (PyObject
*) 0 ;
13217 PyObject
*arg3
= (PyObject
*) 0 ;
13218 PyObject
*arg4
= (PyObject
*) 0 ;
13220 PyObject
* obj0
= 0 ;
13221 PyObject
* obj1
= 0 ;
13222 PyObject
* obj2
= 0 ;
13223 PyObject
* obj3
= 0 ;
13224 char *kwnames
[] = {
13225 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
13228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13229 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13235 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
13237 wxPyEndAllowThreads(__tstate
);
13238 if (PyErr_Occurred()) SWIG_fail
;
13240 resultobj
= result
;
13247 static PyObject
*_wrap_DC__DrawLineList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13248 PyObject
*resultobj
;
13249 wxDC
*arg1
= (wxDC
*) 0 ;
13250 PyObject
*arg2
= (PyObject
*) 0 ;
13251 PyObject
*arg3
= (PyObject
*) 0 ;
13252 PyObject
*arg4
= (PyObject
*) 0 ;
13254 PyObject
* obj0
= 0 ;
13255 PyObject
* obj1
= 0 ;
13256 PyObject
* obj2
= 0 ;
13257 PyObject
* obj3
= 0 ;
13258 char *kwnames
[] = {
13259 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
13262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13263 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13269 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
13271 wxPyEndAllowThreads(__tstate
);
13272 if (PyErr_Occurred()) SWIG_fail
;
13274 resultobj
= result
;
13281 static PyObject
*_wrap_DC__DrawRectangleList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13282 PyObject
*resultobj
;
13283 wxDC
*arg1
= (wxDC
*) 0 ;
13284 PyObject
*arg2
= (PyObject
*) 0 ;
13285 PyObject
*arg3
= (PyObject
*) 0 ;
13286 PyObject
*arg4
= (PyObject
*) 0 ;
13288 PyObject
* obj0
= 0 ;
13289 PyObject
* obj1
= 0 ;
13290 PyObject
* obj2
= 0 ;
13291 PyObject
* obj3
= 0 ;
13292 char *kwnames
[] = {
13293 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
13296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13297 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13303 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
13305 wxPyEndAllowThreads(__tstate
);
13306 if (PyErr_Occurred()) SWIG_fail
;
13308 resultobj
= result
;
13315 static PyObject
*_wrap_DC__DrawEllipseList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13316 PyObject
*resultobj
;
13317 wxDC
*arg1
= (wxDC
*) 0 ;
13318 PyObject
*arg2
= (PyObject
*) 0 ;
13319 PyObject
*arg3
= (PyObject
*) 0 ;
13320 PyObject
*arg4
= (PyObject
*) 0 ;
13322 PyObject
* obj0
= 0 ;
13323 PyObject
* obj1
= 0 ;
13324 PyObject
* obj2
= 0 ;
13325 PyObject
* obj3
= 0 ;
13326 char *kwnames
[] = {
13327 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
13330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13331 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13337 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
13339 wxPyEndAllowThreads(__tstate
);
13340 if (PyErr_Occurred()) SWIG_fail
;
13342 resultobj
= result
;
13349 static PyObject
*_wrap_DC__DrawPolygonList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13350 PyObject
*resultobj
;
13351 wxDC
*arg1
= (wxDC
*) 0 ;
13352 PyObject
*arg2
= (PyObject
*) 0 ;
13353 PyObject
*arg3
= (PyObject
*) 0 ;
13354 PyObject
*arg4
= (PyObject
*) 0 ;
13356 PyObject
* obj0
= 0 ;
13357 PyObject
* obj1
= 0 ;
13358 PyObject
* obj2
= 0 ;
13359 PyObject
* obj3
= 0 ;
13360 char *kwnames
[] = {
13361 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
13364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13365 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13371 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
13373 wxPyEndAllowThreads(__tstate
);
13374 if (PyErr_Occurred()) SWIG_fail
;
13376 resultobj
= result
;
13383 static PyObject
*_wrap_DC__DrawTextList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13384 PyObject
*resultobj
;
13385 wxDC
*arg1
= (wxDC
*) 0 ;
13386 PyObject
*arg2
= (PyObject
*) 0 ;
13387 PyObject
*arg3
= (PyObject
*) 0 ;
13388 PyObject
*arg4
= (PyObject
*) 0 ;
13389 PyObject
*arg5
= (PyObject
*) 0 ;
13391 PyObject
* obj0
= 0 ;
13392 PyObject
* obj1
= 0 ;
13393 PyObject
* obj2
= 0 ;
13394 PyObject
* obj3
= 0 ;
13395 PyObject
* obj4
= 0 ;
13396 char *kwnames
[] = {
13397 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
13400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13401 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13408 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
13410 wxPyEndAllowThreads(__tstate
);
13411 if (PyErr_Occurred()) SWIG_fail
;
13413 resultobj
= result
;
13420 static PyObject
* DC_swigregister(PyObject
*self
, PyObject
*args
) {
13422 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13423 SWIG_TypeClientData(SWIGTYPE_p_wxDC
, obj
);
13425 return Py_BuildValue((char *)"");
13427 static PyObject
*_wrap_new_MemoryDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13428 PyObject
*resultobj
;
13429 wxMemoryDC
*result
;
13430 char *kwnames
[] = {
13434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryDC",kwnames
)) goto fail
;
13436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13437 result
= (wxMemoryDC
*)new wxMemoryDC();
13439 wxPyEndAllowThreads(__tstate
);
13440 if (PyErr_Occurred()) SWIG_fail
;
13442 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMemoryDC
, 1);
13449 static PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13450 PyObject
*resultobj
;
13451 wxDC
*arg1
= (wxDC
*) 0 ;
13452 wxMemoryDC
*result
;
13453 PyObject
* obj0
= 0 ;
13454 char *kwnames
[] = {
13455 (char *) "oldDC", NULL
13458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) goto fail
;
13459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13462 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
13464 wxPyEndAllowThreads(__tstate
);
13465 if (PyErr_Occurred()) SWIG_fail
;
13467 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMemoryDC
, 1);
13474 static PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13475 PyObject
*resultobj
;
13476 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
13477 wxBitmap
*arg2
= 0 ;
13478 PyObject
* obj0
= 0 ;
13479 PyObject
* obj1
= 0 ;
13480 char *kwnames
[] = {
13481 (char *) "self",(char *) "bitmap", NULL
13484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) goto fail
;
13485 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMemoryDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13486 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13487 if (arg2
== NULL
) {
13488 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13492 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
13494 wxPyEndAllowThreads(__tstate
);
13495 if (PyErr_Occurred()) SWIG_fail
;
13497 Py_INCREF(Py_None
); resultobj
= Py_None
;
13504 static PyObject
* MemoryDC_swigregister(PyObject
*self
, PyObject
*args
) {
13506 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13507 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC
, obj
);
13509 return Py_BuildValue((char *)"");
13511 static PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13512 PyObject
*resultobj
;
13513 wxDC
*arg1
= (wxDC
*) 0 ;
13514 wxBitmap
*arg2
= 0 ;
13515 wxBufferedDC
*result
;
13516 PyObject
* obj0
= 0 ;
13517 PyObject
* obj1
= 0 ;
13518 char *kwnames
[] = {
13519 (char *) "dc",(char *) "buffer", NULL
13522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_BufferedDC",kwnames
,&obj0
,&obj1
)) goto fail
;
13523 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13524 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13525 if (arg2
== NULL
) {
13526 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13530 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
);
13532 wxPyEndAllowThreads(__tstate
);
13533 if (PyErr_Occurred()) SWIG_fail
;
13535 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBufferedDC
, 1);
13542 static PyObject
*_wrap_new_BufferedDCInternalBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13543 PyObject
*resultobj
;
13544 wxDC
*arg1
= (wxDC
*) 0 ;
13546 wxBufferedDC
*result
;
13548 PyObject
* obj0
= 0 ;
13549 PyObject
* obj1
= 0 ;
13550 char *kwnames
[] = {
13551 (char *) "dc",(char *) "area", NULL
13554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_BufferedDCInternalBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
13555 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13558 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13562 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
13564 wxPyEndAllowThreads(__tstate
);
13565 if (PyErr_Occurred()) SWIG_fail
;
13567 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBufferedDC
, 1);
13574 static PyObject
*_wrap_BufferedDC_UnMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13575 PyObject
*resultobj
;
13576 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
13577 PyObject
* obj0
= 0 ;
13578 char *kwnames
[] = {
13579 (char *) "self", NULL
13582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BufferedDC_UnMask",kwnames
,&obj0
)) goto fail
;
13583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBufferedDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13588 wxPyEndAllowThreads(__tstate
);
13589 if (PyErr_Occurred()) SWIG_fail
;
13591 Py_INCREF(Py_None
); resultobj
= Py_None
;
13598 static PyObject
* BufferedDC_swigregister(PyObject
*self
, PyObject
*args
) {
13600 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13601 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC
, obj
);
13603 return Py_BuildValue((char *)"");
13605 static PyObject
*_wrap_new_BufferedPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13606 PyObject
*resultobj
;
13607 wxWindow
*arg1
= (wxWindow
*) 0 ;
13608 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
13609 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
13610 wxBufferedPaintDC
*result
;
13611 PyObject
* obj0
= 0 ;
13612 PyObject
* obj1
= 0 ;
13613 char *kwnames
[] = {
13614 (char *) "window",(char *) "buffer", NULL
13617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
)) goto fail
;
13618 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13620 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13621 if (arg2
== NULL
) {
13622 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13627 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
);
13629 wxPyEndAllowThreads(__tstate
);
13630 if (PyErr_Occurred()) SWIG_fail
;
13632 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBufferedPaintDC
, 1);
13639 static PyObject
* BufferedPaintDC_swigregister(PyObject
*self
, PyObject
*args
) {
13641 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13642 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC
, obj
);
13644 return Py_BuildValue((char *)"");
13646 static PyObject
*_wrap_new_ScreenDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13647 PyObject
*resultobj
;
13648 wxScreenDC
*result
;
13649 char *kwnames
[] = {
13653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ScreenDC",kwnames
)) goto fail
;
13655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13656 result
= (wxScreenDC
*)new wxScreenDC();
13658 wxPyEndAllowThreads(__tstate
);
13659 if (PyErr_Occurred()) SWIG_fail
;
13661 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScreenDC
, 1);
13668 static PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13669 PyObject
*resultobj
;
13670 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
13671 wxWindow
*arg2
= (wxWindow
*) 0 ;
13673 PyObject
* obj0
= 0 ;
13674 PyObject
* obj1
= 0 ;
13675 char *kwnames
[] = {
13676 (char *) "self",(char *) "window", NULL
13679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) goto fail
;
13680 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScreenDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13681 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13684 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
13686 wxPyEndAllowThreads(__tstate
);
13687 if (PyErr_Occurred()) SWIG_fail
;
13689 resultobj
= PyInt_FromLong((long)result
);
13696 static PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13697 PyObject
*resultobj
;
13698 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
13699 wxRect
*arg2
= (wxRect
*) NULL
;
13701 PyObject
* obj0
= 0 ;
13702 PyObject
* obj1
= 0 ;
13703 char *kwnames
[] = {
13704 (char *) "self",(char *) "rect", NULL
13707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) goto fail
;
13708 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScreenDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13710 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13714 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
13716 wxPyEndAllowThreads(__tstate
);
13717 if (PyErr_Occurred()) SWIG_fail
;
13719 resultobj
= PyInt_FromLong((long)result
);
13726 static PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13727 PyObject
*resultobj
;
13728 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
13730 PyObject
* obj0
= 0 ;
13731 char *kwnames
[] = {
13732 (char *) "self", NULL
13735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames
,&obj0
)) goto fail
;
13736 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScreenDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13739 result
= (bool)(arg1
)->EndDrawingOnTop();
13741 wxPyEndAllowThreads(__tstate
);
13742 if (PyErr_Occurred()) SWIG_fail
;
13744 resultobj
= PyInt_FromLong((long)result
);
13751 static PyObject
* ScreenDC_swigregister(PyObject
*self
, PyObject
*args
) {
13753 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13754 SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC
, obj
);
13756 return Py_BuildValue((char *)"");
13758 static PyObject
*_wrap_new_ClientDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13759 PyObject
*resultobj
;
13760 wxWindow
*arg1
= (wxWindow
*) 0 ;
13761 wxClientDC
*result
;
13762 PyObject
* obj0
= 0 ;
13763 char *kwnames
[] = {
13764 (char *) "win", NULL
13767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) goto fail
;
13768 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13771 result
= (wxClientDC
*)new wxClientDC(arg1
);
13773 wxPyEndAllowThreads(__tstate
);
13774 if (PyErr_Occurred()) SWIG_fail
;
13776 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxClientDC
, 1);
13783 static PyObject
* ClientDC_swigregister(PyObject
*self
, PyObject
*args
) {
13785 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13786 SWIG_TypeClientData(SWIGTYPE_p_wxClientDC
, obj
);
13788 return Py_BuildValue((char *)"");
13790 static PyObject
*_wrap_new_PaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13791 PyObject
*resultobj
;
13792 wxWindow
*arg1
= (wxWindow
*) 0 ;
13794 PyObject
* obj0
= 0 ;
13795 char *kwnames
[] = {
13796 (char *) "win", NULL
13799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) goto fail
;
13800 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13803 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
13805 wxPyEndAllowThreads(__tstate
);
13806 if (PyErr_Occurred()) SWIG_fail
;
13808 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPaintDC
, 1);
13815 static PyObject
* PaintDC_swigregister(PyObject
*self
, PyObject
*args
) {
13817 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13818 SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC
, obj
);
13820 return Py_BuildValue((char *)"");
13822 static PyObject
*_wrap_new_WindowDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13823 PyObject
*resultobj
;
13824 wxWindow
*arg1
= (wxWindow
*) 0 ;
13825 wxWindowDC
*result
;
13826 PyObject
* obj0
= 0 ;
13827 char *kwnames
[] = {
13828 (char *) "win", NULL
13831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) goto fail
;
13832 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13835 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
13837 wxPyEndAllowThreads(__tstate
);
13838 if (PyErr_Occurred()) SWIG_fail
;
13840 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxWindowDC
, 1);
13847 static PyObject
* WindowDC_swigregister(PyObject
*self
, PyObject
*args
) {
13849 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13850 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC
, obj
);
13852 return Py_BuildValue((char *)"");
13854 static PyObject
*_wrap_new_MirrorDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13855 PyObject
*resultobj
;
13858 wxMirrorDC
*result
;
13859 PyObject
* obj0
= 0 ;
13860 PyObject
* obj1
= 0 ;
13861 char *kwnames
[] = {
13862 (char *) "dc",(char *) "mirror", NULL
13865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) goto fail
;
13866 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13867 if (arg1
== NULL
) {
13868 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13870 arg2
= PyInt_AsLong(obj1
) ? true : false;
13871 if (PyErr_Occurred()) SWIG_fail
;
13873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13874 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
13876 wxPyEndAllowThreads(__tstate
);
13877 if (PyErr_Occurred()) SWIG_fail
;
13879 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMirrorDC
, 1);
13886 static PyObject
* MirrorDC_swigregister(PyObject
*self
, PyObject
*args
) {
13888 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13889 SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC
, obj
);
13891 return Py_BuildValue((char *)"");
13893 static PyObject
*_wrap_new_PostScriptDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13894 PyObject
*resultobj
;
13895 wxPrintData
*arg1
= 0 ;
13896 wxPostScriptDC
*result
;
13897 PyObject
* obj0
= 0 ;
13898 char *kwnames
[] = {
13899 (char *) "printData", NULL
13902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) goto fail
;
13903 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13904 if (arg1
== NULL
) {
13905 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13909 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
13911 wxPyEndAllowThreads(__tstate
);
13912 if (PyErr_Occurred()) SWIG_fail
;
13914 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPostScriptDC
, 1);
13921 static PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13922 PyObject
*resultobj
;
13923 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
13924 wxPrintData
*result
;
13925 PyObject
* obj0
= 0 ;
13926 char *kwnames
[] = {
13927 (char *) "self", NULL
13930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_GetPrintData",kwnames
,&obj0
)) goto fail
;
13931 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPostScriptDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13935 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
13936 result
= (wxPrintData
*) &_result_ref
;
13939 wxPyEndAllowThreads(__tstate
);
13940 if (PyErr_Occurred()) SWIG_fail
;
13942 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintData
, 0);
13949 static PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13950 PyObject
*resultobj
;
13951 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
13952 wxPrintData
*arg2
= 0 ;
13953 PyObject
* obj0
= 0 ;
13954 PyObject
* obj1
= 0 ;
13955 char *kwnames
[] = {
13956 (char *) "self",(char *) "data", NULL
13959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
13960 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPostScriptDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13961 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13962 if (arg2
== NULL
) {
13963 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13967 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
13969 wxPyEndAllowThreads(__tstate
);
13970 if (PyErr_Occurred()) SWIG_fail
;
13972 Py_INCREF(Py_None
); resultobj
= Py_None
;
13979 static PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13980 PyObject
*resultobj
;
13982 char *kwnames
[] = {
13983 (char *) "ppi", NULL
13986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:PostScriptDC_SetResolution",kwnames
,&arg1
)) goto fail
;
13988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13989 wxPostScriptDC::SetResolution(arg1
);
13991 wxPyEndAllowThreads(__tstate
);
13992 if (PyErr_Occurred()) SWIG_fail
;
13994 Py_INCREF(Py_None
); resultobj
= Py_None
;
14001 static PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14002 PyObject
*resultobj
;
14004 char *kwnames
[] = {
14008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PostScriptDC_GetResolution",kwnames
)) goto fail
;
14010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14011 result
= (int)wxPostScriptDC::GetResolution();
14013 wxPyEndAllowThreads(__tstate
);
14014 if (PyErr_Occurred()) SWIG_fail
;
14016 resultobj
= PyInt_FromLong((long)result
);
14023 static PyObject
* PostScriptDC_swigregister(PyObject
*self
, PyObject
*args
) {
14025 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14026 SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC
, obj
);
14028 return Py_BuildValue((char *)"");
14030 static PyObject
*_wrap_new_MetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14031 PyObject
*resultobj
;
14032 wxString
const &arg1_defvalue
= wxPyEmptyString
;
14033 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
14034 wxMetaFile
*result
;
14035 bool temp1
= false ;
14036 PyObject
* obj0
= 0 ;
14037 char *kwnames
[] = {
14038 (char *) "filename", NULL
14041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) goto fail
;
14044 arg1
= wxString_in_helper(obj0
);
14045 if (arg1
== NULL
) SWIG_fail
;
14050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14051 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
14053 wxPyEndAllowThreads(__tstate
);
14054 if (PyErr_Occurred()) SWIG_fail
;
14056 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMetaFile
, 1);
14071 static PyObject
*_wrap_delete_MetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14072 PyObject
*resultobj
;
14073 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
14074 PyObject
* obj0
= 0 ;
14075 char *kwnames
[] = {
14076 (char *) "self", NULL
14079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MetaFile",kwnames
,&obj0
)) goto fail
;
14080 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14085 wxPyEndAllowThreads(__tstate
);
14086 if (PyErr_Occurred()) SWIG_fail
;
14088 Py_INCREF(Py_None
); resultobj
= Py_None
;
14095 static PyObject
*_wrap_MetaFile_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14096 PyObject
*resultobj
;
14097 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
14099 PyObject
* obj0
= 0 ;
14100 char *kwnames
[] = {
14101 (char *) "self", NULL
14104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_Ok",kwnames
,&obj0
)) goto fail
;
14105 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14108 result
= (bool)(arg1
)->Ok();
14110 wxPyEndAllowThreads(__tstate
);
14111 if (PyErr_Occurred()) SWIG_fail
;
14113 resultobj
= PyInt_FromLong((long)result
);
14120 static PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14121 PyObject
*resultobj
;
14122 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
14123 int arg2
= (int) 0 ;
14124 int arg3
= (int) 0 ;
14126 PyObject
* obj0
= 0 ;
14127 char *kwnames
[] = {
14128 (char *) "self",(char *) "width",(char *) "height", NULL
14131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|ii:MetaFile_SetClipboard",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
14132 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14135 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
14137 wxPyEndAllowThreads(__tstate
);
14138 if (PyErr_Occurred()) SWIG_fail
;
14140 resultobj
= PyInt_FromLong((long)result
);
14147 static PyObject
*_wrap_MetaFile_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14148 PyObject
*resultobj
;
14149 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
14151 PyObject
* obj0
= 0 ;
14152 char *kwnames
[] = {
14153 (char *) "self", NULL
14156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetSize",kwnames
,&obj0
)) goto fail
;
14157 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14160 result
= (arg1
)->GetSize();
14162 wxPyEndAllowThreads(__tstate
);
14163 if (PyErr_Occurred()) SWIG_fail
;
14166 wxSize
* resultptr
;
14167 resultptr
= new wxSize((wxSize
&) result
);
14168 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14176 static PyObject
*_wrap_MetaFile_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14177 PyObject
*resultobj
;
14178 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
14180 PyObject
* obj0
= 0 ;
14181 char *kwnames
[] = {
14182 (char *) "self", NULL
14185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetWidth",kwnames
,&obj0
)) goto fail
;
14186 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14189 result
= (int)(arg1
)->GetWidth();
14191 wxPyEndAllowThreads(__tstate
);
14192 if (PyErr_Occurred()) SWIG_fail
;
14194 resultobj
= PyInt_FromLong((long)result
);
14201 static PyObject
*_wrap_MetaFile_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14202 PyObject
*resultobj
;
14203 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
14205 PyObject
* obj0
= 0 ;
14206 char *kwnames
[] = {
14207 (char *) "self", NULL
14210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetHeight",kwnames
,&obj0
)) goto fail
;
14211 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14214 result
= (int)(arg1
)->GetHeight();
14216 wxPyEndAllowThreads(__tstate
);
14217 if (PyErr_Occurred()) SWIG_fail
;
14219 resultobj
= PyInt_FromLong((long)result
);
14226 static PyObject
*_wrap_MetaFile_GetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14227 PyObject
*resultobj
;
14228 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
14230 PyObject
* obj0
= 0 ;
14231 char *kwnames
[] = {
14232 (char *) "self", NULL
14235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetFileName",kwnames
,&obj0
)) goto fail
;
14236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14240 wxString
const &_result_ref
= ((wxMetaFile
const *)arg1
)->GetFileName();
14241 result
= (wxString
*) &_result_ref
;
14244 wxPyEndAllowThreads(__tstate
);
14245 if (PyErr_Occurred()) SWIG_fail
;
14247 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
14254 static PyObject
* MetaFile_swigregister(PyObject
*self
, PyObject
*args
) {
14256 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14257 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile
, obj
);
14259 return Py_BuildValue((char *)"");
14261 static PyObject
*_wrap_new_MetaFileDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14262 PyObject
*resultobj
;
14263 wxString
const &arg1_defvalue
= wxPyEmptyString
;
14264 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
14265 int arg2
= (int) 0 ;
14266 int arg3
= (int) 0 ;
14267 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14268 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14269 wxMetaFileDC
*result
;
14270 bool temp1
= false ;
14271 bool temp4
= false ;
14272 PyObject
* obj0
= 0 ;
14273 PyObject
* obj3
= 0 ;
14274 char *kwnames
[] = {
14275 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
14278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OiiO:new_MetaFileDC",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
14281 arg1
= wxString_in_helper(obj0
);
14282 if (arg1
== NULL
) SWIG_fail
;
14288 arg4
= wxString_in_helper(obj3
);
14289 if (arg4
== NULL
) SWIG_fail
;
14294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14295 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
14297 wxPyEndAllowThreads(__tstate
);
14298 if (PyErr_Occurred()) SWIG_fail
;
14300 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMetaFileDC
, 1);
14323 static PyObject
*_wrap_MetaFileDC_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14324 PyObject
*resultobj
;
14325 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
14326 wxMetaFile
*result
;
14327 PyObject
* obj0
= 0 ;
14328 char *kwnames
[] = {
14329 (char *) "self", NULL
14332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFileDC_Close",kwnames
,&obj0
)) goto fail
;
14333 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMetaFileDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14336 result
= (wxMetaFile
*)(arg1
)->Close();
14338 wxPyEndAllowThreads(__tstate
);
14339 if (PyErr_Occurred()) SWIG_fail
;
14341 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMetaFile
, 0);
14348 static PyObject
* MetaFileDC_swigregister(PyObject
*self
, PyObject
*args
) {
14350 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14351 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC
, obj
);
14353 return Py_BuildValue((char *)"");
14355 static PyObject
*_wrap_new_PrinterDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14356 PyObject
*resultobj
;
14357 wxPrintData
*arg1
= 0 ;
14358 wxPrinterDC
*result
;
14359 PyObject
* obj0
= 0 ;
14360 char *kwnames
[] = {
14361 (char *) "printData", NULL
14364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) goto fail
;
14365 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14366 if (arg1
== NULL
) {
14367 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14371 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
14373 wxPyEndAllowThreads(__tstate
);
14374 if (PyErr_Occurred()) SWIG_fail
;
14376 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrinterDC
, 1);
14383 static PyObject
* PrinterDC_swigregister(PyObject
*self
, PyObject
*args
) {
14385 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14386 SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC
, obj
);
14388 return Py_BuildValue((char *)"");
14390 static PyObject
*_wrap_new_ImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14391 PyObject
*resultobj
;
14394 int arg3
= (int) TRUE
;
14395 int arg4
= (int) 1 ;
14396 wxImageList
*result
;
14397 char *kwnames
[] = {
14398 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
14401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"ii|ii:new_ImageList",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
14403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14404 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
14406 wxPyEndAllowThreads(__tstate
);
14407 if (PyErr_Occurred()) SWIG_fail
;
14410 resultobj
= wxPyMake_wxObject(result
);
14418 static PyObject
*_wrap_delete_ImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14419 PyObject
*resultobj
;
14420 wxImageList
*arg1
= (wxImageList
*) 0 ;
14421 PyObject
* obj0
= 0 ;
14422 char *kwnames
[] = {
14423 (char *) "self", NULL
14426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ImageList",kwnames
,&obj0
)) goto fail
;
14427 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14432 wxPyEndAllowThreads(__tstate
);
14433 if (PyErr_Occurred()) SWIG_fail
;
14435 Py_INCREF(Py_None
); resultobj
= Py_None
;
14442 static PyObject
*_wrap_ImageList_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14443 PyObject
*resultobj
;
14444 wxImageList
*arg1
= (wxImageList
*) 0 ;
14445 wxBitmap
*arg2
= 0 ;
14446 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
14447 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
14449 PyObject
* obj0
= 0 ;
14450 PyObject
* obj1
= 0 ;
14451 PyObject
* obj2
= 0 ;
14452 char *kwnames
[] = {
14453 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
14456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14457 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14458 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14459 if (arg2
== NULL
) {
14460 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14463 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14464 if (arg3
== NULL
) {
14465 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14470 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
14472 wxPyEndAllowThreads(__tstate
);
14473 if (PyErr_Occurred()) SWIG_fail
;
14475 resultobj
= PyInt_FromLong((long)result
);
14482 static PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14483 PyObject
*resultobj
;
14484 wxImageList
*arg1
= (wxImageList
*) 0 ;
14485 wxBitmap
*arg2
= 0 ;
14486 wxColour
*arg3
= 0 ;
14489 PyObject
* obj0
= 0 ;
14490 PyObject
* obj1
= 0 ;
14491 PyObject
* obj2
= 0 ;
14492 char *kwnames
[] = {
14493 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
14496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14497 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14498 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14499 if (arg2
== NULL
) {
14500 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14504 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
14507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14508 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
14510 wxPyEndAllowThreads(__tstate
);
14511 if (PyErr_Occurred()) SWIG_fail
;
14513 resultobj
= PyInt_FromLong((long)result
);
14520 static PyObject
*_wrap_ImageList_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14521 PyObject
*resultobj
;
14522 wxImageList
*arg1
= (wxImageList
*) 0 ;
14525 PyObject
* obj0
= 0 ;
14526 PyObject
* obj1
= 0 ;
14527 char *kwnames
[] = {
14528 (char *) "self",(char *) "icon", NULL
14531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
14532 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14533 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14534 if (arg2
== NULL
) {
14535 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14539 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
14541 wxPyEndAllowThreads(__tstate
);
14542 if (PyErr_Occurred()) SWIG_fail
;
14544 resultobj
= PyInt_FromLong((long)result
);
14551 static PyObject
*_wrap_ImageList_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14552 PyObject
*resultobj
;
14553 wxImageList
*arg1
= (wxImageList
*) 0 ;
14555 wxBitmap
*arg3
= 0 ;
14556 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
14557 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
14559 PyObject
* obj0
= 0 ;
14560 PyObject
* obj2
= 0 ;
14561 PyObject
* obj3
= 0 ;
14562 char *kwnames
[] = {
14563 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
14566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|O:ImageList_Replace",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
14567 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14568 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14569 if (arg3
== NULL
) {
14570 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14573 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14574 if (arg4
== NULL
) {
14575 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14580 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
14582 wxPyEndAllowThreads(__tstate
);
14583 if (PyErr_Occurred()) SWIG_fail
;
14585 resultobj
= PyInt_FromLong((long)result
);
14592 static PyObject
*_wrap_ImageList_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14593 PyObject
*resultobj
;
14594 wxImageList
*arg1
= (wxImageList
*) 0 ;
14599 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
14600 bool arg7
= (bool) (bool)FALSE
;
14602 PyObject
* obj0
= 0 ;
14603 PyObject
* obj2
= 0 ;
14604 PyObject
* obj6
= 0 ;
14605 char *kwnames
[] = {
14606 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
14609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiOii|iO:ImageList_Draw",kwnames
,&obj0
,&arg2
,&obj2
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
14610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14611 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14612 if (arg3
== NULL
) {
14613 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14616 arg7
= PyInt_AsLong(obj6
) ? true : false;
14617 if (PyErr_Occurred()) SWIG_fail
;
14620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14621 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
14623 wxPyEndAllowThreads(__tstate
);
14624 if (PyErr_Occurred()) SWIG_fail
;
14626 resultobj
= PyInt_FromLong((long)result
);
14633 static PyObject
*_wrap_ImageList_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14634 PyObject
*resultobj
;
14635 wxImageList
*arg1
= (wxImageList
*) 0 ;
14637 PyObject
* obj0
= 0 ;
14638 char *kwnames
[] = {
14639 (char *) "self", NULL
14642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_GetImageCount",kwnames
,&obj0
)) goto fail
;
14643 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14646 result
= (int)(arg1
)->GetImageCount();
14648 wxPyEndAllowThreads(__tstate
);
14649 if (PyErr_Occurred()) SWIG_fail
;
14651 resultobj
= PyInt_FromLong((long)result
);
14658 static PyObject
*_wrap_ImageList_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14659 PyObject
*resultobj
;
14660 wxImageList
*arg1
= (wxImageList
*) 0 ;
14663 PyObject
* obj0
= 0 ;
14664 char *kwnames
[] = {
14665 (char *) "self",(char *) "index", NULL
14668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ImageList_Remove",kwnames
,&obj0
,&arg2
)) goto fail
;
14669 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14672 result
= (bool)(arg1
)->Remove(arg2
);
14674 wxPyEndAllowThreads(__tstate
);
14675 if (PyErr_Occurred()) SWIG_fail
;
14677 resultobj
= PyInt_FromLong((long)result
);
14684 static PyObject
*_wrap_ImageList_RemoveAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14685 PyObject
*resultobj
;
14686 wxImageList
*arg1
= (wxImageList
*) 0 ;
14688 PyObject
* obj0
= 0 ;
14689 char *kwnames
[] = {
14690 (char *) "self", NULL
14693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_RemoveAll",kwnames
,&obj0
)) goto fail
;
14694 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14697 result
= (bool)(arg1
)->RemoveAll();
14699 wxPyEndAllowThreads(__tstate
);
14700 if (PyErr_Occurred()) SWIG_fail
;
14702 resultobj
= PyInt_FromLong((long)result
);
14709 static PyObject
*_wrap_ImageList_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14710 PyObject
*resultobj
;
14711 wxImageList
*arg1
= (wxImageList
*) 0 ;
14717 PyObject
* obj0
= 0 ;
14718 char *kwnames
[] = {
14719 (char *) "self",(char *) "index", NULL
14724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ImageList_GetSize",kwnames
,&obj0
,&arg2
)) goto fail
;
14725 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14728 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
14730 wxPyEndAllowThreads(__tstate
);
14731 if (PyErr_Occurred()) SWIG_fail
;
14733 Py_INCREF(Py_None
); resultobj
= Py_None
;
14735 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14736 resultobj
= t_output_helper(resultobj
,o
);
14739 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
14740 resultobj
= t_output_helper(resultobj
,o
);
14748 static PyObject
* ImageList_swigregister(PyObject
*self
, PyObject
*args
) {
14750 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14751 SWIG_TypeClientData(SWIGTYPE_p_wxImageList
, obj
);
14753 return Py_BuildValue((char *)"");
14755 static PyObject
*_wrap_PenList_AddPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14756 PyObject
*resultobj
;
14757 wxPenList
*arg1
= (wxPenList
*) 0 ;
14758 wxPen
*arg2
= (wxPen
*) 0 ;
14759 PyObject
* obj0
= 0 ;
14760 PyObject
* obj1
= 0 ;
14761 char *kwnames
[] = {
14762 (char *) "self",(char *) "pen", NULL
14765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) goto fail
;
14766 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPenList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14767 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14770 (arg1
)->AddPen(arg2
);
14772 wxPyEndAllowThreads(__tstate
);
14773 if (PyErr_Occurred()) SWIG_fail
;
14775 Py_INCREF(Py_None
); resultobj
= Py_None
;
14782 static PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14783 PyObject
*resultobj
;
14784 wxPenList
*arg1
= (wxPenList
*) 0 ;
14785 wxColour
*arg2
= 0 ;
14790 PyObject
* obj0
= 0 ;
14791 PyObject
* obj1
= 0 ;
14792 char *kwnames
[] = {
14793 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
14796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
14797 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPenList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14800 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14804 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
14806 wxPyEndAllowThreads(__tstate
);
14807 if (PyErr_Occurred()) SWIG_fail
;
14809 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPen
, 0);
14816 static PyObject
*_wrap_PenList_RemovePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14817 PyObject
*resultobj
;
14818 wxPenList
*arg1
= (wxPenList
*) 0 ;
14819 wxPen
*arg2
= (wxPen
*) 0 ;
14820 PyObject
* obj0
= 0 ;
14821 PyObject
* obj1
= 0 ;
14822 char *kwnames
[] = {
14823 (char *) "self",(char *) "pen", NULL
14826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) goto fail
;
14827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPenList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14828 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14831 (arg1
)->RemovePen(arg2
);
14833 wxPyEndAllowThreads(__tstate
);
14834 if (PyErr_Occurred()) SWIG_fail
;
14836 Py_INCREF(Py_None
); resultobj
= Py_None
;
14843 static PyObject
*_wrap_PenList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14844 PyObject
*resultobj
;
14845 wxPenList
*arg1
= (wxPenList
*) 0 ;
14847 PyObject
* obj0
= 0 ;
14848 char *kwnames
[] = {
14849 (char *) "self", NULL
14852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PenList_GetCount",kwnames
,&obj0
)) goto fail
;
14853 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPenList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14856 result
= (int)(arg1
)->GetCount();
14858 wxPyEndAllowThreads(__tstate
);
14859 if (PyErr_Occurred()) SWIG_fail
;
14861 resultobj
= PyInt_FromLong((long)result
);
14868 static PyObject
* PenList_swigregister(PyObject
*self
, PyObject
*args
) {
14870 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14871 SWIG_TypeClientData(SWIGTYPE_p_wxPenList
, obj
);
14873 return Py_BuildValue((char *)"");
14875 static PyObject
*_wrap_BrushList_AddBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14876 PyObject
*resultobj
;
14877 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
14878 wxBrush
*arg2
= (wxBrush
*) 0 ;
14879 PyObject
* obj0
= 0 ;
14880 PyObject
* obj1
= 0 ;
14881 char *kwnames
[] = {
14882 (char *) "self",(char *) "brush", NULL
14885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
14886 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrushList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14887 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14890 (arg1
)->AddBrush(arg2
);
14892 wxPyEndAllowThreads(__tstate
);
14893 if (PyErr_Occurred()) SWIG_fail
;
14895 Py_INCREF(Py_None
); resultobj
= Py_None
;
14902 static PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14903 PyObject
*resultobj
;
14904 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
14905 wxColour
*arg2
= 0 ;
14909 PyObject
* obj0
= 0 ;
14910 PyObject
* obj1
= 0 ;
14911 char *kwnames
[] = {
14912 (char *) "self",(char *) "colour",(char *) "style", NULL
14915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
14916 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrushList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14919 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14923 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
14925 wxPyEndAllowThreads(__tstate
);
14926 if (PyErr_Occurred()) SWIG_fail
;
14928 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBrush
, 0);
14935 static PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14936 PyObject
*resultobj
;
14937 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
14938 wxBrush
*arg2
= (wxBrush
*) 0 ;
14939 PyObject
* obj0
= 0 ;
14940 PyObject
* obj1
= 0 ;
14941 char *kwnames
[] = {
14942 (char *) "self",(char *) "brush", NULL
14945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
14946 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrushList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14947 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14950 (arg1
)->RemoveBrush(arg2
);
14952 wxPyEndAllowThreads(__tstate
);
14953 if (PyErr_Occurred()) SWIG_fail
;
14955 Py_INCREF(Py_None
); resultobj
= Py_None
;
14962 static PyObject
*_wrap_BrushList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14963 PyObject
*resultobj
;
14964 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
14966 PyObject
* obj0
= 0 ;
14967 char *kwnames
[] = {
14968 (char *) "self", NULL
14971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BrushList_GetCount",kwnames
,&obj0
)) goto fail
;
14972 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrushList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14975 result
= (int)(arg1
)->GetCount();
14977 wxPyEndAllowThreads(__tstate
);
14978 if (PyErr_Occurred()) SWIG_fail
;
14980 resultobj
= PyInt_FromLong((long)result
);
14987 static PyObject
* BrushList_swigregister(PyObject
*self
, PyObject
*args
) {
14989 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14990 SWIG_TypeClientData(SWIGTYPE_p_wxBrushList
, obj
);
14992 return Py_BuildValue((char *)"");
14994 static PyObject
*_wrap_new_ColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14995 PyObject
*resultobj
;
14996 wxColourDatabase
*result
;
14997 char *kwnames
[] = {
15001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourDatabase",kwnames
)) goto fail
;
15003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15004 result
= (wxColourDatabase
*)new wxColourDatabase();
15006 wxPyEndAllowThreads(__tstate
);
15007 if (PyErr_Occurred()) SWIG_fail
;
15009 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColourDatabase
, 1);
15016 static PyObject
*_wrap_delete_ColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15017 PyObject
*resultobj
;
15018 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
15019 PyObject
* obj0
= 0 ;
15020 char *kwnames
[] = {
15021 (char *) "self", NULL
15024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourDatabase",kwnames
,&obj0
)) goto fail
;
15025 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDatabase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15030 wxPyEndAllowThreads(__tstate
);
15031 if (PyErr_Occurred()) SWIG_fail
;
15033 Py_INCREF(Py_None
); resultobj
= Py_None
;
15040 static PyObject
*_wrap_ColourDatabase_Find(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15041 PyObject
*resultobj
;
15042 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
15043 wxString
*arg2
= 0 ;
15045 bool temp2
= false ;
15046 PyObject
* obj0
= 0 ;
15047 PyObject
* obj1
= 0 ;
15048 char *kwnames
[] = {
15049 (char *) "self",(char *) "name", NULL
15052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) goto fail
;
15053 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDatabase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15055 arg2
= wxString_in_helper(obj1
);
15056 if (arg2
== NULL
) SWIG_fail
;
15060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15061 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
15063 wxPyEndAllowThreads(__tstate
);
15064 if (PyErr_Occurred()) SWIG_fail
;
15067 wxColour
* resultptr
;
15068 resultptr
= new wxColour((wxColour
&) result
);
15069 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
15085 static PyObject
*_wrap_ColourDatabase_FindName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15086 PyObject
*resultobj
;
15087 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
15088 wxColour
*arg2
= 0 ;
15091 PyObject
* obj0
= 0 ;
15092 PyObject
* obj1
= 0 ;
15093 char *kwnames
[] = {
15094 (char *) "self",(char *) "colour", NULL
15097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) goto fail
;
15098 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDatabase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15101 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15105 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
15107 wxPyEndAllowThreads(__tstate
);
15108 if (PyErr_Occurred()) SWIG_fail
;
15112 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15114 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15123 static PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15124 PyObject
*resultobj
;
15125 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
15126 wxString
*arg2
= 0 ;
15127 wxColour
*arg3
= 0 ;
15128 bool temp2
= false ;
15130 PyObject
* obj0
= 0 ;
15131 PyObject
* obj1
= 0 ;
15132 PyObject
* obj2
= 0 ;
15133 char *kwnames
[] = {
15134 (char *) "self",(char *) "name",(char *) "colour", NULL
15137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15138 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDatabase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15140 arg2
= wxString_in_helper(obj1
);
15141 if (arg2
== NULL
) SWIG_fail
;
15146 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
15149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15150 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
15152 wxPyEndAllowThreads(__tstate
);
15153 if (PyErr_Occurred()) SWIG_fail
;
15155 Py_INCREF(Py_None
); resultobj
= Py_None
;
15170 static PyObject
*_wrap_ColourDatabase_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15171 PyObject
*resultobj
;
15172 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
15173 wxString
*arg2
= 0 ;
15177 bool temp2
= false ;
15178 PyObject
* obj0
= 0 ;
15179 PyObject
* obj1
= 0 ;
15180 char *kwnames
[] = {
15181 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
15184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiii:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
)) goto fail
;
15185 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDatabase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15187 arg2
= wxString_in_helper(obj1
);
15188 if (arg2
== NULL
) SWIG_fail
;
15192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15193 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
15195 wxPyEndAllowThreads(__tstate
);
15196 if (PyErr_Occurred()) SWIG_fail
;
15198 Py_INCREF(Py_None
); resultobj
= Py_None
;
15213 static PyObject
* ColourDatabase_swigregister(PyObject
*self
, PyObject
*args
) {
15215 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15216 SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase
, obj
);
15218 return Py_BuildValue((char *)"");
15220 static PyObject
*_wrap_FontList_AddFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15221 PyObject
*resultobj
;
15222 wxFontList
*arg1
= (wxFontList
*) 0 ;
15223 wxFont
*arg2
= (wxFont
*) 0 ;
15224 PyObject
* obj0
= 0 ;
15225 PyObject
* obj1
= 0 ;
15226 char *kwnames
[] = {
15227 (char *) "self",(char *) "font", NULL
15230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15231 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15232 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15235 (arg1
)->AddFont(arg2
);
15237 wxPyEndAllowThreads(__tstate
);
15238 if (PyErr_Occurred()) SWIG_fail
;
15240 Py_INCREF(Py_None
); resultobj
= Py_None
;
15247 static PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15248 PyObject
*resultobj
;
15249 wxFontList
*arg1
= (wxFontList
*) 0 ;
15254 bool arg6
= (bool) FALSE
;
15255 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15256 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15257 int arg8
= (int) wxFONTENCODING_DEFAULT
;
15259 bool temp7
= false ;
15260 PyObject
* obj0
= 0 ;
15261 PyObject
* obj5
= 0 ;
15262 PyObject
* obj6
= 0 ;
15263 char *kwnames
[] = {
15264 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
15267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|OOi:FontList_FindOrCreateFont",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&obj5
,&obj6
,&arg8
)) goto fail
;
15268 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15270 arg6
= PyInt_AsLong(obj5
) ? true : false;
15271 if (PyErr_Occurred()) SWIG_fail
;
15275 arg7
= wxString_in_helper(obj6
);
15276 if (arg7
== NULL
) SWIG_fail
;
15281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15282 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,(wxFontEncoding
)arg8
);
15284 wxPyEndAllowThreads(__tstate
);
15285 if (PyErr_Occurred()) SWIG_fail
;
15287 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
15302 static PyObject
*_wrap_FontList_RemoveFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15303 PyObject
*resultobj
;
15304 wxFontList
*arg1
= (wxFontList
*) 0 ;
15305 wxFont
*arg2
= (wxFont
*) 0 ;
15306 PyObject
* obj0
= 0 ;
15307 PyObject
* obj1
= 0 ;
15308 char *kwnames
[] = {
15309 (char *) "self",(char *) "font", NULL
15312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15313 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15314 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15317 (arg1
)->RemoveFont(arg2
);
15319 wxPyEndAllowThreads(__tstate
);
15320 if (PyErr_Occurred()) SWIG_fail
;
15322 Py_INCREF(Py_None
); resultobj
= Py_None
;
15329 static PyObject
*_wrap_FontList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15330 PyObject
*resultobj
;
15331 wxFontList
*arg1
= (wxFontList
*) 0 ;
15333 PyObject
* obj0
= 0 ;
15334 char *kwnames
[] = {
15335 (char *) "self", NULL
15338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontList_GetCount",kwnames
,&obj0
)) goto fail
;
15339 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15342 result
= (int)(arg1
)->GetCount();
15344 wxPyEndAllowThreads(__tstate
);
15345 if (PyErr_Occurred()) SWIG_fail
;
15347 resultobj
= PyInt_FromLong((long)result
);
15354 static PyObject
* FontList_swigregister(PyObject
*self
, PyObject
*args
) {
15356 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15357 SWIG_TypeClientData(SWIGTYPE_p_wxFontList
, obj
);
15359 return Py_BuildValue((char *)"");
15361 static int _wrap_NORMAL_FONT_set(PyObject
*_val
) {
15362 PyErr_SetString(PyExc_TypeError
,"Variable NORMAL_FONT is read-only.");
15367 static PyObject
*_wrap_NORMAL_FONT_get() {
15370 pyobj
= SWIG_NewPointerObj((void *) wxNORMAL_FONT
, SWIGTYPE_p_wxFont
, 0);
15375 static int _wrap_SMALL_FONT_set(PyObject
*_val
) {
15376 PyErr_SetString(PyExc_TypeError
,"Variable SMALL_FONT is read-only.");
15381 static PyObject
*_wrap_SMALL_FONT_get() {
15384 pyobj
= SWIG_NewPointerObj((void *) wxSMALL_FONT
, SWIGTYPE_p_wxFont
, 0);
15389 static int _wrap_ITALIC_FONT_set(PyObject
*_val
) {
15390 PyErr_SetString(PyExc_TypeError
,"Variable ITALIC_FONT is read-only.");
15395 static PyObject
*_wrap_ITALIC_FONT_get() {
15398 pyobj
= SWIG_NewPointerObj((void *) wxITALIC_FONT
, SWIGTYPE_p_wxFont
, 0);
15403 static int _wrap_SWISS_FONT_set(PyObject
*_val
) {
15404 PyErr_SetString(PyExc_TypeError
,"Variable SWISS_FONT is read-only.");
15409 static PyObject
*_wrap_SWISS_FONT_get() {
15412 pyobj
= SWIG_NewPointerObj((void *) wxSWISS_FONT
, SWIGTYPE_p_wxFont
, 0);
15417 static int _wrap_RED_PEN_set(PyObject
*_val
) {
15418 PyErr_SetString(PyExc_TypeError
,"Variable RED_PEN is read-only.");
15423 static PyObject
*_wrap_RED_PEN_get() {
15426 pyobj
= SWIG_NewPointerObj((void *) wxRED_PEN
, SWIGTYPE_p_wxPen
, 0);
15431 static int _wrap_CYAN_PEN_set(PyObject
*_val
) {
15432 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_PEN is read-only.");
15437 static PyObject
*_wrap_CYAN_PEN_get() {
15440 pyobj
= SWIG_NewPointerObj((void *) wxCYAN_PEN
, SWIGTYPE_p_wxPen
, 0);
15445 static int _wrap_GREEN_PEN_set(PyObject
*_val
) {
15446 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_PEN is read-only.");
15451 static PyObject
*_wrap_GREEN_PEN_get() {
15454 pyobj
= SWIG_NewPointerObj((void *) wxGREEN_PEN
, SWIGTYPE_p_wxPen
, 0);
15459 static int _wrap_BLACK_PEN_set(PyObject
*_val
) {
15460 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_PEN is read-only.");
15465 static PyObject
*_wrap_BLACK_PEN_get() {
15468 pyobj
= SWIG_NewPointerObj((void *) wxBLACK_PEN
, SWIGTYPE_p_wxPen
, 0);
15473 static int _wrap_WHITE_PEN_set(PyObject
*_val
) {
15474 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_PEN is read-only.");
15479 static PyObject
*_wrap_WHITE_PEN_get() {
15482 pyobj
= SWIG_NewPointerObj((void *) wxWHITE_PEN
, SWIGTYPE_p_wxPen
, 0);
15487 static int _wrap_TRANSPARENT_PEN_set(PyObject
*_val
) {
15488 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_PEN is read-only.");
15493 static PyObject
*_wrap_TRANSPARENT_PEN_get() {
15496 pyobj
= SWIG_NewPointerObj((void *) wxTRANSPARENT_PEN
, SWIGTYPE_p_wxPen
, 0);
15501 static int _wrap_BLACK_DASHED_PEN_set(PyObject
*_val
) {
15502 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_DASHED_PEN is read-only.");
15507 static PyObject
*_wrap_BLACK_DASHED_PEN_get() {
15510 pyobj
= SWIG_NewPointerObj((void *) wxBLACK_DASHED_PEN
, SWIGTYPE_p_wxPen
, 0);
15515 static int _wrap_GREY_PEN_set(PyObject
*_val
) {
15516 PyErr_SetString(PyExc_TypeError
,"Variable GREY_PEN is read-only.");
15521 static PyObject
*_wrap_GREY_PEN_get() {
15524 pyobj
= SWIG_NewPointerObj((void *) wxGREY_PEN
, SWIGTYPE_p_wxPen
, 0);
15529 static int _wrap_MEDIUM_GREY_PEN_set(PyObject
*_val
) {
15530 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_PEN is read-only.");
15535 static PyObject
*_wrap_MEDIUM_GREY_PEN_get() {
15538 pyobj
= SWIG_NewPointerObj((void *) wxMEDIUM_GREY_PEN
, SWIGTYPE_p_wxPen
, 0);
15543 static int _wrap_LIGHT_GREY_PEN_set(PyObject
*_val
) {
15544 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_PEN is read-only.");
15549 static PyObject
*_wrap_LIGHT_GREY_PEN_get() {
15552 pyobj
= SWIG_NewPointerObj((void *) wxLIGHT_GREY_PEN
, SWIGTYPE_p_wxPen
, 0);
15557 static int _wrap_BLUE_BRUSH_set(PyObject
*_val
) {
15558 PyErr_SetString(PyExc_TypeError
,"Variable BLUE_BRUSH is read-only.");
15563 static PyObject
*_wrap_BLUE_BRUSH_get() {
15566 pyobj
= SWIG_NewPointerObj((void *) wxBLUE_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
15571 static int _wrap_GREEN_BRUSH_set(PyObject
*_val
) {
15572 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_BRUSH is read-only.");
15577 static PyObject
*_wrap_GREEN_BRUSH_get() {
15580 pyobj
= SWIG_NewPointerObj((void *) wxGREEN_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
15585 static int _wrap_WHITE_BRUSH_set(PyObject
*_val
) {
15586 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_BRUSH is read-only.");
15591 static PyObject
*_wrap_WHITE_BRUSH_get() {
15594 pyobj
= SWIG_NewPointerObj((void *) wxWHITE_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
15599 static int _wrap_BLACK_BRUSH_set(PyObject
*_val
) {
15600 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_BRUSH is read-only.");
15605 static PyObject
*_wrap_BLACK_BRUSH_get() {
15608 pyobj
= SWIG_NewPointerObj((void *) wxBLACK_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
15613 static int _wrap_TRANSPARENT_BRUSH_set(PyObject
*_val
) {
15614 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_BRUSH is read-only.");
15619 static PyObject
*_wrap_TRANSPARENT_BRUSH_get() {
15622 pyobj
= SWIG_NewPointerObj((void *) wxTRANSPARENT_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
15627 static int _wrap_CYAN_BRUSH_set(PyObject
*_val
) {
15628 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_BRUSH is read-only.");
15633 static PyObject
*_wrap_CYAN_BRUSH_get() {
15636 pyobj
= SWIG_NewPointerObj((void *) wxCYAN_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
15641 static int _wrap_RED_BRUSH_set(PyObject
*_val
) {
15642 PyErr_SetString(PyExc_TypeError
,"Variable RED_BRUSH is read-only.");
15647 static PyObject
*_wrap_RED_BRUSH_get() {
15650 pyobj
= SWIG_NewPointerObj((void *) wxRED_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
15655 static int _wrap_GREY_BRUSH_set(PyObject
*_val
) {
15656 PyErr_SetString(PyExc_TypeError
,"Variable GREY_BRUSH is read-only.");
15661 static PyObject
*_wrap_GREY_BRUSH_get() {
15664 pyobj
= SWIG_NewPointerObj((void *) wxGREY_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
15669 static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject
*_val
) {
15670 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_BRUSH is read-only.");
15675 static PyObject
*_wrap_MEDIUM_GREY_BRUSH_get() {
15678 pyobj
= SWIG_NewPointerObj((void *) wxMEDIUM_GREY_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
15683 static int _wrap_LIGHT_GREY_BRUSH_set(PyObject
*_val
) {
15684 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_BRUSH is read-only.");
15689 static PyObject
*_wrap_LIGHT_GREY_BRUSH_get() {
15692 pyobj
= SWIG_NewPointerObj((void *) wxLIGHT_GREY_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
15697 static int _wrap_BLACK_set(PyObject
*_val
) {
15698 PyErr_SetString(PyExc_TypeError
,"Variable BLACK is read-only.");
15703 static PyObject
*_wrap_BLACK_get() {
15706 pyobj
= SWIG_NewPointerObj((void *) wxBLACK
, SWIGTYPE_p_wxColour
, 0);
15711 static int _wrap_WHITE_set(PyObject
*_val
) {
15712 PyErr_SetString(PyExc_TypeError
,"Variable WHITE is read-only.");
15717 static PyObject
*_wrap_WHITE_get() {
15720 pyobj
= SWIG_NewPointerObj((void *) wxWHITE
, SWIGTYPE_p_wxColour
, 0);
15725 static int _wrap_RED_set(PyObject
*_val
) {
15726 PyErr_SetString(PyExc_TypeError
,"Variable RED is read-only.");
15731 static PyObject
*_wrap_RED_get() {
15734 pyobj
= SWIG_NewPointerObj((void *) wxRED
, SWIGTYPE_p_wxColour
, 0);
15739 static int _wrap_BLUE_set(PyObject
*_val
) {
15740 PyErr_SetString(PyExc_TypeError
,"Variable BLUE is read-only.");
15745 static PyObject
*_wrap_BLUE_get() {
15748 pyobj
= SWIG_NewPointerObj((void *) wxBLUE
, SWIGTYPE_p_wxColour
, 0);
15753 static int _wrap_GREEN_set(PyObject
*_val
) {
15754 PyErr_SetString(PyExc_TypeError
,"Variable GREEN is read-only.");
15759 static PyObject
*_wrap_GREEN_get() {
15762 pyobj
= SWIG_NewPointerObj((void *) wxGREEN
, SWIGTYPE_p_wxColour
, 0);
15767 static int _wrap_CYAN_set(PyObject
*_val
) {
15768 PyErr_SetString(PyExc_TypeError
,"Variable CYAN is read-only.");
15773 static PyObject
*_wrap_CYAN_get() {
15776 pyobj
= SWIG_NewPointerObj((void *) wxCYAN
, SWIGTYPE_p_wxColour
, 0);
15781 static int _wrap_LIGHT_GREY_set(PyObject
*_val
) {
15782 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY is read-only.");
15787 static PyObject
*_wrap_LIGHT_GREY_get() {
15790 pyobj
= SWIG_NewPointerObj((void *) wxLIGHT_GREY
, SWIGTYPE_p_wxColour
, 0);
15795 static int _wrap_STANDARD_CURSOR_set(PyObject
*_val
) {
15796 PyErr_SetString(PyExc_TypeError
,"Variable STANDARD_CURSOR is read-only.");
15801 static PyObject
*_wrap_STANDARD_CURSOR_get() {
15804 pyobj
= SWIG_NewPointerObj((void *) wxSTANDARD_CURSOR
, SWIGTYPE_p_wxCursor
, 0);
15809 static int _wrap_HOURGLASS_CURSOR_set(PyObject
*_val
) {
15810 PyErr_SetString(PyExc_TypeError
,"Variable HOURGLASS_CURSOR is read-only.");
15815 static PyObject
*_wrap_HOURGLASS_CURSOR_get() {
15818 pyobj
= SWIG_NewPointerObj((void *) wxHOURGLASS_CURSOR
, SWIGTYPE_p_wxCursor
, 0);
15823 static int _wrap_CROSS_CURSOR_set(PyObject
*_val
) {
15824 PyErr_SetString(PyExc_TypeError
,"Variable CROSS_CURSOR is read-only.");
15829 static PyObject
*_wrap_CROSS_CURSOR_get() {
15832 pyobj
= SWIG_NewPointerObj((void *) wxCROSS_CURSOR
, SWIGTYPE_p_wxCursor
, 0);
15837 static int _wrap_NullBitmap_set(PyObject
*_val
) {
15838 PyErr_SetString(PyExc_TypeError
,"Variable NullBitmap is read-only.");
15843 static PyObject
*_wrap_NullBitmap_get() {
15846 pyobj
= SWIG_NewPointerObj((void *) &wxNullBitmap
, SWIGTYPE_p_wxBitmap
, 0);
15851 static int _wrap_NullIcon_set(PyObject
*_val
) {
15852 PyErr_SetString(PyExc_TypeError
,"Variable NullIcon is read-only.");
15857 static PyObject
*_wrap_NullIcon_get() {
15860 pyobj
= SWIG_NewPointerObj((void *) &wxNullIcon
, SWIGTYPE_p_wxIcon
, 0);
15865 static int _wrap_NullCursor_set(PyObject
*_val
) {
15866 PyErr_SetString(PyExc_TypeError
,"Variable NullCursor is read-only.");
15871 static PyObject
*_wrap_NullCursor_get() {
15874 pyobj
= SWIG_NewPointerObj((void *) &wxNullCursor
, SWIGTYPE_p_wxCursor
, 0);
15879 static int _wrap_NullPen_set(PyObject
*_val
) {
15880 PyErr_SetString(PyExc_TypeError
,"Variable NullPen is read-only.");
15885 static PyObject
*_wrap_NullPen_get() {
15888 pyobj
= SWIG_NewPointerObj((void *) &wxNullPen
, SWIGTYPE_p_wxPen
, 0);
15893 static int _wrap_NullBrush_set(PyObject
*_val
) {
15894 PyErr_SetString(PyExc_TypeError
,"Variable NullBrush is read-only.");
15899 static PyObject
*_wrap_NullBrush_get() {
15902 pyobj
= SWIG_NewPointerObj((void *) &wxNullBrush
, SWIGTYPE_p_wxBrush
, 0);
15907 static int _wrap_NullPalette_set(PyObject
*_val
) {
15908 PyErr_SetString(PyExc_TypeError
,"Variable NullPalette is read-only.");
15913 static PyObject
*_wrap_NullPalette_get() {
15916 pyobj
= SWIG_NewPointerObj((void *) &wxNullPalette
, SWIGTYPE_p_wxPalette
, 0);
15921 static int _wrap_NullFont_set(PyObject
*_val
) {
15922 PyErr_SetString(PyExc_TypeError
,"Variable NullFont is read-only.");
15927 static PyObject
*_wrap_NullFont_get() {
15930 pyobj
= SWIG_NewPointerObj((void *) &wxNullFont
, SWIGTYPE_p_wxFont
, 0);
15935 static int _wrap_NullColour_set(PyObject
*_val
) {
15936 PyErr_SetString(PyExc_TypeError
,"Variable NullColour is read-only.");
15941 static PyObject
*_wrap_NullColour_get() {
15944 pyobj
= SWIG_NewPointerObj((void *) &wxNullColour
, SWIGTYPE_p_wxColour
, 0);
15949 static int _wrap_TheFontList_set(PyObject
*_val
) {
15950 PyErr_SetString(PyExc_TypeError
,"Variable TheFontList is read-only.");
15955 static PyObject
*_wrap_TheFontList_get() {
15958 pyobj
= SWIG_NewPointerObj((void *) wxTheFontList
, SWIGTYPE_p_wxFontList
, 0);
15963 static int _wrap_ThePenList_set(PyObject
*_val
) {
15964 PyErr_SetString(PyExc_TypeError
,"Variable ThePenList is read-only.");
15969 static PyObject
*_wrap_ThePenList_get() {
15972 pyobj
= SWIG_NewPointerObj((void *) wxThePenList
, SWIGTYPE_p_wxPenList
, 0);
15977 static int _wrap_TheBrushList_set(PyObject
*_val
) {
15978 PyErr_SetString(PyExc_TypeError
,"Variable TheBrushList is read-only.");
15983 static PyObject
*_wrap_TheBrushList_get() {
15986 pyobj
= SWIG_NewPointerObj((void *) wxTheBrushList
, SWIGTYPE_p_wxBrushList
, 0);
15991 static int _wrap_TheColourDatabase_set(PyObject
*_val
) {
15992 PyErr_SetString(PyExc_TypeError
,"Variable TheColourDatabase is read-only.");
15997 static PyObject
*_wrap_TheColourDatabase_get() {
16000 pyobj
= SWIG_NewPointerObj((void *) wxTheColourDatabase
, SWIGTYPE_p_wxColourDatabase
, 0);
16005 static PyObject
*_wrap_new_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16006 PyObject
*resultobj
;
16007 wxBitmap
*arg1
= 0 ;
16008 wxCursor
const &arg2_defvalue
= wxNullCursor
;
16009 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
16010 wxGenericDragImage
*result
;
16011 PyObject
* obj0
= 0 ;
16012 PyObject
* obj1
= 0 ;
16013 char *kwnames
[] = {
16014 (char *) "image",(char *) "cursor", NULL
16017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
16018 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16019 if (arg1
== NULL
) {
16020 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16023 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16024 if (arg2
== NULL
) {
16025 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16030 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
16032 wxPyEndAllowThreads(__tstate
);
16033 if (PyErr_Occurred()) SWIG_fail
;
16035 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
16042 static PyObject
*_wrap_new_DragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16043 PyObject
*resultobj
;
16045 wxCursor
const &arg2_defvalue
= wxNullCursor
;
16046 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
16047 wxGenericDragImage
*result
;
16048 PyObject
* obj0
= 0 ;
16049 PyObject
* obj1
= 0 ;
16050 char *kwnames
[] = {
16051 (char *) "image",(char *) "cursor", NULL
16054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
16055 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16056 if (arg1
== NULL
) {
16057 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16060 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16061 if (arg2
== NULL
) {
16062 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16067 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
16069 wxPyEndAllowThreads(__tstate
);
16070 if (PyErr_Occurred()) SWIG_fail
;
16072 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
16079 static PyObject
*_wrap_new_DragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16080 PyObject
*resultobj
;
16081 wxString
*arg1
= 0 ;
16082 wxCursor
const &arg2_defvalue
= wxNullCursor
;
16083 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
16084 wxGenericDragImage
*result
;
16085 bool temp1
= false ;
16086 PyObject
* obj0
= 0 ;
16087 PyObject
* obj1
= 0 ;
16088 char *kwnames
[] = {
16089 (char *) "str",(char *) "cursor", NULL
16092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
16094 arg1
= wxString_in_helper(obj0
);
16095 if (arg1
== NULL
) SWIG_fail
;
16099 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16100 if (arg2
== NULL
) {
16101 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16106 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
16108 wxPyEndAllowThreads(__tstate
);
16109 if (PyErr_Occurred()) SWIG_fail
;
16111 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
16126 static PyObject
*_wrap_new_DragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16127 PyObject
*resultobj
;
16128 wxTreeCtrl
*arg1
= 0 ;
16129 wxTreeItemId
*arg2
= 0 ;
16130 wxGenericDragImage
*result
;
16131 PyObject
* obj0
= 0 ;
16132 PyObject
* obj1
= 0 ;
16133 char *kwnames
[] = {
16134 (char *) "treeCtrl",(char *) "id", NULL
16137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
16138 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16139 if (arg1
== NULL
) {
16140 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16142 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16143 if (arg2
== NULL
) {
16144 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16148 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxTreeCtrl
const &)*arg1
,*arg2
);
16150 wxPyEndAllowThreads(__tstate
);
16151 if (PyErr_Occurred()) SWIG_fail
;
16153 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
16160 static PyObject
*_wrap_new_DragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16161 PyObject
*resultobj
;
16162 wxListCtrl
*arg1
= 0 ;
16164 wxGenericDragImage
*result
;
16165 PyObject
* obj0
= 0 ;
16166 char *kwnames
[] = {
16167 (char *) "listCtrl",(char *) "id", NULL
16170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:new_DragListItem",kwnames
,&obj0
,&arg2
)) goto fail
;
16171 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16172 if (arg1
== NULL
) {
16173 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16177 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxListCtrl
const &)*arg1
,arg2
);
16179 wxPyEndAllowThreads(__tstate
);
16180 if (PyErr_Occurred()) SWIG_fail
;
16182 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
16189 static PyObject
*_wrap_delete_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16190 PyObject
*resultobj
;
16191 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
16192 PyObject
* obj0
= 0 ;
16193 char *kwnames
[] = {
16194 (char *) "self", NULL
16197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
16198 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16203 wxPyEndAllowThreads(__tstate
);
16204 if (PyErr_Occurred()) SWIG_fail
;
16206 Py_INCREF(Py_None
); resultobj
= Py_None
;
16213 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16214 PyObject
*resultobj
;
16215 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
16216 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
16217 PyObject
* obj0
= 0 ;
16218 PyObject
* obj1
= 0 ;
16219 char *kwnames
[] = {
16220 (char *) "self",(char *) "bitmap", NULL
16223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
16224 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16225 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16228 (arg1
)->SetBackingBitmap(arg2
);
16230 wxPyEndAllowThreads(__tstate
);
16231 if (PyErr_Occurred()) SWIG_fail
;
16233 Py_INCREF(Py_None
); resultobj
= Py_None
;
16240 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16241 PyObject
*resultobj
;
16242 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
16243 wxPoint
*arg2
= 0 ;
16244 wxWindow
*arg3
= (wxWindow
*) 0 ;
16245 bool arg4
= (bool) FALSE
;
16246 wxRect
*arg5
= (wxRect
*) NULL
;
16249 PyObject
* obj0
= 0 ;
16250 PyObject
* obj1
= 0 ;
16251 PyObject
* obj2
= 0 ;
16252 PyObject
* obj3
= 0 ;
16253 PyObject
* obj4
= 0 ;
16254 char *kwnames
[] = {
16255 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
16258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16259 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16262 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16264 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16266 arg4
= PyInt_AsLong(obj3
) ? true : false;
16267 if (PyErr_Occurred()) SWIG_fail
;
16270 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16274 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
16276 wxPyEndAllowThreads(__tstate
);
16277 if (PyErr_Occurred()) SWIG_fail
;
16279 resultobj
= PyInt_FromLong((long)result
);
16286 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16287 PyObject
*resultobj
;
16288 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
16289 wxPoint
*arg2
= 0 ;
16290 wxWindow
*arg3
= (wxWindow
*) 0 ;
16291 wxWindow
*arg4
= (wxWindow
*) 0 ;
16294 PyObject
* obj0
= 0 ;
16295 PyObject
* obj1
= 0 ;
16296 PyObject
* obj2
= 0 ;
16297 PyObject
* obj3
= 0 ;
16298 char *kwnames
[] = {
16299 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
16302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16303 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16306 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16308 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16309 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16312 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
16314 wxPyEndAllowThreads(__tstate
);
16315 if (PyErr_Occurred()) SWIG_fail
;
16317 resultobj
= PyInt_FromLong((long)result
);
16324 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16325 PyObject
*resultobj
;
16326 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
16328 PyObject
* obj0
= 0 ;
16329 char *kwnames
[] = {
16330 (char *) "self", NULL
16333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
16334 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16337 result
= (bool)(arg1
)->EndDrag();
16339 wxPyEndAllowThreads(__tstate
);
16340 if (PyErr_Occurred()) SWIG_fail
;
16342 resultobj
= PyInt_FromLong((long)result
);
16349 static PyObject
*_wrap_DragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16350 PyObject
*resultobj
;
16351 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
16352 wxPoint
*arg2
= 0 ;
16355 PyObject
* obj0
= 0 ;
16356 PyObject
* obj1
= 0 ;
16357 char *kwnames
[] = {
16358 (char *) "self",(char *) "pt", NULL
16361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
16362 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16365 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16369 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
16371 wxPyEndAllowThreads(__tstate
);
16372 if (PyErr_Occurred()) SWIG_fail
;
16374 resultobj
= PyInt_FromLong((long)result
);
16381 static PyObject
*_wrap_DragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16382 PyObject
*resultobj
;
16383 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
16385 PyObject
* obj0
= 0 ;
16386 char *kwnames
[] = {
16387 (char *) "self", NULL
16390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
16391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16394 result
= (bool)(arg1
)->Show();
16396 wxPyEndAllowThreads(__tstate
);
16397 if (PyErr_Occurred()) SWIG_fail
;
16399 resultobj
= PyInt_FromLong((long)result
);
16406 static PyObject
*_wrap_DragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16407 PyObject
*resultobj
;
16408 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
16410 PyObject
* obj0
= 0 ;
16411 char *kwnames
[] = {
16412 (char *) "self", NULL
16415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
16416 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16419 result
= (bool)(arg1
)->Hide();
16421 wxPyEndAllowThreads(__tstate
);
16422 if (PyErr_Occurred()) SWIG_fail
;
16424 resultobj
= PyInt_FromLong((long)result
);
16431 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16432 PyObject
*resultobj
;
16433 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
16434 wxPoint
*arg2
= 0 ;
16437 PyObject
* obj0
= 0 ;
16438 PyObject
* obj1
= 0 ;
16439 char *kwnames
[] = {
16440 (char *) "self",(char *) "pos", NULL
16443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16444 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16447 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16451 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
16453 wxPyEndAllowThreads(__tstate
);
16454 if (PyErr_Occurred()) SWIG_fail
;
16457 wxRect
* resultptr
;
16458 resultptr
= new wxRect((wxRect
&) result
);
16459 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
16467 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16468 PyObject
*resultobj
;
16469 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
16471 wxPoint
*arg3
= 0 ;
16474 PyObject
* obj0
= 0 ;
16475 PyObject
* obj1
= 0 ;
16476 PyObject
* obj2
= 0 ;
16477 char *kwnames
[] = {
16478 (char *) "self",(char *) "dc",(char *) "pos", NULL
16481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16482 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16483 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16484 if (arg2
== NULL
) {
16485 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16489 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16493 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
16495 wxPyEndAllowThreads(__tstate
);
16496 if (PyErr_Occurred()) SWIG_fail
;
16498 resultobj
= PyInt_FromLong((long)result
);
16505 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16506 PyObject
*resultobj
;
16507 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
16509 wxMemoryDC
*arg3
= 0 ;
16515 PyObject
* obj0
= 0 ;
16516 PyObject
* obj1
= 0 ;
16517 PyObject
* obj2
= 0 ;
16518 PyObject
* obj3
= 0 ;
16519 PyObject
* obj4
= 0 ;
16520 char *kwnames
[] = {
16521 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
16524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16525 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16526 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16527 if (arg2
== NULL
) {
16528 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16530 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMemoryDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16531 if (arg3
== NULL
) {
16532 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16536 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
16540 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
16543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16544 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
16546 wxPyEndAllowThreads(__tstate
);
16547 if (PyErr_Occurred()) SWIG_fail
;
16549 resultobj
= PyInt_FromLong((long)result
);
16556 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16557 PyObject
*resultobj
;
16558 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
16559 wxPoint
*arg2
= 0 ;
16560 wxPoint
*arg3
= 0 ;
16566 PyObject
* obj0
= 0 ;
16567 PyObject
* obj1
= 0 ;
16568 PyObject
* obj2
= 0 ;
16569 PyObject
* obj3
= 0 ;
16570 PyObject
* obj4
= 0 ;
16571 char *kwnames
[] = {
16572 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
16575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16576 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16579 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16583 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16585 arg4
= PyInt_AsLong(obj3
) ? true : false;
16586 if (PyErr_Occurred()) SWIG_fail
;
16587 arg5
= PyInt_AsLong(obj4
) ? true : false;
16588 if (PyErr_Occurred()) SWIG_fail
;
16590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16591 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
16593 wxPyEndAllowThreads(__tstate
);
16594 if (PyErr_Occurred()) SWIG_fail
;
16596 resultobj
= PyInt_FromLong((long)result
);
16603 static PyObject
* DragImage_swigregister(PyObject
*self
, PyObject
*args
) {
16605 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16606 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
16608 return Py_BuildValue((char *)"");
16610 static PyObject
*_wrap_new_Effects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16611 PyObject
*resultobj
;
16613 char *kwnames
[] = {
16617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Effects",kwnames
)) goto fail
;
16619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16620 result
= (wxEffects
*)new wxEffects();
16622 wxPyEndAllowThreads(__tstate
);
16623 if (PyErr_Occurred()) SWIG_fail
;
16625 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxEffects
, 1);
16632 static PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16633 PyObject
*resultobj
;
16634 wxEffects
*arg1
= (wxEffects
*) 0 ;
16636 PyObject
* obj0
= 0 ;
16637 char *kwnames
[] = {
16638 (char *) "self", NULL
16641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetHighlightColour",kwnames
,&obj0
)) goto fail
;
16642 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16645 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
16647 wxPyEndAllowThreads(__tstate
);
16648 if (PyErr_Occurred()) SWIG_fail
;
16651 wxColour
* resultptr
;
16652 resultptr
= new wxColour((wxColour
&) result
);
16653 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
16661 static PyObject
*_wrap_Effects_GetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16662 PyObject
*resultobj
;
16663 wxEffects
*arg1
= (wxEffects
*) 0 ;
16665 PyObject
* obj0
= 0 ;
16666 char *kwnames
[] = {
16667 (char *) "self", NULL
16670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetLightShadow",kwnames
,&obj0
)) goto fail
;
16671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16674 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
16676 wxPyEndAllowThreads(__tstate
);
16677 if (PyErr_Occurred()) SWIG_fail
;
16680 wxColour
* resultptr
;
16681 resultptr
= new wxColour((wxColour
&) result
);
16682 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
16690 static PyObject
*_wrap_Effects_GetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16691 PyObject
*resultobj
;
16692 wxEffects
*arg1
= (wxEffects
*) 0 ;
16694 PyObject
* obj0
= 0 ;
16695 char *kwnames
[] = {
16696 (char *) "self", NULL
16699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetFaceColour",kwnames
,&obj0
)) goto fail
;
16700 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16703 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
16705 wxPyEndAllowThreads(__tstate
);
16706 if (PyErr_Occurred()) SWIG_fail
;
16709 wxColour
* resultptr
;
16710 resultptr
= new wxColour((wxColour
&) result
);
16711 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
16719 static PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16720 PyObject
*resultobj
;
16721 wxEffects
*arg1
= (wxEffects
*) 0 ;
16723 PyObject
* obj0
= 0 ;
16724 char *kwnames
[] = {
16725 (char *) "self", NULL
16728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetMediumShadow",kwnames
,&obj0
)) goto fail
;
16729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16732 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
16734 wxPyEndAllowThreads(__tstate
);
16735 if (PyErr_Occurred()) SWIG_fail
;
16738 wxColour
* resultptr
;
16739 resultptr
= new wxColour((wxColour
&) result
);
16740 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
16748 static PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16749 PyObject
*resultobj
;
16750 wxEffects
*arg1
= (wxEffects
*) 0 ;
16752 PyObject
* obj0
= 0 ;
16753 char *kwnames
[] = {
16754 (char *) "self", NULL
16757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetDarkShadow",kwnames
,&obj0
)) goto fail
;
16758 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16761 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
16763 wxPyEndAllowThreads(__tstate
);
16764 if (PyErr_Occurred()) SWIG_fail
;
16767 wxColour
* resultptr
;
16768 resultptr
= new wxColour((wxColour
&) result
);
16769 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
16777 static PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16778 PyObject
*resultobj
;
16779 wxEffects
*arg1
= (wxEffects
*) 0 ;
16780 wxColour
*arg2
= 0 ;
16782 PyObject
* obj0
= 0 ;
16783 PyObject
* obj1
= 0 ;
16784 char *kwnames
[] = {
16785 (char *) "self",(char *) "c", NULL
16788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
16789 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16792 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16796 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
16798 wxPyEndAllowThreads(__tstate
);
16799 if (PyErr_Occurred()) SWIG_fail
;
16801 Py_INCREF(Py_None
); resultobj
= Py_None
;
16808 static PyObject
*_wrap_Effects_SetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16809 PyObject
*resultobj
;
16810 wxEffects
*arg1
= (wxEffects
*) 0 ;
16811 wxColour
*arg2
= 0 ;
16813 PyObject
* obj0
= 0 ;
16814 PyObject
* obj1
= 0 ;
16815 char *kwnames
[] = {
16816 (char *) "self",(char *) "c", NULL
16819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
16820 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16823 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16827 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
16829 wxPyEndAllowThreads(__tstate
);
16830 if (PyErr_Occurred()) SWIG_fail
;
16832 Py_INCREF(Py_None
); resultobj
= Py_None
;
16839 static PyObject
*_wrap_Effects_SetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16840 PyObject
*resultobj
;
16841 wxEffects
*arg1
= (wxEffects
*) 0 ;
16842 wxColour
*arg2
= 0 ;
16844 PyObject
* obj0
= 0 ;
16845 PyObject
* obj1
= 0 ;
16846 char *kwnames
[] = {
16847 (char *) "self",(char *) "c", NULL
16850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) goto fail
;
16851 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16854 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16858 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
16860 wxPyEndAllowThreads(__tstate
);
16861 if (PyErr_Occurred()) SWIG_fail
;
16863 Py_INCREF(Py_None
); resultobj
= Py_None
;
16870 static PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16871 PyObject
*resultobj
;
16872 wxEffects
*arg1
= (wxEffects
*) 0 ;
16873 wxColour
*arg2
= 0 ;
16875 PyObject
* obj0
= 0 ;
16876 PyObject
* obj1
= 0 ;
16877 char *kwnames
[] = {
16878 (char *) "self",(char *) "c", NULL
16881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
16882 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16885 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16889 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
16891 wxPyEndAllowThreads(__tstate
);
16892 if (PyErr_Occurred()) SWIG_fail
;
16894 Py_INCREF(Py_None
); resultobj
= Py_None
;
16901 static PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16902 PyObject
*resultobj
;
16903 wxEffects
*arg1
= (wxEffects
*) 0 ;
16904 wxColour
*arg2
= 0 ;
16906 PyObject
* obj0
= 0 ;
16907 PyObject
* obj1
= 0 ;
16908 char *kwnames
[] = {
16909 (char *) "self",(char *) "c", NULL
16912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
16913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16916 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16920 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
16922 wxPyEndAllowThreads(__tstate
);
16923 if (PyErr_Occurred()) SWIG_fail
;
16925 Py_INCREF(Py_None
); resultobj
= Py_None
;
16932 static PyObject
*_wrap_Effects_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16933 PyObject
*resultobj
;
16934 wxEffects
*arg1
= (wxEffects
*) 0 ;
16935 wxColour
*arg2
= 0 ;
16936 wxColour
*arg3
= 0 ;
16937 wxColour
*arg4
= 0 ;
16938 wxColour
*arg5
= 0 ;
16939 wxColour
*arg6
= 0 ;
16945 PyObject
* obj0
= 0 ;
16946 PyObject
* obj1
= 0 ;
16947 PyObject
* obj2
= 0 ;
16948 PyObject
* obj3
= 0 ;
16949 PyObject
* obj4
= 0 ;
16950 PyObject
* obj5
= 0 ;
16951 char *kwnames
[] = {
16952 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
16955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16956 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16959 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16963 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16967 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
16971 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
16975 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
16978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16979 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
16981 wxPyEndAllowThreads(__tstate
);
16982 if (PyErr_Occurred()) SWIG_fail
;
16984 Py_INCREF(Py_None
); resultobj
= Py_None
;
16991 static PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16992 PyObject
*resultobj
;
16993 wxEffects
*arg1
= (wxEffects
*) 0 ;
16996 int arg4
= (int) 1 ;
16998 PyObject
* obj0
= 0 ;
16999 PyObject
* obj1
= 0 ;
17000 PyObject
* obj2
= 0 ;
17001 char *kwnames
[] = {
17002 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
17005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
17006 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17007 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17008 if (arg2
== NULL
) {
17009 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17013 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
17016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17017 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
17019 wxPyEndAllowThreads(__tstate
);
17020 if (PyErr_Occurred()) SWIG_fail
;
17022 Py_INCREF(Py_None
); resultobj
= Py_None
;
17029 static PyObject
*_wrap_Effects_TileBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17030 PyObject
*resultobj
;
17031 wxEffects
*arg1
= (wxEffects
*) 0 ;
17034 wxBitmap
*arg4
= 0 ;
17037 PyObject
* obj0
= 0 ;
17038 PyObject
* obj1
= 0 ;
17039 PyObject
* obj2
= 0 ;
17040 PyObject
* obj3
= 0 ;
17041 char *kwnames
[] = {
17042 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
17045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17046 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17049 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17051 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17052 if (arg3
== NULL
) {
17053 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17055 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17056 if (arg4
== NULL
) {
17057 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17061 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
17063 wxPyEndAllowThreads(__tstate
);
17064 if (PyErr_Occurred()) SWIG_fail
;
17066 resultobj
= PyInt_FromLong((long)result
);
17073 static PyObject
* Effects_swigregister(PyObject
*self
, PyObject
*args
) {
17075 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17076 SWIG_TypeClientData(SWIGTYPE_p_wxEffects
, obj
);
17078 return Py_BuildValue((char *)"");
17080 static PyMethodDef SwigMethods
[] = {
17081 { (char *)"new_GDIObject", (PyCFunction
) _wrap_new_GDIObject
, METH_VARARGS
| METH_KEYWORDS
},
17082 { (char *)"delete_GDIObject", (PyCFunction
) _wrap_delete_GDIObject
, METH_VARARGS
| METH_KEYWORDS
},
17083 { (char *)"GDIObject_GetVisible", (PyCFunction
) _wrap_GDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
},
17084 { (char *)"GDIObject_SetVisible", (PyCFunction
) _wrap_GDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
},
17085 { (char *)"GDIObject_IsNull", (PyCFunction
) _wrap_GDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
17086 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
},
17087 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
},
17088 { (char *)"delete_Colour", (PyCFunction
) _wrap_delete_Colour
, METH_VARARGS
| METH_KEYWORDS
},
17089 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
},
17090 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
},
17091 { (char *)"Colour_Red", (PyCFunction
) _wrap_Colour_Red
, METH_VARARGS
| METH_KEYWORDS
},
17092 { (char *)"Colour_Green", (PyCFunction
) _wrap_Colour_Green
, METH_VARARGS
| METH_KEYWORDS
},
17093 { (char *)"Colour_Blue", (PyCFunction
) _wrap_Colour_Blue
, METH_VARARGS
| METH_KEYWORDS
},
17094 { (char *)"Colour_Ok", (PyCFunction
) _wrap_Colour_Ok
, METH_VARARGS
| METH_KEYWORDS
},
17095 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
},
17096 { (char *)"Colour_SetRBG", (PyCFunction
) _wrap_Colour_SetRBG
, METH_VARARGS
| METH_KEYWORDS
},
17097 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
},
17098 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
},
17099 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
},
17100 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
},
17101 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
},
17102 { (char *)"delete_Palette", (PyCFunction
) _wrap_delete_Palette
, METH_VARARGS
| METH_KEYWORDS
},
17103 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
17104 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
17105 { (char *)"Palette_Ok", (PyCFunction
) _wrap_Palette_Ok
, METH_VARARGS
| METH_KEYWORDS
},
17106 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
},
17107 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
},
17108 { (char *)"delete_Pen", (PyCFunction
) _wrap_delete_Pen
, METH_VARARGS
| METH_KEYWORDS
},
17109 { (char *)"Pen_GetCap", (PyCFunction
) _wrap_Pen_GetCap
, METH_VARARGS
| METH_KEYWORDS
},
17110 { (char *)"Pen_GetColour", (PyCFunction
) _wrap_Pen_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
17111 { (char *)"Pen_GetJoin", (PyCFunction
) _wrap_Pen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
},
17112 { (char *)"Pen_GetStyle", (PyCFunction
) _wrap_Pen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
17113 { (char *)"Pen_GetWidth", (PyCFunction
) _wrap_Pen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
17114 { (char *)"Pen_Ok", (PyCFunction
) _wrap_Pen_Ok
, METH_VARARGS
| METH_KEYWORDS
},
17115 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
},
17116 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
17117 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
},
17118 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
17119 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
17120 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
17121 { (char *)"Pen_GetDashes", (PyCFunction
) _wrap_Pen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
},
17122 { (char *)"Pen_GetStipple", (PyCFunction
) _wrap_Pen_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
17123 { (char *)"Pen_SetStipple", (PyCFunction
) _wrap_Pen_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
17124 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
},
17125 { (char *)"new_PyPen", (PyCFunction
) _wrap_new_PyPen
, METH_VARARGS
| METH_KEYWORDS
},
17126 { (char *)"delete_PyPen", (PyCFunction
) _wrap_delete_PyPen
, METH_VARARGS
| METH_KEYWORDS
},
17127 { (char *)"PyPen_SetDashes", (PyCFunction
) _wrap_PyPen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
17128 { (char *)"PyPen_swigregister", PyPen_swigregister
, METH_VARARGS
},
17129 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
},
17130 { (char *)"delete_Brush", (PyCFunction
) _wrap_delete_Brush
, METH_VARARGS
| METH_KEYWORDS
},
17131 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
17132 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
17133 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
17134 { (char *)"Brush_GetColour", (PyCFunction
) _wrap_Brush_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
17135 { (char *)"Brush_GetStyle", (PyCFunction
) _wrap_Brush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
17136 { (char *)"Brush_GetStipple", (PyCFunction
) _wrap_Brush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
17137 { (char *)"Brush_Ok", (PyCFunction
) _wrap_Brush_Ok
, METH_VARARGS
| METH_KEYWORDS
},
17138 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
},
17139 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
},
17140 { (char *)"delete_Bitmap", (PyCFunction
) _wrap_delete_Bitmap
, METH_VARARGS
| METH_KEYWORDS
},
17141 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
},
17142 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
17143 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
},
17144 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
17145 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
},
17146 { (char *)"Bitmap_SetPalette", (PyCFunction
) _wrap_Bitmap_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
17147 { (char *)"Bitmap_GetHandle", (PyCFunction
) _wrap_Bitmap_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
17148 { (char *)"Bitmap_SetHandle", (PyCFunction
) _wrap_Bitmap_SetHandle
, METH_VARARGS
| METH_KEYWORDS
},
17149 { (char *)"Bitmap_Ok", (PyCFunction
) _wrap_Bitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
},
17150 { (char *)"Bitmap_GetWidth", (PyCFunction
) _wrap_Bitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
17151 { (char *)"Bitmap_GetHeight", (PyCFunction
) _wrap_Bitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
17152 { (char *)"Bitmap_GetDepth", (PyCFunction
) _wrap_Bitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
17153 { (char *)"Bitmap_ConvertToImage", (PyCFunction
) _wrap_Bitmap_ConvertToImage
, METH_VARARGS
| METH_KEYWORDS
},
17154 { (char *)"Bitmap_GetMask", (PyCFunction
) _wrap_Bitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
17155 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
17156 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
17157 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
},
17158 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
17159 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
17160 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
17161 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
17162 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
17163 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
17164 { (char *)"Bitmap_CopyFromCursor", (PyCFunction
) _wrap_Bitmap_CopyFromCursor
, METH_VARARGS
| METH_KEYWORDS
},
17165 { (char *)"Bitmap_GetQuality", (PyCFunction
) _wrap_Bitmap_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
17166 { (char *)"Bitmap_SetQuality", (PyCFunction
) _wrap_Bitmap_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
17167 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
},
17168 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
},
17169 { (char *)"new_MaskColour", (PyCFunction
) _wrap_new_MaskColour
, METH_VARARGS
| METH_KEYWORDS
},
17170 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
},
17171 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
},
17172 { (char *)"delete_Icon", (PyCFunction
) _wrap_delete_Icon
, METH_VARARGS
| METH_KEYWORDS
},
17173 { (char *)"new_EmptyIcon", (PyCFunction
) _wrap_new_EmptyIcon
, METH_VARARGS
| METH_KEYWORDS
},
17174 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
},
17175 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
17176 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
17177 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
17178 { (char *)"Icon_GetHandle", (PyCFunction
) _wrap_Icon_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
17179 { (char *)"Icon_SetHandle", (PyCFunction
) _wrap_Icon_SetHandle
, METH_VARARGS
| METH_KEYWORDS
},
17180 { (char *)"Icon_Ok", (PyCFunction
) _wrap_Icon_Ok
, METH_VARARGS
| METH_KEYWORDS
},
17181 { (char *)"Icon_GetWidth", (PyCFunction
) _wrap_Icon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
17182 { (char *)"Icon_GetHeight", (PyCFunction
) _wrap_Icon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
17183 { (char *)"Icon_GetDepth", (PyCFunction
) _wrap_Icon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
17184 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
17185 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
17186 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
17187 { (char *)"Icon_SetSize", (PyCFunction
) _wrap_Icon_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
17188 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
17189 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
},
17190 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
},
17191 { (char *)"delete_IconLocation", (PyCFunction
) _wrap_delete_IconLocation
, METH_VARARGS
| METH_KEYWORDS
},
17192 { (char *)"IconLocation_IsOk", (PyCFunction
) _wrap_IconLocation_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
17193 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
},
17194 { (char *)"IconLocation_GetFileName", (PyCFunction
) _wrap_IconLocation_GetFileName
, METH_VARARGS
| METH_KEYWORDS
},
17195 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
},
17196 { (char *)"IconLocation_GetIndex", (PyCFunction
) _wrap_IconLocation_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
17197 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
},
17198 { (char *)"new_IconBundle", (PyCFunction
) _wrap_new_IconBundle
, METH_VARARGS
| METH_KEYWORDS
},
17199 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
},
17200 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
17201 { (char *)"delete_IconBundle", (PyCFunction
) _wrap_delete_IconBundle
, METH_VARARGS
| METH_KEYWORDS
},
17202 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
17203 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
},
17204 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
17205 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
},
17206 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
},
17207 { (char *)"delete_Cursor", (PyCFunction
) _wrap_delete_Cursor
, METH_VARARGS
| METH_KEYWORDS
},
17208 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
},
17209 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
},
17210 { (char *)"new_CursorFromBits", (PyCFunction
) _wrap_new_CursorFromBits
, METH_VARARGS
| METH_KEYWORDS
},
17211 { (char *)"Cursor_GetHandle", (PyCFunction
) _wrap_Cursor_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
17212 { (char *)"Cursor_SetHandle", (PyCFunction
) _wrap_Cursor_SetHandle
, METH_VARARGS
| METH_KEYWORDS
},
17213 { (char *)"Cursor_Ok", (PyCFunction
) _wrap_Cursor_Ok
, METH_VARARGS
| METH_KEYWORDS
},
17214 { (char *)"Cursor_GetWidth", (PyCFunction
) _wrap_Cursor_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
17215 { (char *)"Cursor_GetHeight", (PyCFunction
) _wrap_Cursor_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
17216 { (char *)"Cursor_GetDepth", (PyCFunction
) _wrap_Cursor_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
17217 { (char *)"Cursor_SetWidth", (PyCFunction
) _wrap_Cursor_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
17218 { (char *)"Cursor_SetHeight", (PyCFunction
) _wrap_Cursor_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
17219 { (char *)"Cursor_SetDepth", (PyCFunction
) _wrap_Cursor_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
17220 { (char *)"Cursor_SetSize", (PyCFunction
) _wrap_Cursor_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
17221 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
},
17222 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
},
17223 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
17224 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
},
17225 { (char *)"delete_Region", (PyCFunction
) _wrap_delete_Region
, METH_VARARGS
| METH_KEYWORDS
},
17226 { (char *)"Region_Clear", (PyCFunction
) _wrap_Region_Clear
, METH_VARARGS
| METH_KEYWORDS
},
17227 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
},
17228 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
},
17229 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
},
17230 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
},
17231 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
},
17232 { (char *)"Region_GetBox", (PyCFunction
) _wrap_Region_GetBox
, METH_VARARGS
| METH_KEYWORDS
},
17233 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
17234 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
17235 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
},
17236 { (char *)"Region_IsEmpty", (PyCFunction
) _wrap_Region_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
17237 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
},
17238 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
},
17239 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
},
17240 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
17241 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
},
17242 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
},
17243 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
},
17244 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
},
17245 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
},
17246 { (char *)"Region_ConvertToBitmap", (PyCFunction
) _wrap_Region_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
17247 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
},
17248 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
},
17249 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
17250 { (char *)"delete_RegionIterator", (PyCFunction
) _wrap_delete_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
17251 { (char *)"RegionIterator_GetX", (PyCFunction
) _wrap_RegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
},
17252 { (char *)"RegionIterator_GetY", (PyCFunction
) _wrap_RegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
},
17253 { (char *)"RegionIterator_GetW", (PyCFunction
) _wrap_RegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
},
17254 { (char *)"RegionIterator_GetWidth", (PyCFunction
) _wrap_RegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
17255 { (char *)"RegionIterator_GetH", (PyCFunction
) _wrap_RegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
},
17256 { (char *)"RegionIterator_GetHeight", (PyCFunction
) _wrap_RegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
17257 { (char *)"RegionIterator_GetRect", (PyCFunction
) _wrap_RegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
17258 { (char *)"RegionIterator_HaveRects", (PyCFunction
) _wrap_RegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
},
17259 { (char *)"RegionIterator_Reset", (PyCFunction
) _wrap_RegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
},
17260 { (char *)"RegionIterator_Next", (PyCFunction
) _wrap_RegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
},
17261 { (char *)"RegionIterator___nonzero__", (PyCFunction
) _wrap_RegionIterator___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
17262 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
},
17263 { (char *)"new_NativeFontInfo", (PyCFunction
) _wrap_new_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
17264 { (char *)"delete_NativeFontInfo", (PyCFunction
) _wrap_delete_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
17265 { (char *)"NativeFontInfo_Init", (PyCFunction
) _wrap_NativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
},
17266 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
},
17267 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
) _wrap_NativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
17268 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
) _wrap_NativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
17269 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
) _wrap_NativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
17270 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
17271 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
) _wrap_NativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
17272 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
) _wrap_NativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
17273 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
) _wrap_NativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
17274 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
17275 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
17276 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
17277 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
17278 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
17279 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
17280 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
17281 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
17282 { (char *)"NativeFontInfo_ToString", (PyCFunction
) _wrap_NativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
17283 { (char *)"NativeFontInfo___str__", (PyCFunction
) _wrap_NativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
},
17284 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
},
17285 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
) _wrap_NativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
},
17286 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
},
17287 { (char *)"NativeEncodingInfo_facename_set", (PyCFunction
) _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
| METH_KEYWORDS
},
17288 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
) _wrap_NativeEncodingInfo_facename_get
, METH_VARARGS
| METH_KEYWORDS
},
17289 { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
| METH_KEYWORDS
},
17290 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_get
, METH_VARARGS
| METH_KEYWORDS
},
17291 { (char *)"new_NativeEncodingInfo", (PyCFunction
) _wrap_new_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
},
17292 { (char *)"delete_NativeEncodingInfo", (PyCFunction
) _wrap_delete_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
},
17293 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
17294 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
) _wrap_NativeEncodingInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
17295 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
},
17296 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
},
17297 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
},
17298 { (char *)"new_FontMapper", (PyCFunction
) _wrap_new_FontMapper
, METH_VARARGS
| METH_KEYWORDS
},
17299 { (char *)"delete_FontMapper", (PyCFunction
) _wrap_delete_FontMapper
, METH_VARARGS
| METH_KEYWORDS
},
17300 { (char *)"FontMapper_Get", (PyCFunction
) _wrap_FontMapper_Get
, METH_VARARGS
| METH_KEYWORDS
},
17301 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
},
17302 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
},
17303 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
) _wrap_FontMapper_GetSupportedEncodingsCount
, METH_VARARGS
| METH_KEYWORDS
},
17304 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
17305 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
17306 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
},
17307 { (char *)"FontMapper_SetConfig", (PyCFunction
) _wrap_FontMapper_SetConfig
, METH_VARARGS
| METH_KEYWORDS
},
17308 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
17309 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_FontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
17310 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
},
17311 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
},
17312 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
},
17313 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
},
17314 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
},
17315 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
},
17316 { (char *)"delete_Font", (PyCFunction
) _wrap_delete_Font
, METH_VARARGS
| METH_KEYWORDS
},
17317 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
},
17318 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
},
17319 { (char *)"new_Font2", (PyCFunction
) _wrap_new_Font2
, METH_VARARGS
| METH_KEYWORDS
},
17320 { (char *)"Font_Ok", (PyCFunction
) _wrap_Font_Ok
, METH_VARARGS
| METH_KEYWORDS
},
17321 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
},
17322 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
},
17323 { (char *)"Font_GetPointSize", (PyCFunction
) _wrap_Font_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
17324 { (char *)"Font_GetFamily", (PyCFunction
) _wrap_Font_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
17325 { (char *)"Font_GetStyle", (PyCFunction
) _wrap_Font_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
17326 { (char *)"Font_GetWeight", (PyCFunction
) _wrap_Font_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
17327 { (char *)"Font_GetUnderlined", (PyCFunction
) _wrap_Font_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
17328 { (char *)"Font_GetFaceName", (PyCFunction
) _wrap_Font_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
17329 { (char *)"Font_GetEncoding", (PyCFunction
) _wrap_Font_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
17330 { (char *)"Font_GetNativeFontInfo", (PyCFunction
) _wrap_Font_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
17331 { (char *)"Font_IsFixedWidth", (PyCFunction
) _wrap_Font_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
},
17332 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
},
17333 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
17334 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
17335 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
17336 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
17337 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
17338 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
17339 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
17340 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
17341 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
17342 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
},
17343 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
17344 { (char *)"Font_GetFamilyString", (PyCFunction
) _wrap_Font_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
},
17345 { (char *)"Font_GetStyleString", (PyCFunction
) _wrap_Font_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
},
17346 { (char *)"Font_GetWeightString", (PyCFunction
) _wrap_Font_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
},
17347 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
17348 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
) _wrap_Font_GetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
17349 { (char *)"Font_GetDefaultEncoding", (PyCFunction
) _wrap_Font_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
17350 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
17351 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
},
17352 { (char *)"new_FontEnumerator", (PyCFunction
) _wrap_new_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
17353 { (char *)"delete_FontEnumerator", (PyCFunction
) _wrap_delete_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
17354 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
17355 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
},
17356 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
},
17357 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
) _wrap_FontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
},
17358 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
) _wrap_FontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
},
17359 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
},
17360 { (char *)"LanguageInfo_Language_set", (PyCFunction
) _wrap_LanguageInfo_Language_set
, METH_VARARGS
| METH_KEYWORDS
},
17361 { (char *)"LanguageInfo_Language_get", (PyCFunction
) _wrap_LanguageInfo_Language_get
, METH_VARARGS
| METH_KEYWORDS
},
17362 { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
| METH_KEYWORDS
},
17363 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_get
, METH_VARARGS
| METH_KEYWORDS
},
17364 { (char *)"LanguageInfo_Description_set", (PyCFunction
) _wrap_LanguageInfo_Description_set
, METH_VARARGS
| METH_KEYWORDS
},
17365 { (char *)"LanguageInfo_Description_get", (PyCFunction
) _wrap_LanguageInfo_Description_get
, METH_VARARGS
| METH_KEYWORDS
},
17366 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
},
17367 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
},
17368 { (char *)"delete_Locale", (PyCFunction
) _wrap_delete_Locale
, METH_VARARGS
| METH_KEYWORDS
},
17369 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
},
17370 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
},
17371 { (char *)"Locale_GetSystemLanguage", (PyCFunction
) _wrap_Locale_GetSystemLanguage
, METH_VARARGS
| METH_KEYWORDS
},
17372 { (char *)"Locale_GetSystemEncoding", (PyCFunction
) _wrap_Locale_GetSystemEncoding
, METH_VARARGS
| METH_KEYWORDS
},
17373 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
) _wrap_Locale_GetSystemEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
17374 { (char *)"Locale_IsOk", (PyCFunction
) _wrap_Locale_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
17375 { (char *)"Locale_GetLocale", (PyCFunction
) _wrap_Locale_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
17376 { (char *)"Locale_GetLanguage", (PyCFunction
) _wrap_Locale_GetLanguage
, METH_VARARGS
| METH_KEYWORDS
},
17377 { (char *)"Locale_GetSysName", (PyCFunction
) _wrap_Locale_GetSysName
, METH_VARARGS
| METH_KEYWORDS
},
17378 { (char *)"Locale_GetCanonicalName", (PyCFunction
) _wrap_Locale_GetCanonicalName
, METH_VARARGS
| METH_KEYWORDS
},
17379 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
},
17380 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
},
17381 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
},
17382 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
17383 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
},
17384 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
17385 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
},
17386 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
},
17387 { (char *)"Locale_GetName", (PyCFunction
) _wrap_Locale_GetName
, METH_VARARGS
| METH_KEYWORDS
},
17388 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
},
17389 { (char *)"GetLocale", (PyCFunction
) _wrap_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
17390 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
},
17391 { (char *)"new_EncodingConverter", (PyCFunction
) _wrap_new_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
17392 { (char *)"delete_EncodingConverter", (PyCFunction
) _wrap_delete_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
17393 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
},
17394 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
},
17395 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
17396 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
17397 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
},
17398 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
},
17399 { (char *)"delete_DC", (PyCFunction
) _wrap_delete_DC
, METH_VARARGS
| METH_KEYWORDS
},
17400 { (char *)"DC_BeginDrawing", (PyCFunction
) _wrap_DC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
},
17401 { (char *)"DC_EndDrawing", (PyCFunction
) _wrap_DC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
},
17402 { (char *)"DC_FloodFillXY", (PyCFunction
) _wrap_DC_FloodFillXY
, METH_VARARGS
| METH_KEYWORDS
},
17403 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
},
17404 { (char *)"DC_GetPixelXY", (PyCFunction
) _wrap_DC_GetPixelXY
, METH_VARARGS
| METH_KEYWORDS
},
17405 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
17406 { (char *)"DC_DrawLineXY", (PyCFunction
) _wrap_DC_DrawLineXY
, METH_VARARGS
| METH_KEYWORDS
},
17407 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
17408 { (char *)"DC_CrossHairXY", (PyCFunction
) _wrap_DC_CrossHairXY
, METH_VARARGS
| METH_KEYWORDS
},
17409 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
},
17410 { (char *)"DC_DrawArcXY", (PyCFunction
) _wrap_DC_DrawArcXY
, METH_VARARGS
| METH_KEYWORDS
},
17411 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
17412 { (char *)"DC_DrawCheckMarkXY", (PyCFunction
) _wrap_DC_DrawCheckMarkXY
, METH_VARARGS
| METH_KEYWORDS
},
17413 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
},
17414 { (char *)"DC_DrawEllipticArcXY", (PyCFunction
) _wrap_DC_DrawEllipticArcXY
, METH_VARARGS
| METH_KEYWORDS
},
17415 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
17416 { (char *)"DC_DrawPointXY", (PyCFunction
) _wrap_DC_DrawPointXY
, METH_VARARGS
| METH_KEYWORDS
},
17417 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
17418 { (char *)"DC_DrawRectangleXY", (PyCFunction
) _wrap_DC_DrawRectangleXY
, METH_VARARGS
| METH_KEYWORDS
},
17419 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
17420 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
17421 { (char *)"DC_DrawRoundedRectangleXY", (PyCFunction
) _wrap_DC_DrawRoundedRectangleXY
, METH_VARARGS
| METH_KEYWORDS
},
17422 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
17423 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
17424 { (char *)"DC_DrawCircleXY", (PyCFunction
) _wrap_DC_DrawCircleXY
, METH_VARARGS
| METH_KEYWORDS
},
17425 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
},
17426 { (char *)"DC_DrawEllipseXY", (PyCFunction
) _wrap_DC_DrawEllipseXY
, METH_VARARGS
| METH_KEYWORDS
},
17427 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
17428 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
},
17429 { (char *)"DC_DrawIconXY", (PyCFunction
) _wrap_DC_DrawIconXY
, METH_VARARGS
| METH_KEYWORDS
},
17430 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
},
17431 { (char *)"DC_DrawBitmapXY", (PyCFunction
) _wrap_DC_DrawBitmapXY
, METH_VARARGS
| METH_KEYWORDS
},
17432 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
17433 { (char *)"DC_DrawTextXY", (PyCFunction
) _wrap_DC_DrawTextXY
, METH_VARARGS
| METH_KEYWORDS
},
17434 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
17435 { (char *)"DC_DrawRotatedTextXY", (PyCFunction
) _wrap_DC_DrawRotatedTextXY
, METH_VARARGS
| METH_KEYWORDS
},
17436 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
},
17437 { (char *)"DC_BlitXY", (PyCFunction
) _wrap_DC_BlitXY
, METH_VARARGS
| METH_KEYWORDS
},
17438 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
},
17439 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
17440 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
17441 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
},
17442 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
},
17443 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
17444 { (char *)"DC_Clear", (PyCFunction
) _wrap_DC_Clear
, METH_VARARGS
| METH_KEYWORDS
},
17445 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
},
17446 { (char *)"DC_EndDoc", (PyCFunction
) _wrap_DC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
},
17447 { (char *)"DC_StartPage", (PyCFunction
) _wrap_DC_StartPage
, METH_VARARGS
| METH_KEYWORDS
},
17448 { (char *)"DC_EndPage", (PyCFunction
) _wrap_DC_EndPage
, METH_VARARGS
| METH_KEYWORDS
},
17449 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
17450 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
17451 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
17452 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
},
17453 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
17454 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
17455 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
17456 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
17457 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
},
17458 { (char *)"DC_DestroyClippingRegion", (PyCFunction
) _wrap_DC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
17459 { (char *)"DC_GetClippingBox", (PyCFunction
) _wrap_DC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
},
17460 { (char *)"DC_GetClippingRect", (PyCFunction
) _wrap_DC_GetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
17461 { (char *)"DC_GetCharHeight", (PyCFunction
) _wrap_DC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
17462 { (char *)"DC_GetCharWidth", (PyCFunction
) _wrap_DC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
17463 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
17464 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
17465 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
17466 { (char *)"DC_GetSizeTuple", (PyCFunction
) _wrap_DC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
17467 { (char *)"DC_GetSize", (PyCFunction
) _wrap_DC_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
17468 { (char *)"DC_GetSizeMMWH", (PyCFunction
) _wrap_DC_GetSizeMMWH
, METH_VARARGS
| METH_KEYWORDS
},
17469 { (char *)"DC_GetSizeMM", (PyCFunction
) _wrap_DC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
17470 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
},
17471 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
},
17472 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
},
17473 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
},
17474 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
},
17475 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
},
17476 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
},
17477 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
},
17478 { (char *)"DC_CanDrawBitmap", (PyCFunction
) _wrap_DC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
17479 { (char *)"DC_CanGetTextExtent", (PyCFunction
) _wrap_DC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
17480 { (char *)"DC_GetDepth", (PyCFunction
) _wrap_DC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
17481 { (char *)"DC_GetPPI", (PyCFunction
) _wrap_DC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
},
17482 { (char *)"DC_Ok", (PyCFunction
) _wrap_DC_Ok
, METH_VARARGS
| METH_KEYWORDS
},
17483 { (char *)"DC_GetBackgroundMode", (PyCFunction
) _wrap_DC_GetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
17484 { (char *)"DC_GetBackground", (PyCFunction
) _wrap_DC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
},
17485 { (char *)"DC_GetBrush", (PyCFunction
) _wrap_DC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
17486 { (char *)"DC_GetFont", (PyCFunction
) _wrap_DC_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
17487 { (char *)"DC_GetPen", (PyCFunction
) _wrap_DC_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
17488 { (char *)"DC_GetTextBackground", (PyCFunction
) _wrap_DC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
17489 { (char *)"DC_GetTextForeground", (PyCFunction
) _wrap_DC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
17490 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
17491 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
17492 { (char *)"DC_GetMapMode", (PyCFunction
) _wrap_DC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
17493 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
17494 { (char *)"DC_GetUserScale", (PyCFunction
) _wrap_DC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
17495 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
17496 { (char *)"DC_GetLogicalScale", (PyCFunction
) _wrap_DC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
17497 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
17498 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
) _wrap_DC_GetLogicalOriginTuple
, METH_VARARGS
| METH_KEYWORDS
},
17499 { (char *)"DC_GetLogicalOrigin", (PyCFunction
) _wrap_DC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
17500 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
17501 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
) _wrap_DC_GetDeviceOriginTuple
, METH_VARARGS
| METH_KEYWORDS
},
17502 { (char *)"DC_GetDeviceOrigin", (PyCFunction
) _wrap_DC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
17503 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
17504 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
},
17505 { (char *)"DC_GetLogicalFunction", (PyCFunction
) _wrap_DC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
17506 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
17507 { (char *)"DC_SetOptimization", (PyCFunction
) _wrap_DC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
17508 { (char *)"DC_GetOptimization", (PyCFunction
) _wrap_DC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
17509 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
17510 { (char *)"DC_ResetBoundingBox", (PyCFunction
) _wrap_DC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
17511 { (char *)"DC_MinX", (PyCFunction
) _wrap_DC_MinX
, METH_VARARGS
| METH_KEYWORDS
},
17512 { (char *)"DC_MaxX", (PyCFunction
) _wrap_DC_MaxX
, METH_VARARGS
| METH_KEYWORDS
},
17513 { (char *)"DC_MinY", (PyCFunction
) _wrap_DC_MinY
, METH_VARARGS
| METH_KEYWORDS
},
17514 { (char *)"DC_MaxY", (PyCFunction
) _wrap_DC_MaxY
, METH_VARARGS
| METH_KEYWORDS
},
17515 { (char *)"DC_GetBoundingBox", (PyCFunction
) _wrap_DC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
17516 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
},
17517 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
},
17518 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
},
17519 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
},
17520 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
},
17521 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
},
17522 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
},
17523 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
},
17524 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
},
17525 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
},
17526 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
},
17527 { (char *)"new_BufferedDC", (PyCFunction
) _wrap_new_BufferedDC
, METH_VARARGS
| METH_KEYWORDS
},
17528 { (char *)"new_BufferedDCInternalBuffer", (PyCFunction
) _wrap_new_BufferedDCInternalBuffer
, METH_VARARGS
| METH_KEYWORDS
},
17529 { (char *)"BufferedDC_UnMask", (PyCFunction
) _wrap_BufferedDC_UnMask
, METH_VARARGS
| METH_KEYWORDS
},
17530 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
},
17531 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
17532 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
},
17533 { (char *)"new_ScreenDC", (PyCFunction
) _wrap_new_ScreenDC
, METH_VARARGS
| METH_KEYWORDS
},
17534 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
},
17535 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
17536 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
17537 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
},
17538 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
},
17539 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
},
17540 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
},
17541 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
},
17542 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
},
17543 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
},
17544 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
},
17545 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
},
17546 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
},
17547 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
) _wrap_PostScriptDC_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
17548 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
17549 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
},
17550 { (char *)"PostScriptDC_GetResolution", (PyCFunction
) _wrap_PostScriptDC_GetResolution
, METH_VARARGS
| METH_KEYWORDS
},
17551 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
},
17552 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
},
17553 { (char *)"delete_MetaFile", (PyCFunction
) _wrap_delete_MetaFile
, METH_VARARGS
| METH_KEYWORDS
},
17554 { (char *)"MetaFile_Ok", (PyCFunction
) _wrap_MetaFile_Ok
, METH_VARARGS
| METH_KEYWORDS
},
17555 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
},
17556 { (char *)"MetaFile_GetSize", (PyCFunction
) _wrap_MetaFile_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
17557 { (char *)"MetaFile_GetWidth", (PyCFunction
) _wrap_MetaFile_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
17558 { (char *)"MetaFile_GetHeight", (PyCFunction
) _wrap_MetaFile_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
17559 { (char *)"MetaFile_GetFileName", (PyCFunction
) _wrap_MetaFile_GetFileName
, METH_VARARGS
| METH_KEYWORDS
},
17560 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
},
17561 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
},
17562 { (char *)"MetaFileDC_Close", (PyCFunction
) _wrap_MetaFileDC_Close
, METH_VARARGS
| METH_KEYWORDS
},
17563 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
},
17564 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
},
17565 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
},
17566 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
},
17567 { (char *)"delete_ImageList", (PyCFunction
) _wrap_delete_ImageList
, METH_VARARGS
| METH_KEYWORDS
},
17568 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
},
17569 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
},
17570 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
17571 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
},
17572 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
},
17573 { (char *)"ImageList_GetImageCount", (PyCFunction
) _wrap_ImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
17574 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
},
17575 { (char *)"ImageList_RemoveAll", (PyCFunction
) _wrap_ImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
},
17576 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
17577 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
},
17578 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
},
17579 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
},
17580 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
},
17581 { (char *)"PenList_GetCount", (PyCFunction
) _wrap_PenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
17582 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
},
17583 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
},
17584 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
},
17585 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
},
17586 { (char *)"BrushList_GetCount", (PyCFunction
) _wrap_BrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
17587 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
},
17588 { (char *)"new_ColourDatabase", (PyCFunction
) _wrap_new_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
17589 { (char *)"delete_ColourDatabase", (PyCFunction
) _wrap_delete_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
17590 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
},
17591 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
},
17592 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
},
17593 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
},
17594 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
},
17595 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
},
17596 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
},
17597 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
},
17598 { (char *)"FontList_GetCount", (PyCFunction
) _wrap_FontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
17599 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
},
17600 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
17601 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
},
17602 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
},
17603 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
17604 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
},
17605 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
17606 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
17607 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
17608 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
},
17609 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
17610 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
17611 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
17612 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
17613 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
17614 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
},
17615 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
17616 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
17617 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
},
17618 { (char *)"new_Effects", (PyCFunction
) _wrap_new_Effects
, METH_VARARGS
| METH_KEYWORDS
},
17619 { (char *)"Effects_GetHighlightColour", (PyCFunction
) _wrap_Effects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
17620 { (char *)"Effects_GetLightShadow", (PyCFunction
) _wrap_Effects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
17621 { (char *)"Effects_GetFaceColour", (PyCFunction
) _wrap_Effects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
17622 { (char *)"Effects_GetMediumShadow", (PyCFunction
) _wrap_Effects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
17623 { (char *)"Effects_GetDarkShadow", (PyCFunction
) _wrap_Effects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
17624 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
17625 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
17626 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
17627 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
17628 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
17629 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
},
17630 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
},
17631 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
},
17632 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
},
17637 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
17639 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
17640 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
17642 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
17643 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
17645 static void *_p_wxPyPenTo_p_wxGDIObject(void *x
) {
17646 return (void *)((wxGDIObject
*) (wxPen
*) ((wxPyPen
*) x
));
17648 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
17649 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
17651 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
17652 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
17654 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
17655 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
17657 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
17658 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
17660 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
17661 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
17663 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
17664 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
17666 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
17667 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
17669 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
17670 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
17672 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
17673 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
17675 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
17676 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
17678 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
17679 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
17681 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
17682 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
17684 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
17685 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
17687 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
17688 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
17690 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
17691 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
17693 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
17694 return (void *)((wxDC
*) ((wxClientDC
*) x
));
17696 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
17697 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
17699 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
17700 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
17702 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
17703 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
17705 static void *_p_wxPyPenTo_p_wxPen(void *x
) {
17706 return (void *)((wxPen
*) ((wxPyPen
*) x
));
17708 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
17709 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
17711 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
17712 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
17714 static void *_p_wxPenTo_p_wxObject(void *x
) {
17715 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
17717 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
17718 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
17720 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
17721 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
17723 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
17724 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
17726 static void *_p_wxColourDatabaseTo_p_wxObject(void *x
) {
17727 return (void *)((wxObject
*) ((wxColourDatabase
*) x
));
17729 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
17730 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
17732 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
17733 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
17735 static void *_p_wxIconTo_p_wxObject(void *x
) {
17736 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
17738 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
17739 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
17741 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
17742 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
17744 static void *_p_wxSizerTo_p_wxObject(void *x
) {
17745 return (void *)((wxObject
*) ((wxSizer
*) x
));
17747 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
17748 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
17750 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
17751 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
17753 static void *_p_wxPenListTo_p_wxObject(void *x
) {
17754 return (void *)((wxObject
*) ((wxPenList
*) x
));
17756 static void *_p_wxEventTo_p_wxObject(void *x
) {
17757 return (void *)((wxObject
*) ((wxEvent
*) x
));
17759 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
17760 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
17762 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
17763 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
17765 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
17766 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
17768 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
17769 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
17771 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
17772 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
17774 static void *_p_wxDCTo_p_wxObject(void *x
) {
17775 return (void *)((wxObject
*) ((wxDC
*) x
));
17777 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
17778 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
17780 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
17781 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
17783 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
17784 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
17786 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
17787 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
17789 static void *_p_wxControlTo_p_wxObject(void *x
) {
17790 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
17792 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
17793 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
17795 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
17796 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
17798 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
17799 return (void *)((wxObject
*) ((wxFSFile
*) x
));
17801 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
17802 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
17804 static void *_p_wxRegionTo_p_wxObject(void *x
) {
17805 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
17807 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
17808 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
17810 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
17811 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
17813 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
17814 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
17816 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
17817 return (void *)((wxObject
*) ((wxEffects
*) x
));
17819 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
17820 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
17822 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
17823 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
17825 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
17826 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
17828 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
17829 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
17831 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
17832 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
17834 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
17835 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
17837 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
17838 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
17840 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
17841 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
17843 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
17844 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
17846 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
17847 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
17849 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
17850 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
17852 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
17853 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
17855 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
17856 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
17858 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
17859 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
17861 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
17862 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
17864 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
17865 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
17867 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
17868 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
17870 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
17871 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
17873 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
17874 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
17876 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
17877 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
17879 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
17880 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
17882 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
17883 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
17885 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
17886 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
17888 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
17889 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
17891 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
17892 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
17894 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
17895 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
17897 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
17898 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
17900 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
17901 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
17903 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
17904 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
17906 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
17907 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
17909 static void *_p_wxImageTo_p_wxObject(void *x
) {
17910 return (void *)((wxObject
*) ((wxImage
*) x
));
17912 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
17913 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
17915 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
17916 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
17918 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
17919 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
17921 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
17922 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
17924 static void *_p_wxImageListTo_p_wxObject(void *x
) {
17925 return (void *)((wxObject
*) ((wxImageList
*) x
));
17927 static void *_p_wxCursorTo_p_wxObject(void *x
) {
17928 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
17930 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
17931 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
17933 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
17934 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
17936 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
17937 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
17939 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
17940 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
17942 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
17943 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
17945 static void *_p_wxWindowTo_p_wxObject(void *x
) {
17946 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
17948 static void *_p_wxMenuTo_p_wxObject(void *x
) {
17949 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
17951 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
17952 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
17954 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
17955 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
17957 static void *_p_wxBrushListTo_p_wxObject(void *x
) {
17958 return (void *)((wxObject
*) ((wxBrushList
*) x
));
17960 static void *_p_wxPyPenTo_p_wxObject(void *x
) {
17961 return (void *)((wxObject
*) (wxGDIObject
*)(wxPen
*) ((wxPyPen
*) x
));
17963 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
17964 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
17966 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
17967 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
17969 static void *_p_wxMaskTo_p_wxObject(void *x
) {
17970 return (void *)((wxObject
*) ((wxMask
*) x
));
17972 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
17973 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
17975 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
17976 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
17978 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
17979 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
17981 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
17982 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
17984 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
17985 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
17987 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
17988 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
17990 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
17991 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
17993 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
17994 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
17996 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
17997 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
17999 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
18000 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
18002 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
18003 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
18005 static void *_p_wxFontTo_p_wxObject(void *x
) {
18006 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
18008 static void *_p_wxBrushTo_p_wxObject(void *x
) {
18009 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
18011 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
18012 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
18014 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
18015 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
18017 static void *_p_wxColourTo_p_wxObject(void *x
) {
18018 return (void *)((wxObject
*) ((wxColour
*) x
));
18020 static void *_p_wxFontListTo_p_wxObject(void *x
) {
18021 return (void *)((wxObject
*) ((wxFontList
*) x
));
18023 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
18024 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
18026 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
18027 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
18029 static void *_p_wxControlTo_p_wxWindow(void *x
) {
18030 return (void *)((wxWindow
*) ((wxControl
*) x
));
18032 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
18033 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
18035 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
18036 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
18038 static swig_type_info _swigt__p_wxPostScriptDC
[] = {{"_p_wxPostScriptDC", 0, "wxPostScriptDC *", 0},{"_p_wxPostScriptDC"},{0}};
18039 static swig_type_info _swigt__p_wxGenericDragImage
[] = {{"_p_wxGenericDragImage", 0, "wxGenericDragImage *", 0},{"_p_wxGenericDragImage"},{0}};
18040 static swig_type_info _swigt__p_wxBrush
[] = {{"_p_wxBrush", 0, "wxBrush *", 0},{"_p_wxBrush"},{0}};
18041 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
18042 static swig_type_info _swigt__p_wxCoord
[] = {{"_p_wxCoord", 0, "wxCoord *", 0},{"_p_wxCoord"},{"_p_int"},{0}};
18043 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}};
18044 static swig_type_info _swigt__p_wxMirrorDC
[] = {{"_p_wxMirrorDC", 0, "wxMirrorDC *", 0},{"_p_wxMirrorDC"},{0}};
18045 static swig_type_info _swigt__p_byte
[] = {{"_p_byte", 0, "byte *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}};
18046 static swig_type_info _swigt__p_wxPyFontEnumerator
[] = {{"_p_wxPyFontEnumerator", 0, "wxPyFontEnumerator *", 0},{"_p_wxPyFontEnumerator"},{0}};
18047 static swig_type_info _swigt__p_wxIconLocation
[] = {{"_p_wxIconLocation", 0, "wxIconLocation *", 0},{"_p_wxIconLocation"},{0}};
18048 static swig_type_info _swigt__p_wxImage
[] = {{"_p_wxImage", 0, "wxImage *", 0},{"_p_wxImage"},{0}};
18049 static swig_type_info _swigt__p_wxMetaFileDC
[] = {{"_p_wxMetaFileDC", 0, "wxMetaFileDC *", 0},{"_p_wxMetaFileDC"},{0}};
18050 static swig_type_info _swigt__p_wxMask
[] = {{"_p_wxMask", 0, "wxMask *", 0},{"_p_wxMask"},{0}};
18051 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
18052 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}};
18053 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
18054 static swig_type_info _swigt__p_double
[] = {{"_p_double", 0, "double *", 0},{"_p_double"},{0}};
18055 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}};
18056 static swig_type_info _swigt__p_wxFontMapper
[] = {{"_p_wxFontMapper", 0, "wxFontMapper *", 0},{"_p_wxFontMapper"},{0}};
18057 static swig_type_info _swigt__p_wxListCtrl
[] = {{"_p_wxListCtrl", 0, "wxListCtrl *", 0},{"_p_wxListCtrl"},{0}};
18058 static swig_type_info _swigt__p_wxEffects
[] = {{"_p_wxEffects", 0, "wxEffects *", 0},{"_p_wxEffects"},{0}};
18059 static swig_type_info _swigt__p_wxNativeEncodingInfo
[] = {{"_p_wxNativeEncodingInfo", 0, "wxNativeEncodingInfo *", 0},{"_p_wxNativeEncodingInfo"},{0}};
18060 static swig_type_info _swigt__p_wxPalette
[] = {{"_p_wxPalette", 0, "wxPalette *", 0},{"_p_wxPalette"},{0}};
18061 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
18062 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_wxGenericDragImage", _p_wxGenericDragImageTo_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}};
18063 static swig_type_info _swigt__p_wxRegionIterator
[] = {{"_p_wxRegionIterator", 0, "wxRegionIterator *", 0},{"_p_wxRegionIterator"},{0}};
18064 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
18065 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
18066 static swig_type_info _swigt__p_wxPrinterDC
[] = {{"_p_wxPrinterDC", 0, "wxPrinterDC *", 0},{"_p_wxPrinterDC"},{0}};
18067 static swig_type_info _swigt__p_wxIconBundle
[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0},{"_p_wxIconBundle"},{0}};
18068 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
18069 static swig_type_info _swigt__p_wxDash
[] = {{"_p_wxDash", 0, "wxDash *", 0},{"_p_wxDash"},{0}};
18070 static swig_type_info _swigt__p_wxScreenDC
[] = {{"_p_wxScreenDC", 0, "wxScreenDC *", 0},{"_p_wxScreenDC"},{0}};
18071 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
18072 static swig_type_info _swigt__p_wxClientDC
[] = {{"_p_wxClientDC", 0, "wxClientDC *", 0},{"_p_wxClientDC"},{0}};
18073 static swig_type_info _swigt__p_wxTreeCtrl
[] = {{"_p_wxTreeCtrl", 0, "wxTreeCtrl *", 0},{"_p_wxTreeCtrl"},{0}};
18074 static swig_type_info _swigt__p_wxBufferedDC
[] = {{"_p_wxBufferedDC", 0, "wxBufferedDC *", 0},{"_p_wxBufferedDC"},{"_p_wxBufferedPaintDC", _p_wxBufferedPaintDCTo_p_wxBufferedDC
},{0}};
18075 static swig_type_info _swigt__p_wxImageList
[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}};
18076 static swig_type_info _swigt__p_unsigned_char
[] = {{"_p_unsigned_char", 0, "unsigned char *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}};
18077 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}};
18078 static swig_type_info _swigt__p_wxLocale
[] = {{"_p_wxLocale", 0, "wxLocale *", 0},{"_p_wxLocale"},{0}};
18079 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
18080 static swig_type_info _swigt__p_wxRegion
[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
18081 static swig_type_info _swigt__p_wxLanguageInfo
[] = {{"_p_wxLanguageInfo", 0, "wxLanguageInfo *", 0},{"_p_wxLanguageInfo"},{0}};
18082 static swig_type_info _swigt__p_wxConfigBase
[] = {{"_p_wxConfigBase", 0, "wxConfigBase *", 0},{"_p_wxConfigBase"},{0}};
18083 static swig_type_info _swigt__p_wxWindowDC
[] = {{"_p_wxWindowDC", 0, "wxWindowDC *", 0},{"_p_wxWindowDC"},{0}};
18084 static swig_type_info _swigt__p_wxPrintData
[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0},{"_p_wxPrintData"},{0}};
18085 static swig_type_info _swigt__p_wxBrushList
[] = {{"_p_wxBrushList", 0, "wxBrushList *", 0},{"_p_wxBrushList"},{0}};
18086 static swig_type_info _swigt__p_wxFontList
[] = {{"_p_wxFontList", 0, "wxFontList *", 0},{"_p_wxFontList"},{0}};
18087 static swig_type_info _swigt__p_wxPen
[] = {{"_p_wxPen", 0, "wxPen *", 0},{"_p_wxPyPen", _p_wxPyPenTo_p_wxPen
},{"_p_wxPen"},{0}};
18088 static swig_type_info _swigt__p_wxBufferedPaintDC
[] = {{"_p_wxBufferedPaintDC", 0, "wxBufferedPaintDC *", 0},{"_p_wxBufferedPaintDC"},{0}};
18089 static swig_type_info _swigt__p_wxPaintDC
[] = {{"_p_wxPaintDC", 0, "wxPaintDC *", 0},{"_p_wxPaintDC"},{0}};
18090 static swig_type_info _swigt__p_wxPenList
[] = {{"_p_wxPenList", 0, "wxPenList *", 0},{"_p_wxPenList"},{0}};
18091 static swig_type_info _swigt__p_wxTreeItemId
[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0},{"_p_wxTreeItemId"},{0}};
18092 static swig_type_info _swigt__p_wxPyPen
[] = {{"_p_wxPyPen", 0, "wxPyPen *", 0},{"_p_wxPyPen"},{0}};
18093 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_wxCoord"},{"_p_int"},{0}};
18094 static swig_type_info _swigt__p_wxMetaFile
[] = {{"_p_wxMetaFile", 0, "wxMetaFile *", 0},{"_p_wxMetaFile"},{0}};
18095 static swig_type_info _swigt__p_wxNativeFontInfo
[] = {{"_p_wxNativeFontInfo", 0, "wxNativeFontInfo *", 0},{"_p_wxNativeFontInfo"},{0}};
18096 static swig_type_info _swigt__p_wxEncodingConverter
[] = {{"_p_wxEncodingConverter", 0, "wxEncodingConverter *", 0},{"_p_wxEncodingConverter"},{0}};
18097 static swig_type_info _swigt__p_wxColourDatabase
[] = {{"_p_wxColourDatabase", 0, "wxColourDatabase *", 0},{"_p_wxColourDatabase"},{0}};
18099 static swig_type_info
*swig_types_initial
[] = {
18100 _swigt__p_wxPostScriptDC
,
18101 _swigt__p_wxGenericDragImage
,
18103 _swigt__p_wxColour
,
18106 _swigt__p_wxMirrorDC
,
18108 _swigt__p_wxPyFontEnumerator
,
18109 _swigt__p_wxIconLocation
,
18111 _swigt__p_wxMetaFileDC
,
18114 _swigt__p_wxWindow
,
18117 _swigt__p_wxMemoryDC
,
18118 _swigt__p_wxFontMapper
,
18119 _swigt__p_wxListCtrl
,
18120 _swigt__p_wxEffects
,
18121 _swigt__p_wxNativeEncodingInfo
,
18122 _swigt__p_wxPalette
,
18123 _swigt__p_wxBitmap
,
18124 _swigt__p_wxObject
,
18125 _swigt__p_wxRegionIterator
,
18127 _swigt__p_wxString
,
18128 _swigt__p_wxPrinterDC
,
18129 _swigt__p_wxIconBundle
,
18132 _swigt__p_wxScreenDC
,
18133 _swigt__p_wxCursor
,
18134 _swigt__p_wxClientDC
,
18135 _swigt__p_wxTreeCtrl
,
18136 _swigt__p_wxBufferedDC
,
18137 _swigt__p_wxImageList
,
18138 _swigt__p_unsigned_char
,
18139 _swigt__p_wxGDIObject
,
18140 _swigt__p_wxLocale
,
18142 _swigt__p_wxRegion
,
18143 _swigt__p_wxLanguageInfo
,
18144 _swigt__p_wxConfigBase
,
18145 _swigt__p_wxWindowDC
,
18146 _swigt__p_wxPrintData
,
18147 _swigt__p_wxBrushList
,
18148 _swigt__p_wxFontList
,
18150 _swigt__p_wxBufferedPaintDC
,
18151 _swigt__p_wxPaintDC
,
18152 _swigt__p_wxPenList
,
18153 _swigt__p_wxTreeItemId
,
18156 _swigt__p_wxMetaFile
,
18157 _swigt__p_wxNativeFontInfo
,
18158 _swigt__p_wxEncodingConverter
,
18159 _swigt__p_wxColourDatabase
,
18164 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
18166 static swig_const_info swig_const_table
[] = {
18167 { SWIG_PY_INT
, (char *)"OutRegion", (long) wxOutRegion
, 0, 0, 0},
18168 { SWIG_PY_INT
, (char *)"PartRegion", (long) wxPartRegion
, 0, 0, 0},
18169 { SWIG_PY_INT
, (char *)"InRegion", (long) wxInRegion
, 0, 0, 0},
18170 { SWIG_PY_INT
, (char *)"FONTFAMILY_DEFAULT", (long) wxFONTFAMILY_DEFAULT
, 0, 0, 0},
18171 { SWIG_PY_INT
, (char *)"FONTFAMILY_DECORATIVE", (long) wxFONTFAMILY_DECORATIVE
, 0, 0, 0},
18172 { SWIG_PY_INT
, (char *)"FONTFAMILY_ROMAN", (long) wxFONTFAMILY_ROMAN
, 0, 0, 0},
18173 { SWIG_PY_INT
, (char *)"FONTFAMILY_SCRIPT", (long) wxFONTFAMILY_SCRIPT
, 0, 0, 0},
18174 { SWIG_PY_INT
, (char *)"FONTFAMILY_SWISS", (long) wxFONTFAMILY_SWISS
, 0, 0, 0},
18175 { SWIG_PY_INT
, (char *)"FONTFAMILY_MODERN", (long) wxFONTFAMILY_MODERN
, 0, 0, 0},
18176 { SWIG_PY_INT
, (char *)"FONTFAMILY_TELETYPE", (long) wxFONTFAMILY_TELETYPE
, 0, 0, 0},
18177 { SWIG_PY_INT
, (char *)"FONTFAMILY_MAX", (long) wxFONTFAMILY_MAX
, 0, 0, 0},
18178 { SWIG_PY_INT
, (char *)"FONTFAMILY_UNKNOWN", (long) wxFONTFAMILY_UNKNOWN
, 0, 0, 0},
18179 { SWIG_PY_INT
, (char *)"FONTSTYLE_NORMAL", (long) wxFONTSTYLE_NORMAL
, 0, 0, 0},
18180 { SWIG_PY_INT
, (char *)"FONTSTYLE_ITALIC", (long) wxFONTSTYLE_ITALIC
, 0, 0, 0},
18181 { SWIG_PY_INT
, (char *)"FONTSTYLE_SLANT", (long) wxFONTSTYLE_SLANT
, 0, 0, 0},
18182 { SWIG_PY_INT
, (char *)"FONTSTYLE_MAX", (long) wxFONTSTYLE_MAX
, 0, 0, 0},
18183 { SWIG_PY_INT
, (char *)"FONTWEIGHT_NORMAL", (long) wxFONTWEIGHT_NORMAL
, 0, 0, 0},
18184 { SWIG_PY_INT
, (char *)"FONTWEIGHT_LIGHT", (long) wxFONTWEIGHT_LIGHT
, 0, 0, 0},
18185 { SWIG_PY_INT
, (char *)"FONTWEIGHT_BOLD", (long) wxFONTWEIGHT_BOLD
, 0, 0, 0},
18186 { SWIG_PY_INT
, (char *)"FONTWEIGHT_MAX", (long) wxFONTWEIGHT_MAX
, 0, 0, 0},
18187 { SWIG_PY_INT
, (char *)"FONTFLAG_DEFAULT", (long) wxFONTFLAG_DEFAULT
, 0, 0, 0},
18188 { SWIG_PY_INT
, (char *)"FONTFLAG_ITALIC", (long) wxFONTFLAG_ITALIC
, 0, 0, 0},
18189 { SWIG_PY_INT
, (char *)"FONTFLAG_SLANT", (long) wxFONTFLAG_SLANT
, 0, 0, 0},
18190 { SWIG_PY_INT
, (char *)"FONTFLAG_LIGHT", (long) wxFONTFLAG_LIGHT
, 0, 0, 0},
18191 { SWIG_PY_INT
, (char *)"FONTFLAG_BOLD", (long) wxFONTFLAG_BOLD
, 0, 0, 0},
18192 { SWIG_PY_INT
, (char *)"FONTFLAG_ANTIALIASED", (long) wxFONTFLAG_ANTIALIASED
, 0, 0, 0},
18193 { SWIG_PY_INT
, (char *)"FONTFLAG_NOT_ANTIALIASED", (long) wxFONTFLAG_NOT_ANTIALIASED
, 0, 0, 0},
18194 { SWIG_PY_INT
, (char *)"FONTFLAG_UNDERLINED", (long) wxFONTFLAG_UNDERLINED
, 0, 0, 0},
18195 { SWIG_PY_INT
, (char *)"FONTFLAG_STRIKETHROUGH", (long) wxFONTFLAG_STRIKETHROUGH
, 0, 0, 0},
18196 { SWIG_PY_INT
, (char *)"FONTFLAG_MASK", (long) wxFONTFLAG_MASK
, 0, 0, 0},
18197 { SWIG_PY_INT
, (char *)"FONTENCODING_SYSTEM", (long) wxFONTENCODING_SYSTEM
, 0, 0, 0},
18198 { SWIG_PY_INT
, (char *)"FONTENCODING_DEFAULT", (long) wxFONTENCODING_DEFAULT
, 0, 0, 0},
18199 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_1", (long) wxFONTENCODING_ISO8859_1
, 0, 0, 0},
18200 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_2", (long) wxFONTENCODING_ISO8859_2
, 0, 0, 0},
18201 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_3", (long) wxFONTENCODING_ISO8859_3
, 0, 0, 0},
18202 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_4", (long) wxFONTENCODING_ISO8859_4
, 0, 0, 0},
18203 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_5", (long) wxFONTENCODING_ISO8859_5
, 0, 0, 0},
18204 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_6", (long) wxFONTENCODING_ISO8859_6
, 0, 0, 0},
18205 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_7", (long) wxFONTENCODING_ISO8859_7
, 0, 0, 0},
18206 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_8", (long) wxFONTENCODING_ISO8859_8
, 0, 0, 0},
18207 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_9", (long) wxFONTENCODING_ISO8859_9
, 0, 0, 0},
18208 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_10", (long) wxFONTENCODING_ISO8859_10
, 0, 0, 0},
18209 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_11", (long) wxFONTENCODING_ISO8859_11
, 0, 0, 0},
18210 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_12", (long) wxFONTENCODING_ISO8859_12
, 0, 0, 0},
18211 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_13", (long) wxFONTENCODING_ISO8859_13
, 0, 0, 0},
18212 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_14", (long) wxFONTENCODING_ISO8859_14
, 0, 0, 0},
18213 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_15", (long) wxFONTENCODING_ISO8859_15
, 0, 0, 0},
18214 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_MAX", (long) wxFONTENCODING_ISO8859_MAX
, 0, 0, 0},
18215 { SWIG_PY_INT
, (char *)"FONTENCODING_KOI8", (long) wxFONTENCODING_KOI8
, 0, 0, 0},
18216 { SWIG_PY_INT
, (char *)"FONTENCODING_ALTERNATIVE", (long) wxFONTENCODING_ALTERNATIVE
, 0, 0, 0},
18217 { SWIG_PY_INT
, (char *)"FONTENCODING_BULGARIAN", (long) wxFONTENCODING_BULGARIAN
, 0, 0, 0},
18218 { SWIG_PY_INT
, (char *)"FONTENCODING_CP437", (long) wxFONTENCODING_CP437
, 0, 0, 0},
18219 { SWIG_PY_INT
, (char *)"FONTENCODING_CP850", (long) wxFONTENCODING_CP850
, 0, 0, 0},
18220 { SWIG_PY_INT
, (char *)"FONTENCODING_CP852", (long) wxFONTENCODING_CP852
, 0, 0, 0},
18221 { SWIG_PY_INT
, (char *)"FONTENCODING_CP855", (long) wxFONTENCODING_CP855
, 0, 0, 0},
18222 { SWIG_PY_INT
, (char *)"FONTENCODING_CP866", (long) wxFONTENCODING_CP866
, 0, 0, 0},
18223 { SWIG_PY_INT
, (char *)"FONTENCODING_CP874", (long) wxFONTENCODING_CP874
, 0, 0, 0},
18224 { SWIG_PY_INT
, (char *)"FONTENCODING_CP932", (long) wxFONTENCODING_CP932
, 0, 0, 0},
18225 { SWIG_PY_INT
, (char *)"FONTENCODING_CP936", (long) wxFONTENCODING_CP936
, 0, 0, 0},
18226 { SWIG_PY_INT
, (char *)"FONTENCODING_CP949", (long) wxFONTENCODING_CP949
, 0, 0, 0},
18227 { SWIG_PY_INT
, (char *)"FONTENCODING_CP950", (long) wxFONTENCODING_CP950
, 0, 0, 0},
18228 { SWIG_PY_INT
, (char *)"FONTENCODING_CP1250", (long) wxFONTENCODING_CP1250
, 0, 0, 0},
18229 { SWIG_PY_INT
, (char *)"FONTENCODING_CP1251", (long) wxFONTENCODING_CP1251
, 0, 0, 0},
18230 { SWIG_PY_INT
, (char *)"FONTENCODING_CP1252", (long) wxFONTENCODING_CP1252
, 0, 0, 0},
18231 { SWIG_PY_INT
, (char *)"FONTENCODING_CP1253", (long) wxFONTENCODING_CP1253
, 0, 0, 0},
18232 { SWIG_PY_INT
, (char *)"FONTENCODING_CP1254", (long) wxFONTENCODING_CP1254
, 0, 0, 0},
18233 { SWIG_PY_INT
, (char *)"FONTENCODING_CP1255", (long) wxFONTENCODING_CP1255
, 0, 0, 0},
18234 { SWIG_PY_INT
, (char *)"FONTENCODING_CP1256", (long) wxFONTENCODING_CP1256
, 0, 0, 0},
18235 { SWIG_PY_INT
, (char *)"FONTENCODING_CP1257", (long) wxFONTENCODING_CP1257
, 0, 0, 0},
18236 { SWIG_PY_INT
, (char *)"FONTENCODING_CP12_MAX", (long) wxFONTENCODING_CP12_MAX
, 0, 0, 0},
18237 { SWIG_PY_INT
, (char *)"FONTENCODING_UTF7", (long) wxFONTENCODING_UTF7
, 0, 0, 0},
18238 { SWIG_PY_INT
, (char *)"FONTENCODING_UTF8", (long) wxFONTENCODING_UTF8
, 0, 0, 0},
18239 { SWIG_PY_INT
, (char *)"FONTENCODING_EUC_JP", (long) wxFONTENCODING_EUC_JP
, 0, 0, 0},
18240 { SWIG_PY_INT
, (char *)"FONTENCODING_UTF16BE", (long) wxFONTENCODING_UTF16BE
, 0, 0, 0},
18241 { SWIG_PY_INT
, (char *)"FONTENCODING_UTF16LE", (long) wxFONTENCODING_UTF16LE
, 0, 0, 0},
18242 { SWIG_PY_INT
, (char *)"FONTENCODING_UTF32BE", (long) wxFONTENCODING_UTF32BE
, 0, 0, 0},
18243 { SWIG_PY_INT
, (char *)"FONTENCODING_UTF32LE", (long) wxFONTENCODING_UTF32LE
, 0, 0, 0},
18244 { SWIG_PY_INT
, (char *)"FONTENCODING_MAX", (long) wxFONTENCODING_MAX
, 0, 0, 0},
18245 { SWIG_PY_INT
, (char *)"FONTENCODING_UTF16", (long) wxFONTENCODING_UTF16
, 0, 0, 0},
18246 { SWIG_PY_INT
, (char *)"FONTENCODING_UTF32", (long) wxFONTENCODING_UTF32
, 0, 0, 0},
18247 { SWIG_PY_INT
, (char *)"FONTENCODING_UNICODE", (long) wxFONTENCODING_UNICODE
, 0, 0, 0},
18248 { SWIG_PY_INT
, (char *)"FONTENCODING_GB2312", (long) wxFONTENCODING_GB2312
, 0, 0, 0},
18249 { SWIG_PY_INT
, (char *)"FONTENCODING_BIG5", (long) wxFONTENCODING_BIG5
, 0, 0, 0},
18250 { SWIG_PY_INT
, (char *)"FONTENCODING_SHIFT_JIS", (long) wxFONTENCODING_SHIFT_JIS
, 0, 0, 0},
18251 { SWIG_PY_INT
, (char *)"LANGUAGE_DEFAULT", (long) wxLANGUAGE_DEFAULT
, 0, 0, 0},
18252 { SWIG_PY_INT
, (char *)"LANGUAGE_UNKNOWN", (long) wxLANGUAGE_UNKNOWN
, 0, 0, 0},
18253 { SWIG_PY_INT
, (char *)"LANGUAGE_ABKHAZIAN", (long) wxLANGUAGE_ABKHAZIAN
, 0, 0, 0},
18254 { SWIG_PY_INT
, (char *)"LANGUAGE_AFAR", (long) wxLANGUAGE_AFAR
, 0, 0, 0},
18255 { SWIG_PY_INT
, (char *)"LANGUAGE_AFRIKAANS", (long) wxLANGUAGE_AFRIKAANS
, 0, 0, 0},
18256 { SWIG_PY_INT
, (char *)"LANGUAGE_ALBANIAN", (long) wxLANGUAGE_ALBANIAN
, 0, 0, 0},
18257 { SWIG_PY_INT
, (char *)"LANGUAGE_AMHARIC", (long) wxLANGUAGE_AMHARIC
, 0, 0, 0},
18258 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC", (long) wxLANGUAGE_ARABIC
, 0, 0, 0},
18259 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_ALGERIA", (long) wxLANGUAGE_ARABIC_ALGERIA
, 0, 0, 0},
18260 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_BAHRAIN", (long) wxLANGUAGE_ARABIC_BAHRAIN
, 0, 0, 0},
18261 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_EGYPT", (long) wxLANGUAGE_ARABIC_EGYPT
, 0, 0, 0},
18262 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_IRAQ", (long) wxLANGUAGE_ARABIC_IRAQ
, 0, 0, 0},
18263 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_JORDAN", (long) wxLANGUAGE_ARABIC_JORDAN
, 0, 0, 0},
18264 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_KUWAIT", (long) wxLANGUAGE_ARABIC_KUWAIT
, 0, 0, 0},
18265 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_LEBANON", (long) wxLANGUAGE_ARABIC_LEBANON
, 0, 0, 0},
18266 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_LIBYA", (long) wxLANGUAGE_ARABIC_LIBYA
, 0, 0, 0},
18267 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_MOROCCO", (long) wxLANGUAGE_ARABIC_MOROCCO
, 0, 0, 0},
18268 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_OMAN", (long) wxLANGUAGE_ARABIC_OMAN
, 0, 0, 0},
18269 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_QATAR", (long) wxLANGUAGE_ARABIC_QATAR
, 0, 0, 0},
18270 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_SAUDI_ARABIA", (long) wxLANGUAGE_ARABIC_SAUDI_ARABIA
, 0, 0, 0},
18271 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_SUDAN", (long) wxLANGUAGE_ARABIC_SUDAN
, 0, 0, 0},
18272 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_SYRIA", (long) wxLANGUAGE_ARABIC_SYRIA
, 0, 0, 0},
18273 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_TUNISIA", (long) wxLANGUAGE_ARABIC_TUNISIA
, 0, 0, 0},
18274 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_UAE", (long) wxLANGUAGE_ARABIC_UAE
, 0, 0, 0},
18275 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_YEMEN", (long) wxLANGUAGE_ARABIC_YEMEN
, 0, 0, 0},
18276 { SWIG_PY_INT
, (char *)"LANGUAGE_ARMENIAN", (long) wxLANGUAGE_ARMENIAN
, 0, 0, 0},
18277 { SWIG_PY_INT
, (char *)"LANGUAGE_ASSAMESE", (long) wxLANGUAGE_ASSAMESE
, 0, 0, 0},
18278 { SWIG_PY_INT
, (char *)"LANGUAGE_AYMARA", (long) wxLANGUAGE_AYMARA
, 0, 0, 0},
18279 { SWIG_PY_INT
, (char *)"LANGUAGE_AZERI", (long) wxLANGUAGE_AZERI
, 0, 0, 0},
18280 { SWIG_PY_INT
, (char *)"LANGUAGE_AZERI_CYRILLIC", (long) wxLANGUAGE_AZERI_CYRILLIC
, 0, 0, 0},
18281 { SWIG_PY_INT
, (char *)"LANGUAGE_AZERI_LATIN", (long) wxLANGUAGE_AZERI_LATIN
, 0, 0, 0},
18282 { SWIG_PY_INT
, (char *)"LANGUAGE_BASHKIR", (long) wxLANGUAGE_BASHKIR
, 0, 0, 0},
18283 { SWIG_PY_INT
, (char *)"LANGUAGE_BASQUE", (long) wxLANGUAGE_BASQUE
, 0, 0, 0},
18284 { SWIG_PY_INT
, (char *)"LANGUAGE_BELARUSIAN", (long) wxLANGUAGE_BELARUSIAN
, 0, 0, 0},
18285 { SWIG_PY_INT
, (char *)"LANGUAGE_BENGALI", (long) wxLANGUAGE_BENGALI
, 0, 0, 0},
18286 { SWIG_PY_INT
, (char *)"LANGUAGE_BHUTANI", (long) wxLANGUAGE_BHUTANI
, 0, 0, 0},
18287 { SWIG_PY_INT
, (char *)"LANGUAGE_BIHARI", (long) wxLANGUAGE_BIHARI
, 0, 0, 0},
18288 { SWIG_PY_INT
, (char *)"LANGUAGE_BISLAMA", (long) wxLANGUAGE_BISLAMA
, 0, 0, 0},
18289 { SWIG_PY_INT
, (char *)"LANGUAGE_BRETON", (long) wxLANGUAGE_BRETON
, 0, 0, 0},
18290 { SWIG_PY_INT
, (char *)"LANGUAGE_BULGARIAN", (long) wxLANGUAGE_BULGARIAN
, 0, 0, 0},
18291 { SWIG_PY_INT
, (char *)"LANGUAGE_BURMESE", (long) wxLANGUAGE_BURMESE
, 0, 0, 0},
18292 { SWIG_PY_INT
, (char *)"LANGUAGE_CAMBODIAN", (long) wxLANGUAGE_CAMBODIAN
, 0, 0, 0},
18293 { SWIG_PY_INT
, (char *)"LANGUAGE_CATALAN", (long) wxLANGUAGE_CATALAN
, 0, 0, 0},
18294 { SWIG_PY_INT
, (char *)"LANGUAGE_CHINESE", (long) wxLANGUAGE_CHINESE
, 0, 0, 0},
18295 { SWIG_PY_INT
, (char *)"LANGUAGE_CHINESE_SIMPLIFIED", (long) wxLANGUAGE_CHINESE_SIMPLIFIED
, 0, 0, 0},
18296 { SWIG_PY_INT
, (char *)"LANGUAGE_CHINESE_TRADITIONAL", (long) wxLANGUAGE_CHINESE_TRADITIONAL
, 0, 0, 0},
18297 { SWIG_PY_INT
, (char *)"LANGUAGE_CHINESE_HONGKONG", (long) wxLANGUAGE_CHINESE_HONGKONG
, 0, 0, 0},
18298 { SWIG_PY_INT
, (char *)"LANGUAGE_CHINESE_MACAU", (long) wxLANGUAGE_CHINESE_MACAU
, 0, 0, 0},
18299 { SWIG_PY_INT
, (char *)"LANGUAGE_CHINESE_SINGAPORE", (long) wxLANGUAGE_CHINESE_SINGAPORE
, 0, 0, 0},
18300 { SWIG_PY_INT
, (char *)"LANGUAGE_CHINESE_TAIWAN", (long) wxLANGUAGE_CHINESE_TAIWAN
, 0, 0, 0},
18301 { SWIG_PY_INT
, (char *)"LANGUAGE_CORSICAN", (long) wxLANGUAGE_CORSICAN
, 0, 0, 0},
18302 { SWIG_PY_INT
, (char *)"LANGUAGE_CROATIAN", (long) wxLANGUAGE_CROATIAN
, 0, 0, 0},
18303 { SWIG_PY_INT
, (char *)"LANGUAGE_CZECH", (long) wxLANGUAGE_CZECH
, 0, 0, 0},
18304 { SWIG_PY_INT
, (char *)"LANGUAGE_DANISH", (long) wxLANGUAGE_DANISH
, 0, 0, 0},
18305 { SWIG_PY_INT
, (char *)"LANGUAGE_DUTCH", (long) wxLANGUAGE_DUTCH
, 0, 0, 0},
18306 { SWIG_PY_INT
, (char *)"LANGUAGE_DUTCH_BELGIAN", (long) wxLANGUAGE_DUTCH_BELGIAN
, 0, 0, 0},
18307 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH", (long) wxLANGUAGE_ENGLISH
, 0, 0, 0},
18308 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_UK", (long) wxLANGUAGE_ENGLISH_UK
, 0, 0, 0},
18309 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_US", (long) wxLANGUAGE_ENGLISH_US
, 0, 0, 0},
18310 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_AUSTRALIA", (long) wxLANGUAGE_ENGLISH_AUSTRALIA
, 0, 0, 0},
18311 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_BELIZE", (long) wxLANGUAGE_ENGLISH_BELIZE
, 0, 0, 0},
18312 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_BOTSWANA", (long) wxLANGUAGE_ENGLISH_BOTSWANA
, 0, 0, 0},
18313 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_CANADA", (long) wxLANGUAGE_ENGLISH_CANADA
, 0, 0, 0},
18314 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_CARIBBEAN", (long) wxLANGUAGE_ENGLISH_CARIBBEAN
, 0, 0, 0},
18315 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_DENMARK", (long) wxLANGUAGE_ENGLISH_DENMARK
, 0, 0, 0},
18316 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_EIRE", (long) wxLANGUAGE_ENGLISH_EIRE
, 0, 0, 0},
18317 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_JAMAICA", (long) wxLANGUAGE_ENGLISH_JAMAICA
, 0, 0, 0},
18318 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_NEW_ZEALAND", (long) wxLANGUAGE_ENGLISH_NEW_ZEALAND
, 0, 0, 0},
18319 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_PHILIPPINES", (long) wxLANGUAGE_ENGLISH_PHILIPPINES
, 0, 0, 0},
18320 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_SOUTH_AFRICA", (long) wxLANGUAGE_ENGLISH_SOUTH_AFRICA
, 0, 0, 0},
18321 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_TRINIDAD", (long) wxLANGUAGE_ENGLISH_TRINIDAD
, 0, 0, 0},
18322 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_ZIMBABWE", (long) wxLANGUAGE_ENGLISH_ZIMBABWE
, 0, 0, 0},
18323 { SWIG_PY_INT
, (char *)"LANGUAGE_ESPERANTO", (long) wxLANGUAGE_ESPERANTO
, 0, 0, 0},
18324 { SWIG_PY_INT
, (char *)"LANGUAGE_ESTONIAN", (long) wxLANGUAGE_ESTONIAN
, 0, 0, 0},
18325 { SWIG_PY_INT
, (char *)"LANGUAGE_FAEROESE", (long) wxLANGUAGE_FAEROESE
, 0, 0, 0},
18326 { SWIG_PY_INT
, (char *)"LANGUAGE_FARSI", (long) wxLANGUAGE_FARSI
, 0, 0, 0},
18327 { SWIG_PY_INT
, (char *)"LANGUAGE_FIJI", (long) wxLANGUAGE_FIJI
, 0, 0, 0},
18328 { SWIG_PY_INT
, (char *)"LANGUAGE_FINNISH", (long) wxLANGUAGE_FINNISH
, 0, 0, 0},
18329 { SWIG_PY_INT
, (char *)"LANGUAGE_FRENCH", (long) wxLANGUAGE_FRENCH
, 0, 0, 0},
18330 { SWIG_PY_INT
, (char *)"LANGUAGE_FRENCH_BELGIAN", (long) wxLANGUAGE_FRENCH_BELGIAN
, 0, 0, 0},
18331 { SWIG_PY_INT
, (char *)"LANGUAGE_FRENCH_CANADIAN", (long) wxLANGUAGE_FRENCH_CANADIAN
, 0, 0, 0},
18332 { SWIG_PY_INT
, (char *)"LANGUAGE_FRENCH_LUXEMBOURG", (long) wxLANGUAGE_FRENCH_LUXEMBOURG
, 0, 0, 0},
18333 { SWIG_PY_INT
, (char *)"LANGUAGE_FRENCH_MONACO", (long) wxLANGUAGE_FRENCH_MONACO
, 0, 0, 0},
18334 { SWIG_PY_INT
, (char *)"LANGUAGE_FRENCH_SWISS", (long) wxLANGUAGE_FRENCH_SWISS
, 0, 0, 0},
18335 { SWIG_PY_INT
, (char *)"LANGUAGE_FRISIAN", (long) wxLANGUAGE_FRISIAN
, 0, 0, 0},
18336 { SWIG_PY_INT
, (char *)"LANGUAGE_GALICIAN", (long) wxLANGUAGE_GALICIAN
, 0, 0, 0},
18337 { SWIG_PY_INT
, (char *)"LANGUAGE_GEORGIAN", (long) wxLANGUAGE_GEORGIAN
, 0, 0, 0},
18338 { SWIG_PY_INT
, (char *)"LANGUAGE_GERMAN", (long) wxLANGUAGE_GERMAN
, 0, 0, 0},
18339 { SWIG_PY_INT
, (char *)"LANGUAGE_GERMAN_AUSTRIAN", (long) wxLANGUAGE_GERMAN_AUSTRIAN
, 0, 0, 0},
18340 { SWIG_PY_INT
, (char *)"LANGUAGE_GERMAN_BELGIUM", (long) wxLANGUAGE_GERMAN_BELGIUM
, 0, 0, 0},
18341 { SWIG_PY_INT
, (char *)"LANGUAGE_GERMAN_LIECHTENSTEIN", (long) wxLANGUAGE_GERMAN_LIECHTENSTEIN
, 0, 0, 0},
18342 { SWIG_PY_INT
, (char *)"LANGUAGE_GERMAN_LUXEMBOURG", (long) wxLANGUAGE_GERMAN_LUXEMBOURG
, 0, 0, 0},
18343 { SWIG_PY_INT
, (char *)"LANGUAGE_GERMAN_SWISS", (long) wxLANGUAGE_GERMAN_SWISS
, 0, 0, 0},
18344 { SWIG_PY_INT
, (char *)"LANGUAGE_GREEK", (long) wxLANGUAGE_GREEK
, 0, 0, 0},
18345 { SWIG_PY_INT
, (char *)"LANGUAGE_GREENLANDIC", (long) wxLANGUAGE_GREENLANDIC
, 0, 0, 0},
18346 { SWIG_PY_INT
, (char *)"LANGUAGE_GUARANI", (long) wxLANGUAGE_GUARANI
, 0, 0, 0},
18347 { SWIG_PY_INT
, (char *)"LANGUAGE_GUJARATI", (long) wxLANGUAGE_GUJARATI
, 0, 0, 0},
18348 { SWIG_PY_INT
, (char *)"LANGUAGE_HAUSA", (long) wxLANGUAGE_HAUSA
, 0, 0, 0},
18349 { SWIG_PY_INT
, (char *)"LANGUAGE_HEBREW", (long) wxLANGUAGE_HEBREW
, 0, 0, 0},
18350 { SWIG_PY_INT
, (char *)"LANGUAGE_HINDI", (long) wxLANGUAGE_HINDI
, 0, 0, 0},
18351 { SWIG_PY_INT
, (char *)"LANGUAGE_HUNGARIAN", (long) wxLANGUAGE_HUNGARIAN
, 0, 0, 0},
18352 { SWIG_PY_INT
, (char *)"LANGUAGE_ICELANDIC", (long) wxLANGUAGE_ICELANDIC
, 0, 0, 0},
18353 { SWIG_PY_INT
, (char *)"LANGUAGE_INDONESIAN", (long) wxLANGUAGE_INDONESIAN
, 0, 0, 0},
18354 { SWIG_PY_INT
, (char *)"LANGUAGE_INTERLINGUA", (long) wxLANGUAGE_INTERLINGUA
, 0, 0, 0},
18355 { SWIG_PY_INT
, (char *)"LANGUAGE_INTERLINGUE", (long) wxLANGUAGE_INTERLINGUE
, 0, 0, 0},
18356 { SWIG_PY_INT
, (char *)"LANGUAGE_INUKTITUT", (long) wxLANGUAGE_INUKTITUT
, 0, 0, 0},
18357 { SWIG_PY_INT
, (char *)"LANGUAGE_INUPIAK", (long) wxLANGUAGE_INUPIAK
, 0, 0, 0},
18358 { SWIG_PY_INT
, (char *)"LANGUAGE_IRISH", (long) wxLANGUAGE_IRISH
, 0, 0, 0},
18359 { SWIG_PY_INT
, (char *)"LANGUAGE_ITALIAN", (long) wxLANGUAGE_ITALIAN
, 0, 0, 0},
18360 { SWIG_PY_INT
, (char *)"LANGUAGE_ITALIAN_SWISS", (long) wxLANGUAGE_ITALIAN_SWISS
, 0, 0, 0},
18361 { SWIG_PY_INT
, (char *)"LANGUAGE_JAPANESE", (long) wxLANGUAGE_JAPANESE
, 0, 0, 0},
18362 { SWIG_PY_INT
, (char *)"LANGUAGE_JAVANESE", (long) wxLANGUAGE_JAVANESE
, 0, 0, 0},
18363 { SWIG_PY_INT
, (char *)"LANGUAGE_KANNADA", (long) wxLANGUAGE_KANNADA
, 0, 0, 0},
18364 { SWIG_PY_INT
, (char *)"LANGUAGE_KASHMIRI", (long) wxLANGUAGE_KASHMIRI
, 0, 0, 0},
18365 { SWIG_PY_INT
, (char *)"LANGUAGE_KASHMIRI_INDIA", (long) wxLANGUAGE_KASHMIRI_INDIA
, 0, 0, 0},
18366 { SWIG_PY_INT
, (char *)"LANGUAGE_KAZAKH", (long) wxLANGUAGE_KAZAKH
, 0, 0, 0},
18367 { SWIG_PY_INT
, (char *)"LANGUAGE_KERNEWEK", (long) wxLANGUAGE_KERNEWEK
, 0, 0, 0},
18368 { SWIG_PY_INT
, (char *)"LANGUAGE_KINYARWANDA", (long) wxLANGUAGE_KINYARWANDA
, 0, 0, 0},
18369 { SWIG_PY_INT
, (char *)"LANGUAGE_KIRGHIZ", (long) wxLANGUAGE_KIRGHIZ
, 0, 0, 0},
18370 { SWIG_PY_INT
, (char *)"LANGUAGE_KIRUNDI", (long) wxLANGUAGE_KIRUNDI
, 0, 0, 0},
18371 { SWIG_PY_INT
, (char *)"LANGUAGE_KONKANI", (long) wxLANGUAGE_KONKANI
, 0, 0, 0},
18372 { SWIG_PY_INT
, (char *)"LANGUAGE_KOREAN", (long) wxLANGUAGE_KOREAN
, 0, 0, 0},
18373 { SWIG_PY_INT
, (char *)"LANGUAGE_KURDISH", (long) wxLANGUAGE_KURDISH
, 0, 0, 0},
18374 { SWIG_PY_INT
, (char *)"LANGUAGE_LAOTHIAN", (long) wxLANGUAGE_LAOTHIAN
, 0, 0, 0},
18375 { SWIG_PY_INT
, (char *)"LANGUAGE_LATIN", (long) wxLANGUAGE_LATIN
, 0, 0, 0},
18376 { SWIG_PY_INT
, (char *)"LANGUAGE_LATVIAN", (long) wxLANGUAGE_LATVIAN
, 0, 0, 0},
18377 { SWIG_PY_INT
, (char *)"LANGUAGE_LINGALA", (long) wxLANGUAGE_LINGALA
, 0, 0, 0},
18378 { SWIG_PY_INT
, (char *)"LANGUAGE_LITHUANIAN", (long) wxLANGUAGE_LITHUANIAN
, 0, 0, 0},
18379 { SWIG_PY_INT
, (char *)"LANGUAGE_MACEDONIAN", (long) wxLANGUAGE_MACEDONIAN
, 0, 0, 0},
18380 { SWIG_PY_INT
, (char *)"LANGUAGE_MALAGASY", (long) wxLANGUAGE_MALAGASY
, 0, 0, 0},
18381 { SWIG_PY_INT
, (char *)"LANGUAGE_MALAY", (long) wxLANGUAGE_MALAY
, 0, 0, 0},
18382 { SWIG_PY_INT
, (char *)"LANGUAGE_MALAYALAM", (long) wxLANGUAGE_MALAYALAM
, 0, 0, 0},
18383 { SWIG_PY_INT
, (char *)"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", (long) wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
, 0, 0, 0},
18384 { SWIG_PY_INT
, (char *)"LANGUAGE_MALAY_MALAYSIA", (long) wxLANGUAGE_MALAY_MALAYSIA
, 0, 0, 0},
18385 { SWIG_PY_INT
, (char *)"LANGUAGE_MALTESE", (long) wxLANGUAGE_MALTESE
, 0, 0, 0},
18386 { SWIG_PY_INT
, (char *)"LANGUAGE_MANIPURI", (long) wxLANGUAGE_MANIPURI
, 0, 0, 0},
18387 { SWIG_PY_INT
, (char *)"LANGUAGE_MAORI", (long) wxLANGUAGE_MAORI
, 0, 0, 0},
18388 { SWIG_PY_INT
, (char *)"LANGUAGE_MARATHI", (long) wxLANGUAGE_MARATHI
, 0, 0, 0},
18389 { SWIG_PY_INT
, (char *)"LANGUAGE_MOLDAVIAN", (long) wxLANGUAGE_MOLDAVIAN
, 0, 0, 0},
18390 { SWIG_PY_INT
, (char *)"LANGUAGE_MONGOLIAN", (long) wxLANGUAGE_MONGOLIAN
, 0, 0, 0},
18391 { SWIG_PY_INT
, (char *)"LANGUAGE_NAURU", (long) wxLANGUAGE_NAURU
, 0, 0, 0},
18392 { SWIG_PY_INT
, (char *)"LANGUAGE_NEPALI", (long) wxLANGUAGE_NEPALI
, 0, 0, 0},
18393 { SWIG_PY_INT
, (char *)"LANGUAGE_NEPALI_INDIA", (long) wxLANGUAGE_NEPALI_INDIA
, 0, 0, 0},
18394 { SWIG_PY_INT
, (char *)"LANGUAGE_NORWEGIAN_BOKMAL", (long) wxLANGUAGE_NORWEGIAN_BOKMAL
, 0, 0, 0},
18395 { SWIG_PY_INT
, (char *)"LANGUAGE_NORWEGIAN_NYNORSK", (long) wxLANGUAGE_NORWEGIAN_NYNORSK
, 0, 0, 0},
18396 { SWIG_PY_INT
, (char *)"LANGUAGE_OCCITAN", (long) wxLANGUAGE_OCCITAN
, 0, 0, 0},
18397 { SWIG_PY_INT
, (char *)"LANGUAGE_ORIYA", (long) wxLANGUAGE_ORIYA
, 0, 0, 0},
18398 { SWIG_PY_INT
, (char *)"LANGUAGE_OROMO", (long) wxLANGUAGE_OROMO
, 0, 0, 0},
18399 { SWIG_PY_INT
, (char *)"LANGUAGE_PASHTO", (long) wxLANGUAGE_PASHTO
, 0, 0, 0},
18400 { SWIG_PY_INT
, (char *)"LANGUAGE_POLISH", (long) wxLANGUAGE_POLISH
, 0, 0, 0},
18401 { SWIG_PY_INT
, (char *)"LANGUAGE_PORTUGUESE", (long) wxLANGUAGE_PORTUGUESE
, 0, 0, 0},
18402 { SWIG_PY_INT
, (char *)"LANGUAGE_PORTUGUESE_BRAZILIAN", (long) wxLANGUAGE_PORTUGUESE_BRAZILIAN
, 0, 0, 0},
18403 { SWIG_PY_INT
, (char *)"LANGUAGE_PUNJABI", (long) wxLANGUAGE_PUNJABI
, 0, 0, 0},
18404 { SWIG_PY_INT
, (char *)"LANGUAGE_QUECHUA", (long) wxLANGUAGE_QUECHUA
, 0, 0, 0},
18405 { SWIG_PY_INT
, (char *)"LANGUAGE_RHAETO_ROMANCE", (long) wxLANGUAGE_RHAETO_ROMANCE
, 0, 0, 0},
18406 { SWIG_PY_INT
, (char *)"LANGUAGE_ROMANIAN", (long) wxLANGUAGE_ROMANIAN
, 0, 0, 0},
18407 { SWIG_PY_INT
, (char *)"LANGUAGE_RUSSIAN", (long) wxLANGUAGE_RUSSIAN
, 0, 0, 0},
18408 { SWIG_PY_INT
, (char *)"LANGUAGE_RUSSIAN_UKRAINE", (long) wxLANGUAGE_RUSSIAN_UKRAINE
, 0, 0, 0},
18409 { SWIG_PY_INT
, (char *)"LANGUAGE_SAMOAN", (long) wxLANGUAGE_SAMOAN
, 0, 0, 0},
18410 { SWIG_PY_INT
, (char *)"LANGUAGE_SANGHO", (long) wxLANGUAGE_SANGHO
, 0, 0, 0},
18411 { SWIG_PY_INT
, (char *)"LANGUAGE_SANSKRIT", (long) wxLANGUAGE_SANSKRIT
, 0, 0, 0},
18412 { SWIG_PY_INT
, (char *)"LANGUAGE_SCOTS_GAELIC", (long) wxLANGUAGE_SCOTS_GAELIC
, 0, 0, 0},
18413 { SWIG_PY_INT
, (char *)"LANGUAGE_SERBIAN", (long) wxLANGUAGE_SERBIAN
, 0, 0, 0},
18414 { SWIG_PY_INT
, (char *)"LANGUAGE_SERBIAN_CYRILLIC", (long) wxLANGUAGE_SERBIAN_CYRILLIC
, 0, 0, 0},
18415 { SWIG_PY_INT
, (char *)"LANGUAGE_SERBIAN_LATIN", (long) wxLANGUAGE_SERBIAN_LATIN
, 0, 0, 0},
18416 { SWIG_PY_INT
, (char *)"LANGUAGE_SERBO_CROATIAN", (long) wxLANGUAGE_SERBO_CROATIAN
, 0, 0, 0},
18417 { SWIG_PY_INT
, (char *)"LANGUAGE_SESOTHO", (long) wxLANGUAGE_SESOTHO
, 0, 0, 0},
18418 { SWIG_PY_INT
, (char *)"LANGUAGE_SETSWANA", (long) wxLANGUAGE_SETSWANA
, 0, 0, 0},
18419 { SWIG_PY_INT
, (char *)"LANGUAGE_SHONA", (long) wxLANGUAGE_SHONA
, 0, 0, 0},
18420 { SWIG_PY_INT
, (char *)"LANGUAGE_SINDHI", (long) wxLANGUAGE_SINDHI
, 0, 0, 0},
18421 { SWIG_PY_INT
, (char *)"LANGUAGE_SINHALESE", (long) wxLANGUAGE_SINHALESE
, 0, 0, 0},
18422 { SWIG_PY_INT
, (char *)"LANGUAGE_SISWATI", (long) wxLANGUAGE_SISWATI
, 0, 0, 0},
18423 { SWIG_PY_INT
, (char *)"LANGUAGE_SLOVAK", (long) wxLANGUAGE_SLOVAK
, 0, 0, 0},
18424 { SWIG_PY_INT
, (char *)"LANGUAGE_SLOVENIAN", (long) wxLANGUAGE_SLOVENIAN
, 0, 0, 0},
18425 { SWIG_PY_INT
, (char *)"LANGUAGE_SOMALI", (long) wxLANGUAGE_SOMALI
, 0, 0, 0},
18426 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH", (long) wxLANGUAGE_SPANISH
, 0, 0, 0},
18427 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_ARGENTINA", (long) wxLANGUAGE_SPANISH_ARGENTINA
, 0, 0, 0},
18428 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_BOLIVIA", (long) wxLANGUAGE_SPANISH_BOLIVIA
, 0, 0, 0},
18429 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_CHILE", (long) wxLANGUAGE_SPANISH_CHILE
, 0, 0, 0},
18430 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_COLOMBIA", (long) wxLANGUAGE_SPANISH_COLOMBIA
, 0, 0, 0},
18431 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_COSTA_RICA", (long) wxLANGUAGE_SPANISH_COSTA_RICA
, 0, 0, 0},
18432 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", (long) wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
, 0, 0, 0},
18433 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_ECUADOR", (long) wxLANGUAGE_SPANISH_ECUADOR
, 0, 0, 0},
18434 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_EL_SALVADOR", (long) wxLANGUAGE_SPANISH_EL_SALVADOR
, 0, 0, 0},
18435 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_GUATEMALA", (long) wxLANGUAGE_SPANISH_GUATEMALA
, 0, 0, 0},
18436 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_HONDURAS", (long) wxLANGUAGE_SPANISH_HONDURAS
, 0, 0, 0},
18437 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_MEXICAN", (long) wxLANGUAGE_SPANISH_MEXICAN
, 0, 0, 0},
18438 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_MODERN", (long) wxLANGUAGE_SPANISH_MODERN
, 0, 0, 0},
18439 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_NICARAGUA", (long) wxLANGUAGE_SPANISH_NICARAGUA
, 0, 0, 0},
18440 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_PANAMA", (long) wxLANGUAGE_SPANISH_PANAMA
, 0, 0, 0},
18441 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_PARAGUAY", (long) wxLANGUAGE_SPANISH_PARAGUAY
, 0, 0, 0},
18442 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_PERU", (long) wxLANGUAGE_SPANISH_PERU
, 0, 0, 0},
18443 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_PUERTO_RICO", (long) wxLANGUAGE_SPANISH_PUERTO_RICO
, 0, 0, 0},
18444 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_URUGUAY", (long) wxLANGUAGE_SPANISH_URUGUAY
, 0, 0, 0},
18445 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_US", (long) wxLANGUAGE_SPANISH_US
, 0, 0, 0},
18446 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_VENEZUELA", (long) wxLANGUAGE_SPANISH_VENEZUELA
, 0, 0, 0},
18447 { SWIG_PY_INT
, (char *)"LANGUAGE_SUNDANESE", (long) wxLANGUAGE_SUNDANESE
, 0, 0, 0},
18448 { SWIG_PY_INT
, (char *)"LANGUAGE_SWAHILI", (long) wxLANGUAGE_SWAHILI
, 0, 0, 0},
18449 { SWIG_PY_INT
, (char *)"LANGUAGE_SWEDISH", (long) wxLANGUAGE_SWEDISH
, 0, 0, 0},
18450 { SWIG_PY_INT
, (char *)"LANGUAGE_SWEDISH_FINLAND", (long) wxLANGUAGE_SWEDISH_FINLAND
, 0, 0, 0},
18451 { SWIG_PY_INT
, (char *)"LANGUAGE_TAGALOG", (long) wxLANGUAGE_TAGALOG
, 0, 0, 0},
18452 { SWIG_PY_INT
, (char *)"LANGUAGE_TAJIK", (long) wxLANGUAGE_TAJIK
, 0, 0, 0},
18453 { SWIG_PY_INT
, (char *)"LANGUAGE_TAMIL", (long) wxLANGUAGE_TAMIL
, 0, 0, 0},
18454 { SWIG_PY_INT
, (char *)"LANGUAGE_TATAR", (long) wxLANGUAGE_TATAR
, 0, 0, 0},
18455 { SWIG_PY_INT
, (char *)"LANGUAGE_TELUGU", (long) wxLANGUAGE_TELUGU
, 0, 0, 0},
18456 { SWIG_PY_INT
, (char *)"LANGUAGE_THAI", (long) wxLANGUAGE_THAI
, 0, 0, 0},
18457 { SWIG_PY_INT
, (char *)"LANGUAGE_TIBETAN", (long) wxLANGUAGE_TIBETAN
, 0, 0, 0},
18458 { SWIG_PY_INT
, (char *)"LANGUAGE_TIGRINYA", (long) wxLANGUAGE_TIGRINYA
, 0, 0, 0},
18459 { SWIG_PY_INT
, (char *)"LANGUAGE_TONGA", (long) wxLANGUAGE_TONGA
, 0, 0, 0},
18460 { SWIG_PY_INT
, (char *)"LANGUAGE_TSONGA", (long) wxLANGUAGE_TSONGA
, 0, 0, 0},
18461 { SWIG_PY_INT
, (char *)"LANGUAGE_TURKISH", (long) wxLANGUAGE_TURKISH
, 0, 0, 0},
18462 { SWIG_PY_INT
, (char *)"LANGUAGE_TURKMEN", (long) wxLANGUAGE_TURKMEN
, 0, 0, 0},
18463 { SWIG_PY_INT
, (char *)"LANGUAGE_TWI", (long) wxLANGUAGE_TWI
, 0, 0, 0},
18464 { SWIG_PY_INT
, (char *)"LANGUAGE_UIGHUR", (long) wxLANGUAGE_UIGHUR
, 0, 0, 0},
18465 { SWIG_PY_INT
, (char *)"LANGUAGE_UKRAINIAN", (long) wxLANGUAGE_UKRAINIAN
, 0, 0, 0},
18466 { SWIG_PY_INT
, (char *)"LANGUAGE_URDU", (long) wxLANGUAGE_URDU
, 0, 0, 0},
18467 { SWIG_PY_INT
, (char *)"LANGUAGE_URDU_INDIA", (long) wxLANGUAGE_URDU_INDIA
, 0, 0, 0},
18468 { SWIG_PY_INT
, (char *)"LANGUAGE_URDU_PAKISTAN", (long) wxLANGUAGE_URDU_PAKISTAN
, 0, 0, 0},
18469 { SWIG_PY_INT
, (char *)"LANGUAGE_UZBEK", (long) wxLANGUAGE_UZBEK
, 0, 0, 0},
18470 { SWIG_PY_INT
, (char *)"LANGUAGE_UZBEK_CYRILLIC", (long) wxLANGUAGE_UZBEK_CYRILLIC
, 0, 0, 0},
18471 { SWIG_PY_INT
, (char *)"LANGUAGE_UZBEK_LATIN", (long) wxLANGUAGE_UZBEK_LATIN
, 0, 0, 0},
18472 { SWIG_PY_INT
, (char *)"LANGUAGE_VIETNAMESE", (long) wxLANGUAGE_VIETNAMESE
, 0, 0, 0},
18473 { SWIG_PY_INT
, (char *)"LANGUAGE_VOLAPUK", (long) wxLANGUAGE_VOLAPUK
, 0, 0, 0},
18474 { SWIG_PY_INT
, (char *)"LANGUAGE_WELSH", (long) wxLANGUAGE_WELSH
, 0, 0, 0},
18475 { SWIG_PY_INT
, (char *)"LANGUAGE_WOLOF", (long) wxLANGUAGE_WOLOF
, 0, 0, 0},
18476 { SWIG_PY_INT
, (char *)"LANGUAGE_XHOSA", (long) wxLANGUAGE_XHOSA
, 0, 0, 0},
18477 { SWIG_PY_INT
, (char *)"LANGUAGE_YIDDISH", (long) wxLANGUAGE_YIDDISH
, 0, 0, 0},
18478 { SWIG_PY_INT
, (char *)"LANGUAGE_YORUBA", (long) wxLANGUAGE_YORUBA
, 0, 0, 0},
18479 { SWIG_PY_INT
, (char *)"LANGUAGE_ZHUANG", (long) wxLANGUAGE_ZHUANG
, 0, 0, 0},
18480 { SWIG_PY_INT
, (char *)"LANGUAGE_ZULU", (long) wxLANGUAGE_ZULU
, 0, 0, 0},
18481 { SWIG_PY_INT
, (char *)"LANGUAGE_USER_DEFINED", (long) wxLANGUAGE_USER_DEFINED
, 0, 0, 0},
18482 { SWIG_PY_INT
, (char *)"LOCALE_CAT_NUMBER", (long) wxLOCALE_CAT_NUMBER
, 0, 0, 0},
18483 { SWIG_PY_INT
, (char *)"LOCALE_CAT_DATE", (long) wxLOCALE_CAT_DATE
, 0, 0, 0},
18484 { SWIG_PY_INT
, (char *)"LOCALE_CAT_MONEY", (long) wxLOCALE_CAT_MONEY
, 0, 0, 0},
18485 { SWIG_PY_INT
, (char *)"LOCALE_CAT_MAX", (long) wxLOCALE_CAT_MAX
, 0, 0, 0},
18486 { SWIG_PY_INT
, (char *)"LOCALE_THOUSANDS_SEP", (long) wxLOCALE_THOUSANDS_SEP
, 0, 0, 0},
18487 { SWIG_PY_INT
, (char *)"LOCALE_DECIMAL_POINT", (long) wxLOCALE_DECIMAL_POINT
, 0, 0, 0},
18488 { SWIG_PY_INT
, (char *)"LOCALE_LOAD_DEFAULT", (long) wxLOCALE_LOAD_DEFAULT
, 0, 0, 0},
18489 { SWIG_PY_INT
, (char *)"LOCALE_CONV_ENCODING", (long) wxLOCALE_CONV_ENCODING
, 0, 0, 0},
18490 { SWIG_PY_INT
, (char *)"CONVERT_STRICT", (long) wxCONVERT_STRICT
, 0, 0, 0},
18491 { SWIG_PY_INT
, (char *)"CONVERT_SUBSTITUTE", (long) wxCONVERT_SUBSTITUTE
, 0, 0, 0},
18492 { SWIG_PY_INT
, (char *)"PLATFORM_CURRENT", (long) wxPLATFORM_CURRENT
, 0, 0, 0},
18493 { SWIG_PY_INT
, (char *)"PLATFORM_UNIX", (long) wxPLATFORM_UNIX
, 0, 0, 0},
18494 { SWIG_PY_INT
, (char *)"PLATFORM_WINDOWS", (long) wxPLATFORM_WINDOWS
, 0, 0, 0},
18495 { SWIG_PY_INT
, (char *)"PLATFORM_OS2", (long) wxPLATFORM_OS2
, 0, 0, 0},
18496 { SWIG_PY_INT
, (char *)"PLATFORM_MAC", (long) wxPLATFORM_MAC
, 0, 0, 0},
18497 { SWIG_PY_INT
, (char *)"IMAGELIST_DRAW_NORMAL", (long) wxIMAGELIST_DRAW_NORMAL
, 0, 0, 0},
18498 { SWIG_PY_INT
, (char *)"IMAGELIST_DRAW_TRANSPARENT", (long) wxIMAGELIST_DRAW_TRANSPARENT
, 0, 0, 0},
18499 { SWIG_PY_INT
, (char *)"IMAGELIST_DRAW_SELECTED", (long) wxIMAGELIST_DRAW_SELECTED
, 0, 0, 0},
18500 { SWIG_PY_INT
, (char *)"IMAGELIST_DRAW_FOCUSED", (long) wxIMAGELIST_DRAW_FOCUSED
, 0, 0, 0},
18501 { SWIG_PY_INT
, (char *)"IMAGE_LIST_NORMAL", (long) wxIMAGE_LIST_NORMAL
, 0, 0, 0},
18502 { SWIG_PY_INT
, (char *)"IMAGE_LIST_SMALL", (long) wxIMAGE_LIST_SMALL
, 0, 0, 0},
18503 { SWIG_PY_INT
, (char *)"IMAGE_LIST_STATE", (long) wxIMAGE_LIST_STATE
, 0, 0, 0},
18513 SWIGEXPORT(void) SWIG_init(void) {
18514 static PyObject
*SWIG_globals
= 0;
18515 static int typeinit
= 0;
18518 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
18519 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
18520 d
= PyModule_GetDict(m
);
18523 for (i
= 0; swig_types_initial
[i
]; i
++) {
18524 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
18528 SWIG_InstallConstants(d
,swig_const_table
);
18531 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
18533 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
18534 SWIG_addvarlink(SWIG_globals
,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get
, _wrap_NORMAL_FONT_set
);
18535 SWIG_addvarlink(SWIG_globals
,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get
, _wrap_SMALL_FONT_set
);
18536 SWIG_addvarlink(SWIG_globals
,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get
, _wrap_ITALIC_FONT_set
);
18537 SWIG_addvarlink(SWIG_globals
,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get
, _wrap_SWISS_FONT_set
);
18538 SWIG_addvarlink(SWIG_globals
,(char*)"RED_PEN",_wrap_RED_PEN_get
, _wrap_RED_PEN_set
);
18539 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get
, _wrap_CYAN_PEN_set
);
18540 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get
, _wrap_GREEN_PEN_set
);
18541 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get
, _wrap_BLACK_PEN_set
);
18542 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get
, _wrap_WHITE_PEN_set
);
18543 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get
, _wrap_TRANSPARENT_PEN_set
);
18544 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get
, _wrap_BLACK_DASHED_PEN_set
);
18545 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_PEN",_wrap_GREY_PEN_get
, _wrap_GREY_PEN_set
);
18546 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get
, _wrap_MEDIUM_GREY_PEN_set
);
18547 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get
, _wrap_LIGHT_GREY_PEN_set
);
18548 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get
, _wrap_BLUE_BRUSH_set
);
18549 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get
, _wrap_GREEN_BRUSH_set
);
18550 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get
, _wrap_WHITE_BRUSH_set
);
18551 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get
, _wrap_BLACK_BRUSH_set
);
18552 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get
, _wrap_TRANSPARENT_BRUSH_set
);
18553 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get
, _wrap_CYAN_BRUSH_set
);
18554 SWIG_addvarlink(SWIG_globals
,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get
, _wrap_RED_BRUSH_set
);
18555 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get
, _wrap_GREY_BRUSH_set
);
18556 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get
, _wrap_MEDIUM_GREY_BRUSH_set
);
18557 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get
, _wrap_LIGHT_GREY_BRUSH_set
);
18558 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK",_wrap_BLACK_get
, _wrap_BLACK_set
);
18559 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE",_wrap_WHITE_get
, _wrap_WHITE_set
);
18560 SWIG_addvarlink(SWIG_globals
,(char*)"RED",_wrap_RED_get
, _wrap_RED_set
);
18561 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE",_wrap_BLUE_get
, _wrap_BLUE_set
);
18562 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN",_wrap_GREEN_get
, _wrap_GREEN_set
);
18563 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN",_wrap_CYAN_get
, _wrap_CYAN_set
);
18564 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get
, _wrap_LIGHT_GREY_set
);
18565 SWIG_addvarlink(SWIG_globals
,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get
, _wrap_STANDARD_CURSOR_set
);
18566 SWIG_addvarlink(SWIG_globals
,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get
, _wrap_HOURGLASS_CURSOR_set
);
18567 SWIG_addvarlink(SWIG_globals
,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get
, _wrap_CROSS_CURSOR_set
);
18568 SWIG_addvarlink(SWIG_globals
,(char*)"NullBitmap",_wrap_NullBitmap_get
, _wrap_NullBitmap_set
);
18569 SWIG_addvarlink(SWIG_globals
,(char*)"NullIcon",_wrap_NullIcon_get
, _wrap_NullIcon_set
);
18570 SWIG_addvarlink(SWIG_globals
,(char*)"NullCursor",_wrap_NullCursor_get
, _wrap_NullCursor_set
);
18571 SWIG_addvarlink(SWIG_globals
,(char*)"NullPen",_wrap_NullPen_get
, _wrap_NullPen_set
);
18572 SWIG_addvarlink(SWIG_globals
,(char*)"NullBrush",_wrap_NullBrush_get
, _wrap_NullBrush_set
);
18573 SWIG_addvarlink(SWIG_globals
,(char*)"NullPalette",_wrap_NullPalette_get
, _wrap_NullPalette_set
);
18574 SWIG_addvarlink(SWIG_globals
,(char*)"NullFont",_wrap_NullFont_get
, _wrap_NullFont_set
);
18575 SWIG_addvarlink(SWIG_globals
,(char*)"NullColour",_wrap_NullColour_get
, _wrap_NullColour_set
);
18576 SWIG_addvarlink(SWIG_globals
,(char*)"TheFontList",_wrap_TheFontList_get
, _wrap_TheFontList_set
);
18577 SWIG_addvarlink(SWIG_globals
,(char*)"ThePenList",_wrap_ThePenList_get
, _wrap_ThePenList_set
);
18578 SWIG_addvarlink(SWIG_globals
,(char*)"TheBrushList",_wrap_TheBrushList_get
, _wrap_TheBrushList_set
);
18579 SWIG_addvarlink(SWIG_globals
,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get
, _wrap_TheColourDatabase_set
);
18581 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");