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
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
127 /***********************************************************************
128 * pyrun.swg for wxPython
130 * Include only the function prototypes and such from SWIG's pyrun.swg,
131 * but not the runtime functions themselves. This helps keep the
132 * wrapper files clean of unnecessary stuff that is in the libpy.c file
135 ************************************************************************/
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
149 /* Flags for pointer conversion */
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
157 /* Constant information structure */
158 typedef struct swig_const_info
{
164 swig_type_info
**ptype
;
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
187 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
190 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
192 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
195 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* -----------------------------------------------------------------------------
199 * the needed conversions between C++ and python
200 * ----------------------------------------------------------------------------- */
205 SWIGIMPORT(char* ) SWIG_PyObj_AsCharPtr(PyObject
*obj
, swig_type_info
* pchar_info
);
206 SWIGIMPORT(PyObject
*) SWIG_PyObj_FromCharPtr(const char* cptr
);
207 SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLong(PyObject
* obj
);
208 SWIGIMPORT(long) SWIG_PyObj_AsLongInRange(PyObject
* obj
, const char* type
,
209 long min_value
, long max_value
);
210 SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLongInRange(PyObject
*obj
, const char* type
,
211 unsigned long max_value
);
212 SWIGIMPORT(char *) SWIG_PyObj_AsNewCharPtr(PyObject
*obj
, swig_type_info
* pchar_info
);
213 SWIGIMPORT(void) SWIG_PyObj_AsCharPtrAndSize(PyObject
*obj
, swig_type_info
* pchar_info
,
214 char** cptr
, size_t* size
);
215 SWIGIMPORT(void) SWIG_PyObj_AsCharArray(PyObject
*obj
, swig_type_info
* pchar_info
,
216 char* carray
, size_t size
);
217 SWIGIMPORT(PyObject
*) SWIG_PyObj_FromCharArray(const char* carray
, size_t size
);
218 SWIGIMPORT(float) SWIG_PyObj_AsFloatConv(PyObject
*obj
, py_objasdbl_conv pyconv
);
221 /* Contract support */
223 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
231 /* -------- TYPES TABLE (BEGIN) -------- */
233 #define SWIGTYPE_p_wxPostScriptDC swig_types[0]
234 #define SWIGTYPE_p_wxBrush swig_types[1]
235 #define SWIGTYPE_p_wxColour swig_types[2]
236 #define SWIGTYPE_p_wxDC swig_types[3]
237 #define SWIGTYPE_p_wxMirrorDC swig_types[4]
238 #define SWIGTYPE_p_byte swig_types[5]
239 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[6]
240 #define SWIGTYPE_p_char swig_types[7]
241 #define SWIGTYPE_p_wxIconLocation swig_types[8]
242 #define SWIGTYPE_p_wxImage swig_types[9]
243 #define SWIGTYPE_p_wxMetaFileDC swig_types[10]
244 #define SWIGTYPE_p_wxMask swig_types[11]
245 #define SWIGTYPE_p_wxFont swig_types[12]
246 #define SWIGTYPE_p_wxWindow swig_types[13]
247 #define SWIGTYPE_p_wxSize swig_types[14]
248 #define SWIGTYPE_p_double swig_types[15]
249 #define SWIGTYPE_p_wxMemoryDC swig_types[16]
250 #define SWIGTYPE_p_wxFontMapper swig_types[17]
251 #define SWIGTYPE_p_wxEffects swig_types[18]
252 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[19]
253 #define SWIGTYPE_p_wxPalette swig_types[20]
254 #define SWIGTYPE_p_wxBitmap swig_types[21]
255 #define SWIGTYPE_p_wxObject swig_types[22]
256 #define SWIGTYPE_p_wxRegionIterator swig_types[23]
257 #define SWIGTYPE_p_wxRect swig_types[24]
258 #define SWIGTYPE_p_wxString swig_types[25]
259 #define SWIGTYPE_p_wxPrinterDC swig_types[26]
260 #define SWIGTYPE_p_wxIconBundle swig_types[27]
261 #define SWIGTYPE_p_wxPoint swig_types[28]
262 #define SWIGTYPE_p_wxDash swig_types[29]
263 #define SWIGTYPE_p_wxScreenDC swig_types[30]
264 #define SWIGTYPE_p_wxCursor swig_types[31]
265 #define SWIGTYPE_p_wxClientDC swig_types[32]
266 #define SWIGTYPE_p_wxBufferedDC swig_types[33]
267 #define SWIGTYPE_p_wxImageList swig_types[34]
268 #define SWIGTYPE_p_unsigned_char swig_types[35]
269 #define SWIGTYPE_p_wxGDIObject swig_types[36]
270 #define SWIGTYPE_p_wxIcon swig_types[37]
271 #define SWIGTYPE_p_wxLocale swig_types[38]
272 #define SWIGTYPE_p_wxRegion swig_types[39]
273 #define SWIGTYPE_p_wxLanguageInfo swig_types[40]
274 #define SWIGTYPE_p_wxConfigBase swig_types[41]
275 #define SWIGTYPE_p_wxWindowDC swig_types[42]
276 #define SWIGTYPE_p_wxPrintData swig_types[43]
277 #define SWIGTYPE_p_wxBrushList swig_types[44]
278 #define SWIGTYPE_p_wxFontList swig_types[45]
279 #define SWIGTYPE_p_wxPen swig_types[46]
280 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[47]
281 #define SWIGTYPE_p_wxPaintDC swig_types[48]
282 #define SWIGTYPE_p_wxPenList swig_types[49]
283 #define SWIGTYPE_p_wxPyPen swig_types[50]
284 #define SWIGTYPE_p_int swig_types[51]
285 #define SWIGTYPE_p_wxMetaFile swig_types[52]
286 #define SWIGTYPE_p_wxNativeFontInfo swig_types[53]
287 #define SWIGTYPE_p_wxEncodingConverter swig_types[54]
288 #define SWIGTYPE_p_wxColourDatabase swig_types[55]
289 static swig_type_info
*swig_types
[57];
291 /* -------- TYPES TABLE (END) -------- */
294 /*-----------------------------------------------
296 ------------------------------------------------*/
297 #define SWIG_init init_gdi
299 #define SWIG_name "_gdi"
307 #define SWIGSTATIC(a) static inline a
309 #define SWIGSTATIC(a) static a
315 #ifdef HAVE_NUMERIC_CAST
316 #define numeric_cast(type,a) numeric_cast<type>(a)
318 #define numeric_cast(type,a) static_cast<type>(a)
321 #define numeric_cast(type,a) (type)(a)
327 #define SWIG_PyObj_FromSignedChar PyInt_FromLong
328 #define SWIG_PyObj_FromUnsignedChar PyInt_FromLong
329 #define SWIG_PyObj_FromShort PyInt_FromLong
330 #define SWIG_PyObj_FromUnsignedShort PyInt_FromLong
331 #define SWIG_PyObj_FromInt PyInt_FromLong
332 #define SWIG_PyObj_FromLong PyInt_FromLong
333 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
334 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
335 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
336 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
339 #include "wx/wxPython/wxPython.h"
340 #include "wx/wxPython/pyclasses.h"
343 static const wxString
wxPyEmptyString(wxEmptyString
);
346 SWIG_PyObj_AsBool(PyObject
*obj
)
348 return PyObject_IsTrue(obj
) ? true : false;
352 SWIGSTATIC(unsigned char)
353 SWIG_PyObj_AsUnsignedChar(PyObject
*obj
)
355 return numeric_cast(unsigned char,
356 SWIG_PyObj_AsUnsignedLongInRange(obj
, "unsigned char", UCHAR_MAX
));
359 PyObject
*wxColour_Get(wxColour
*self
){
360 PyObject
* rv
= PyTuple_New(3);
366 green
= self
->Green();
369 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
370 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
371 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
376 SWIG_PyObj_AsInt(PyObject
*obj
)
378 return numeric_cast(int,
379 SWIG_PyObj_AsLongInRange(obj
, "int", INT_MIN
, INT_MAX
));
383 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
389 } else if (target
== Py_None
) {
393 if (!PyTuple_Check(target
)) {
395 target
= PyTuple_New(1);
396 PyTuple_SetItem(target
, 0, o2
);
399 PyTuple_SetItem(o3
, 0, o
);
402 target
= PySequence_Concat(o2
, o3
);
409 PyObject
*wxPen_GetDashes(wxPen
*self
){
411 int count
= self
->GetDashes(&dashes
);
412 wxPyBeginBlockThreads();
413 PyObject
* retval
= PyList_New(0);
414 for (int x
=0; x
<count
; x
++)
415 PyList_Append(retval
, PyInt_FromLong(dashes
[x
]));
416 wxPyEndBlockThreads();
426 void wxPyPen::SetDashes(int nb_dashes
, const wxDash
*dash
)
430 m_dash
= new wxDash
[nb_dashes
];
431 for (int i
=0; i
<nb_dashes
; i
++) {
434 wxPen::SetDashes(nb_dashes
, m_dash
);
439 SWIG_PyObj_AsShort(PyObject
*obj
)
441 return numeric_cast(short,
442 SWIG_PyObj_AsLongInRange(obj
, "short", SHRT_MIN
, SHRT_MAX
));
446 #include <wx/image.h>
448 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
449 char** cArray
= NULL
;
452 if (!PyList_Check(listOfStrings
)) {
453 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
456 count
= PyList_Size(listOfStrings
);
457 cArray
= new char*[count
];
459 for(int x
=0; x
<count
; x
++) {
460 // TODO: Need some validation and error checking here
461 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
467 wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
468 char** cArray
= NULL
;
471 cArray
= ConvertListOfStrings(listOfStrings
);
474 bmp
= new wxBitmap(cArray
);
478 wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
){
481 PyString_AsStringAndSize(bits
, &buf
, &length
);
482 return new wxBitmap(buf
, width
, height
, depth
);
484 void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
485 wxMask
*mask
= new wxMask(*self
, colour
);
489 #include <wx/iconbndl.h>
491 wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
492 wxIcon
* icon
= new wxIcon();
493 icon
->CopyFromBitmap(bmp
);
496 wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
497 char** cArray
= NULL
;
500 cArray
= ConvertListOfStrings(listOfStrings
);
503 icon
= new wxIcon(cArray
);
507 wxIconLocation
*new_wxIconLocation(wxString
const *filename
,int num
){
511 return new wxIconLocation(*filename
);
514 void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
521 int wxIconLocation_GetIndex(wxIconLocation
*self
){
530 SWIG_PyObj_AsLong(PyObject
* obj
)
532 return PyInt_Check(obj
) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
);
535 wxCursor
*new_wxCursor(wxString
const *cursorName
,long flags
,int hotSpotX
,int hotSpotY
){
540 return new wxCursor(*cursorName
, flags
, hotSpotX
, hotSpotY
);
543 wxCursor
*new_wxCursor(PyObject
*bits
,int width
,int height
,int hotSpotX
,int hotSpotY
,PyObject
*maskBits
){
545 char* maskbuf
= NULL
;
547 PyString_AsStringAndSize(bits
, &bitsbuf
, &length
);
549 PyString_AsStringAndSize(maskBits
, &maskbuf
, &length
);
550 return new wxCursor(bitsbuf
, width
, height
, hotSpotX
, hotSpotY
, maskbuf
);
554 wxRegion
*new_wxRegion(int points
,wxPoint
*points_array
,int fillStyle
){
555 wxPyRaiseNotImplemented();
558 void wxRegionIterator_Next(wxRegionIterator
*self
){
561 bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
562 return self
->operator bool();
565 #include <wx/fontutil.h>
566 #include <wx/fontmap.h>
567 #include <wx/fontenum.h>
569 wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
570 return self
->ToString();
573 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
574 static wxNativeEncodingInfo info
;
575 if ( wxGetNativeFontEncoding(encoding
, &info
) )
582 SWIGSTATIC(PyObject
* )
583 SWIG_PyObj_FromUnsignedLong(unsigned long value
)
585 return (value
> (unsigned long)(LONG_MAX
)) ?
586 PyLong_FromUnsignedLong(value
) : PyInt_FromLong((long)value
);
589 PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
,bool interactive
){
590 wxFontEncoding alt_enc
;
591 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
592 return PyInt_FromLong(alt_enc
);
598 wxFont
*new_wxFont(wxString
const &info
){
599 wxNativeFontInfo nfi
;
600 nfi
.FromString(info
);
601 return new wxFont(nfi
);
603 wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
,wxString
const &face
,wxFontEncoding encoding
){
604 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
607 class wxPyFontEnumerator
: public wxFontEnumerator
{
609 wxPyFontEnumerator() {}
610 ~wxPyFontEnumerator() {}
612 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
613 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
618 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
619 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
622 PyObject
*wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
){
623 wxArrayString
* arr
= self
->GetEncodings();
624 return wxArrayString2PyList_helper(*arr
);
626 PyObject
*wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
){
627 wxArrayString
* arr
= self
->GetFacenames();
628 return wxArrayString2PyList_helper(*arr
);
633 #include "wx/wxPython/pydrawxxx.h"
635 wxColour
wxDC_GetPixelXY(wxDC
*self
,int x
,int y
){
637 self
->GetPixel(x
, y
, &col
);
640 wxColour
wxDC_GetPixel(wxDC
*self
,wxPoint
const &pt
){
642 self
->GetPixel(pt
, &col
);
647 SWIG_PyObj_AsDouble(PyObject
*obj
)
649 return (PyFloat_Check(obj
)) ? PyFloat_AsDouble(obj
) :
651 (double)((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLongLong(obj
));
653 (double)((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
));
655 if (PyErr_Occurred()) {
657 PyErr_SetString(PyExc_TypeError
, "a double is expected");
661 wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
,int indexAccel
){
663 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
666 wxRect
wxDC_GetClippingRect(wxDC
*self
){
668 self
->GetClippingBox(rect
);
671 PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
672 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
674 PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
675 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
677 PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
678 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
680 PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
681 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
683 PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
684 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
686 PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
687 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
690 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
701 class wxMetaFile
: public wxObject
{
703 wxMetaFile(const wxString
&)
704 { wxPyRaiseNotImplemented(); }
707 class wxMetaFileDC
: public wxClientDC
{
709 wxMetaFileDC(const wxString
&, int, int, const wxString
&)
710 { wxPyRaiseNotImplemented(); }
716 void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
717 self
->AddColour(name
, wxColour(red
, green
, blue
));
720 #include <wx/effects.h>
725 static PyObject
*_wrap_new_GDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GDIObject",kwnames
)) goto fail
;
734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
735 result
= (wxGDIObject
*)new wxGDIObject();
737 wxPyEndAllowThreads(__tstate
);
738 if (PyErr_Occurred()) SWIG_fail
;
740 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGDIObject
, 1);
747 static PyObject
*_wrap_delete_GDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
749 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
750 PyObject
* obj0
= 0 ;
752 (char *) "self", NULL
755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GDIObject",kwnames
,&obj0
)) goto fail
;
756 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGDIObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
761 wxPyEndAllowThreads(__tstate
);
762 if (PyErr_Occurred()) SWIG_fail
;
764 Py_INCREF(Py_None
); resultobj
= Py_None
;
771 static PyObject
*_wrap_GDIObject_GetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
773 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
775 PyObject
* obj0
= 0 ;
777 (char *) "self", NULL
780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_GetVisible",kwnames
,&obj0
)) goto fail
;
781 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGDIObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
784 result
= (bool)(arg1
)->GetVisible();
786 wxPyEndAllowThreads(__tstate
);
787 if (PyErr_Occurred()) SWIG_fail
;
789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
796 static PyObject
*_wrap_GDIObject_SetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
798 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
800 PyObject
* obj0
= 0 ;
801 PyObject
* obj1
= 0 ;
803 (char *) "self",(char *) "visible", NULL
806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GDIObject_SetVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
807 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGDIObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
809 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
810 if (PyErr_Occurred()) SWIG_fail
;
813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
814 (arg1
)->SetVisible(arg2
);
816 wxPyEndAllowThreads(__tstate
);
817 if (PyErr_Occurred()) SWIG_fail
;
819 Py_INCREF(Py_None
); resultobj
= Py_None
;
826 static PyObject
*_wrap_GDIObject_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
828 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
830 PyObject
* obj0
= 0 ;
832 (char *) "self", NULL
835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_IsNull",kwnames
,&obj0
)) goto fail
;
836 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGDIObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
839 result
= (bool)(arg1
)->IsNull();
841 wxPyEndAllowThreads(__tstate
);
842 if (PyErr_Occurred()) SWIG_fail
;
844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
851 static PyObject
* GDIObject_swigregister(PyObject
*self
, PyObject
*args
) {
853 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
854 SWIG_TypeClientData(SWIGTYPE_p_wxGDIObject
, obj
);
856 return Py_BuildValue((char *)"");
858 static PyObject
*_wrap_new_Colour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
860 unsigned char arg1
= (unsigned char) 0 ;
861 unsigned char arg2
= (unsigned char) 0 ;
862 unsigned char arg3
= (unsigned char) 0 ;
864 PyObject
* obj0
= 0 ;
865 PyObject
* obj1
= 0 ;
866 PyObject
* obj2
= 0 ;
868 (char *) "red",(char *) "green",(char *) "blue", NULL
871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
874 arg1
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj0
);
875 if (PyErr_Occurred()) SWIG_fail
;
880 arg2
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj1
);
881 if (PyErr_Occurred()) SWIG_fail
;
886 arg3
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj2
);
887 if (PyErr_Occurred()) SWIG_fail
;
891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
892 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
894 wxPyEndAllowThreads(__tstate
);
895 if (PyErr_Occurred()) SWIG_fail
;
897 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 1);
904 static PyObject
*_wrap_delete_Colour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
906 wxColour
*arg1
= (wxColour
*) 0 ;
907 PyObject
* obj0
= 0 ;
909 (char *) "self", NULL
912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Colour",kwnames
,&obj0
)) goto fail
;
913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
918 wxPyEndAllowThreads(__tstate
);
919 if (PyErr_Occurred()) SWIG_fail
;
921 Py_INCREF(Py_None
); resultobj
= Py_None
;
928 static PyObject
*_wrap_new_NamedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
933 PyObject
* obj0
= 0 ;
935 (char *) "colorName", NULL
938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) goto fail
;
940 arg1
= wxString_in_helper(obj0
);
941 if (arg1
== NULL
) SWIG_fail
;
945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
946 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
948 wxPyEndAllowThreads(__tstate
);
949 if (PyErr_Occurred()) SWIG_fail
;
951 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 1);
966 static PyObject
*_wrap_new_ColourRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
970 PyObject
* obj0
= 0 ;
972 (char *) "colRGB", NULL
975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) goto fail
;
977 arg1
= (unsigned long) SWIG_PyObj_AsUnsignedLong(obj0
);
978 if (PyErr_Occurred()) SWIG_fail
;
981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
982 result
= (wxColour
*)new wxColour(arg1
);
984 wxPyEndAllowThreads(__tstate
);
985 if (PyErr_Occurred()) SWIG_fail
;
987 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 1);
994 static PyObject
*_wrap_Colour_Red(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
996 wxColour
*arg1
= (wxColour
*) 0 ;
997 unsigned char result
;
998 PyObject
* obj0
= 0 ;
1000 (char *) "self", NULL
1003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Red",kwnames
,&obj0
)) goto fail
;
1004 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1007 result
= (unsigned char)(arg1
)->Red();
1009 wxPyEndAllowThreads(__tstate
);
1010 if (PyErr_Occurred()) SWIG_fail
;
1012 resultobj
= SWIG_PyObj_FromUnsignedChar((unsigned char)result
);
1019 static PyObject
*_wrap_Colour_Green(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1020 PyObject
*resultobj
;
1021 wxColour
*arg1
= (wxColour
*) 0 ;
1022 unsigned char result
;
1023 PyObject
* obj0
= 0 ;
1025 (char *) "self", NULL
1028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Green",kwnames
,&obj0
)) goto fail
;
1029 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1032 result
= (unsigned char)(arg1
)->Green();
1034 wxPyEndAllowThreads(__tstate
);
1035 if (PyErr_Occurred()) SWIG_fail
;
1037 resultobj
= SWIG_PyObj_FromUnsignedChar((unsigned char)result
);
1044 static PyObject
*_wrap_Colour_Blue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1045 PyObject
*resultobj
;
1046 wxColour
*arg1
= (wxColour
*) 0 ;
1047 unsigned char result
;
1048 PyObject
* obj0
= 0 ;
1050 (char *) "self", NULL
1053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Blue",kwnames
,&obj0
)) goto fail
;
1054 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1057 result
= (unsigned char)(arg1
)->Blue();
1059 wxPyEndAllowThreads(__tstate
);
1060 if (PyErr_Occurred()) SWIG_fail
;
1062 resultobj
= SWIG_PyObj_FromUnsignedChar((unsigned char)result
);
1069 static PyObject
*_wrap_Colour_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1070 PyObject
*resultobj
;
1071 wxColour
*arg1
= (wxColour
*) 0 ;
1073 PyObject
* obj0
= 0 ;
1075 (char *) "self", NULL
1078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Ok",kwnames
,&obj0
)) goto fail
;
1079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1082 result
= (bool)(arg1
)->Ok();
1084 wxPyEndAllowThreads(__tstate
);
1085 if (PyErr_Occurred()) SWIG_fail
;
1087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1094 static PyObject
*_wrap_Colour_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1095 PyObject
*resultobj
;
1096 wxColour
*arg1
= (wxColour
*) 0 ;
1097 unsigned char arg2
;
1098 unsigned char arg3
;
1099 unsigned char arg4
;
1100 PyObject
* obj0
= 0 ;
1101 PyObject
* obj1
= 0 ;
1102 PyObject
* obj2
= 0 ;
1103 PyObject
* obj3
= 0 ;
1105 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1109 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1111 arg2
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj1
);
1112 if (PyErr_Occurred()) SWIG_fail
;
1115 arg3
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj2
);
1116 if (PyErr_Occurred()) SWIG_fail
;
1119 arg4
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj3
);
1120 if (PyErr_Occurred()) SWIG_fail
;
1123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1124 (arg1
)->Set(arg2
,arg3
,arg4
);
1126 wxPyEndAllowThreads(__tstate
);
1127 if (PyErr_Occurred()) SWIG_fail
;
1129 Py_INCREF(Py_None
); resultobj
= Py_None
;
1136 static PyObject
*_wrap_Colour_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1137 PyObject
*resultobj
;
1138 wxColour
*arg1
= (wxColour
*) 0 ;
1139 unsigned long arg2
;
1140 PyObject
* obj0
= 0 ;
1141 PyObject
* obj1
= 0 ;
1143 (char *) "self",(char *) "colRGB", NULL
1146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1147 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1149 arg2
= (unsigned long) SWIG_PyObj_AsUnsignedLong(obj1
);
1150 if (PyErr_Occurred()) SWIG_fail
;
1153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1156 wxPyEndAllowThreads(__tstate
);
1157 if (PyErr_Occurred()) SWIG_fail
;
1159 Py_INCREF(Py_None
); resultobj
= Py_None
;
1166 static PyObject
*_wrap_Colour___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1167 PyObject
*resultobj
;
1168 wxColour
*arg1
= (wxColour
*) 0 ;
1169 wxColour
*arg2
= 0 ;
1172 PyObject
* obj0
= 0 ;
1173 PyObject
* obj1
= 0 ;
1175 (char *) "self",(char *) "colour", NULL
1178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
1179 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1182 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1186 result
= (bool)((wxColour
const *)arg1
)->operator ==((wxColour
const &)*arg2
);
1188 wxPyEndAllowThreads(__tstate
);
1189 if (PyErr_Occurred()) SWIG_fail
;
1191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1198 static PyObject
*_wrap_Colour___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1199 PyObject
*resultobj
;
1200 wxColour
*arg1
= (wxColour
*) 0 ;
1201 wxColour
*arg2
= 0 ;
1204 PyObject
* obj0
= 0 ;
1205 PyObject
* obj1
= 0 ;
1207 (char *) "self",(char *) "colour", NULL
1210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
1211 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1214 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1218 result
= (bool)((wxColour
const *)arg1
)->operator !=((wxColour
const &)*arg2
);
1220 wxPyEndAllowThreads(__tstate
);
1221 if (PyErr_Occurred()) SWIG_fail
;
1223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1230 static PyObject
*_wrap_Colour_InitFromName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1231 PyObject
*resultobj
;
1232 wxColour
*arg1
= (wxColour
*) 0 ;
1233 wxString
*arg2
= 0 ;
1234 bool temp2
= False
;
1235 PyObject
* obj0
= 0 ;
1236 PyObject
* obj1
= 0 ;
1238 (char *) "self",(char *) "colourName", NULL
1241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_InitFromName",kwnames
,&obj0
,&obj1
)) goto fail
;
1242 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1244 arg2
= wxString_in_helper(obj1
);
1245 if (arg2
== NULL
) SWIG_fail
;
1249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1250 (arg1
)->InitFromName((wxString
const &)*arg2
);
1252 wxPyEndAllowThreads(__tstate
);
1253 if (PyErr_Occurred()) SWIG_fail
;
1255 Py_INCREF(Py_None
); resultobj
= Py_None
;
1270 static PyObject
*_wrap_Colour_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1271 PyObject
*resultobj
;
1272 wxColour
*arg1
= (wxColour
*) 0 ;
1274 PyObject
* obj0
= 0 ;
1276 (char *) "self", NULL
1279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Get",kwnames
,&obj0
)) goto fail
;
1280 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1283 result
= (PyObject
*)wxColour_Get(arg1
);
1285 wxPyEndAllowThreads(__tstate
);
1286 if (PyErr_Occurred()) SWIG_fail
;
1295 static PyObject
* Colour_swigregister(PyObject
*self
, PyObject
*args
) {
1297 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1298 SWIG_TypeClientData(SWIGTYPE_p_wxColour
, obj
);
1300 return Py_BuildValue((char *)"");
1302 static PyObject
*_wrap_new_Palette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1303 PyObject
*resultobj
;
1305 unsigned char *arg2
= (unsigned char *) 0 ;
1306 unsigned char *arg3
= (unsigned char *) 0 ;
1307 unsigned char *arg4
= (unsigned char *) 0 ;
1309 PyObject
* obj0
= 0 ;
1310 PyObject
* obj1
= 0 ;
1311 PyObject
* obj2
= 0 ;
1312 PyObject
* obj3
= 0 ;
1314 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
1317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1319 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
1320 if (PyErr_Occurred()) SWIG_fail
;
1322 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_unsigned_char
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1323 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_unsigned_char
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1324 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_unsigned_char
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1327 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
1329 wxPyEndAllowThreads(__tstate
);
1330 if (PyErr_Occurred()) SWIG_fail
;
1332 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPalette
, 1);
1339 static PyObject
*_wrap_delete_Palette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1340 PyObject
*resultobj
;
1341 wxPalette
*arg1
= (wxPalette
*) 0 ;
1342 PyObject
* obj0
= 0 ;
1344 (char *) "self", NULL
1347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Palette",kwnames
,&obj0
)) goto fail
;
1348 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1353 wxPyEndAllowThreads(__tstate
);
1354 if (PyErr_Occurred()) SWIG_fail
;
1356 Py_INCREF(Py_None
); resultobj
= Py_None
;
1363 static PyObject
*_wrap_Palette_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1364 PyObject
*resultobj
;
1365 wxPalette
*arg1
= (wxPalette
*) 0 ;
1370 PyObject
* obj0
= 0 ;
1371 PyObject
* obj1
= 0 ;
1372 PyObject
* obj2
= 0 ;
1373 PyObject
* obj3
= 0 ;
1375 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1379 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1381 arg2
= (byte
) SWIG_PyObj_AsUnsignedChar(obj1
);
1382 if (PyErr_Occurred()) SWIG_fail
;
1385 arg3
= (byte
) SWIG_PyObj_AsUnsignedChar(obj2
);
1386 if (PyErr_Occurred()) SWIG_fail
;
1389 arg4
= (byte
) SWIG_PyObj_AsUnsignedChar(obj3
);
1390 if (PyErr_Occurred()) SWIG_fail
;
1393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1394 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
1396 wxPyEndAllowThreads(__tstate
);
1397 if (PyErr_Occurred()) SWIG_fail
;
1399 resultobj
= SWIG_PyObj_FromInt((int)result
);
1406 static PyObject
*_wrap_Palette_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1407 PyObject
*resultobj
;
1408 wxPalette
*arg1
= (wxPalette
*) 0 ;
1410 byte
*arg3
= (byte
*) 0 ;
1411 byte
*arg4
= (byte
*) 0 ;
1412 byte
*arg5
= (byte
*) 0 ;
1417 PyObject
* obj0
= 0 ;
1418 PyObject
* obj1
= 0 ;
1420 (char *) "self",(char *) "pixel", NULL
1426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1427 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1429 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1430 if (PyErr_Occurred()) SWIG_fail
;
1433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1434 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
1436 wxPyEndAllowThreads(__tstate
);
1437 if (PyErr_Occurred()) SWIG_fail
;
1439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1441 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1442 resultobj
= t_output_helper(resultobj
,o
);
1445 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
1446 resultobj
= t_output_helper(resultobj
,o
);
1449 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
1450 resultobj
= t_output_helper(resultobj
,o
);
1458 static PyObject
*_wrap_Palette_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1459 PyObject
*resultobj
;
1460 wxPalette
*arg1
= (wxPalette
*) 0 ;
1462 PyObject
* obj0
= 0 ;
1464 (char *) "self", NULL
1467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_Ok",kwnames
,&obj0
)) goto fail
;
1468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1471 result
= (bool)(arg1
)->Ok();
1473 wxPyEndAllowThreads(__tstate
);
1474 if (PyErr_Occurred()) SWIG_fail
;
1476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1483 static PyObject
* Palette_swigregister(PyObject
*self
, PyObject
*args
) {
1485 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1486 SWIG_TypeClientData(SWIGTYPE_p_wxPalette
, obj
);
1488 return Py_BuildValue((char *)"");
1490 static PyObject
*_wrap_new_Pen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1491 PyObject
*resultobj
;
1492 wxColour
*arg1
= 0 ;
1493 int arg2
= (int) 1 ;
1494 int arg3
= (int) wxSOLID
;
1497 PyObject
* obj0
= 0 ;
1498 PyObject
* obj1
= 0 ;
1499 PyObject
* obj2
= 0 ;
1501 (char *) "colour",(char *) "width",(char *) "style", NULL
1504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1507 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
1511 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1512 if (PyErr_Occurred()) SWIG_fail
;
1517 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1518 if (PyErr_Occurred()) SWIG_fail
;
1522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1523 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
1525 wxPyEndAllowThreads(__tstate
);
1526 if (PyErr_Occurred()) SWIG_fail
;
1528 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPen
, 1);
1535 static PyObject
*_wrap_delete_Pen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1536 PyObject
*resultobj
;
1537 wxPen
*arg1
= (wxPen
*) 0 ;
1538 PyObject
* obj0
= 0 ;
1540 (char *) "self", NULL
1543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Pen",kwnames
,&obj0
)) goto fail
;
1544 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1549 wxPyEndAllowThreads(__tstate
);
1550 if (PyErr_Occurred()) SWIG_fail
;
1552 Py_INCREF(Py_None
); resultobj
= Py_None
;
1559 static PyObject
*_wrap_Pen_GetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1560 PyObject
*resultobj
;
1561 wxPen
*arg1
= (wxPen
*) 0 ;
1563 PyObject
* obj0
= 0 ;
1565 (char *) "self", NULL
1568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetCap",kwnames
,&obj0
)) goto fail
;
1569 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1572 result
= (int)(arg1
)->GetCap();
1574 wxPyEndAllowThreads(__tstate
);
1575 if (PyErr_Occurred()) SWIG_fail
;
1577 resultobj
= SWIG_PyObj_FromInt((int)result
);
1584 static PyObject
*_wrap_Pen_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1585 PyObject
*resultobj
;
1586 wxPen
*arg1
= (wxPen
*) 0 ;
1588 PyObject
* obj0
= 0 ;
1590 (char *) "self", NULL
1593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetColour",kwnames
,&obj0
)) goto fail
;
1594 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1597 result
= (arg1
)->GetColour();
1599 wxPyEndAllowThreads(__tstate
);
1600 if (PyErr_Occurred()) SWIG_fail
;
1603 wxColour
* resultptr
;
1604 resultptr
= new wxColour((wxColour
&) result
);
1605 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1613 static PyObject
*_wrap_Pen_GetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1614 PyObject
*resultobj
;
1615 wxPen
*arg1
= (wxPen
*) 0 ;
1617 PyObject
* obj0
= 0 ;
1619 (char *) "self", NULL
1622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetJoin",kwnames
,&obj0
)) goto fail
;
1623 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1626 result
= (int)(arg1
)->GetJoin();
1628 wxPyEndAllowThreads(__tstate
);
1629 if (PyErr_Occurred()) SWIG_fail
;
1631 resultobj
= SWIG_PyObj_FromInt((int)result
);
1638 static PyObject
*_wrap_Pen_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1639 PyObject
*resultobj
;
1640 wxPen
*arg1
= (wxPen
*) 0 ;
1642 PyObject
* obj0
= 0 ;
1644 (char *) "self", NULL
1647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStyle",kwnames
,&obj0
)) goto fail
;
1648 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1651 result
= (int)(arg1
)->GetStyle();
1653 wxPyEndAllowThreads(__tstate
);
1654 if (PyErr_Occurred()) SWIG_fail
;
1656 resultobj
= SWIG_PyObj_FromInt((int)result
);
1663 static PyObject
*_wrap_Pen_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1664 PyObject
*resultobj
;
1665 wxPen
*arg1
= (wxPen
*) 0 ;
1667 PyObject
* obj0
= 0 ;
1669 (char *) "self", NULL
1672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetWidth",kwnames
,&obj0
)) goto fail
;
1673 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1676 result
= (int)(arg1
)->GetWidth();
1678 wxPyEndAllowThreads(__tstate
);
1679 if (PyErr_Occurred()) SWIG_fail
;
1681 resultobj
= SWIG_PyObj_FromInt((int)result
);
1688 static PyObject
*_wrap_Pen_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1689 PyObject
*resultobj
;
1690 wxPen
*arg1
= (wxPen
*) 0 ;
1692 PyObject
* obj0
= 0 ;
1694 (char *) "self", NULL
1697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_Ok",kwnames
,&obj0
)) goto fail
;
1698 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1701 result
= (bool)(arg1
)->Ok();
1703 wxPyEndAllowThreads(__tstate
);
1704 if (PyErr_Occurred()) SWIG_fail
;
1706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1713 static PyObject
*_wrap_Pen_SetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1714 PyObject
*resultobj
;
1715 wxPen
*arg1
= (wxPen
*) 0 ;
1717 PyObject
* obj0
= 0 ;
1718 PyObject
* obj1
= 0 ;
1720 (char *) "self",(char *) "cap_style", NULL
1723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) goto fail
;
1724 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1726 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1727 if (PyErr_Occurred()) SWIG_fail
;
1730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1731 (arg1
)->SetCap(arg2
);
1733 wxPyEndAllowThreads(__tstate
);
1734 if (PyErr_Occurred()) SWIG_fail
;
1736 Py_INCREF(Py_None
); resultobj
= Py_None
;
1743 static PyObject
*_wrap_Pen_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1744 PyObject
*resultobj
;
1745 wxPen
*arg1
= (wxPen
*) 0 ;
1746 wxColour
*arg2
= 0 ;
1748 PyObject
* obj0
= 0 ;
1749 PyObject
* obj1
= 0 ;
1751 (char *) "self",(char *) "colour", NULL
1754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
1755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1758 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1762 (arg1
)->SetColour(*arg2
);
1764 wxPyEndAllowThreads(__tstate
);
1765 if (PyErr_Occurred()) SWIG_fail
;
1767 Py_INCREF(Py_None
); resultobj
= Py_None
;
1774 static PyObject
*_wrap_Pen_SetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1775 PyObject
*resultobj
;
1776 wxPen
*arg1
= (wxPen
*) 0 ;
1778 PyObject
* obj0
= 0 ;
1779 PyObject
* obj1
= 0 ;
1781 (char *) "self",(char *) "join_style", NULL
1784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) goto fail
;
1785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1787 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1788 if (PyErr_Occurred()) SWIG_fail
;
1791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1792 (arg1
)->SetJoin(arg2
);
1794 wxPyEndAllowThreads(__tstate
);
1795 if (PyErr_Occurred()) SWIG_fail
;
1797 Py_INCREF(Py_None
); resultobj
= Py_None
;
1804 static PyObject
*_wrap_Pen_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1805 PyObject
*resultobj
;
1806 wxPen
*arg1
= (wxPen
*) 0 ;
1808 PyObject
* obj0
= 0 ;
1809 PyObject
* obj1
= 0 ;
1811 (char *) "self",(char *) "style", NULL
1814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
1815 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1817 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1818 if (PyErr_Occurred()) SWIG_fail
;
1821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1822 (arg1
)->SetStyle(arg2
);
1824 wxPyEndAllowThreads(__tstate
);
1825 if (PyErr_Occurred()) SWIG_fail
;
1827 Py_INCREF(Py_None
); resultobj
= Py_None
;
1834 static PyObject
*_wrap_Pen_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1835 PyObject
*resultobj
;
1836 wxPen
*arg1
= (wxPen
*) 0 ;
1838 PyObject
* obj0
= 0 ;
1839 PyObject
* obj1
= 0 ;
1841 (char *) "self",(char *) "width", NULL
1844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
1845 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1847 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1848 if (PyErr_Occurred()) SWIG_fail
;
1851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1852 (arg1
)->SetWidth(arg2
);
1854 wxPyEndAllowThreads(__tstate
);
1855 if (PyErr_Occurred()) SWIG_fail
;
1857 Py_INCREF(Py_None
); resultobj
= Py_None
;
1864 static PyObject
*_wrap_Pen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1865 PyObject
*resultobj
;
1866 wxPen
*arg1
= (wxPen
*) 0 ;
1868 wxDash
*arg3
= (wxDash
*) 0 ;
1869 PyObject
* obj0
= 0 ;
1870 PyObject
* obj1
= 0 ;
1872 (char *) "self",(char *) "dashes", NULL
1875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
1876 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1878 arg2
= PyList_Size(obj1
);
1879 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
1880 if (arg3
== NULL
) SWIG_fail
;
1883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1884 (arg1
)->SetDashes(arg2
,arg3
);
1886 wxPyEndAllowThreads(__tstate
);
1887 if (PyErr_Occurred()) SWIG_fail
;
1889 Py_INCREF(Py_None
); resultobj
= Py_None
;
1891 if (arg3
) delete [] arg3
;
1896 if (arg3
) delete [] arg3
;
1902 static PyObject
*_wrap_Pen_GetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1903 PyObject
*resultobj
;
1904 wxPen
*arg1
= (wxPen
*) 0 ;
1906 PyObject
* obj0
= 0 ;
1908 (char *) "self", NULL
1911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashes",kwnames
,&obj0
)) goto fail
;
1912 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1915 result
= (PyObject
*)wxPen_GetDashes(arg1
);
1917 wxPyEndAllowThreads(__tstate
);
1918 if (PyErr_Occurred()) SWIG_fail
;
1927 static PyObject
* Pen_swigregister(PyObject
*self
, PyObject
*args
) {
1929 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1930 SWIG_TypeClientData(SWIGTYPE_p_wxPen
, obj
);
1932 return Py_BuildValue((char *)"");
1934 static PyObject
*_wrap_new_PyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1935 PyObject
*resultobj
;
1936 wxColour
*arg1
= 0 ;
1937 int arg2
= (int) 1 ;
1938 int arg3
= (int) wxSOLID
;
1941 PyObject
* obj0
= 0 ;
1942 PyObject
* obj1
= 0 ;
1943 PyObject
* obj2
= 0 ;
1945 (char *) "colour",(char *) "width",(char *) "style", NULL
1948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_PyPen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1951 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
1955 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1956 if (PyErr_Occurred()) SWIG_fail
;
1961 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1962 if (PyErr_Occurred()) SWIG_fail
;
1966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1967 result
= (wxPyPen
*)new wxPyPen(*arg1
,arg2
,arg3
);
1969 wxPyEndAllowThreads(__tstate
);
1970 if (PyErr_Occurred()) SWIG_fail
;
1972 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPen
, 1);
1979 static PyObject
*_wrap_delete_PyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1980 PyObject
*resultobj
;
1981 wxPyPen
*arg1
= (wxPyPen
*) 0 ;
1982 PyObject
* obj0
= 0 ;
1984 (char *) "self", NULL
1987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyPen",kwnames
,&obj0
)) goto fail
;
1988 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1993 wxPyEndAllowThreads(__tstate
);
1994 if (PyErr_Occurred()) SWIG_fail
;
1996 Py_INCREF(Py_None
); resultobj
= Py_None
;
2003 static PyObject
*_wrap_PyPen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2004 PyObject
*resultobj
;
2005 wxPyPen
*arg1
= (wxPyPen
*) 0 ;
2007 wxDash
*arg3
= (wxDash
*) 0 ;
2008 PyObject
* obj0
= 0 ;
2009 PyObject
* obj1
= 0 ;
2011 (char *) "self",(char *) "dashes", NULL
2014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
2015 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2017 arg2
= PyList_Size(obj1
);
2018 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
2019 if (arg3
== NULL
) SWIG_fail
;
2022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2023 (arg1
)->SetDashes(arg2
,arg3
);
2025 wxPyEndAllowThreads(__tstate
);
2026 if (PyErr_Occurred()) SWIG_fail
;
2028 Py_INCREF(Py_None
); resultobj
= Py_None
;
2030 if (arg3
) delete [] arg3
;
2035 if (arg3
) delete [] arg3
;
2041 static PyObject
* PyPen_swigregister(PyObject
*self
, PyObject
*args
) {
2043 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2044 SWIG_TypeClientData(SWIGTYPE_p_wxPyPen
, obj
);
2046 return Py_BuildValue((char *)"");
2048 static PyObject
*_wrap_new_Brush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2049 PyObject
*resultobj
;
2050 wxColour
*arg1
= 0 ;
2051 int arg2
= (int) wxSOLID
;
2054 PyObject
* obj0
= 0 ;
2055 PyObject
* obj1
= 0 ;
2057 (char *) "colour",(char *) "style", NULL
2060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) goto fail
;
2063 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
2067 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2068 if (PyErr_Occurred()) SWIG_fail
;
2072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2073 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
2075 wxPyEndAllowThreads(__tstate
);
2076 if (PyErr_Occurred()) SWIG_fail
;
2078 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBrush
, 1);
2085 static PyObject
*_wrap_delete_Brush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2086 PyObject
*resultobj
;
2087 wxBrush
*arg1
= (wxBrush
*) 0 ;
2088 PyObject
* obj0
= 0 ;
2090 (char *) "self", NULL
2093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Brush",kwnames
,&obj0
)) goto fail
;
2094 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2099 wxPyEndAllowThreads(__tstate
);
2100 if (PyErr_Occurred()) SWIG_fail
;
2102 Py_INCREF(Py_None
); resultobj
= Py_None
;
2109 static PyObject
*_wrap_Brush_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2110 PyObject
*resultobj
;
2111 wxBrush
*arg1
= (wxBrush
*) 0 ;
2112 wxColour
*arg2
= 0 ;
2114 PyObject
* obj0
= 0 ;
2115 PyObject
* obj1
= 0 ;
2117 (char *) "self",(char *) "col", NULL
2120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2121 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2124 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2128 (arg1
)->SetColour((wxColour
const &)*arg2
);
2130 wxPyEndAllowThreads(__tstate
);
2131 if (PyErr_Occurred()) SWIG_fail
;
2133 Py_INCREF(Py_None
); resultobj
= Py_None
;
2140 static PyObject
*_wrap_Brush_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2141 PyObject
*resultobj
;
2142 wxBrush
*arg1
= (wxBrush
*) 0 ;
2144 PyObject
* obj0
= 0 ;
2145 PyObject
* obj1
= 0 ;
2147 (char *) "self",(char *) "style", NULL
2150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2151 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2153 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2154 if (PyErr_Occurred()) SWIG_fail
;
2157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2158 (arg1
)->SetStyle(arg2
);
2160 wxPyEndAllowThreads(__tstate
);
2161 if (PyErr_Occurred()) SWIG_fail
;
2163 Py_INCREF(Py_None
); resultobj
= Py_None
;
2170 static PyObject
*_wrap_Brush_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2171 PyObject
*resultobj
;
2172 wxBrush
*arg1
= (wxBrush
*) 0 ;
2173 wxBitmap
*arg2
= 0 ;
2174 PyObject
* obj0
= 0 ;
2175 PyObject
* obj1
= 0 ;
2177 (char *) "self",(char *) "stipple", NULL
2180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
2181 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2182 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2184 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2188 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
2190 wxPyEndAllowThreads(__tstate
);
2191 if (PyErr_Occurred()) SWIG_fail
;
2193 Py_INCREF(Py_None
); resultobj
= Py_None
;
2200 static PyObject
*_wrap_Brush_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2201 PyObject
*resultobj
;
2202 wxBrush
*arg1
= (wxBrush
*) 0 ;
2204 PyObject
* obj0
= 0 ;
2206 (char *) "self", NULL
2209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetColour",kwnames
,&obj0
)) goto fail
;
2210 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2213 result
= ((wxBrush
const *)arg1
)->GetColour();
2215 wxPyEndAllowThreads(__tstate
);
2216 if (PyErr_Occurred()) SWIG_fail
;
2219 wxColour
* resultptr
;
2220 resultptr
= new wxColour((wxColour
&) result
);
2221 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
2229 static PyObject
*_wrap_Brush_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2230 PyObject
*resultobj
;
2231 wxBrush
*arg1
= (wxBrush
*) 0 ;
2233 PyObject
* obj0
= 0 ;
2235 (char *) "self", NULL
2238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStyle",kwnames
,&obj0
)) goto fail
;
2239 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2242 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
2244 wxPyEndAllowThreads(__tstate
);
2245 if (PyErr_Occurred()) SWIG_fail
;
2247 resultobj
= SWIG_PyObj_FromInt((int)result
);
2254 static PyObject
*_wrap_Brush_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2255 PyObject
*resultobj
;
2256 wxBrush
*arg1
= (wxBrush
*) 0 ;
2258 PyObject
* obj0
= 0 ;
2260 (char *) "self", NULL
2263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStipple",kwnames
,&obj0
)) goto fail
;
2264 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2267 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
2269 wxPyEndAllowThreads(__tstate
);
2270 if (PyErr_Occurred()) SWIG_fail
;
2272 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
2279 static PyObject
*_wrap_Brush_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2280 PyObject
*resultobj
;
2281 wxBrush
*arg1
= (wxBrush
*) 0 ;
2283 PyObject
* obj0
= 0 ;
2285 (char *) "self", NULL
2288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_Ok",kwnames
,&obj0
)) goto fail
;
2289 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2292 result
= (bool)(arg1
)->Ok();
2294 wxPyEndAllowThreads(__tstate
);
2295 if (PyErr_Occurred()) SWIG_fail
;
2297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2304 static PyObject
*_wrap_Brush_GetMacTheme(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2305 PyObject
*resultobj
;
2306 wxBrush
*arg1
= (wxBrush
*) 0 ;
2308 PyObject
* obj0
= 0 ;
2310 (char *) "self", NULL
2313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetMacTheme",kwnames
,&obj0
)) goto fail
;
2314 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2317 result
= (short)(arg1
)->GetMacTheme();
2319 wxPyEndAllowThreads(__tstate
);
2320 if (PyErr_Occurred()) SWIG_fail
;
2322 resultobj
= SWIG_PyObj_FromShort((short)result
);
2329 static PyObject
*_wrap_Brush_SetMacTheme(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2330 PyObject
*resultobj
;
2331 wxBrush
*arg1
= (wxBrush
*) 0 ;
2333 PyObject
* obj0
= 0 ;
2334 PyObject
* obj1
= 0 ;
2336 (char *) "self",(char *) "macThemeBrush", NULL
2339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetMacTheme",kwnames
,&obj0
,&obj1
)) goto fail
;
2340 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2342 arg2
= (short) SWIG_PyObj_AsShort(obj1
);
2343 if (PyErr_Occurred()) SWIG_fail
;
2346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2347 (arg1
)->SetMacTheme(arg2
);
2349 wxPyEndAllowThreads(__tstate
);
2350 if (PyErr_Occurred()) SWIG_fail
;
2352 Py_INCREF(Py_None
); resultobj
= Py_None
;
2359 static PyObject
* Brush_swigregister(PyObject
*self
, PyObject
*args
) {
2361 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2362 SWIG_TypeClientData(SWIGTYPE_p_wxBrush
, obj
);
2364 return Py_BuildValue((char *)"");
2366 static PyObject
*_wrap_new_Bitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2367 PyObject
*resultobj
;
2368 wxString
*arg1
= 0 ;
2369 int arg2
= (int) wxBITMAP_TYPE_ANY
;
2371 bool temp1
= False
;
2372 PyObject
* obj0
= 0 ;
2373 PyObject
* obj1
= 0 ;
2375 (char *) "name",(char *) "type", NULL
2378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
2380 arg1
= wxString_in_helper(obj0
);
2381 if (arg1
== NULL
) SWIG_fail
;
2386 arg2
= (wxBitmapType
) SWIG_PyObj_AsInt(obj1
);
2387 if (PyErr_Occurred()) SWIG_fail
;
2391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2392 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,(wxBitmapType
)arg2
);
2394 wxPyEndAllowThreads(__tstate
);
2395 if (PyErr_Occurred()) SWIG_fail
;
2397 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 1);
2412 static PyObject
*_wrap_delete_Bitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2413 PyObject
*resultobj
;
2414 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2415 PyObject
* obj0
= 0 ;
2417 (char *) "self", NULL
2420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Bitmap",kwnames
,&obj0
)) goto fail
;
2421 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2426 wxPyEndAllowThreads(__tstate
);
2427 if (PyErr_Occurred()) SWIG_fail
;
2429 Py_INCREF(Py_None
); resultobj
= Py_None
;
2436 static PyObject
*_wrap_new_EmptyBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2437 PyObject
*resultobj
;
2440 int arg3
= (int) -1 ;
2442 PyObject
* obj0
= 0 ;
2443 PyObject
* obj1
= 0 ;
2444 PyObject
* obj2
= 0 ;
2446 (char *) "width",(char *) "height",(char *) "depth", NULL
2449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2451 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
2452 if (PyErr_Occurred()) SWIG_fail
;
2455 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2456 if (PyErr_Occurred()) SWIG_fail
;
2460 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2461 if (PyErr_Occurred()) SWIG_fail
;
2465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2466 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
2468 wxPyEndAllowThreads(__tstate
);
2469 if (PyErr_Occurred()) SWIG_fail
;
2471 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 1);
2478 static PyObject
*_wrap_new_BitmapFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2479 PyObject
*resultobj
;
2482 PyObject
* obj0
= 0 ;
2484 (char *) "icon", NULL
2487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) goto fail
;
2488 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2490 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2494 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
2496 wxPyEndAllowThreads(__tstate
);
2497 if (PyErr_Occurred()) SWIG_fail
;
2499 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 1);
2506 static PyObject
*_wrap_new_BitmapFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2507 PyObject
*resultobj
;
2509 int arg2
= (int) -1 ;
2511 PyObject
* obj0
= 0 ;
2512 PyObject
* obj1
= 0 ;
2514 (char *) "image",(char *) "depth", NULL
2517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) goto fail
;
2518 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2520 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2524 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2525 if (PyErr_Occurred()) SWIG_fail
;
2529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2530 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
2532 wxPyEndAllowThreads(__tstate
);
2533 if (PyErr_Occurred()) SWIG_fail
;
2535 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 1);
2542 static PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2543 PyObject
*resultobj
;
2544 PyObject
*arg1
= (PyObject
*) 0 ;
2546 PyObject
* obj0
= 0 ;
2548 (char *) "listOfStrings", NULL
2551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) goto fail
;
2554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2555 result
= (wxBitmap
*)new_wxBitmap(arg1
);
2557 wxPyEndAllowThreads(__tstate
);
2558 if (PyErr_Occurred()) SWIG_fail
;
2560 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 1);
2567 static PyObject
*_wrap_new_BitmapFromBits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2568 PyObject
*resultobj
;
2569 PyObject
*arg1
= (PyObject
*) 0 ;
2572 int arg4
= (int) 1 ;
2574 PyObject
* obj0
= 0 ;
2575 PyObject
* obj1
= 0 ;
2576 PyObject
* obj2
= 0 ;
2577 PyObject
* obj3
= 0 ;
2579 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
2582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2585 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2586 if (PyErr_Occurred()) SWIG_fail
;
2589 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2590 if (PyErr_Occurred()) SWIG_fail
;
2594 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
2595 if (PyErr_Occurred()) SWIG_fail
;
2599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2600 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
2602 wxPyEndAllowThreads(__tstate
);
2603 if (PyErr_Occurred()) SWIG_fail
;
2605 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 1);
2612 static PyObject
*_wrap_Bitmap_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2613 PyObject
*resultobj
;
2614 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2616 PyObject
* obj0
= 0 ;
2618 (char *) "self", NULL
2621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_Ok",kwnames
,&obj0
)) goto fail
;
2622 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2625 result
= (bool)(arg1
)->Ok();
2627 wxPyEndAllowThreads(__tstate
);
2628 if (PyErr_Occurred()) SWIG_fail
;
2630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2637 static PyObject
*_wrap_Bitmap_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2638 PyObject
*resultobj
;
2639 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2641 PyObject
* obj0
= 0 ;
2643 (char *) "self", NULL
2646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetWidth",kwnames
,&obj0
)) goto fail
;
2647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2650 result
= (int)(arg1
)->GetWidth();
2652 wxPyEndAllowThreads(__tstate
);
2653 if (PyErr_Occurred()) SWIG_fail
;
2655 resultobj
= SWIG_PyObj_FromInt((int)result
);
2662 static PyObject
*_wrap_Bitmap_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2663 PyObject
*resultobj
;
2664 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2666 PyObject
* obj0
= 0 ;
2668 (char *) "self", NULL
2671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHeight",kwnames
,&obj0
)) goto fail
;
2672 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2675 result
= (int)(arg1
)->GetHeight();
2677 wxPyEndAllowThreads(__tstate
);
2678 if (PyErr_Occurred()) SWIG_fail
;
2680 resultobj
= SWIG_PyObj_FromInt((int)result
);
2687 static PyObject
*_wrap_Bitmap_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2688 PyObject
*resultobj
;
2689 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2691 PyObject
* obj0
= 0 ;
2693 (char *) "self", NULL
2696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetDepth",kwnames
,&obj0
)) goto fail
;
2697 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2700 result
= (int)(arg1
)->GetDepth();
2702 wxPyEndAllowThreads(__tstate
);
2703 if (PyErr_Occurred()) SWIG_fail
;
2705 resultobj
= SWIG_PyObj_FromInt((int)result
);
2712 static PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2713 PyObject
*resultobj
;
2714 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2715 SwigValueWrapper
< wxImage
> result
;
2716 PyObject
* obj0
= 0 ;
2718 (char *) "self", NULL
2721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_ConvertToImage",kwnames
,&obj0
)) goto fail
;
2722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2725 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
2727 wxPyEndAllowThreads(__tstate
);
2728 if (PyErr_Occurred()) SWIG_fail
;
2731 wxImage
* resultptr
;
2732 resultptr
= new wxImage((wxImage
&) result
);
2733 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
2741 static PyObject
*_wrap_Bitmap_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2742 PyObject
*resultobj
;
2743 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2745 PyObject
* obj0
= 0 ;
2747 (char *) "self", NULL
2750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetMask",kwnames
,&obj0
)) goto fail
;
2751 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2754 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
2756 wxPyEndAllowThreads(__tstate
);
2757 if (PyErr_Occurred()) SWIG_fail
;
2759 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMask
, 0);
2766 static PyObject
*_wrap_Bitmap_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2767 PyObject
*resultobj
;
2768 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2769 wxMask
*arg2
= (wxMask
*) 0 ;
2770 PyObject
* obj0
= 0 ;
2771 PyObject
* obj1
= 0 ;
2773 (char *) "self",(char *) "mask", NULL
2776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
2777 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2778 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMask
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2781 (arg1
)->SetMask(arg2
);
2783 wxPyEndAllowThreads(__tstate
);
2784 if (PyErr_Occurred()) SWIG_fail
;
2786 Py_INCREF(Py_None
); resultobj
= Py_None
;
2793 static PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2794 PyObject
*resultobj
;
2795 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2796 wxColour
*arg2
= 0 ;
2798 PyObject
* obj0
= 0 ;
2799 PyObject
* obj1
= 0 ;
2801 (char *) "self",(char *) "colour", NULL
2804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2805 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2808 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2812 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
2814 wxPyEndAllowThreads(__tstate
);
2815 if (PyErr_Occurred()) SWIG_fail
;
2817 Py_INCREF(Py_None
); resultobj
= Py_None
;
2824 static PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2825 PyObject
*resultobj
;
2826 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2828 SwigValueWrapper
< wxBitmap
> result
;
2830 PyObject
* obj0
= 0 ;
2831 PyObject
* obj1
= 0 ;
2833 (char *) "self",(char *) "rect", NULL
2836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
2837 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2840 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2844 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
2846 wxPyEndAllowThreads(__tstate
);
2847 if (PyErr_Occurred()) SWIG_fail
;
2850 wxBitmap
* resultptr
;
2851 resultptr
= new wxBitmap((wxBitmap
&) result
);
2852 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
2860 static PyObject
*_wrap_Bitmap_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2861 PyObject
*resultobj
;
2862 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2863 wxString
*arg2
= 0 ;
2865 wxPalette
*arg4
= (wxPalette
*) (wxPalette
*) NULL
;
2867 bool temp2
= False
;
2868 PyObject
* obj0
= 0 ;
2869 PyObject
* obj1
= 0 ;
2870 PyObject
* obj2
= 0 ;
2871 PyObject
* obj3
= 0 ;
2873 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
2876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2879 arg2
= wxString_in_helper(obj1
);
2880 if (arg2
== NULL
) SWIG_fail
;
2884 arg3
= (wxBitmapType
) SWIG_PyObj_AsInt(obj2
);
2885 if (PyErr_Occurred()) SWIG_fail
;
2888 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2892 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
,arg4
);
2894 wxPyEndAllowThreads(__tstate
);
2895 if (PyErr_Occurred()) SWIG_fail
;
2897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2912 static PyObject
*_wrap_Bitmap_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2913 PyObject
*resultobj
;
2914 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2915 wxString
*arg2
= 0 ;
2918 bool temp2
= False
;
2919 PyObject
* obj0
= 0 ;
2920 PyObject
* obj1
= 0 ;
2921 PyObject
* obj2
= 0 ;
2923 (char *) "self",(char *) "name",(char *) "type", NULL
2926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2927 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2929 arg2
= wxString_in_helper(obj1
);
2930 if (arg2
== NULL
) SWIG_fail
;
2934 arg3
= (wxBitmapType
) SWIG_PyObj_AsInt(obj2
);
2935 if (PyErr_Occurred()) SWIG_fail
;
2938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2939 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
2941 wxPyEndAllowThreads(__tstate
);
2942 if (PyErr_Occurred()) SWIG_fail
;
2944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2959 static PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2960 PyObject
*resultobj
;
2961 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2964 PyObject
* obj0
= 0 ;
2965 PyObject
* obj1
= 0 ;
2967 (char *) "self",(char *) "icon", NULL
2970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
2971 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2972 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2974 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2978 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
2980 wxPyEndAllowThreads(__tstate
);
2981 if (PyErr_Occurred()) SWIG_fail
;
2983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2990 static PyObject
*_wrap_Bitmap_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2991 PyObject
*resultobj
;
2992 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2994 PyObject
* obj0
= 0 ;
2995 PyObject
* obj1
= 0 ;
2997 (char *) "self",(char *) "height", NULL
3000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3001 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3003 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3004 if (PyErr_Occurred()) SWIG_fail
;
3007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3008 (arg1
)->SetHeight(arg2
);
3010 wxPyEndAllowThreads(__tstate
);
3011 if (PyErr_Occurred()) SWIG_fail
;
3013 Py_INCREF(Py_None
); resultobj
= Py_None
;
3020 static PyObject
*_wrap_Bitmap_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3021 PyObject
*resultobj
;
3022 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3024 PyObject
* obj0
= 0 ;
3025 PyObject
* obj1
= 0 ;
3027 (char *) "self",(char *) "width", NULL
3030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3031 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3033 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3034 if (PyErr_Occurred()) SWIG_fail
;
3037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3038 (arg1
)->SetWidth(arg2
);
3040 wxPyEndAllowThreads(__tstate
);
3041 if (PyErr_Occurred()) SWIG_fail
;
3043 Py_INCREF(Py_None
); resultobj
= Py_None
;
3050 static PyObject
*_wrap_Bitmap_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3051 PyObject
*resultobj
;
3052 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3054 PyObject
* obj0
= 0 ;
3055 PyObject
* obj1
= 0 ;
3057 (char *) "self",(char *) "depth", NULL
3060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
3061 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3063 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3064 if (PyErr_Occurred()) SWIG_fail
;
3067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3068 (arg1
)->SetDepth(arg2
);
3070 wxPyEndAllowThreads(__tstate
);
3071 if (PyErr_Occurred()) SWIG_fail
;
3073 Py_INCREF(Py_None
); resultobj
= Py_None
;
3080 static PyObject
* Bitmap_swigregister(PyObject
*self
, PyObject
*args
) {
3082 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3083 SWIG_TypeClientData(SWIGTYPE_p_wxBitmap
, obj
);
3085 return Py_BuildValue((char *)"");
3087 static PyObject
*_wrap_new_Mask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3088 PyObject
*resultobj
;
3089 wxBitmap
*arg1
= 0 ;
3091 PyObject
* obj0
= 0 ;
3093 (char *) "bitmap", NULL
3096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Mask",kwnames
,&obj0
)) goto fail
;
3097 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3099 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3103 result
= (wxMask
*)new wxMask((wxBitmap
const &)*arg1
);
3105 wxPyEndAllowThreads(__tstate
);
3106 if (PyErr_Occurred()) SWIG_fail
;
3108 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMask
, 1);
3115 static PyObject
*_wrap_new_MaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3116 PyObject
*resultobj
;
3117 wxBitmap
*arg1
= 0 ;
3118 wxColour
*arg2
= 0 ;
3121 PyObject
* obj0
= 0 ;
3122 PyObject
* obj1
= 0 ;
3124 (char *) "bitmap",(char *) "colour", NULL
3127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MaskColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3128 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3130 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3134 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3138 result
= (wxMask
*)new wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
3140 wxPyEndAllowThreads(__tstate
);
3141 if (PyErr_Occurred()) SWIG_fail
;
3143 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMask
, 1);
3150 static PyObject
* Mask_swigregister(PyObject
*self
, PyObject
*args
) {
3152 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3153 SWIG_TypeClientData(SWIGTYPE_p_wxMask
, obj
);
3155 return Py_BuildValue((char *)"");
3157 static PyObject
*_wrap_new_Icon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3158 PyObject
*resultobj
;
3159 wxString
*arg1
= 0 ;
3161 int arg3
= (int) -1 ;
3162 int arg4
= (int) -1 ;
3164 bool temp1
= False
;
3165 PyObject
* obj0
= 0 ;
3166 PyObject
* obj1
= 0 ;
3167 PyObject
* obj2
= 0 ;
3168 PyObject
* obj3
= 0 ;
3170 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
3173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3175 arg1
= wxString_in_helper(obj0
);
3176 if (arg1
== NULL
) SWIG_fail
;
3180 arg2
= (wxBitmapType
) SWIG_PyObj_AsInt(obj1
);
3181 if (PyErr_Occurred()) SWIG_fail
;
3185 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3186 if (PyErr_Occurred()) SWIG_fail
;
3191 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
3192 if (PyErr_Occurred()) SWIG_fail
;
3196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3197 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,(wxBitmapType
)arg2
,arg3
,arg4
);
3199 wxPyEndAllowThreads(__tstate
);
3200 if (PyErr_Occurred()) SWIG_fail
;
3202 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
3217 static PyObject
*_wrap_delete_Icon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3218 PyObject
*resultobj
;
3219 wxIcon
*arg1
= (wxIcon
*) 0 ;
3220 PyObject
* obj0
= 0 ;
3222 (char *) "self", NULL
3225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Icon",kwnames
,&obj0
)) goto fail
;
3226 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3231 wxPyEndAllowThreads(__tstate
);
3232 if (PyErr_Occurred()) SWIG_fail
;
3234 Py_INCREF(Py_None
); resultobj
= Py_None
;
3241 static PyObject
*_wrap_new_EmptyIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3242 PyObject
*resultobj
;
3248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EmptyIcon",kwnames
)) goto fail
;
3250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3251 result
= (wxIcon
*)new wxIcon();
3253 wxPyEndAllowThreads(__tstate
);
3254 if (PyErr_Occurred()) SWIG_fail
;
3256 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
3263 static PyObject
*_wrap_new_IconFromLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3264 PyObject
*resultobj
;
3265 wxIconLocation
*arg1
= 0 ;
3267 PyObject
* obj0
= 0 ;
3269 (char *) "loc", NULL
3272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) goto fail
;
3273 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3275 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3279 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
3281 wxPyEndAllowThreads(__tstate
);
3282 if (PyErr_Occurred()) SWIG_fail
;
3284 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
3291 static PyObject
*_wrap_new_IconFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3292 PyObject
*resultobj
;
3293 wxBitmap
*arg1
= 0 ;
3295 PyObject
* obj0
= 0 ;
3297 (char *) "bmp", NULL
3300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) goto fail
;
3301 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3303 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3307 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
3309 wxPyEndAllowThreads(__tstate
);
3310 if (PyErr_Occurred()) SWIG_fail
;
3312 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
3319 static PyObject
*_wrap_new_IconFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3320 PyObject
*resultobj
;
3321 PyObject
*arg1
= (PyObject
*) 0 ;
3323 PyObject
* obj0
= 0 ;
3325 (char *) "listOfStrings", NULL
3328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) goto fail
;
3331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3332 result
= (wxIcon
*)new_wxIcon(arg1
);
3334 wxPyEndAllowThreads(__tstate
);
3335 if (PyErr_Occurred()) SWIG_fail
;
3337 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
3344 static PyObject
*_wrap_Icon_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3345 PyObject
*resultobj
;
3346 wxIcon
*arg1
= (wxIcon
*) 0 ;
3348 PyObject
* obj0
= 0 ;
3350 (char *) "self", NULL
3353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_Ok",kwnames
,&obj0
)) goto fail
;
3354 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3357 result
= (bool)(arg1
)->Ok();
3359 wxPyEndAllowThreads(__tstate
);
3360 if (PyErr_Occurred()) SWIG_fail
;
3362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3369 static PyObject
*_wrap_Icon_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3370 PyObject
*resultobj
;
3371 wxIcon
*arg1
= (wxIcon
*) 0 ;
3373 PyObject
* obj0
= 0 ;
3375 (char *) "self", NULL
3378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetWidth",kwnames
,&obj0
)) goto fail
;
3379 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3382 result
= (int)(arg1
)->GetWidth();
3384 wxPyEndAllowThreads(__tstate
);
3385 if (PyErr_Occurred()) SWIG_fail
;
3387 resultobj
= SWIG_PyObj_FromInt((int)result
);
3394 static PyObject
*_wrap_Icon_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3395 PyObject
*resultobj
;
3396 wxIcon
*arg1
= (wxIcon
*) 0 ;
3398 PyObject
* obj0
= 0 ;
3400 (char *) "self", NULL
3403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHeight",kwnames
,&obj0
)) goto fail
;
3404 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3407 result
= (int)(arg1
)->GetHeight();
3409 wxPyEndAllowThreads(__tstate
);
3410 if (PyErr_Occurred()) SWIG_fail
;
3412 resultobj
= SWIG_PyObj_FromInt((int)result
);
3419 static PyObject
*_wrap_Icon_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3420 PyObject
*resultobj
;
3421 wxIcon
*arg1
= (wxIcon
*) 0 ;
3423 PyObject
* obj0
= 0 ;
3425 (char *) "self", NULL
3428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetDepth",kwnames
,&obj0
)) goto fail
;
3429 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3432 result
= (int)(arg1
)->GetDepth();
3434 wxPyEndAllowThreads(__tstate
);
3435 if (PyErr_Occurred()) SWIG_fail
;
3437 resultobj
= SWIG_PyObj_FromInt((int)result
);
3444 static PyObject
*_wrap_Icon_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3445 PyObject
*resultobj
;
3446 wxIcon
*arg1
= (wxIcon
*) 0 ;
3448 PyObject
* obj0
= 0 ;
3449 PyObject
* obj1
= 0 ;
3451 (char *) "self",(char *) "w", NULL
3454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3455 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3457 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3458 if (PyErr_Occurred()) SWIG_fail
;
3461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3462 (arg1
)->SetWidth(arg2
);
3464 wxPyEndAllowThreads(__tstate
);
3465 if (PyErr_Occurred()) SWIG_fail
;
3467 Py_INCREF(Py_None
); resultobj
= Py_None
;
3474 static PyObject
*_wrap_Icon_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3475 PyObject
*resultobj
;
3476 wxIcon
*arg1
= (wxIcon
*) 0 ;
3478 PyObject
* obj0
= 0 ;
3479 PyObject
* obj1
= 0 ;
3481 (char *) "self",(char *) "h", NULL
3484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3485 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3487 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3488 if (PyErr_Occurred()) SWIG_fail
;
3491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3492 (arg1
)->SetHeight(arg2
);
3494 wxPyEndAllowThreads(__tstate
);
3495 if (PyErr_Occurred()) SWIG_fail
;
3497 Py_INCREF(Py_None
); resultobj
= Py_None
;
3504 static PyObject
*_wrap_Icon_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3505 PyObject
*resultobj
;
3506 wxIcon
*arg1
= (wxIcon
*) 0 ;
3508 PyObject
* obj0
= 0 ;
3509 PyObject
* obj1
= 0 ;
3511 (char *) "self",(char *) "d", NULL
3514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
3515 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3517 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3518 if (PyErr_Occurred()) SWIG_fail
;
3521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3522 (arg1
)->SetDepth(arg2
);
3524 wxPyEndAllowThreads(__tstate
);
3525 if (PyErr_Occurred()) SWIG_fail
;
3527 Py_INCREF(Py_None
); resultobj
= Py_None
;
3534 static PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3535 PyObject
*resultobj
;
3536 wxIcon
*arg1
= (wxIcon
*) 0 ;
3537 wxBitmap
*arg2
= 0 ;
3538 PyObject
* obj0
= 0 ;
3539 PyObject
* obj1
= 0 ;
3541 (char *) "self",(char *) "bmp", NULL
3544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3545 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3546 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3548 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3552 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
3554 wxPyEndAllowThreads(__tstate
);
3555 if (PyErr_Occurred()) SWIG_fail
;
3557 Py_INCREF(Py_None
); resultobj
= Py_None
;
3564 static PyObject
* Icon_swigregister(PyObject
*self
, PyObject
*args
) {
3566 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3567 SWIG_TypeClientData(SWIGTYPE_p_wxIcon
, obj
);
3569 return Py_BuildValue((char *)"");
3571 static PyObject
*_wrap_new_IconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3572 PyObject
*resultobj
;
3573 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
3574 int arg2
= (int) 0 ;
3575 wxIconLocation
*result
;
3576 bool temp1
= False
;
3577 PyObject
* obj0
= 0 ;
3578 PyObject
* obj1
= 0 ;
3580 (char *) "filename",(char *) "num", NULL
3583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
3586 arg1
= wxString_in_helper(obj0
);
3587 if (arg1
== NULL
) SWIG_fail
;
3593 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3594 if (PyErr_Occurred()) SWIG_fail
;
3598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3599 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
3601 wxPyEndAllowThreads(__tstate
);
3602 if (PyErr_Occurred()) SWIG_fail
;
3604 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIconLocation
, 1);
3619 static PyObject
*_wrap_delete_IconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3620 PyObject
*resultobj
;
3621 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3622 PyObject
* obj0
= 0 ;
3624 (char *) "self", NULL
3627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconLocation",kwnames
,&obj0
)) goto fail
;
3628 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3633 wxPyEndAllowThreads(__tstate
);
3634 if (PyErr_Occurred()) SWIG_fail
;
3636 Py_INCREF(Py_None
); resultobj
= Py_None
;
3643 static PyObject
*_wrap_IconLocation_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3644 PyObject
*resultobj
;
3645 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3647 PyObject
* obj0
= 0 ;
3649 (char *) "self", NULL
3652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_IsOk",kwnames
,&obj0
)) goto fail
;
3653 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3656 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
3658 wxPyEndAllowThreads(__tstate
);
3659 if (PyErr_Occurred()) SWIG_fail
;
3661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3668 static PyObject
*_wrap_IconLocation_SetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3669 PyObject
*resultobj
;
3670 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3671 wxString
*arg2
= 0 ;
3672 bool temp2
= False
;
3673 PyObject
* obj0
= 0 ;
3674 PyObject
* obj1
= 0 ;
3676 (char *) "self",(char *) "filename", NULL
3679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) goto fail
;
3680 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3682 arg2
= wxString_in_helper(obj1
);
3683 if (arg2
== NULL
) SWIG_fail
;
3687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3688 (arg1
)->SetFileName((wxString
const &)*arg2
);
3690 wxPyEndAllowThreads(__tstate
);
3691 if (PyErr_Occurred()) SWIG_fail
;
3693 Py_INCREF(Py_None
); resultobj
= Py_None
;
3708 static PyObject
*_wrap_IconLocation_GetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3709 PyObject
*resultobj
;
3710 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3712 PyObject
* obj0
= 0 ;
3714 (char *) "self", NULL
3717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetFileName",kwnames
,&obj0
)) goto fail
;
3718 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3722 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
3723 result
= (wxString
*) &_result_ref
;
3726 wxPyEndAllowThreads(__tstate
);
3727 if (PyErr_Occurred()) SWIG_fail
;
3731 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
3733 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
3742 static PyObject
*_wrap_IconLocation_SetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3743 PyObject
*resultobj
;
3744 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3746 PyObject
* obj0
= 0 ;
3747 PyObject
* obj1
= 0 ;
3749 (char *) "self",(char *) "num", NULL
3752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
3753 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3755 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3756 if (PyErr_Occurred()) SWIG_fail
;
3759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3760 wxIconLocation_SetIndex(arg1
,arg2
);
3762 wxPyEndAllowThreads(__tstate
);
3763 if (PyErr_Occurred()) SWIG_fail
;
3765 Py_INCREF(Py_None
); resultobj
= Py_None
;
3772 static PyObject
*_wrap_IconLocation_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3773 PyObject
*resultobj
;
3774 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3776 PyObject
* obj0
= 0 ;
3778 (char *) "self", NULL
3781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetIndex",kwnames
,&obj0
)) goto fail
;
3782 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3785 result
= (int)wxIconLocation_GetIndex(arg1
);
3787 wxPyEndAllowThreads(__tstate
);
3788 if (PyErr_Occurred()) SWIG_fail
;
3790 resultobj
= SWIG_PyObj_FromInt((int)result
);
3797 static PyObject
* IconLocation_swigregister(PyObject
*self
, PyObject
*args
) {
3799 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3800 SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation
, obj
);
3802 return Py_BuildValue((char *)"");
3804 static PyObject
*_wrap_new_IconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3805 PyObject
*resultobj
;
3806 wxIconBundle
*result
;
3811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IconBundle",kwnames
)) goto fail
;
3813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3814 result
= (wxIconBundle
*)new wxIconBundle();
3816 wxPyEndAllowThreads(__tstate
);
3817 if (PyErr_Occurred()) SWIG_fail
;
3819 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIconBundle
, 1);
3826 static PyObject
*_wrap_new_IconBundleFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3827 PyObject
*resultobj
;
3828 wxString
*arg1
= 0 ;
3830 wxIconBundle
*result
;
3831 bool temp1
= False
;
3832 PyObject
* obj0
= 0 ;
3833 PyObject
* obj1
= 0 ;
3835 (char *) "file",(char *) "type", NULL
3838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) goto fail
;
3840 arg1
= wxString_in_helper(obj0
);
3841 if (arg1
== NULL
) SWIG_fail
;
3845 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
3846 if (PyErr_Occurred()) SWIG_fail
;
3849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3850 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
3852 wxPyEndAllowThreads(__tstate
);
3853 if (PyErr_Occurred()) SWIG_fail
;
3855 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIconBundle
, 1);
3870 static PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3871 PyObject
*resultobj
;
3873 wxIconBundle
*result
;
3874 PyObject
* obj0
= 0 ;
3876 (char *) "icon", NULL
3879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) goto fail
;
3880 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3882 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3886 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
3888 wxPyEndAllowThreads(__tstate
);
3889 if (PyErr_Occurred()) SWIG_fail
;
3891 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIconBundle
, 1);
3898 static PyObject
*_wrap_delete_IconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3899 PyObject
*resultobj
;
3900 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
3901 PyObject
* obj0
= 0 ;
3903 (char *) "self", NULL
3906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconBundle",kwnames
,&obj0
)) goto fail
;
3907 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconBundle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3912 wxPyEndAllowThreads(__tstate
);
3913 if (PyErr_Occurred()) SWIG_fail
;
3915 Py_INCREF(Py_None
); resultobj
= Py_None
;
3922 static PyObject
*_wrap_IconBundle_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3923 PyObject
*resultobj
;
3924 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
3926 PyObject
* obj0
= 0 ;
3927 PyObject
* obj1
= 0 ;
3929 (char *) "self",(char *) "icon", NULL
3932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
3933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconBundle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3934 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3936 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3940 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
3942 wxPyEndAllowThreads(__tstate
);
3943 if (PyErr_Occurred()) SWIG_fail
;
3945 Py_INCREF(Py_None
); resultobj
= Py_None
;
3952 static PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3953 PyObject
*resultobj
;
3954 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
3955 wxString
*arg2
= 0 ;
3957 bool temp2
= False
;
3958 PyObject
* obj0
= 0 ;
3959 PyObject
* obj1
= 0 ;
3960 PyObject
* obj2
= 0 ;
3962 (char *) "self",(char *) "file",(char *) "type", NULL
3965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconBundle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3968 arg2
= wxString_in_helper(obj1
);
3969 if (arg2
== NULL
) SWIG_fail
;
3973 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
3974 if (PyErr_Occurred()) SWIG_fail
;
3977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3978 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
3980 wxPyEndAllowThreads(__tstate
);
3981 if (PyErr_Occurred()) SWIG_fail
;
3983 Py_INCREF(Py_None
); resultobj
= Py_None
;
3998 static PyObject
*_wrap_IconBundle_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3999 PyObject
*resultobj
;
4000 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4004 PyObject
* obj0
= 0 ;
4005 PyObject
* obj1
= 0 ;
4007 (char *) "self",(char *) "size", NULL
4010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4011 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconBundle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4014 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4019 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
4020 result
= (wxIcon
*) &_result_ref
;
4023 wxPyEndAllowThreads(__tstate
);
4024 if (PyErr_Occurred()) SWIG_fail
;
4026 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 0);
4033 static PyObject
* IconBundle_swigregister(PyObject
*self
, PyObject
*args
) {
4035 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4036 SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle
, obj
);
4038 return Py_BuildValue((char *)"");
4040 static PyObject
*_wrap_new_Cursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4041 PyObject
*resultobj
;
4042 wxString
*arg1
= (wxString
*) 0 ;
4044 int arg3
= (int) 0 ;
4045 int arg4
= (int) 0 ;
4047 bool temp1
= False
;
4048 PyObject
* obj0
= 0 ;
4049 PyObject
* obj1
= 0 ;
4050 PyObject
* obj2
= 0 ;
4051 PyObject
* obj3
= 0 ;
4053 (char *) "cursorName",(char *) "flags",(char *) "hotSpotX",(char *) "hotSpotY", NULL
4056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4058 arg1
= wxString_in_helper(obj0
);
4059 if (arg1
== NULL
) SWIG_fail
;
4063 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
4064 if (PyErr_Occurred()) SWIG_fail
;
4068 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4069 if (PyErr_Occurred()) SWIG_fail
;
4074 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
4075 if (PyErr_Occurred()) SWIG_fail
;
4079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4080 result
= (wxCursor
*)new_wxCursor((wxString
const *)arg1
,arg2
,arg3
,arg4
);
4082 wxPyEndAllowThreads(__tstate
);
4083 if (PyErr_Occurred()) SWIG_fail
;
4085 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 1);
4100 static PyObject
*_wrap_delete_Cursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4101 PyObject
*resultobj
;
4102 wxCursor
*arg1
= (wxCursor
*) 0 ;
4103 PyObject
* obj0
= 0 ;
4105 (char *) "self", NULL
4108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Cursor",kwnames
,&obj0
)) goto fail
;
4109 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4114 wxPyEndAllowThreads(__tstate
);
4115 if (PyErr_Occurred()) SWIG_fail
;
4117 Py_INCREF(Py_None
); resultobj
= Py_None
;
4124 static PyObject
*_wrap_new_StockCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4125 PyObject
*resultobj
;
4128 PyObject
* obj0
= 0 ;
4133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) goto fail
;
4135 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
4136 if (PyErr_Occurred()) SWIG_fail
;
4139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4140 result
= (wxCursor
*)new wxCursor(arg1
);
4142 wxPyEndAllowThreads(__tstate
);
4143 if (PyErr_Occurred()) SWIG_fail
;
4145 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 1);
4152 static PyObject
*_wrap_new_CursorFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4153 PyObject
*resultobj
;
4156 PyObject
* obj0
= 0 ;
4158 (char *) "image", NULL
4161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) goto fail
;
4162 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4164 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4168 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
4170 wxPyEndAllowThreads(__tstate
);
4171 if (PyErr_Occurred()) SWIG_fail
;
4173 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 1);
4180 static PyObject
*_wrap_new_CursorFromBits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4181 PyObject
*resultobj
;
4182 PyObject
*arg1
= (PyObject
*) 0 ;
4185 int arg4
= (int) -1 ;
4186 int arg5
= (int) -1 ;
4187 PyObject
*arg6
= (PyObject
*) 0 ;
4189 PyObject
* obj0
= 0 ;
4190 PyObject
* obj1
= 0 ;
4191 PyObject
* obj2
= 0 ;
4192 PyObject
* obj3
= 0 ;
4193 PyObject
* obj4
= 0 ;
4194 PyObject
* obj5
= 0 ;
4196 (char *) "bits",(char *) "width",(char *) "height",(char *) "hotSpotX",(char *) "hotSpotY",(char *) "maskBits", NULL
4199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_CursorFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4202 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4203 if (PyErr_Occurred()) SWIG_fail
;
4206 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4207 if (PyErr_Occurred()) SWIG_fail
;
4211 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
4212 if (PyErr_Occurred()) SWIG_fail
;
4217 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
4218 if (PyErr_Occurred()) SWIG_fail
;
4225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4226 result
= (wxCursor
*)new_wxCursor(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
4228 wxPyEndAllowThreads(__tstate
);
4229 if (PyErr_Occurred()) SWIG_fail
;
4231 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 1);
4238 static PyObject
*_wrap_Cursor_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4239 PyObject
*resultobj
;
4240 wxCursor
*arg1
= (wxCursor
*) 0 ;
4242 PyObject
* obj0
= 0 ;
4244 (char *) "self", NULL
4247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_Ok",kwnames
,&obj0
)) goto fail
;
4248 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4251 result
= (bool)(arg1
)->Ok();
4253 wxPyEndAllowThreads(__tstate
);
4254 if (PyErr_Occurred()) SWIG_fail
;
4256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4263 static PyObject
* Cursor_swigregister(PyObject
*self
, PyObject
*args
) {
4265 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4266 SWIG_TypeClientData(SWIGTYPE_p_wxCursor
, obj
);
4268 return Py_BuildValue((char *)"");
4270 static PyObject
*_wrap_new_Region(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4271 PyObject
*resultobj
;
4272 int arg1
= (int) 0 ;
4273 int arg2
= (int) 0 ;
4274 int arg3
= (int) 0 ;
4275 int arg4
= (int) 0 ;
4277 PyObject
* obj0
= 0 ;
4278 PyObject
* obj1
= 0 ;
4279 PyObject
* obj2
= 0 ;
4280 PyObject
* obj3
= 0 ;
4282 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4288 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
4289 if (PyErr_Occurred()) SWIG_fail
;
4294 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4295 if (PyErr_Occurred()) SWIG_fail
;
4300 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4301 if (PyErr_Occurred()) SWIG_fail
;
4306 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
4307 if (PyErr_Occurred()) SWIG_fail
;
4311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4312 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
4314 wxPyEndAllowThreads(__tstate
);
4315 if (PyErr_Occurred()) SWIG_fail
;
4317 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRegion
, 1);
4324 static PyObject
*_wrap_new_RegionFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4325 PyObject
*resultobj
;
4326 wxBitmap
*arg1
= 0 ;
4327 wxColour
const &arg2_defvalue
= wxNullColour
;
4328 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
4329 int arg3
= (int) 0 ;
4332 PyObject
* obj0
= 0 ;
4333 PyObject
* obj1
= 0 ;
4334 PyObject
* obj2
= 0 ;
4336 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
4339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_RegionFromBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4340 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4342 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4347 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4352 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4353 if (PyErr_Occurred()) SWIG_fail
;
4357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4358 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
4360 wxPyEndAllowThreads(__tstate
);
4361 if (PyErr_Occurred()) SWIG_fail
;
4363 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRegion
, 1);
4370 static PyObject
*_wrap_new_RegionFromPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4371 PyObject
*resultobj
;
4373 wxPoint
*arg2
= (wxPoint
*) 0 ;
4374 int arg3
= (int) wxWINDING_RULE
;
4376 PyObject
* obj0
= 0 ;
4377 PyObject
* obj1
= 0 ;
4379 (char *) "points",(char *) "fillStyle", NULL
4382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
4384 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
4385 if (arg2
== NULL
) SWIG_fail
;
4389 arg3
= (int) SWIG_PyObj_AsInt(obj1
);
4390 if (PyErr_Occurred()) SWIG_fail
;
4394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4395 result
= (wxRegion
*)new_wxRegion(arg1
,arg2
,arg3
);
4397 wxPyEndAllowThreads(__tstate
);
4398 if (PyErr_Occurred()) SWIG_fail
;
4400 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRegion
, 1);
4402 if (arg2
) delete [] arg2
;
4407 if (arg2
) delete [] arg2
;
4413 static PyObject
*_wrap_delete_Region(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4414 PyObject
*resultobj
;
4415 wxRegion
*arg1
= (wxRegion
*) 0 ;
4416 PyObject
* obj0
= 0 ;
4418 (char *) "self", NULL
4421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Region",kwnames
,&obj0
)) goto fail
;
4422 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4427 wxPyEndAllowThreads(__tstate
);
4428 if (PyErr_Occurred()) SWIG_fail
;
4430 Py_INCREF(Py_None
); resultobj
= Py_None
;
4437 static PyObject
*_wrap_Region_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4438 PyObject
*resultobj
;
4439 wxRegion
*arg1
= (wxRegion
*) 0 ;
4440 PyObject
* obj0
= 0 ;
4442 (char *) "self", NULL
4445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_Clear",kwnames
,&obj0
)) goto fail
;
4446 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4451 wxPyEndAllowThreads(__tstate
);
4452 if (PyErr_Occurred()) SWIG_fail
;
4454 Py_INCREF(Py_None
); resultobj
= Py_None
;
4461 static PyObject
*_wrap_Region_Contains(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4462 PyObject
*resultobj
;
4463 wxRegion
*arg1
= (wxRegion
*) 0 ;
4467 PyObject
* obj0
= 0 ;
4468 PyObject
* obj1
= 0 ;
4469 PyObject
* obj2
= 0 ;
4471 (char *) "self",(char *) "x",(char *) "y", NULL
4474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4475 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4477 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4478 if (PyErr_Occurred()) SWIG_fail
;
4481 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4482 if (PyErr_Occurred()) SWIG_fail
;
4485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4486 result
= (int)(arg1
)->Contains(arg2
,arg3
);
4488 wxPyEndAllowThreads(__tstate
);
4489 if (PyErr_Occurred()) SWIG_fail
;
4491 resultobj
= SWIG_PyObj_FromInt((int)result
);
4498 static PyObject
*_wrap_Region_ContainsPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4499 PyObject
*resultobj
;
4500 wxRegion
*arg1
= (wxRegion
*) 0 ;
4504 PyObject
* obj0
= 0 ;
4505 PyObject
* obj1
= 0 ;
4507 (char *) "self",(char *) "pt", NULL
4510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4511 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4514 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4518 result
= (int)(arg1
)->Contains((wxPoint
const &)*arg2
);
4520 wxPyEndAllowThreads(__tstate
);
4521 if (PyErr_Occurred()) SWIG_fail
;
4523 resultobj
= SWIG_PyObj_FromInt((int)result
);
4530 static PyObject
*_wrap_Region_ContainsRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4531 PyObject
*resultobj
;
4532 wxRegion
*arg1
= (wxRegion
*) 0 ;
4536 PyObject
* obj0
= 0 ;
4537 PyObject
* obj1
= 0 ;
4539 (char *) "self",(char *) "rect", NULL
4542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4543 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4546 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4550 result
= (int)(arg1
)->Contains((wxRect
const &)*arg2
);
4552 wxPyEndAllowThreads(__tstate
);
4553 if (PyErr_Occurred()) SWIG_fail
;
4555 resultobj
= SWIG_PyObj_FromInt((int)result
);
4562 static PyObject
*_wrap_Region_ContainsRectDim(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4563 PyObject
*resultobj
;
4564 wxRegion
*arg1
= (wxRegion
*) 0 ;
4570 PyObject
* obj0
= 0 ;
4571 PyObject
* obj1
= 0 ;
4572 PyObject
* obj2
= 0 ;
4573 PyObject
* obj3
= 0 ;
4574 PyObject
* obj4
= 0 ;
4576 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
4579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4580 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4582 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4583 if (PyErr_Occurred()) SWIG_fail
;
4586 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4587 if (PyErr_Occurred()) SWIG_fail
;
4590 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
4591 if (PyErr_Occurred()) SWIG_fail
;
4594 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
4595 if (PyErr_Occurred()) SWIG_fail
;
4598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4599 result
= (int)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
4601 wxPyEndAllowThreads(__tstate
);
4602 if (PyErr_Occurred()) SWIG_fail
;
4604 resultobj
= SWIG_PyObj_FromInt((int)result
);
4611 static PyObject
*_wrap_Region_GetBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4612 PyObject
*resultobj
;
4613 wxRegion
*arg1
= (wxRegion
*) 0 ;
4615 PyObject
* obj0
= 0 ;
4617 (char *) "self", NULL
4620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_GetBox",kwnames
,&obj0
)) goto fail
;
4621 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4624 result
= (arg1
)->GetBox();
4626 wxPyEndAllowThreads(__tstate
);
4627 if (PyErr_Occurred()) SWIG_fail
;
4631 resultptr
= new wxRect((wxRect
&) result
);
4632 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
4640 static PyObject
*_wrap_Region_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4641 PyObject
*resultobj
;
4642 wxRegion
*arg1
= (wxRegion
*) 0 ;
4648 PyObject
* obj0
= 0 ;
4649 PyObject
* obj1
= 0 ;
4650 PyObject
* obj2
= 0 ;
4651 PyObject
* obj3
= 0 ;
4652 PyObject
* obj4
= 0 ;
4654 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4658 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4660 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4661 if (PyErr_Occurred()) SWIG_fail
;
4664 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4665 if (PyErr_Occurred()) SWIG_fail
;
4668 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
4669 if (PyErr_Occurred()) SWIG_fail
;
4672 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
4673 if (PyErr_Occurred()) SWIG_fail
;
4676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4677 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
4679 wxPyEndAllowThreads(__tstate
);
4680 if (PyErr_Occurred()) SWIG_fail
;
4682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4689 static PyObject
*_wrap_Region_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4690 PyObject
*resultobj
;
4691 wxRegion
*arg1
= (wxRegion
*) 0 ;
4695 PyObject
* obj0
= 0 ;
4696 PyObject
* obj1
= 0 ;
4698 (char *) "self",(char *) "rect", NULL
4701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4702 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4705 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4709 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
4711 wxPyEndAllowThreads(__tstate
);
4712 if (PyErr_Occurred()) SWIG_fail
;
4714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4721 static PyObject
*_wrap_Region_IntersectRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4722 PyObject
*resultobj
;
4723 wxRegion
*arg1
= (wxRegion
*) 0 ;
4724 wxRegion
*arg2
= 0 ;
4726 PyObject
* obj0
= 0 ;
4727 PyObject
* obj1
= 0 ;
4729 (char *) "self",(char *) "region", NULL
4732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
4733 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4734 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4736 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4740 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
4742 wxPyEndAllowThreads(__tstate
);
4743 if (PyErr_Occurred()) SWIG_fail
;
4745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4752 static PyObject
*_wrap_Region_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4753 PyObject
*resultobj
;
4754 wxRegion
*arg1
= (wxRegion
*) 0 ;
4756 PyObject
* obj0
= 0 ;
4758 (char *) "self", NULL
4761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_IsEmpty",kwnames
,&obj0
)) goto fail
;
4762 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4765 result
= (bool)(arg1
)->IsEmpty();
4767 wxPyEndAllowThreads(__tstate
);
4768 if (PyErr_Occurred()) SWIG_fail
;
4770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4777 static PyObject
*_wrap_Region_Union(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4778 PyObject
*resultobj
;
4779 wxRegion
*arg1
= (wxRegion
*) 0 ;
4785 PyObject
* obj0
= 0 ;
4786 PyObject
* obj1
= 0 ;
4787 PyObject
* obj2
= 0 ;
4788 PyObject
* obj3
= 0 ;
4789 PyObject
* obj4
= 0 ;
4791 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4795 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4797 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4798 if (PyErr_Occurred()) SWIG_fail
;
4801 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4802 if (PyErr_Occurred()) SWIG_fail
;
4805 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
4806 if (PyErr_Occurred()) SWIG_fail
;
4809 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
4810 if (PyErr_Occurred()) SWIG_fail
;
4813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4814 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
4816 wxPyEndAllowThreads(__tstate
);
4817 if (PyErr_Occurred()) SWIG_fail
;
4819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4826 static PyObject
*_wrap_Region_UnionRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4827 PyObject
*resultobj
;
4828 wxRegion
*arg1
= (wxRegion
*) 0 ;
4832 PyObject
* obj0
= 0 ;
4833 PyObject
* obj1
= 0 ;
4835 (char *) "self",(char *) "rect", NULL
4838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4839 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4842 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4846 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
4848 wxPyEndAllowThreads(__tstate
);
4849 if (PyErr_Occurred()) SWIG_fail
;
4851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4858 static PyObject
*_wrap_Region_UnionRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4859 PyObject
*resultobj
;
4860 wxRegion
*arg1
= (wxRegion
*) 0 ;
4861 wxRegion
*arg2
= 0 ;
4863 PyObject
* obj0
= 0 ;
4864 PyObject
* obj1
= 0 ;
4866 (char *) "self",(char *) "region", NULL
4869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
4870 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4871 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4873 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4877 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
4879 wxPyEndAllowThreads(__tstate
);
4880 if (PyErr_Occurred()) SWIG_fail
;
4882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4889 static PyObject
*_wrap_Region_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4890 PyObject
*resultobj
;
4891 wxRegion
*arg1
= (wxRegion
*) 0 ;
4897 PyObject
* obj0
= 0 ;
4898 PyObject
* obj1
= 0 ;
4899 PyObject
* obj2
= 0 ;
4900 PyObject
* obj3
= 0 ;
4901 PyObject
* obj4
= 0 ;
4903 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4907 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4909 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4910 if (PyErr_Occurred()) SWIG_fail
;
4913 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4914 if (PyErr_Occurred()) SWIG_fail
;
4917 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
4918 if (PyErr_Occurred()) SWIG_fail
;
4921 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
4922 if (PyErr_Occurred()) SWIG_fail
;
4925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4926 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
4928 wxPyEndAllowThreads(__tstate
);
4929 if (PyErr_Occurred()) SWIG_fail
;
4931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4938 static PyObject
*_wrap_Region_SubtractRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4939 PyObject
*resultobj
;
4940 wxRegion
*arg1
= (wxRegion
*) 0 ;
4944 PyObject
* obj0
= 0 ;
4945 PyObject
* obj1
= 0 ;
4947 (char *) "self",(char *) "rect", NULL
4950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4951 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4954 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4958 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
4960 wxPyEndAllowThreads(__tstate
);
4961 if (PyErr_Occurred()) SWIG_fail
;
4963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4970 static PyObject
*_wrap_Region_SubtractRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4971 PyObject
*resultobj
;
4972 wxRegion
*arg1
= (wxRegion
*) 0 ;
4973 wxRegion
*arg2
= 0 ;
4975 PyObject
* obj0
= 0 ;
4976 PyObject
* obj1
= 0 ;
4978 (char *) "self",(char *) "region", NULL
4981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
4982 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4983 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4985 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4989 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
4991 wxPyEndAllowThreads(__tstate
);
4992 if (PyErr_Occurred()) SWIG_fail
;
4994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5001 static PyObject
*_wrap_Region_Xor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5002 PyObject
*resultobj
;
5003 wxRegion
*arg1
= (wxRegion
*) 0 ;
5009 PyObject
* obj0
= 0 ;
5010 PyObject
* obj1
= 0 ;
5011 PyObject
* obj2
= 0 ;
5012 PyObject
* obj3
= 0 ;
5013 PyObject
* obj4
= 0 ;
5015 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5019 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5021 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5022 if (PyErr_Occurred()) SWIG_fail
;
5025 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5026 if (PyErr_Occurred()) SWIG_fail
;
5029 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
5030 if (PyErr_Occurred()) SWIG_fail
;
5033 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
5034 if (PyErr_Occurred()) SWIG_fail
;
5037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5038 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
5040 wxPyEndAllowThreads(__tstate
);
5041 if (PyErr_Occurred()) SWIG_fail
;
5043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5050 static PyObject
*_wrap_Region_XorRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5051 PyObject
*resultobj
;
5052 wxRegion
*arg1
= (wxRegion
*) 0 ;
5056 PyObject
* obj0
= 0 ;
5057 PyObject
* obj1
= 0 ;
5059 (char *) "self",(char *) "rect", NULL
5062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5066 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5070 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
5072 wxPyEndAllowThreads(__tstate
);
5073 if (PyErr_Occurred()) SWIG_fail
;
5075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5082 static PyObject
*_wrap_Region_XorRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5083 PyObject
*resultobj
;
5084 wxRegion
*arg1
= (wxRegion
*) 0 ;
5085 wxRegion
*arg2
= 0 ;
5087 PyObject
* obj0
= 0 ;
5088 PyObject
* obj1
= 0 ;
5090 (char *) "self",(char *) "region", NULL
5093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5094 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5095 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5097 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5101 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
5103 wxPyEndAllowThreads(__tstate
);
5104 if (PyErr_Occurred()) SWIG_fail
;
5106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5113 static PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5114 PyObject
*resultobj
;
5115 wxRegion
*arg1
= (wxRegion
*) 0 ;
5116 SwigValueWrapper
< wxBitmap
> result
;
5117 PyObject
* obj0
= 0 ;
5119 (char *) "self", NULL
5122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
5123 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5126 result
= (arg1
)->ConvertToBitmap();
5128 wxPyEndAllowThreads(__tstate
);
5129 if (PyErr_Occurred()) SWIG_fail
;
5132 wxBitmap
* resultptr
;
5133 resultptr
= new wxBitmap((wxBitmap
&) result
);
5134 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
5142 static PyObject
*_wrap_Region_UnionBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5143 PyObject
*resultobj
;
5144 wxRegion
*arg1
= (wxRegion
*) 0 ;
5145 wxBitmap
*arg2
= 0 ;
5146 wxColour
const &arg3_defvalue
= wxNullColour
;
5147 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
5148 int arg4
= (int) 0 ;
5151 PyObject
* obj0
= 0 ;
5152 PyObject
* obj1
= 0 ;
5153 PyObject
* obj2
= 0 ;
5154 PyObject
* obj3
= 0 ;
5156 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
5159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5160 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5161 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5163 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5168 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5173 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
5174 if (PyErr_Occurred()) SWIG_fail
;
5178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5179 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
5181 wxPyEndAllowThreads(__tstate
);
5182 if (PyErr_Occurred()) SWIG_fail
;
5184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5191 static PyObject
* Region_swigregister(PyObject
*self
, PyObject
*args
) {
5193 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5194 SWIG_TypeClientData(SWIGTYPE_p_wxRegion
, obj
);
5196 return Py_BuildValue((char *)"");
5198 static PyObject
*_wrap_new_RegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5199 PyObject
*resultobj
;
5200 wxRegion
*arg1
= 0 ;
5201 wxRegionIterator
*result
;
5202 PyObject
* obj0
= 0 ;
5204 (char *) "region", NULL
5207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) goto fail
;
5208 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5210 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5214 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
5216 wxPyEndAllowThreads(__tstate
);
5217 if (PyErr_Occurred()) SWIG_fail
;
5219 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRegionIterator
, 1);
5226 static PyObject
*_wrap_delete_RegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5227 PyObject
*resultobj
;
5228 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5229 PyObject
* obj0
= 0 ;
5231 (char *) "self", NULL
5234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RegionIterator",kwnames
,&obj0
)) goto fail
;
5235 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5240 wxPyEndAllowThreads(__tstate
);
5241 if (PyErr_Occurred()) SWIG_fail
;
5243 Py_INCREF(Py_None
); resultobj
= Py_None
;
5250 static PyObject
*_wrap_RegionIterator_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5251 PyObject
*resultobj
;
5252 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5254 PyObject
* obj0
= 0 ;
5256 (char *) "self", NULL
5259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetX",kwnames
,&obj0
)) goto fail
;
5260 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5263 result
= (int)(arg1
)->GetX();
5265 wxPyEndAllowThreads(__tstate
);
5266 if (PyErr_Occurred()) SWIG_fail
;
5268 resultobj
= SWIG_PyObj_FromInt((int)result
);
5275 static PyObject
*_wrap_RegionIterator_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5276 PyObject
*resultobj
;
5277 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5279 PyObject
* obj0
= 0 ;
5281 (char *) "self", NULL
5284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetY",kwnames
,&obj0
)) goto fail
;
5285 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5288 result
= (int)(arg1
)->GetY();
5290 wxPyEndAllowThreads(__tstate
);
5291 if (PyErr_Occurred()) SWIG_fail
;
5293 resultobj
= SWIG_PyObj_FromInt((int)result
);
5300 static PyObject
*_wrap_RegionIterator_GetW(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5301 PyObject
*resultobj
;
5302 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5304 PyObject
* obj0
= 0 ;
5306 (char *) "self", NULL
5309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetW",kwnames
,&obj0
)) goto fail
;
5310 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5313 result
= (int)(arg1
)->GetW();
5315 wxPyEndAllowThreads(__tstate
);
5316 if (PyErr_Occurred()) SWIG_fail
;
5318 resultobj
= SWIG_PyObj_FromInt((int)result
);
5325 static PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5326 PyObject
*resultobj
;
5327 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5329 PyObject
* obj0
= 0 ;
5331 (char *) "self", NULL
5334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetWidth",kwnames
,&obj0
)) goto fail
;
5335 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5338 result
= (int)(arg1
)->GetWidth();
5340 wxPyEndAllowThreads(__tstate
);
5341 if (PyErr_Occurred()) SWIG_fail
;
5343 resultobj
= SWIG_PyObj_FromInt((int)result
);
5350 static PyObject
*_wrap_RegionIterator_GetH(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_GetH",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
= (int)(arg1
)->GetH();
5365 wxPyEndAllowThreads(__tstate
);
5366 if (PyErr_Occurred()) SWIG_fail
;
5368 resultobj
= SWIG_PyObj_FromInt((int)result
);
5375 static PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5376 PyObject
*resultobj
;
5377 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5379 PyObject
* obj0
= 0 ;
5381 (char *) "self", NULL
5384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetHeight",kwnames
,&obj0
)) goto fail
;
5385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5388 result
= (int)(arg1
)->GetHeight();
5390 wxPyEndAllowThreads(__tstate
);
5391 if (PyErr_Occurred()) SWIG_fail
;
5393 resultobj
= SWIG_PyObj_FromInt((int)result
);
5400 static PyObject
*_wrap_RegionIterator_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5401 PyObject
*resultobj
;
5402 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5404 PyObject
* obj0
= 0 ;
5406 (char *) "self", NULL
5409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetRect",kwnames
,&obj0
)) goto fail
;
5410 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5413 result
= (arg1
)->GetRect();
5415 wxPyEndAllowThreads(__tstate
);
5416 if (PyErr_Occurred()) SWIG_fail
;
5420 resultptr
= new wxRect((wxRect
&) result
);
5421 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
5429 static PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5430 PyObject
*resultobj
;
5431 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5433 PyObject
* obj0
= 0 ;
5435 (char *) "self", NULL
5438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_HaveRects",kwnames
,&obj0
)) goto fail
;
5439 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5442 result
= (bool)(arg1
)->HaveRects();
5444 wxPyEndAllowThreads(__tstate
);
5445 if (PyErr_Occurred()) SWIG_fail
;
5447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5454 static PyObject
*_wrap_RegionIterator_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5455 PyObject
*resultobj
;
5456 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5457 PyObject
* obj0
= 0 ;
5459 (char *) "self", NULL
5462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Reset",kwnames
,&obj0
)) goto fail
;
5463 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5468 wxPyEndAllowThreads(__tstate
);
5469 if (PyErr_Occurred()) SWIG_fail
;
5471 Py_INCREF(Py_None
); resultobj
= Py_None
;
5478 static PyObject
*_wrap_RegionIterator_Next(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5479 PyObject
*resultobj
;
5480 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5481 PyObject
* obj0
= 0 ;
5483 (char *) "self", NULL
5486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Next",kwnames
,&obj0
)) goto fail
;
5487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5490 wxRegionIterator_Next(arg1
);
5492 wxPyEndAllowThreads(__tstate
);
5493 if (PyErr_Occurred()) SWIG_fail
;
5495 Py_INCREF(Py_None
); resultobj
= Py_None
;
5502 static PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5503 PyObject
*resultobj
;
5504 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5506 PyObject
* obj0
= 0 ;
5508 (char *) "self", NULL
5511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator___nonzero__",kwnames
,&obj0
)) goto fail
;
5512 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5515 result
= (bool)wxRegionIterator___nonzero__(arg1
);
5517 wxPyEndAllowThreads(__tstate
);
5518 if (PyErr_Occurred()) SWIG_fail
;
5520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5527 static PyObject
* RegionIterator_swigregister(PyObject
*self
, PyObject
*args
) {
5529 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5530 SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator
, obj
);
5532 return Py_BuildValue((char *)"");
5534 static PyObject
*_wrap_new_NativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5535 PyObject
*resultobj
;
5536 wxNativeFontInfo
*result
;
5541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeFontInfo",kwnames
)) goto fail
;
5543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5544 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
5546 wxPyEndAllowThreads(__tstate
);
5547 if (PyErr_Occurred()) SWIG_fail
;
5549 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNativeFontInfo
, 1);
5556 static PyObject
*_wrap_delete_NativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5557 PyObject
*resultobj
;
5558 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5559 PyObject
* obj0
= 0 ;
5561 (char *) "self", NULL
5564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeFontInfo",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();
5570 wxPyEndAllowThreads(__tstate
);
5571 if (PyErr_Occurred()) SWIG_fail
;
5573 Py_INCREF(Py_None
); resultobj
= Py_None
;
5580 static PyObject
*_wrap_NativeFontInfo_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5581 PyObject
*resultobj
;
5582 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5583 PyObject
* obj0
= 0 ;
5585 (char *) "self", NULL
5588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_Init",kwnames
,&obj0
)) goto fail
;
5589 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5594 wxPyEndAllowThreads(__tstate
);
5595 if (PyErr_Occurred()) SWIG_fail
;
5597 Py_INCREF(Py_None
); resultobj
= Py_None
;
5604 static PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5605 PyObject
*resultobj
;
5606 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5608 PyObject
* obj0
= 0 ;
5609 PyObject
* obj1
= 0 ;
5611 (char *) "self",(char *) "font", NULL
5614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) goto fail
;
5615 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5616 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5618 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5622 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
5624 wxPyEndAllowThreads(__tstate
);
5625 if (PyErr_Occurred()) SWIG_fail
;
5627 Py_INCREF(Py_None
); resultobj
= Py_None
;
5634 static PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5635 PyObject
*resultobj
;
5636 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5638 PyObject
* obj0
= 0 ;
5640 (char *) "self", NULL
5643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPointSize",kwnames
,&obj0
)) goto fail
;
5644 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5647 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
5649 wxPyEndAllowThreads(__tstate
);
5650 if (PyErr_Occurred()) SWIG_fail
;
5652 resultobj
= SWIG_PyObj_FromInt((int)result
);
5659 static PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5660 PyObject
*resultobj
;
5661 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5663 PyObject
* obj0
= 0 ;
5665 (char *) "self", NULL
5668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetStyle",kwnames
,&obj0
)) goto fail
;
5669 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5672 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetStyle();
5674 wxPyEndAllowThreads(__tstate
);
5675 if (PyErr_Occurred()) SWIG_fail
;
5677 resultobj
= SWIG_PyObj_FromInt((int)result
);
5684 static PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5685 PyObject
*resultobj
;
5686 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5688 PyObject
* obj0
= 0 ;
5690 (char *) "self", NULL
5693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetWeight",kwnames
,&obj0
)) goto fail
;
5694 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5697 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetWeight();
5699 wxPyEndAllowThreads(__tstate
);
5700 if (PyErr_Occurred()) SWIG_fail
;
5702 resultobj
= SWIG_PyObj_FromInt((int)result
);
5709 static PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5710 PyObject
*resultobj
;
5711 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5713 PyObject
* obj0
= 0 ;
5715 (char *) "self", NULL
5718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetUnderlined",kwnames
,&obj0
)) goto fail
;
5719 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5722 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
5724 wxPyEndAllowThreads(__tstate
);
5725 if (PyErr_Occurred()) SWIG_fail
;
5727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5734 static PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5735 PyObject
*resultobj
;
5736 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5738 PyObject
* obj0
= 0 ;
5740 (char *) "self", NULL
5743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFaceName",kwnames
,&obj0
)) goto fail
;
5744 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5747 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
5749 wxPyEndAllowThreads(__tstate
);
5750 if (PyErr_Occurred()) SWIG_fail
;
5754 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5756 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5765 static PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5766 PyObject
*resultobj
;
5767 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5769 PyObject
* obj0
= 0 ;
5771 (char *) "self", NULL
5774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFamily",kwnames
,&obj0
)) goto fail
;
5775 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5778 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetFamily();
5780 wxPyEndAllowThreads(__tstate
);
5781 if (PyErr_Occurred()) SWIG_fail
;
5783 resultobj
= SWIG_PyObj_FromInt((int)result
);
5790 static PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5791 PyObject
*resultobj
;
5792 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5794 PyObject
* obj0
= 0 ;
5796 (char *) "self", NULL
5799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetEncoding",kwnames
,&obj0
)) goto fail
;
5800 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5803 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
5805 wxPyEndAllowThreads(__tstate
);
5806 if (PyErr_Occurred()) SWIG_fail
;
5808 resultobj
= SWIG_PyObj_FromInt((int)result
);
5815 static PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5816 PyObject
*resultobj
;
5817 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5819 PyObject
* obj0
= 0 ;
5820 PyObject
* obj1
= 0 ;
5822 (char *) "self",(char *) "pointsize", NULL
5825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5826 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5828 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5829 if (PyErr_Occurred()) SWIG_fail
;
5832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5833 (arg1
)->SetPointSize(arg2
);
5835 wxPyEndAllowThreads(__tstate
);
5836 if (PyErr_Occurred()) SWIG_fail
;
5838 Py_INCREF(Py_None
); resultobj
= Py_None
;
5845 static PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5846 PyObject
*resultobj
;
5847 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5849 PyObject
* obj0
= 0 ;
5850 PyObject
* obj1
= 0 ;
5852 (char *) "self",(char *) "style", NULL
5855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
5856 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5858 arg2
= (wxFontStyle
) SWIG_PyObj_AsInt(obj1
);
5859 if (PyErr_Occurred()) SWIG_fail
;
5862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5863 (arg1
)->SetStyle((wxFontStyle
)arg2
);
5865 wxPyEndAllowThreads(__tstate
);
5866 if (PyErr_Occurred()) SWIG_fail
;
5868 Py_INCREF(Py_None
); resultobj
= Py_None
;
5875 static PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5876 PyObject
*resultobj
;
5877 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5879 PyObject
* obj0
= 0 ;
5880 PyObject
* obj1
= 0 ;
5882 (char *) "self",(char *) "weight", NULL
5885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5886 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5888 arg2
= (wxFontWeight
) SWIG_PyObj_AsInt(obj1
);
5889 if (PyErr_Occurred()) SWIG_fail
;
5892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5893 (arg1
)->SetWeight((wxFontWeight
)arg2
);
5895 wxPyEndAllowThreads(__tstate
);
5896 if (PyErr_Occurred()) SWIG_fail
;
5898 Py_INCREF(Py_None
); resultobj
= Py_None
;
5905 static PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5906 PyObject
*resultobj
;
5907 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5909 PyObject
* obj0
= 0 ;
5910 PyObject
* obj1
= 0 ;
5912 (char *) "self",(char *) "underlined", NULL
5915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
5916 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5918 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
5919 if (PyErr_Occurred()) SWIG_fail
;
5922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5923 (arg1
)->SetUnderlined(arg2
);
5925 wxPyEndAllowThreads(__tstate
);
5926 if (PyErr_Occurred()) SWIG_fail
;
5928 Py_INCREF(Py_None
); resultobj
= Py_None
;
5935 static PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5936 PyObject
*resultobj
;
5937 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5939 PyObject
* obj0
= 0 ;
5940 PyObject
* obj1
= 0 ;
5942 (char *) "self",(char *) "facename", NULL
5945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
5946 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5948 wxString
* sptr
= wxString_in_helper(obj1
);
5949 if (sptr
== NULL
) SWIG_fail
;
5954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5955 (arg1
)->SetFaceName(arg2
);
5957 wxPyEndAllowThreads(__tstate
);
5958 if (PyErr_Occurred()) SWIG_fail
;
5960 Py_INCREF(Py_None
); resultobj
= Py_None
;
5967 static PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5968 PyObject
*resultobj
;
5969 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5971 PyObject
* obj0
= 0 ;
5972 PyObject
* obj1
= 0 ;
5974 (char *) "self",(char *) "family", NULL
5977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
5978 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5980 arg2
= (wxFontFamily
) SWIG_PyObj_AsInt(obj1
);
5981 if (PyErr_Occurred()) SWIG_fail
;
5984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5985 (arg1
)->SetFamily((wxFontFamily
)arg2
);
5987 wxPyEndAllowThreads(__tstate
);
5988 if (PyErr_Occurred()) SWIG_fail
;
5990 Py_INCREF(Py_None
); resultobj
= Py_None
;
5997 static PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5998 PyObject
*resultobj
;
5999 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6001 PyObject
* obj0
= 0 ;
6002 PyObject
* obj1
= 0 ;
6004 (char *) "self",(char *) "encoding", NULL
6007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
6008 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6010 arg2
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj1
);
6011 if (PyErr_Occurred()) SWIG_fail
;
6014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6015 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
6017 wxPyEndAllowThreads(__tstate
);
6018 if (PyErr_Occurred()) SWIG_fail
;
6020 Py_INCREF(Py_None
); resultobj
= Py_None
;
6027 static PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6028 PyObject
*resultobj
;
6029 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6030 wxString
*arg2
= 0 ;
6032 bool temp2
= False
;
6033 PyObject
* obj0
= 0 ;
6034 PyObject
* obj1
= 0 ;
6036 (char *) "self",(char *) "s", NULL
6039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
6040 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6042 arg2
= wxString_in_helper(obj1
);
6043 if (arg2
== NULL
) SWIG_fail
;
6047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6048 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
6050 wxPyEndAllowThreads(__tstate
);
6051 if (PyErr_Occurred()) SWIG_fail
;
6053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6068 static PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6069 PyObject
*resultobj
;
6070 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6072 PyObject
* obj0
= 0 ;
6074 (char *) "self", NULL
6077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToString",kwnames
,&obj0
)) goto fail
;
6078 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6081 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
6083 wxPyEndAllowThreads(__tstate
);
6084 if (PyErr_Occurred()) SWIG_fail
;
6088 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6090 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6099 static PyObject
*_wrap_NativeFontInfo___str__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6100 PyObject
*resultobj
;
6101 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6103 PyObject
* obj0
= 0 ;
6105 (char *) "self", NULL
6108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo___str__",kwnames
,&obj0
)) goto fail
;
6109 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6112 result
= wxNativeFontInfo___str__(arg1
);
6114 wxPyEndAllowThreads(__tstate
);
6115 if (PyErr_Occurred()) SWIG_fail
;
6119 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6121 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6130 static PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6131 PyObject
*resultobj
;
6132 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6133 wxString
*arg2
= 0 ;
6135 bool temp2
= False
;
6136 PyObject
* obj0
= 0 ;
6137 PyObject
* obj1
= 0 ;
6139 (char *) "self",(char *) "s", NULL
6142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) goto fail
;
6143 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6145 arg2
= wxString_in_helper(obj1
);
6146 if (arg2
== NULL
) SWIG_fail
;
6150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6151 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
6153 wxPyEndAllowThreads(__tstate
);
6154 if (PyErr_Occurred()) SWIG_fail
;
6156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6171 static PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6172 PyObject
*resultobj
;
6173 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6175 PyObject
* obj0
= 0 ;
6177 (char *) "self", NULL
6180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToUserString",kwnames
,&obj0
)) goto fail
;
6181 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6184 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
6186 wxPyEndAllowThreads(__tstate
);
6187 if (PyErr_Occurred()) SWIG_fail
;
6191 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6193 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6202 static PyObject
* NativeFontInfo_swigregister(PyObject
*self
, PyObject
*args
) {
6204 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6205 SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo
, obj
);
6207 return Py_BuildValue((char *)"");
6209 static PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6210 PyObject
*resultobj
;
6211 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6212 wxString
*arg2
= (wxString
*) 0 ;
6213 bool temp2
= False
;
6214 PyObject
* obj0
= 0 ;
6215 PyObject
* obj1
= 0 ;
6217 (char *) "self",(char *) "facename", NULL
6220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_facename_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6221 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6223 arg2
= wxString_in_helper(obj1
);
6224 if (arg2
== NULL
) SWIG_fail
;
6227 if (arg1
) (arg1
)->facename
= *arg2
;
6229 Py_INCREF(Py_None
); resultobj
= Py_None
;
6244 static PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6245 PyObject
*resultobj
;
6246 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6248 PyObject
* obj0
= 0 ;
6250 (char *) "self", NULL
6253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_facename_get",kwnames
,&obj0
)) goto fail
;
6254 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6255 result
= (wxString
*)& ((arg1
)->facename
);
6259 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6261 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6270 static PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6271 PyObject
*resultobj
;
6272 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6274 PyObject
* obj0
= 0 ;
6275 PyObject
* obj1
= 0 ;
6277 (char *) "self",(char *) "encoding", NULL
6280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_encoding_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6281 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6283 arg2
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj1
);
6284 if (PyErr_Occurred()) SWIG_fail
;
6286 if (arg1
) (arg1
)->encoding
= (wxFontEncoding
)arg2
;
6288 Py_INCREF(Py_None
); resultobj
= Py_None
;
6295 static PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6296 PyObject
*resultobj
;
6297 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6299 PyObject
* obj0
= 0 ;
6301 (char *) "self", NULL
6304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_encoding_get",kwnames
,&obj0
)) goto fail
;
6305 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6306 result
= (int) ((arg1
)->encoding
);
6308 resultobj
= SWIG_PyObj_FromInt((int)result
);
6315 static PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6316 PyObject
*resultobj
;
6317 wxNativeEncodingInfo
*result
;
6322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeEncodingInfo",kwnames
)) goto fail
;
6324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6325 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
6327 wxPyEndAllowThreads(__tstate
);
6328 if (PyErr_Occurred()) SWIG_fail
;
6330 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNativeEncodingInfo
, 1);
6337 static PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6338 PyObject
*resultobj
;
6339 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6340 PyObject
* obj0
= 0 ;
6342 (char *) "self", NULL
6345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeEncodingInfo",kwnames
,&obj0
)) goto fail
;
6346 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6351 wxPyEndAllowThreads(__tstate
);
6352 if (PyErr_Occurred()) SWIG_fail
;
6354 Py_INCREF(Py_None
); resultobj
= Py_None
;
6361 static PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6362 PyObject
*resultobj
;
6363 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6364 wxString
*arg2
= 0 ;
6366 bool temp2
= False
;
6367 PyObject
* obj0
= 0 ;
6368 PyObject
* obj1
= 0 ;
6370 (char *) "self",(char *) "s", NULL
6373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
6374 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6376 arg2
= wxString_in_helper(obj1
);
6377 if (arg2
== NULL
) SWIG_fail
;
6381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6382 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
6384 wxPyEndAllowThreads(__tstate
);
6385 if (PyErr_Occurred()) SWIG_fail
;
6387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6402 static PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6403 PyObject
*resultobj
;
6404 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6406 PyObject
* obj0
= 0 ;
6408 (char *) "self", NULL
6411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_ToString",kwnames
,&obj0
)) goto fail
;
6412 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6415 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
6417 wxPyEndAllowThreads(__tstate
);
6418 if (PyErr_Occurred()) SWIG_fail
;
6422 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6424 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6433 static PyObject
* NativeEncodingInfo_swigregister(PyObject
*self
, PyObject
*args
) {
6435 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6436 SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo
, obj
);
6438 return Py_BuildValue((char *)"");
6440 static PyObject
*_wrap_GetNativeFontEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6441 PyObject
*resultobj
;
6443 wxNativeEncodingInfo
*result
;
6444 PyObject
* obj0
= 0 ;
6446 (char *) "encoding", NULL
6449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) goto fail
;
6451 arg1
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj0
);
6452 if (PyErr_Occurred()) SWIG_fail
;
6455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6456 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding((wxFontEncoding
)arg1
);
6458 wxPyEndAllowThreads(__tstate
);
6459 if (PyErr_Occurred()) SWIG_fail
;
6461 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNativeEncodingInfo
, 0);
6468 static PyObject
*_wrap_TestFontEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6469 PyObject
*resultobj
;
6470 wxNativeEncodingInfo
*arg1
= 0 ;
6472 PyObject
* obj0
= 0 ;
6474 (char *) "info", NULL
6477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) goto fail
;
6478 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6480 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6484 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
6486 wxPyEndAllowThreads(__tstate
);
6487 if (PyErr_Occurred()) SWIG_fail
;
6489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6496 static PyObject
*_wrap_new_FontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6497 PyObject
*resultobj
;
6498 wxFontMapper
*result
;
6503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontMapper",kwnames
)) goto fail
;
6505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6506 result
= (wxFontMapper
*)new wxFontMapper();
6508 wxPyEndAllowThreads(__tstate
);
6509 if (PyErr_Occurred()) SWIG_fail
;
6511 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontMapper
, 1);
6518 static PyObject
*_wrap_delete_FontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6519 PyObject
*resultobj
;
6520 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6521 PyObject
* obj0
= 0 ;
6523 (char *) "self", NULL
6526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontMapper",kwnames
,&obj0
)) goto fail
;
6527 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6532 wxPyEndAllowThreads(__tstate
);
6533 if (PyErr_Occurred()) SWIG_fail
;
6535 Py_INCREF(Py_None
); resultobj
= Py_None
;
6542 static PyObject
*_wrap_FontMapper_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6543 PyObject
*resultobj
;
6544 wxFontMapper
*result
;
6549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_Get",kwnames
)) goto fail
;
6551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6552 result
= (wxFontMapper
*)wxFontMapper::Get();
6554 wxPyEndAllowThreads(__tstate
);
6555 if (PyErr_Occurred()) SWIG_fail
;
6557 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontMapper
, 0);
6564 static PyObject
*_wrap_FontMapper_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6565 PyObject
*resultobj
;
6566 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6567 wxFontMapper
*result
;
6568 PyObject
* obj0
= 0 ;
6570 (char *) "mapper", NULL
6573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) goto fail
;
6574 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6577 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
6579 wxPyEndAllowThreads(__tstate
);
6580 if (PyErr_Occurred()) SWIG_fail
;
6582 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontMapper
, 0);
6589 static PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6590 PyObject
*resultobj
;
6591 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6592 wxString
*arg2
= 0 ;
6593 bool arg3
= (bool) True
;
6595 bool temp2
= False
;
6596 PyObject
* obj0
= 0 ;
6597 PyObject
* obj1
= 0 ;
6598 PyObject
* obj2
= 0 ;
6600 (char *) "self",(char *) "charset",(char *) "interactive", NULL
6603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6604 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6606 arg2
= wxString_in_helper(obj1
);
6607 if (arg2
== NULL
) SWIG_fail
;
6612 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
6613 if (PyErr_Occurred()) SWIG_fail
;
6617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6618 result
= (int)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
6620 wxPyEndAllowThreads(__tstate
);
6621 if (PyErr_Occurred()) SWIG_fail
;
6623 resultobj
= SWIG_PyObj_FromInt((int)result
);
6638 static PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6639 PyObject
*resultobj
;
6645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames
)) goto fail
;
6647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6648 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
6650 wxPyEndAllowThreads(__tstate
);
6651 if (PyErr_Occurred()) SWIG_fail
;
6653 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
6660 static PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6661 PyObject
*resultobj
;
6664 PyObject
* obj0
= 0 ;
6669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) goto fail
;
6671 arg1
= (size_t) SWIG_PyObj_AsUnsignedLong(obj0
);
6672 if (PyErr_Occurred()) SWIG_fail
;
6675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6676 result
= (int)wxFontMapper::GetEncoding(arg1
);
6678 wxPyEndAllowThreads(__tstate
);
6679 if (PyErr_Occurred()) SWIG_fail
;
6681 resultobj
= SWIG_PyObj_FromInt((int)result
);
6688 static PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6689 PyObject
*resultobj
;
6692 PyObject
* obj0
= 0 ;
6694 (char *) "encoding", NULL
6697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) goto fail
;
6699 arg1
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj0
);
6700 if (PyErr_Occurred()) SWIG_fail
;
6703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6704 result
= wxFontMapper::GetEncodingName((wxFontEncoding
)arg1
);
6706 wxPyEndAllowThreads(__tstate
);
6707 if (PyErr_Occurred()) SWIG_fail
;
6711 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6713 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6722 static PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6723 PyObject
*resultobj
;
6726 PyObject
* obj0
= 0 ;
6728 (char *) "encoding", NULL
6731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) goto fail
;
6733 arg1
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj0
);
6734 if (PyErr_Occurred()) SWIG_fail
;
6737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6738 result
= wxFontMapper::GetEncodingDescription((wxFontEncoding
)arg1
);
6740 wxPyEndAllowThreads(__tstate
);
6741 if (PyErr_Occurred()) SWIG_fail
;
6745 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6747 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6756 static PyObject
*_wrap_FontMapper_SetConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6757 PyObject
*resultobj
;
6758 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6759 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
6760 PyObject
* obj0
= 0 ;
6761 PyObject
* obj1
= 0 ;
6763 (char *) "self",(char *) "config", NULL
6766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfig",kwnames
,&obj0
,&obj1
)) goto fail
;
6767 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6768 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6771 (arg1
)->SetConfig(arg2
);
6773 wxPyEndAllowThreads(__tstate
);
6774 if (PyErr_Occurred()) SWIG_fail
;
6776 Py_INCREF(Py_None
); resultobj
= Py_None
;
6783 static PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6784 PyObject
*resultobj
;
6785 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6786 wxString
*arg2
= 0 ;
6787 bool temp2
= False
;
6788 PyObject
* obj0
= 0 ;
6789 PyObject
* obj1
= 0 ;
6791 (char *) "self",(char *) "prefix", NULL
6794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) goto fail
;
6795 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6797 arg2
= wxString_in_helper(obj1
);
6798 if (arg2
== NULL
) SWIG_fail
;
6802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6803 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
6805 wxPyEndAllowThreads(__tstate
);
6806 if (PyErr_Occurred()) SWIG_fail
;
6808 Py_INCREF(Py_None
); resultobj
= Py_None
;
6823 static PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6824 PyObject
*resultobj
;
6830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetDefaultConfigPath",kwnames
)) goto fail
;
6832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6833 result
= wxFontMapper::GetDefaultConfigPath();
6835 wxPyEndAllowThreads(__tstate
);
6836 if (PyErr_Occurred()) SWIG_fail
;
6840 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6842 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6851 static PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6852 PyObject
*resultobj
;
6853 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6855 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6856 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6857 bool arg4
= (bool) True
;
6859 bool temp3
= False
;
6860 PyObject
* obj0
= 0 ;
6861 PyObject
* obj1
= 0 ;
6862 PyObject
* obj2
= 0 ;
6863 PyObject
* obj3
= 0 ;
6865 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
6868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6869 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6871 arg2
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj1
);
6872 if (PyErr_Occurred()) SWIG_fail
;
6876 arg3
= wxString_in_helper(obj2
);
6877 if (arg3
== NULL
) SWIG_fail
;
6883 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
6884 if (PyErr_Occurred()) SWIG_fail
;
6888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6889 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,(wxFontEncoding
)arg2
,(wxString
const &)*arg3
,arg4
);
6891 wxPyEndAllowThreads(__tstate
);
6892 if (PyErr_Occurred()) SWIG_fail
;
6909 static PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6910 PyObject
*resultobj
;
6911 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6913 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6914 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6916 bool temp3
= False
;
6917 PyObject
* obj0
= 0 ;
6918 PyObject
* obj1
= 0 ;
6919 PyObject
* obj2
= 0 ;
6921 (char *) "self",(char *) "encoding",(char *) "facename", NULL
6924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6925 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6927 arg2
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj1
);
6928 if (PyErr_Occurred()) SWIG_fail
;
6932 arg3
= wxString_in_helper(obj2
);
6933 if (arg3
== NULL
) SWIG_fail
;
6938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6939 result
= (bool)(arg1
)->IsEncodingAvailable((wxFontEncoding
)arg2
,(wxString
const &)*arg3
);
6941 wxPyEndAllowThreads(__tstate
);
6942 if (PyErr_Occurred()) SWIG_fail
;
6944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6959 static PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6960 PyObject
*resultobj
;
6961 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6962 wxWindow
*arg2
= (wxWindow
*) 0 ;
6963 PyObject
* obj0
= 0 ;
6964 PyObject
* obj1
= 0 ;
6966 (char *) "self",(char *) "parent", NULL
6969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) goto fail
;
6970 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6971 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6974 (arg1
)->SetDialogParent(arg2
);
6976 wxPyEndAllowThreads(__tstate
);
6977 if (PyErr_Occurred()) SWIG_fail
;
6979 Py_INCREF(Py_None
); resultobj
= Py_None
;
6986 static PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6987 PyObject
*resultobj
;
6988 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6989 wxString
*arg2
= 0 ;
6990 bool temp2
= False
;
6991 PyObject
* obj0
= 0 ;
6992 PyObject
* obj1
= 0 ;
6994 (char *) "self",(char *) "title", NULL
6997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
6998 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7000 arg2
= wxString_in_helper(obj1
);
7001 if (arg2
== NULL
) SWIG_fail
;
7005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7006 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
7008 wxPyEndAllowThreads(__tstate
);
7009 if (PyErr_Occurred()) SWIG_fail
;
7011 Py_INCREF(Py_None
); resultobj
= Py_None
;
7026 static PyObject
* FontMapper_swigregister(PyObject
*self
, PyObject
*args
) {
7028 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7029 SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper
, obj
);
7031 return Py_BuildValue((char *)"");
7033 static PyObject
*_wrap_new_Font(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7034 PyObject
*resultobj
;
7039 bool arg5
= (bool) False
;
7040 wxString
const &arg6_defvalue
= wxPyEmptyString
;
7041 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7042 int arg7
= (int) wxFONTENCODING_DEFAULT
;
7044 bool temp6
= False
;
7045 PyObject
* obj0
= 0 ;
7046 PyObject
* obj1
= 0 ;
7047 PyObject
* obj2
= 0 ;
7048 PyObject
* obj3
= 0 ;
7049 PyObject
* obj4
= 0 ;
7050 PyObject
* obj5
= 0 ;
7051 PyObject
* obj6
= 0 ;
7053 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
7056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7058 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
7059 if (PyErr_Occurred()) SWIG_fail
;
7062 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7063 if (PyErr_Occurred()) SWIG_fail
;
7066 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7067 if (PyErr_Occurred()) SWIG_fail
;
7070 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
7071 if (PyErr_Occurred()) SWIG_fail
;
7075 arg5
= (bool) SWIG_PyObj_AsBool(obj4
);
7076 if (PyErr_Occurred()) SWIG_fail
;
7081 arg6
= wxString_in_helper(obj5
);
7082 if (arg6
== NULL
) SWIG_fail
;
7088 arg7
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj6
);
7089 if (PyErr_Occurred()) SWIG_fail
;
7093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7094 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
7096 wxPyEndAllowThreads(__tstate
);
7097 if (PyErr_Occurred()) SWIG_fail
;
7099 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 1);
7114 static PyObject
*_wrap_delete_Font(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7115 PyObject
*resultobj
;
7116 wxFont
*arg1
= (wxFont
*) 0 ;
7117 PyObject
* obj0
= 0 ;
7119 (char *) "self", NULL
7122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Font",kwnames
,&obj0
)) goto fail
;
7123 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7128 wxPyEndAllowThreads(__tstate
);
7129 if (PyErr_Occurred()) SWIG_fail
;
7131 Py_INCREF(Py_None
); resultobj
= Py_None
;
7138 static PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7139 PyObject
*resultobj
;
7140 wxNativeFontInfo
*arg1
= 0 ;
7142 PyObject
* obj0
= 0 ;
7144 (char *) "info", NULL
7147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) goto fail
;
7148 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7150 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7154 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
7156 wxPyEndAllowThreads(__tstate
);
7157 if (PyErr_Occurred()) SWIG_fail
;
7159 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 1);
7166 static PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7167 PyObject
*resultobj
;
7168 wxString
*arg1
= 0 ;
7170 bool temp1
= False
;
7171 PyObject
* obj0
= 0 ;
7173 (char *) "info", NULL
7176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) goto fail
;
7178 arg1
= wxString_in_helper(obj0
);
7179 if (arg1
== NULL
) SWIG_fail
;
7183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7184 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
7186 wxPyEndAllowThreads(__tstate
);
7187 if (PyErr_Occurred()) SWIG_fail
;
7189 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 1);
7204 static PyObject
*_wrap_new_Font2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7205 PyObject
*resultobj
;
7208 int arg3
= (int) wxFONTFLAG_DEFAULT
;
7209 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7210 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7211 int arg5
= (int) wxFONTENCODING_DEFAULT
;
7213 bool temp4
= False
;
7214 PyObject
* obj0
= 0 ;
7215 PyObject
* obj1
= 0 ;
7216 PyObject
* obj2
= 0 ;
7217 PyObject
* obj3
= 0 ;
7218 PyObject
* obj4
= 0 ;
7220 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
7223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_Font2",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7225 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
7226 if (PyErr_Occurred()) SWIG_fail
;
7229 arg2
= (wxFontFamily
) SWIG_PyObj_AsInt(obj1
);
7230 if (PyErr_Occurred()) SWIG_fail
;
7234 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7235 if (PyErr_Occurred()) SWIG_fail
;
7240 arg4
= wxString_in_helper(obj3
);
7241 if (arg4
== NULL
) SWIG_fail
;
7247 arg5
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj4
);
7248 if (PyErr_Occurred()) SWIG_fail
;
7252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7253 result
= (wxFont
*)new_wxFont(arg1
,(wxFontFamily
)arg2
,arg3
,(wxString
const &)*arg4
,(wxFontEncoding
)arg5
);
7255 wxPyEndAllowThreads(__tstate
);
7256 if (PyErr_Occurred()) SWIG_fail
;
7258 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 1);
7273 static PyObject
*_wrap_Font_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7274 PyObject
*resultobj
;
7275 wxFont
*arg1
= (wxFont
*) 0 ;
7277 PyObject
* obj0
= 0 ;
7279 (char *) "self", NULL
7282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_Ok",kwnames
,&obj0
)) goto fail
;
7283 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7286 result
= (bool)((wxFont
const *)arg1
)->Ok();
7288 wxPyEndAllowThreads(__tstate
);
7289 if (PyErr_Occurred()) SWIG_fail
;
7291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7298 static PyObject
*_wrap_Font___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7299 PyObject
*resultobj
;
7300 wxFont
*arg1
= (wxFont
*) 0 ;
7303 PyObject
* obj0
= 0 ;
7304 PyObject
* obj1
= 0 ;
7306 (char *) "self",(char *) "font", NULL
7309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7310 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7311 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7313 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7317 result
= (bool)((wxFont
const *)arg1
)->operator ==((wxFont
const &)*arg2
);
7319 wxPyEndAllowThreads(__tstate
);
7320 if (PyErr_Occurred()) SWIG_fail
;
7322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7329 static PyObject
*_wrap_Font___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7330 PyObject
*resultobj
;
7331 wxFont
*arg1
= (wxFont
*) 0 ;
7334 PyObject
* obj0
= 0 ;
7335 PyObject
* obj1
= 0 ;
7337 (char *) "self",(char *) "font", NULL
7340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7341 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7342 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7344 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7348 result
= (bool)((wxFont
const *)arg1
)->operator !=((wxFont
const &)*arg2
);
7350 wxPyEndAllowThreads(__tstate
);
7351 if (PyErr_Occurred()) SWIG_fail
;
7353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7360 static PyObject
*_wrap_Font_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7361 PyObject
*resultobj
;
7362 wxFont
*arg1
= (wxFont
*) 0 ;
7364 PyObject
* obj0
= 0 ;
7366 (char *) "self", NULL
7369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPointSize",kwnames
,&obj0
)) goto fail
;
7370 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7373 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
7375 wxPyEndAllowThreads(__tstate
);
7376 if (PyErr_Occurred()) SWIG_fail
;
7378 resultobj
= SWIG_PyObj_FromInt((int)result
);
7385 static PyObject
*_wrap_Font_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7386 PyObject
*resultobj
;
7387 wxFont
*arg1
= (wxFont
*) 0 ;
7389 PyObject
* obj0
= 0 ;
7391 (char *) "self", NULL
7394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamily",kwnames
,&obj0
)) goto fail
;
7395 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7398 result
= (int)((wxFont
const *)arg1
)->GetFamily();
7400 wxPyEndAllowThreads(__tstate
);
7401 if (PyErr_Occurred()) SWIG_fail
;
7403 resultobj
= SWIG_PyObj_FromInt((int)result
);
7410 static PyObject
*_wrap_Font_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7411 PyObject
*resultobj
;
7412 wxFont
*arg1
= (wxFont
*) 0 ;
7414 PyObject
* obj0
= 0 ;
7416 (char *) "self", NULL
7419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyle",kwnames
,&obj0
)) goto fail
;
7420 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7423 result
= (int)((wxFont
const *)arg1
)->GetStyle();
7425 wxPyEndAllowThreads(__tstate
);
7426 if (PyErr_Occurred()) SWIG_fail
;
7428 resultobj
= SWIG_PyObj_FromInt((int)result
);
7435 static PyObject
*_wrap_Font_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7436 PyObject
*resultobj
;
7437 wxFont
*arg1
= (wxFont
*) 0 ;
7439 PyObject
* obj0
= 0 ;
7441 (char *) "self", NULL
7444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeight",kwnames
,&obj0
)) goto fail
;
7445 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7448 result
= (int)((wxFont
const *)arg1
)->GetWeight();
7450 wxPyEndAllowThreads(__tstate
);
7451 if (PyErr_Occurred()) SWIG_fail
;
7453 resultobj
= SWIG_PyObj_FromInt((int)result
);
7460 static PyObject
*_wrap_Font_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7461 PyObject
*resultobj
;
7462 wxFont
*arg1
= (wxFont
*) 0 ;
7464 PyObject
* obj0
= 0 ;
7466 (char *) "self", NULL
7469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetUnderlined",kwnames
,&obj0
)) goto fail
;
7470 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7473 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
7475 wxPyEndAllowThreads(__tstate
);
7476 if (PyErr_Occurred()) SWIG_fail
;
7478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7485 static PyObject
*_wrap_Font_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7486 PyObject
*resultobj
;
7487 wxFont
*arg1
= (wxFont
*) 0 ;
7489 PyObject
* obj0
= 0 ;
7491 (char *) "self", NULL
7494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFaceName",kwnames
,&obj0
)) goto fail
;
7495 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7498 result
= ((wxFont
const *)arg1
)->GetFaceName();
7500 wxPyEndAllowThreads(__tstate
);
7501 if (PyErr_Occurred()) SWIG_fail
;
7505 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7507 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7516 static PyObject
*_wrap_Font_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7517 PyObject
*resultobj
;
7518 wxFont
*arg1
= (wxFont
*) 0 ;
7520 PyObject
* obj0
= 0 ;
7522 (char *) "self", NULL
7525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetEncoding",kwnames
,&obj0
)) goto fail
;
7526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7529 result
= (int)((wxFont
const *)arg1
)->GetEncoding();
7531 wxPyEndAllowThreads(__tstate
);
7532 if (PyErr_Occurred()) SWIG_fail
;
7534 resultobj
= SWIG_PyObj_FromInt((int)result
);
7541 static PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7542 PyObject
*resultobj
;
7543 wxFont
*arg1
= (wxFont
*) 0 ;
7544 wxNativeFontInfo
*result
;
7545 PyObject
* obj0
= 0 ;
7547 (char *) "self", NULL
7550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfo",kwnames
,&obj0
)) goto fail
;
7551 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7554 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
7556 wxPyEndAllowThreads(__tstate
);
7557 if (PyErr_Occurred()) SWIG_fail
;
7559 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNativeFontInfo
, 0);
7566 static PyObject
*_wrap_Font_IsFixedWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7567 PyObject
*resultobj
;
7568 wxFont
*arg1
= (wxFont
*) 0 ;
7570 PyObject
* obj0
= 0 ;
7572 (char *) "self", NULL
7575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsFixedWidth",kwnames
,&obj0
)) goto fail
;
7576 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7579 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
7581 wxPyEndAllowThreads(__tstate
);
7582 if (PyErr_Occurred()) SWIG_fail
;
7584 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7591 static PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7592 PyObject
*resultobj
;
7593 wxFont
*arg1
= (wxFont
*) 0 ;
7595 PyObject
* obj0
= 0 ;
7597 (char *) "self", NULL
7600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoDesc",kwnames
,&obj0
)) goto fail
;
7601 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7604 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
7606 wxPyEndAllowThreads(__tstate
);
7607 if (PyErr_Occurred()) SWIG_fail
;
7611 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7613 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7622 static PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7623 PyObject
*resultobj
;
7624 wxFont
*arg1
= (wxFont
*) 0 ;
7626 PyObject
* obj0
= 0 ;
7628 (char *) "self", NULL
7631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames
,&obj0
)) goto fail
;
7632 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7635 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
7637 wxPyEndAllowThreads(__tstate
);
7638 if (PyErr_Occurred()) SWIG_fail
;
7642 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7644 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7653 static PyObject
*_wrap_Font_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7654 PyObject
*resultobj
;
7655 wxFont
*arg1
= (wxFont
*) 0 ;
7657 PyObject
* obj0
= 0 ;
7658 PyObject
* obj1
= 0 ;
7660 (char *) "self",(char *) "pointSize", NULL
7663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7666 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7667 if (PyErr_Occurred()) SWIG_fail
;
7670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7671 (arg1
)->SetPointSize(arg2
);
7673 wxPyEndAllowThreads(__tstate
);
7674 if (PyErr_Occurred()) SWIG_fail
;
7676 Py_INCREF(Py_None
); resultobj
= Py_None
;
7683 static PyObject
*_wrap_Font_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7684 PyObject
*resultobj
;
7685 wxFont
*arg1
= (wxFont
*) 0 ;
7687 PyObject
* obj0
= 0 ;
7688 PyObject
* obj1
= 0 ;
7690 (char *) "self",(char *) "family", NULL
7693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
7694 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7696 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7697 if (PyErr_Occurred()) SWIG_fail
;
7700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7701 (arg1
)->SetFamily(arg2
);
7703 wxPyEndAllowThreads(__tstate
);
7704 if (PyErr_Occurred()) SWIG_fail
;
7706 Py_INCREF(Py_None
); resultobj
= Py_None
;
7713 static PyObject
*_wrap_Font_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7714 PyObject
*resultobj
;
7715 wxFont
*arg1
= (wxFont
*) 0 ;
7717 PyObject
* obj0
= 0 ;
7718 PyObject
* obj1
= 0 ;
7720 (char *) "self",(char *) "style", NULL
7723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
7724 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7726 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7727 if (PyErr_Occurred()) SWIG_fail
;
7730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7731 (arg1
)->SetStyle(arg2
);
7733 wxPyEndAllowThreads(__tstate
);
7734 if (PyErr_Occurred()) SWIG_fail
;
7736 Py_INCREF(Py_None
); resultobj
= Py_None
;
7743 static PyObject
*_wrap_Font_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7744 PyObject
*resultobj
;
7745 wxFont
*arg1
= (wxFont
*) 0 ;
7747 PyObject
* obj0
= 0 ;
7748 PyObject
* obj1
= 0 ;
7750 (char *) "self",(char *) "weight", NULL
7753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
7754 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7756 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7757 if (PyErr_Occurred()) SWIG_fail
;
7760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7761 (arg1
)->SetWeight(arg2
);
7763 wxPyEndAllowThreads(__tstate
);
7764 if (PyErr_Occurred()) SWIG_fail
;
7766 Py_INCREF(Py_None
); resultobj
= Py_None
;
7773 static PyObject
*_wrap_Font_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7774 PyObject
*resultobj
;
7775 wxFont
*arg1
= (wxFont
*) 0 ;
7776 wxString
*arg2
= 0 ;
7777 bool temp2
= False
;
7778 PyObject
* obj0
= 0 ;
7779 PyObject
* obj1
= 0 ;
7781 (char *) "self",(char *) "faceName", NULL
7784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
7785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7787 arg2
= wxString_in_helper(obj1
);
7788 if (arg2
== NULL
) SWIG_fail
;
7792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7793 (arg1
)->SetFaceName((wxString
const &)*arg2
);
7795 wxPyEndAllowThreads(__tstate
);
7796 if (PyErr_Occurred()) SWIG_fail
;
7798 Py_INCREF(Py_None
); resultobj
= Py_None
;
7813 static PyObject
*_wrap_Font_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7814 PyObject
*resultobj
;
7815 wxFont
*arg1
= (wxFont
*) 0 ;
7817 PyObject
* obj0
= 0 ;
7818 PyObject
* obj1
= 0 ;
7820 (char *) "self",(char *) "underlined", NULL
7823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
7824 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7826 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
7827 if (PyErr_Occurred()) SWIG_fail
;
7830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7831 (arg1
)->SetUnderlined(arg2
);
7833 wxPyEndAllowThreads(__tstate
);
7834 if (PyErr_Occurred()) SWIG_fail
;
7836 Py_INCREF(Py_None
); resultobj
= Py_None
;
7843 static PyObject
*_wrap_Font_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7844 PyObject
*resultobj
;
7845 wxFont
*arg1
= (wxFont
*) 0 ;
7847 PyObject
* obj0
= 0 ;
7848 PyObject
* obj1
= 0 ;
7850 (char *) "self",(char *) "encoding", NULL
7853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
7854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7856 arg2
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj1
);
7857 if (PyErr_Occurred()) SWIG_fail
;
7860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7861 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
7863 wxPyEndAllowThreads(__tstate
);
7864 if (PyErr_Occurred()) SWIG_fail
;
7866 Py_INCREF(Py_None
); resultobj
= Py_None
;
7873 static PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7874 PyObject
*resultobj
;
7875 wxFont
*arg1
= (wxFont
*) 0 ;
7876 wxNativeFontInfo
*arg2
= 0 ;
7877 PyObject
* obj0
= 0 ;
7878 PyObject
* obj1
= 0 ;
7880 (char *) "self",(char *) "info", NULL
7883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
7884 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7885 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7887 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7891 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
7893 wxPyEndAllowThreads(__tstate
);
7894 if (PyErr_Occurred()) SWIG_fail
;
7896 Py_INCREF(Py_None
); resultobj
= Py_None
;
7903 static PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7904 PyObject
*resultobj
;
7905 wxFont
*arg1
= (wxFont
*) 0 ;
7906 wxString
*arg2
= 0 ;
7907 bool temp2
= False
;
7908 PyObject
* obj0
= 0 ;
7909 PyObject
* obj1
= 0 ;
7911 (char *) "self",(char *) "info", NULL
7914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) goto fail
;
7915 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7917 arg2
= wxString_in_helper(obj1
);
7918 if (arg2
== NULL
) SWIG_fail
;
7922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7923 (arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
7925 wxPyEndAllowThreads(__tstate
);
7926 if (PyErr_Occurred()) SWIG_fail
;
7928 Py_INCREF(Py_None
); resultobj
= Py_None
;
7943 static PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7944 PyObject
*resultobj
;
7945 wxFont
*arg1
= (wxFont
*) 0 ;
7946 wxString
*arg2
= 0 ;
7947 bool temp2
= False
;
7948 PyObject
* obj0
= 0 ;
7949 PyObject
* obj1
= 0 ;
7951 (char *) "self",(char *) "info", NULL
7954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
7955 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7957 arg2
= wxString_in_helper(obj1
);
7958 if (arg2
== NULL
) SWIG_fail
;
7962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7963 (arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
7965 wxPyEndAllowThreads(__tstate
);
7966 if (PyErr_Occurred()) SWIG_fail
;
7968 Py_INCREF(Py_None
); resultobj
= Py_None
;
7983 static PyObject
*_wrap_Font_GetFamilyString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7984 PyObject
*resultobj
;
7985 wxFont
*arg1
= (wxFont
*) 0 ;
7987 PyObject
* obj0
= 0 ;
7989 (char *) "self", NULL
7992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamilyString",kwnames
,&obj0
)) goto fail
;
7993 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7996 result
= ((wxFont
const *)arg1
)->GetFamilyString();
7998 wxPyEndAllowThreads(__tstate
);
7999 if (PyErr_Occurred()) SWIG_fail
;
8003 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8005 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8014 static PyObject
*_wrap_Font_GetStyleString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8015 PyObject
*resultobj
;
8016 wxFont
*arg1
= (wxFont
*) 0 ;
8018 PyObject
* obj0
= 0 ;
8020 (char *) "self", NULL
8023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyleString",kwnames
,&obj0
)) goto fail
;
8024 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8027 result
= ((wxFont
const *)arg1
)->GetStyleString();
8029 wxPyEndAllowThreads(__tstate
);
8030 if (PyErr_Occurred()) SWIG_fail
;
8034 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8036 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8045 static PyObject
*_wrap_Font_GetWeightString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8046 PyObject
*resultobj
;
8047 wxFont
*arg1
= (wxFont
*) 0 ;
8049 PyObject
* obj0
= 0 ;
8051 (char *) "self", NULL
8054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeightString",kwnames
,&obj0
)) goto fail
;
8055 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8058 result
= ((wxFont
const *)arg1
)->GetWeightString();
8060 wxPyEndAllowThreads(__tstate
);
8061 if (PyErr_Occurred()) SWIG_fail
;
8065 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8067 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8076 static PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8077 PyObject
*resultobj
;
8078 wxFont
*arg1
= (wxFont
*) 0 ;
8079 bool arg2
= (bool) True
;
8080 PyObject
* obj0
= 0 ;
8081 PyObject
* obj1
= 0 ;
8083 (char *) "self",(char *) "no", NULL
8086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) goto fail
;
8087 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8090 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
8091 if (PyErr_Occurred()) SWIG_fail
;
8095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8096 (arg1
)->SetNoAntiAliasing(arg2
);
8098 wxPyEndAllowThreads(__tstate
);
8099 if (PyErr_Occurred()) SWIG_fail
;
8101 Py_INCREF(Py_None
); resultobj
= Py_None
;
8108 static PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8109 PyObject
*resultobj
;
8110 wxFont
*arg1
= (wxFont
*) 0 ;
8112 PyObject
* obj0
= 0 ;
8114 (char *) "self", NULL
8117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNoAntiAliasing",kwnames
,&obj0
)) goto fail
;
8118 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8121 result
= (bool)(arg1
)->GetNoAntiAliasing();
8123 wxPyEndAllowThreads(__tstate
);
8124 if (PyErr_Occurred()) SWIG_fail
;
8126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8133 static PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8134 PyObject
*resultobj
;
8140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Font_GetDefaultEncoding",kwnames
)) goto fail
;
8142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8143 result
= (int)wxFont::GetDefaultEncoding();
8145 wxPyEndAllowThreads(__tstate
);
8146 if (PyErr_Occurred()) SWIG_fail
;
8148 resultobj
= SWIG_PyObj_FromInt((int)result
);
8155 static PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8156 PyObject
*resultobj
;
8158 PyObject
* obj0
= 0 ;
8160 (char *) "encoding", NULL
8163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) goto fail
;
8165 arg1
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj0
);
8166 if (PyErr_Occurred()) SWIG_fail
;
8169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8170 wxFont::SetDefaultEncoding((wxFontEncoding
)arg1
);
8172 wxPyEndAllowThreads(__tstate
);
8173 if (PyErr_Occurred()) SWIG_fail
;
8175 Py_INCREF(Py_None
); resultobj
= Py_None
;
8182 static PyObject
* Font_swigregister(PyObject
*self
, PyObject
*args
) {
8184 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8185 SWIG_TypeClientData(SWIGTYPE_p_wxFont
, obj
);
8187 return Py_BuildValue((char *)"");
8189 static PyObject
*_wrap_new_FontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8190 PyObject
*resultobj
;
8191 wxPyFontEnumerator
*result
;
8196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontEnumerator",kwnames
)) goto fail
;
8198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8199 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
8201 wxPyEndAllowThreads(__tstate
);
8202 if (PyErr_Occurred()) SWIG_fail
;
8204 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyFontEnumerator
, 1);
8211 static PyObject
*_wrap_delete_FontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8212 PyObject
*resultobj
;
8213 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8214 PyObject
* obj0
= 0 ;
8216 (char *) "self", NULL
8219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontEnumerator",kwnames
,&obj0
)) goto fail
;
8220 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8225 wxPyEndAllowThreads(__tstate
);
8226 if (PyErr_Occurred()) SWIG_fail
;
8228 Py_INCREF(Py_None
); resultobj
= Py_None
;
8235 static PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8236 PyObject
*resultobj
;
8237 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8238 PyObject
*arg2
= (PyObject
*) 0 ;
8239 PyObject
*arg3
= (PyObject
*) 0 ;
8241 PyObject
* obj0
= 0 ;
8242 PyObject
* obj1
= 0 ;
8243 PyObject
* obj2
= 0 ;
8244 PyObject
* obj3
= 0 ;
8246 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
8249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8250 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8254 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
8255 if (PyErr_Occurred()) SWIG_fail
;
8258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8259 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
8261 wxPyEndAllowThreads(__tstate
);
8262 if (PyErr_Occurred()) SWIG_fail
;
8264 Py_INCREF(Py_None
); resultobj
= Py_None
;
8271 static PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8272 PyObject
*resultobj
;
8273 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8274 int arg2
= (int) wxFONTENCODING_SYSTEM
;
8275 bool arg3
= (bool) False
;
8277 PyObject
* obj0
= 0 ;
8278 PyObject
* obj1
= 0 ;
8279 PyObject
* obj2
= 0 ;
8281 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
8284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8285 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8288 arg2
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj1
);
8289 if (PyErr_Occurred()) SWIG_fail
;
8294 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
8295 if (PyErr_Occurred()) SWIG_fail
;
8299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8300 result
= (bool)(arg1
)->EnumerateFacenames((wxFontEncoding
)arg2
,arg3
);
8302 wxPyEndAllowThreads(__tstate
);
8303 if (PyErr_Occurred()) SWIG_fail
;
8305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8312 static PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8313 PyObject
*resultobj
;
8314 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8315 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8316 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8318 bool temp2
= False
;
8319 PyObject
* obj0
= 0 ;
8320 PyObject
* obj1
= 0 ;
8322 (char *) "self",(char *) "facename", NULL
8325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) goto fail
;
8326 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8329 arg2
= wxString_in_helper(obj1
);
8330 if (arg2
== NULL
) SWIG_fail
;
8335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8336 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
8338 wxPyEndAllowThreads(__tstate
);
8339 if (PyErr_Occurred()) SWIG_fail
;
8341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8356 static PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8357 PyObject
*resultobj
;
8358 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8360 PyObject
* obj0
= 0 ;
8362 (char *) "self", NULL
8365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetEncodings",kwnames
,&obj0
)) goto fail
;
8366 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8369 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(arg1
);
8371 wxPyEndAllowThreads(__tstate
);
8372 if (PyErr_Occurred()) SWIG_fail
;
8381 static PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8382 PyObject
*resultobj
;
8383 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8385 PyObject
* obj0
= 0 ;
8387 (char *) "self", NULL
8390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetFacenames",kwnames
,&obj0
)) goto fail
;
8391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8394 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(arg1
);
8396 wxPyEndAllowThreads(__tstate
);
8397 if (PyErr_Occurred()) SWIG_fail
;
8406 static PyObject
* FontEnumerator_swigregister(PyObject
*self
, PyObject
*args
) {
8408 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8409 SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator
, obj
);
8411 return Py_BuildValue((char *)"");
8413 static PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8414 PyObject
*resultobj
;
8415 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8417 PyObject
* obj0
= 0 ;
8418 PyObject
* obj1
= 0 ;
8420 (char *) "self",(char *) "Language", NULL
8423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Language_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8424 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8426 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8427 if (PyErr_Occurred()) SWIG_fail
;
8429 if (arg1
) (arg1
)->Language
= arg2
;
8431 Py_INCREF(Py_None
); resultobj
= Py_None
;
8438 static PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8439 PyObject
*resultobj
;
8440 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8442 PyObject
* obj0
= 0 ;
8444 (char *) "self", NULL
8447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Language_get",kwnames
,&obj0
)) goto fail
;
8448 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8449 result
= (int) ((arg1
)->Language
);
8451 resultobj
= SWIG_PyObj_FromInt((int)result
);
8458 static PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8459 PyObject
*resultobj
;
8460 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8461 wxString
*arg2
= (wxString
*) 0 ;
8462 bool temp2
= False
;
8463 PyObject
* obj0
= 0 ;
8464 PyObject
* obj1
= 0 ;
8466 (char *) "self",(char *) "CanonicalName", NULL
8469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8470 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8472 arg2
= wxString_in_helper(obj1
);
8473 if (arg2
== NULL
) SWIG_fail
;
8476 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
8478 Py_INCREF(Py_None
); resultobj
= Py_None
;
8493 static PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8494 PyObject
*resultobj
;
8495 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8497 PyObject
* obj0
= 0 ;
8499 (char *) "self", NULL
8502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_CanonicalName_get",kwnames
,&obj0
)) goto fail
;
8503 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8504 result
= (wxString
*)& ((arg1
)->CanonicalName
);
8508 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8510 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8519 static PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8520 PyObject
*resultobj
;
8521 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8522 wxString
*arg2
= (wxString
*) 0 ;
8523 bool temp2
= False
;
8524 PyObject
* obj0
= 0 ;
8525 PyObject
* obj1
= 0 ;
8527 (char *) "self",(char *) "Description", NULL
8530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Description_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8531 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8533 arg2
= wxString_in_helper(obj1
);
8534 if (arg2
== NULL
) SWIG_fail
;
8537 if (arg1
) (arg1
)->Description
= *arg2
;
8539 Py_INCREF(Py_None
); resultobj
= Py_None
;
8554 static PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8555 PyObject
*resultobj
;
8556 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8558 PyObject
* obj0
= 0 ;
8560 (char *) "self", NULL
8563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Description_get",kwnames
,&obj0
)) goto fail
;
8564 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8565 result
= (wxString
*)& ((arg1
)->Description
);
8569 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8571 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8580 static PyObject
* LanguageInfo_swigregister(PyObject
*self
, PyObject
*args
) {
8582 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8583 SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo
, obj
);
8585 return Py_BuildValue((char *)"");
8587 static PyObject
*_wrap_new_Locale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8588 PyObject
*resultobj
;
8589 int arg1
= (int) wxLANGUAGE_DEFAULT
;
8590 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
8592 PyObject
* obj0
= 0 ;
8593 PyObject
* obj1
= 0 ;
8595 (char *) "language",(char *) "flags", NULL
8598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) goto fail
;
8601 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
8602 if (PyErr_Occurred()) SWIG_fail
;
8607 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8608 if (PyErr_Occurred()) SWIG_fail
;
8612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8613 result
= (wxLocale
*)new wxLocale(arg1
,arg2
);
8615 wxPyEndAllowThreads(__tstate
);
8616 if (PyErr_Occurred()) SWIG_fail
;
8618 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLocale
, 1);
8625 static PyObject
*_wrap_delete_Locale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8626 PyObject
*resultobj
;
8627 wxLocale
*arg1
= (wxLocale
*) 0 ;
8628 PyObject
* obj0
= 0 ;
8630 (char *) "self", NULL
8633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Locale",kwnames
,&obj0
)) goto fail
;
8634 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8639 wxPyEndAllowThreads(__tstate
);
8640 if (PyErr_Occurred()) SWIG_fail
;
8642 Py_INCREF(Py_None
); resultobj
= Py_None
;
8649 static PyObject
*_wrap_Locale_Init1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8650 PyObject
*resultobj
;
8651 wxLocale
*arg1
= (wxLocale
*) 0 ;
8652 wxString
*arg2
= 0 ;
8653 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8654 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8655 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8656 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8657 bool arg5
= (bool) True
;
8658 bool arg6
= (bool) False
;
8660 bool temp2
= False
;
8661 bool temp3
= False
;
8662 bool temp4
= False
;
8663 PyObject
* obj0
= 0 ;
8664 PyObject
* obj1
= 0 ;
8665 PyObject
* obj2
= 0 ;
8666 PyObject
* obj3
= 0 ;
8667 PyObject
* obj4
= 0 ;
8668 PyObject
* obj5
= 0 ;
8670 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
8673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8676 arg2
= wxString_in_helper(obj1
);
8677 if (arg2
== NULL
) SWIG_fail
;
8682 arg3
= wxString_in_helper(obj2
);
8683 if (arg3
== NULL
) SWIG_fail
;
8689 arg4
= wxString_in_helper(obj3
);
8690 if (arg4
== NULL
) SWIG_fail
;
8696 arg5
= (bool) SWIG_PyObj_AsBool(obj4
);
8697 if (PyErr_Occurred()) SWIG_fail
;
8702 arg6
= (bool) SWIG_PyObj_AsBool(obj5
);
8703 if (PyErr_Occurred()) SWIG_fail
;
8707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8708 result
= (bool)(arg1
)->Init((wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
8710 wxPyEndAllowThreads(__tstate
);
8711 if (PyErr_Occurred()) SWIG_fail
;
8713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8744 static PyObject
*_wrap_Locale_Init2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8745 PyObject
*resultobj
;
8746 wxLocale
*arg1
= (wxLocale
*) 0 ;
8747 int arg2
= (int) wxLANGUAGE_DEFAULT
;
8748 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
8750 PyObject
* obj0
= 0 ;
8751 PyObject
* obj1
= 0 ;
8752 PyObject
* obj2
= 0 ;
8754 (char *) "self",(char *) "language",(char *) "flags", NULL
8757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8758 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8761 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8762 if (PyErr_Occurred()) SWIG_fail
;
8767 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8768 if (PyErr_Occurred()) SWIG_fail
;
8772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8773 result
= (bool)(arg1
)->Init(arg2
,arg3
);
8775 wxPyEndAllowThreads(__tstate
);
8776 if (PyErr_Occurred()) SWIG_fail
;
8778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8785 static PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8786 PyObject
*resultobj
;
8792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemLanguage",kwnames
)) goto fail
;
8794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8795 result
= (int)wxLocale::GetSystemLanguage();
8797 wxPyEndAllowThreads(__tstate
);
8798 if (PyErr_Occurred()) SWIG_fail
;
8800 resultobj
= SWIG_PyObj_FromInt((int)result
);
8807 static PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8808 PyObject
*resultobj
;
8814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncoding",kwnames
)) goto fail
;
8816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8817 result
= (int)wxLocale::GetSystemEncoding();
8819 wxPyEndAllowThreads(__tstate
);
8820 if (PyErr_Occurred()) SWIG_fail
;
8822 resultobj
= SWIG_PyObj_FromInt((int)result
);
8829 static PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8830 PyObject
*resultobj
;
8836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncodingName",kwnames
)) goto fail
;
8838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8839 result
= wxLocale::GetSystemEncodingName();
8841 wxPyEndAllowThreads(__tstate
);
8842 if (PyErr_Occurred()) SWIG_fail
;
8846 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8848 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8857 static PyObject
*_wrap_Locale_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8858 PyObject
*resultobj
;
8859 wxLocale
*arg1
= (wxLocale
*) 0 ;
8861 PyObject
* obj0
= 0 ;
8863 (char *) "self", NULL
8866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsOk",kwnames
,&obj0
)) goto fail
;
8867 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8870 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
8872 wxPyEndAllowThreads(__tstate
);
8873 if (PyErr_Occurred()) SWIG_fail
;
8875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8882 static PyObject
*_wrap_Locale_GetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8883 PyObject
*resultobj
;
8884 wxLocale
*arg1
= (wxLocale
*) 0 ;
8886 PyObject
* obj0
= 0 ;
8888 (char *) "self", NULL
8891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLocale",kwnames
,&obj0
)) goto fail
;
8892 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8895 result
= ((wxLocale
const *)arg1
)->GetLocale();
8897 wxPyEndAllowThreads(__tstate
);
8898 if (PyErr_Occurred()) SWIG_fail
;
8902 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8904 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8913 static PyObject
*_wrap_Locale_GetLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8914 PyObject
*resultobj
;
8915 wxLocale
*arg1
= (wxLocale
*) 0 ;
8917 PyObject
* obj0
= 0 ;
8919 (char *) "self", NULL
8922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguage",kwnames
,&obj0
)) goto fail
;
8923 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8926 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
8928 wxPyEndAllowThreads(__tstate
);
8929 if (PyErr_Occurred()) SWIG_fail
;
8931 resultobj
= SWIG_PyObj_FromInt((int)result
);
8938 static PyObject
*_wrap_Locale_GetSysName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8939 PyObject
*resultobj
;
8940 wxLocale
*arg1
= (wxLocale
*) 0 ;
8942 PyObject
* obj0
= 0 ;
8944 (char *) "self", NULL
8947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetSysName",kwnames
,&obj0
)) goto fail
;
8948 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8951 result
= ((wxLocale
const *)arg1
)->GetSysName();
8953 wxPyEndAllowThreads(__tstate
);
8954 if (PyErr_Occurred()) SWIG_fail
;
8958 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8960 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8969 static PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8970 PyObject
*resultobj
;
8971 wxLocale
*arg1
= (wxLocale
*) 0 ;
8973 PyObject
* obj0
= 0 ;
8975 (char *) "self", NULL
8978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetCanonicalName",kwnames
,&obj0
)) goto fail
;
8979 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8982 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
8984 wxPyEndAllowThreads(__tstate
);
8985 if (PyErr_Occurred()) SWIG_fail
;
8989 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8991 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9000 static PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9001 PyObject
*resultobj
;
9002 wxString
*arg1
= 0 ;
9003 bool temp1
= False
;
9004 PyObject
* obj0
= 0 ;
9006 (char *) "prefix", NULL
9009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) goto fail
;
9011 arg1
= wxString_in_helper(obj0
);
9012 if (arg1
== NULL
) SWIG_fail
;
9016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9017 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
9019 wxPyEndAllowThreads(__tstate
);
9020 if (PyErr_Occurred()) SWIG_fail
;
9022 Py_INCREF(Py_None
); resultobj
= Py_None
;
9037 static PyObject
*_wrap_Locale_AddCatalog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9038 PyObject
*resultobj
;
9039 wxLocale
*arg1
= (wxLocale
*) 0 ;
9040 wxString
*arg2
= 0 ;
9042 bool temp2
= False
;
9043 PyObject
* obj0
= 0 ;
9044 PyObject
* obj1
= 0 ;
9046 (char *) "self",(char *) "szDomain", NULL
9049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) goto fail
;
9050 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9052 arg2
= wxString_in_helper(obj1
);
9053 if (arg2
== NULL
) SWIG_fail
;
9057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9058 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
9060 wxPyEndAllowThreads(__tstate
);
9061 if (PyErr_Occurred()) SWIG_fail
;
9063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9078 static PyObject
*_wrap_Locale_IsLoaded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9079 PyObject
*resultobj
;
9080 wxLocale
*arg1
= (wxLocale
*) 0 ;
9081 wxString
*arg2
= 0 ;
9083 bool temp2
= False
;
9084 PyObject
* obj0
= 0 ;
9085 PyObject
* obj1
= 0 ;
9087 (char *) "self",(char *) "szDomain", NULL
9090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) goto fail
;
9091 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9093 arg2
= wxString_in_helper(obj1
);
9094 if (arg2
== NULL
) SWIG_fail
;
9098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9099 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
9101 wxPyEndAllowThreads(__tstate
);
9102 if (PyErr_Occurred()) SWIG_fail
;
9104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9119 static PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9120 PyObject
*resultobj
;
9122 wxLanguageInfo
*result
;
9123 PyObject
* obj0
= 0 ;
9125 (char *) "lang", NULL
9128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) goto fail
;
9130 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
9131 if (PyErr_Occurred()) SWIG_fail
;
9134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9135 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
9137 wxPyEndAllowThreads(__tstate
);
9138 if (PyErr_Occurred()) SWIG_fail
;
9140 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLanguageInfo
, 0);
9147 static PyObject
*_wrap_Locale_GetLanguageName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9148 PyObject
*resultobj
;
9151 PyObject
* obj0
= 0 ;
9153 (char *) "lang", NULL
9156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) goto fail
;
9158 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
9159 if (PyErr_Occurred()) SWIG_fail
;
9162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9163 result
= wxLocale::GetLanguageName(arg1
);
9165 wxPyEndAllowThreads(__tstate
);
9166 if (PyErr_Occurred()) SWIG_fail
;
9170 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9172 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9181 static PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9182 PyObject
*resultobj
;
9183 wxString
*arg1
= 0 ;
9184 wxLanguageInfo
*result
;
9185 bool temp1
= False
;
9186 PyObject
* obj0
= 0 ;
9188 (char *) "locale", NULL
9191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) goto fail
;
9193 arg1
= wxString_in_helper(obj0
);
9194 if (arg1
== NULL
) SWIG_fail
;
9198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9199 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
9201 wxPyEndAllowThreads(__tstate
);
9202 if (PyErr_Occurred()) SWIG_fail
;
9204 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLanguageInfo
, 0);
9219 static PyObject
*_wrap_Locale_AddLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9220 PyObject
*resultobj
;
9221 wxLanguageInfo
*arg1
= 0 ;
9222 PyObject
* obj0
= 0 ;
9224 (char *) "info", NULL
9227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) goto fail
;
9228 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9230 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9234 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
9236 wxPyEndAllowThreads(__tstate
);
9237 if (PyErr_Occurred()) SWIG_fail
;
9239 Py_INCREF(Py_None
); resultobj
= Py_None
;
9246 static PyObject
*_wrap_Locale_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9247 PyObject
*resultobj
;
9248 wxLocale
*arg1
= (wxLocale
*) 0 ;
9249 wxString
*arg2
= 0 ;
9250 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9251 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9253 bool temp2
= False
;
9254 bool temp3
= False
;
9255 PyObject
* obj0
= 0 ;
9256 PyObject
* obj1
= 0 ;
9257 PyObject
* obj2
= 0 ;
9259 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
9262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9263 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9265 arg2
= wxString_in_helper(obj1
);
9266 if (arg2
== NULL
) SWIG_fail
;
9271 arg3
= wxString_in_helper(obj2
);
9272 if (arg3
== NULL
) SWIG_fail
;
9277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9278 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9280 wxPyEndAllowThreads(__tstate
);
9281 if (PyErr_Occurred()) SWIG_fail
;
9285 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9287 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9312 static PyObject
*_wrap_Locale_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9313 PyObject
*resultobj
;
9314 wxLocale
*arg1
= (wxLocale
*) 0 ;
9316 PyObject
* obj0
= 0 ;
9318 (char *) "self", NULL
9321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetName",kwnames
,&obj0
)) goto fail
;
9322 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9326 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
9327 result
= (wxString
*) &_result_ref
;
9330 wxPyEndAllowThreads(__tstate
);
9331 if (PyErr_Occurred()) SWIG_fail
;
9335 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9337 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9346 static PyObject
* Locale_swigregister(PyObject
*self
, PyObject
*args
) {
9348 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9349 SWIG_TypeClientData(SWIGTYPE_p_wxLocale
, obj
);
9351 return Py_BuildValue((char *)"");
9353 static PyObject
*_wrap_GetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9354 PyObject
*resultobj
;
9360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocale",kwnames
)) goto fail
;
9362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9363 result
= (wxLocale
*)wxGetLocale();
9365 wxPyEndAllowThreads(__tstate
);
9366 if (PyErr_Occurred()) SWIG_fail
;
9368 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLocale
, 0);
9375 static PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*self
, PyObject
*args
) {
9376 PyObject
*resultobj
;
9377 wxString
*arg1
= 0 ;
9379 bool temp1
= False
;
9380 PyObject
* obj0
= 0 ;
9382 if(!PyArg_ParseTuple(args
,(char *)"O:GetTranslation",&obj0
)) goto fail
;
9384 arg1
= wxString_in_helper(obj0
);
9385 if (arg1
== NULL
) SWIG_fail
;
9389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9390 result
= wxGetTranslation((wxString
const &)*arg1
);
9392 wxPyEndAllowThreads(__tstate
);
9393 if (PyErr_Occurred()) SWIG_fail
;
9397 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9399 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9416 static PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*self
, PyObject
*args
) {
9417 PyObject
*resultobj
;
9418 wxString
*arg1
= 0 ;
9419 wxString
*arg2
= 0 ;
9422 bool temp1
= False
;
9423 bool temp2
= False
;
9424 PyObject
* obj0
= 0 ;
9425 PyObject
* obj1
= 0 ;
9426 PyObject
* obj2
= 0 ;
9428 if(!PyArg_ParseTuple(args
,(char *)"OOO:GetTranslation",&obj0
,&obj1
,&obj2
)) goto fail
;
9430 arg1
= wxString_in_helper(obj0
);
9431 if (arg1
== NULL
) SWIG_fail
;
9435 arg2
= wxString_in_helper(obj1
);
9436 if (arg2
== NULL
) SWIG_fail
;
9440 arg3
= (size_t) SWIG_PyObj_AsUnsignedLong(obj2
);
9441 if (PyErr_Occurred()) SWIG_fail
;
9444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9445 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
9447 wxPyEndAllowThreads(__tstate
);
9448 if (PyErr_Occurred()) SWIG_fail
;
9452 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9454 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9479 static PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
9484 argc
= PyObject_Length(args
);
9485 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
9486 argv
[ii
] = PyTuple_GetItem(args
,ii
);
9491 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
9494 return _wrap_GetTranslation__SWIG_0(self
,args
);
9500 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
9504 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
9508 SWIG_PyObj_AsUnsignedLong(argv
[2]);
9509 if (PyErr_Occurred()) {
9517 return _wrap_GetTranslation__SWIG_1(self
,args
);
9523 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GetTranslation'");
9528 static PyObject
*_wrap_new_EncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9529 PyObject
*resultobj
;
9530 wxEncodingConverter
*result
;
9535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EncodingConverter",kwnames
)) goto fail
;
9537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9538 result
= (wxEncodingConverter
*)new wxEncodingConverter();
9540 wxPyEndAllowThreads(__tstate
);
9541 if (PyErr_Occurred()) SWIG_fail
;
9543 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxEncodingConverter
, 1);
9550 static PyObject
*_wrap_delete_EncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9551 PyObject
*resultobj
;
9552 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
9553 PyObject
* obj0
= 0 ;
9555 (char *) "self", NULL
9558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EncodingConverter",kwnames
,&obj0
)) goto fail
;
9559 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEncodingConverter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9564 wxPyEndAllowThreads(__tstate
);
9565 if (PyErr_Occurred()) SWIG_fail
;
9567 Py_INCREF(Py_None
); resultobj
= Py_None
;
9574 static PyObject
*_wrap_EncodingConverter_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9575 PyObject
*resultobj
;
9576 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
9579 int arg4
= (int) wxCONVERT_STRICT
;
9581 PyObject
* obj0
= 0 ;
9582 PyObject
* obj1
= 0 ;
9583 PyObject
* obj2
= 0 ;
9584 PyObject
* obj3
= 0 ;
9586 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
9589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9590 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEncodingConverter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9592 arg2
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj1
);
9593 if (PyErr_Occurred()) SWIG_fail
;
9596 arg3
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj2
);
9597 if (PyErr_Occurred()) SWIG_fail
;
9601 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
9602 if (PyErr_Occurred()) SWIG_fail
;
9606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9607 result
= (bool)(arg1
)->Init((wxFontEncoding
)arg2
,(wxFontEncoding
)arg3
,arg4
);
9609 wxPyEndAllowThreads(__tstate
);
9610 if (PyErr_Occurred()) SWIG_fail
;
9612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9619 static PyObject
*_wrap_EncodingConverter_Convert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9620 PyObject
*resultobj
;
9621 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
9622 wxString
*arg2
= 0 ;
9624 bool temp2
= False
;
9625 PyObject
* obj0
= 0 ;
9626 PyObject
* obj1
= 0 ;
9628 (char *) "self",(char *) "input", NULL
9631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) goto fail
;
9632 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEncodingConverter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9634 arg2
= wxString_in_helper(obj1
);
9635 if (arg2
== NULL
) SWIG_fail
;
9639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9640 result
= (arg1
)->Convert((wxString
const &)*arg2
);
9642 wxPyEndAllowThreads(__tstate
);
9643 if (PyErr_Occurred()) SWIG_fail
;
9647 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9649 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9666 static PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9667 PyObject
*resultobj
;
9669 int arg2
= (int) wxPLATFORM_CURRENT
;
9670 wxFontEncodingArray result
;
9671 PyObject
* obj0
= 0 ;
9672 PyObject
* obj1
= 0 ;
9674 (char *) "enc",(char *) "platform", NULL
9677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) goto fail
;
9679 arg1
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj0
);
9680 if (PyErr_Occurred()) SWIG_fail
;
9684 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9685 if (PyErr_Occurred()) SWIG_fail
;
9689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9690 result
= wxEncodingConverter::GetPlatformEquivalents((wxFontEncoding
)arg1
,arg2
);
9692 wxPyEndAllowThreads(__tstate
);
9693 if (PyErr_Occurred()) SWIG_fail
;
9696 resultobj
= PyList_New(0);
9697 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
9698 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
9699 PyList_Append(resultobj
, number
);
9709 static PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9710 PyObject
*resultobj
;
9712 wxFontEncodingArray result
;
9713 PyObject
* obj0
= 0 ;
9715 (char *) "enc", NULL
9718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) goto fail
;
9720 arg1
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj0
);
9721 if (PyErr_Occurred()) SWIG_fail
;
9724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9725 result
= wxEncodingConverter::GetAllEquivalents((wxFontEncoding
)arg1
);
9727 wxPyEndAllowThreads(__tstate
);
9728 if (PyErr_Occurred()) SWIG_fail
;
9731 resultobj
= PyList_New(0);
9732 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
9733 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
9734 PyList_Append(resultobj
, number
);
9744 static PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9745 PyObject
*resultobj
;
9749 PyObject
* obj0
= 0 ;
9750 PyObject
* obj1
= 0 ;
9752 (char *) "encIn",(char *) "encOut", NULL
9755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) goto fail
;
9757 arg1
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj0
);
9758 if (PyErr_Occurred()) SWIG_fail
;
9761 arg2
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj1
);
9762 if (PyErr_Occurred()) SWIG_fail
;
9765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9766 result
= (bool)wxEncodingConverter::CanConvert((wxFontEncoding
)arg1
,(wxFontEncoding
)arg2
);
9768 wxPyEndAllowThreads(__tstate
);
9769 if (PyErr_Occurred()) SWIG_fail
;
9771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9778 static PyObject
* EncodingConverter_swigregister(PyObject
*self
, PyObject
*args
) {
9780 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9781 SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter
, obj
);
9783 return Py_BuildValue((char *)"");
9785 static PyObject
*_wrap_delete_DC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9786 PyObject
*resultobj
;
9787 wxDC
*arg1
= (wxDC
*) 0 ;
9788 PyObject
* obj0
= 0 ;
9790 (char *) "self", NULL
9793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DC",kwnames
,&obj0
)) goto fail
;
9794 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9799 wxPyEndAllowThreads(__tstate
);
9800 if (PyErr_Occurred()) SWIG_fail
;
9802 Py_INCREF(Py_None
); resultobj
= Py_None
;
9809 static PyObject
*_wrap_DC_BeginDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9810 PyObject
*resultobj
;
9811 wxDC
*arg1
= (wxDC
*) 0 ;
9812 PyObject
* obj0
= 0 ;
9814 (char *) "self", NULL
9817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_BeginDrawing",kwnames
,&obj0
)) goto fail
;
9818 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9821 (arg1
)->BeginDrawing();
9823 wxPyEndAllowThreads(__tstate
);
9824 if (PyErr_Occurred()) SWIG_fail
;
9826 Py_INCREF(Py_None
); resultobj
= Py_None
;
9833 static PyObject
*_wrap_DC_EndDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9834 PyObject
*resultobj
;
9835 wxDC
*arg1
= (wxDC
*) 0 ;
9836 PyObject
* obj0
= 0 ;
9838 (char *) "self", NULL
9841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDrawing",kwnames
,&obj0
)) goto fail
;
9842 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9845 (arg1
)->EndDrawing();
9847 wxPyEndAllowThreads(__tstate
);
9848 if (PyErr_Occurred()) SWIG_fail
;
9850 Py_INCREF(Py_None
); resultobj
= Py_None
;
9857 static PyObject
*_wrap_DC_FloodFillXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9858 PyObject
*resultobj
;
9859 wxDC
*arg1
= (wxDC
*) 0 ;
9862 wxColour
*arg4
= 0 ;
9863 int arg5
= (int) wxFLOOD_SURFACE
;
9866 PyObject
* obj0
= 0 ;
9867 PyObject
* obj1
= 0 ;
9868 PyObject
* obj2
= 0 ;
9869 PyObject
* obj3
= 0 ;
9870 PyObject
* obj4
= 0 ;
9872 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
9875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFillXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9876 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9878 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9879 if (PyErr_Occurred()) SWIG_fail
;
9882 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9883 if (PyErr_Occurred()) SWIG_fail
;
9887 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
9891 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
9892 if (PyErr_Occurred()) SWIG_fail
;
9896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9897 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
9899 wxPyEndAllowThreads(__tstate
);
9900 if (PyErr_Occurred()) SWIG_fail
;
9902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9909 static PyObject
*_wrap_DC_FloodFill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9910 PyObject
*resultobj
;
9911 wxDC
*arg1
= (wxDC
*) 0 ;
9913 wxColour
*arg3
= 0 ;
9914 int arg4
= (int) wxFLOOD_SURFACE
;
9918 PyObject
* obj0
= 0 ;
9919 PyObject
* obj1
= 0 ;
9920 PyObject
* obj2
= 0 ;
9921 PyObject
* obj3
= 0 ;
9923 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
9926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9927 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9930 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9934 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9938 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
9939 if (PyErr_Occurred()) SWIG_fail
;
9943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9944 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
9946 wxPyEndAllowThreads(__tstate
);
9947 if (PyErr_Occurred()) SWIG_fail
;
9949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9956 static PyObject
*_wrap_DC_GetPixelXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9957 PyObject
*resultobj
;
9958 wxDC
*arg1
= (wxDC
*) 0 ;
9962 PyObject
* obj0
= 0 ;
9963 PyObject
* obj1
= 0 ;
9964 PyObject
* obj2
= 0 ;
9966 (char *) "self",(char *) "x",(char *) "y", NULL
9969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixelXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9970 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9972 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9973 if (PyErr_Occurred()) SWIG_fail
;
9976 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9977 if (PyErr_Occurred()) SWIG_fail
;
9980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9981 result
= wxDC_GetPixelXY(arg1
,arg2
,arg3
);
9983 wxPyEndAllowThreads(__tstate
);
9984 if (PyErr_Occurred()) SWIG_fail
;
9987 wxColour
* resultptr
;
9988 resultptr
= new wxColour((wxColour
&) result
);
9989 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
9997 static PyObject
*_wrap_DC_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9998 PyObject
*resultobj
;
9999 wxDC
*arg1
= (wxDC
*) 0 ;
10000 wxPoint
*arg2
= 0 ;
10003 PyObject
* obj0
= 0 ;
10004 PyObject
* obj1
= 0 ;
10005 char *kwnames
[] = {
10006 (char *) "self",(char *) "pt", NULL
10009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixel",kwnames
,&obj0
,&obj1
)) goto fail
;
10010 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10013 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10017 result
= wxDC_GetPixel(arg1
,(wxPoint
const &)*arg2
);
10019 wxPyEndAllowThreads(__tstate
);
10020 if (PyErr_Occurred()) SWIG_fail
;
10023 wxColour
* resultptr
;
10024 resultptr
= new wxColour((wxColour
&) result
);
10025 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
10033 static PyObject
*_wrap_DC_DrawLineXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10034 PyObject
*resultobj
;
10035 wxDC
*arg1
= (wxDC
*) 0 ;
10040 PyObject
* obj0
= 0 ;
10041 PyObject
* obj1
= 0 ;
10042 PyObject
* obj2
= 0 ;
10043 PyObject
* obj3
= 0 ;
10044 PyObject
* obj4
= 0 ;
10045 char *kwnames
[] = {
10046 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
10049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLineXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10050 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10052 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10053 if (PyErr_Occurred()) SWIG_fail
;
10056 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10057 if (PyErr_Occurred()) SWIG_fail
;
10060 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
10061 if (PyErr_Occurred()) SWIG_fail
;
10064 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
10065 if (PyErr_Occurred()) SWIG_fail
;
10068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10069 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
10071 wxPyEndAllowThreads(__tstate
);
10072 if (PyErr_Occurred()) SWIG_fail
;
10074 Py_INCREF(Py_None
); resultobj
= Py_None
;
10081 static PyObject
*_wrap_DC_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10082 PyObject
*resultobj
;
10083 wxDC
*arg1
= (wxDC
*) 0 ;
10084 wxPoint
*arg2
= 0 ;
10085 wxPoint
*arg3
= 0 ;
10088 PyObject
* obj0
= 0 ;
10089 PyObject
* obj1
= 0 ;
10090 PyObject
* obj2
= 0 ;
10091 char *kwnames
[] = {
10092 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
10095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10096 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10099 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10103 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10107 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
10109 wxPyEndAllowThreads(__tstate
);
10110 if (PyErr_Occurred()) SWIG_fail
;
10112 Py_INCREF(Py_None
); resultobj
= Py_None
;
10119 static PyObject
*_wrap_DC_CrossHairXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10120 PyObject
*resultobj
;
10121 wxDC
*arg1
= (wxDC
*) 0 ;
10124 PyObject
* obj0
= 0 ;
10125 PyObject
* obj1
= 0 ;
10126 PyObject
* obj2
= 0 ;
10127 char *kwnames
[] = {
10128 (char *) "self",(char *) "x",(char *) "y", NULL
10131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHairXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10132 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10134 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10135 if (PyErr_Occurred()) SWIG_fail
;
10138 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10139 if (PyErr_Occurred()) SWIG_fail
;
10142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10143 (arg1
)->CrossHair(arg2
,arg3
);
10145 wxPyEndAllowThreads(__tstate
);
10146 if (PyErr_Occurred()) SWIG_fail
;
10148 Py_INCREF(Py_None
); resultobj
= Py_None
;
10155 static PyObject
*_wrap_DC_CrossHair(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10156 PyObject
*resultobj
;
10157 wxDC
*arg1
= (wxDC
*) 0 ;
10158 wxPoint
*arg2
= 0 ;
10160 PyObject
* obj0
= 0 ;
10161 PyObject
* obj1
= 0 ;
10162 char *kwnames
[] = {
10163 (char *) "self",(char *) "pt", NULL
10166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHair",kwnames
,&obj0
,&obj1
)) goto fail
;
10167 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10170 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10174 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
10176 wxPyEndAllowThreads(__tstate
);
10177 if (PyErr_Occurred()) SWIG_fail
;
10179 Py_INCREF(Py_None
); resultobj
= Py_None
;
10186 static PyObject
*_wrap_DC_DrawArcXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10187 PyObject
*resultobj
;
10188 wxDC
*arg1
= (wxDC
*) 0 ;
10195 PyObject
* obj0
= 0 ;
10196 PyObject
* obj1
= 0 ;
10197 PyObject
* obj2
= 0 ;
10198 PyObject
* obj3
= 0 ;
10199 PyObject
* obj4
= 0 ;
10200 PyObject
* obj5
= 0 ;
10201 PyObject
* obj6
= 0 ;
10202 char *kwnames
[] = {
10203 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
10206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArcXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10207 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10209 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10210 if (PyErr_Occurred()) SWIG_fail
;
10213 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10214 if (PyErr_Occurred()) SWIG_fail
;
10217 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
10218 if (PyErr_Occurred()) SWIG_fail
;
10221 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
10222 if (PyErr_Occurred()) SWIG_fail
;
10225 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
10226 if (PyErr_Occurred()) SWIG_fail
;
10229 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
10230 if (PyErr_Occurred()) SWIG_fail
;
10233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10234 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10236 wxPyEndAllowThreads(__tstate
);
10237 if (PyErr_Occurred()) SWIG_fail
;
10239 Py_INCREF(Py_None
); resultobj
= Py_None
;
10246 static PyObject
*_wrap_DC_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10247 PyObject
*resultobj
;
10248 wxDC
*arg1
= (wxDC
*) 0 ;
10249 wxPoint
*arg2
= 0 ;
10250 wxPoint
*arg3
= 0 ;
10251 wxPoint
*arg4
= 0 ;
10255 PyObject
* obj0
= 0 ;
10256 PyObject
* obj1
= 0 ;
10257 PyObject
* obj2
= 0 ;
10258 PyObject
* obj3
= 0 ;
10259 char *kwnames
[] = {
10260 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "centre", NULL
10263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10264 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10267 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10271 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10275 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10279 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
10281 wxPyEndAllowThreads(__tstate
);
10282 if (PyErr_Occurred()) SWIG_fail
;
10284 Py_INCREF(Py_None
); resultobj
= Py_None
;
10291 static PyObject
*_wrap_DC_DrawCheckMarkXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10292 PyObject
*resultobj
;
10293 wxDC
*arg1
= (wxDC
*) 0 ;
10298 PyObject
* obj0
= 0 ;
10299 PyObject
* obj1
= 0 ;
10300 PyObject
* obj2
= 0 ;
10301 PyObject
* obj3
= 0 ;
10302 PyObject
* obj4
= 0 ;
10303 char *kwnames
[] = {
10304 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMarkXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10308 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10310 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10311 if (PyErr_Occurred()) SWIG_fail
;
10314 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10315 if (PyErr_Occurred()) SWIG_fail
;
10318 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
10319 if (PyErr_Occurred()) SWIG_fail
;
10322 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
10323 if (PyErr_Occurred()) SWIG_fail
;
10326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10327 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
10329 wxPyEndAllowThreads(__tstate
);
10330 if (PyErr_Occurred()) SWIG_fail
;
10332 Py_INCREF(Py_None
); resultobj
= Py_None
;
10339 static PyObject
*_wrap_DC_DrawCheckMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10340 PyObject
*resultobj
;
10341 wxDC
*arg1
= (wxDC
*) 0 ;
10344 PyObject
* obj0
= 0 ;
10345 PyObject
* obj1
= 0 ;
10346 char *kwnames
[] = {
10347 (char *) "self",(char *) "rect", NULL
10350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
)) goto fail
;
10351 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10354 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10358 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
10360 wxPyEndAllowThreads(__tstate
);
10361 if (PyErr_Occurred()) SWIG_fail
;
10363 Py_INCREF(Py_None
); resultobj
= Py_None
;
10370 static PyObject
*_wrap_DC_DrawEllipticArcXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10371 PyObject
*resultobj
;
10372 wxDC
*arg1
= (wxDC
*) 0 ;
10379 PyObject
* obj0
= 0 ;
10380 PyObject
* obj1
= 0 ;
10381 PyObject
* obj2
= 0 ;
10382 PyObject
* obj3
= 0 ;
10383 PyObject
* obj4
= 0 ;
10384 PyObject
* obj5
= 0 ;
10385 PyObject
* obj6
= 0 ;
10386 char *kwnames
[] = {
10387 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "sa",(char *) "ea", NULL
10390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArcXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10393 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10394 if (PyErr_Occurred()) SWIG_fail
;
10397 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10398 if (PyErr_Occurred()) SWIG_fail
;
10401 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
10402 if (PyErr_Occurred()) SWIG_fail
;
10405 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
10406 if (PyErr_Occurred()) SWIG_fail
;
10409 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
10410 if (PyErr_Occurred()) SWIG_fail
;
10413 arg7
= (double) SWIG_PyObj_AsDouble(obj6
);
10414 if (PyErr_Occurred()) SWIG_fail
;
10417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10418 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10420 wxPyEndAllowThreads(__tstate
);
10421 if (PyErr_Occurred()) SWIG_fail
;
10423 Py_INCREF(Py_None
); resultobj
= Py_None
;
10430 static PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10431 PyObject
*resultobj
;
10432 wxDC
*arg1
= (wxDC
*) 0 ;
10433 wxPoint
*arg2
= 0 ;
10439 PyObject
* obj0
= 0 ;
10440 PyObject
* obj1
= 0 ;
10441 PyObject
* obj2
= 0 ;
10442 PyObject
* obj3
= 0 ;
10443 PyObject
* obj4
= 0 ;
10444 char *kwnames
[] = {
10445 (char *) "self",(char *) "pt",(char *) "sz",(char *) "sa",(char *) "ea", NULL
10448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10449 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10452 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10456 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
10459 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
10460 if (PyErr_Occurred()) SWIG_fail
;
10463 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
10464 if (PyErr_Occurred()) SWIG_fail
;
10467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10468 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*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_DrawPointXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10481 PyObject
*resultobj
;
10482 wxDC
*arg1
= (wxDC
*) 0 ;
10485 PyObject
* obj0
= 0 ;
10486 PyObject
* obj1
= 0 ;
10487 PyObject
* obj2
= 0 ;
10488 char *kwnames
[] = {
10489 (char *) "self",(char *) "x",(char *) "y", NULL
10492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPointXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10493 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10495 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10496 if (PyErr_Occurred()) SWIG_fail
;
10499 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10500 if (PyErr_Occurred()) SWIG_fail
;
10503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10504 (arg1
)->DrawPoint(arg2
,arg3
);
10506 wxPyEndAllowThreads(__tstate
);
10507 if (PyErr_Occurred()) SWIG_fail
;
10509 Py_INCREF(Py_None
); resultobj
= Py_None
;
10516 static PyObject
*_wrap_DC_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10517 PyObject
*resultobj
;
10518 wxDC
*arg1
= (wxDC
*) 0 ;
10519 wxPoint
*arg2
= 0 ;
10521 PyObject
* obj0
= 0 ;
10522 PyObject
* obj1
= 0 ;
10523 char *kwnames
[] = {
10524 (char *) "self",(char *) "pt", NULL
10527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
10528 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10531 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10535 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
10537 wxPyEndAllowThreads(__tstate
);
10538 if (PyErr_Occurred()) SWIG_fail
;
10540 Py_INCREF(Py_None
); resultobj
= Py_None
;
10547 static PyObject
*_wrap_DC_DrawRectangleXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10548 PyObject
*resultobj
;
10549 wxDC
*arg1
= (wxDC
*) 0 ;
10554 PyObject
* obj0
= 0 ;
10555 PyObject
* obj1
= 0 ;
10556 PyObject
* obj2
= 0 ;
10557 PyObject
* obj3
= 0 ;
10558 PyObject
* obj4
= 0 ;
10559 char *kwnames
[] = {
10560 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangleXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10564 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10566 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10567 if (PyErr_Occurred()) SWIG_fail
;
10570 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10571 if (PyErr_Occurred()) SWIG_fail
;
10574 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
10575 if (PyErr_Occurred()) SWIG_fail
;
10578 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
10579 if (PyErr_Occurred()) SWIG_fail
;
10582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10583 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
10585 wxPyEndAllowThreads(__tstate
);
10586 if (PyErr_Occurred()) SWIG_fail
;
10588 Py_INCREF(Py_None
); resultobj
= Py_None
;
10595 static PyObject
*_wrap_DC_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10596 PyObject
*resultobj
;
10597 wxDC
*arg1
= (wxDC
*) 0 ;
10598 wxPoint
*arg2
= 0 ;
10602 PyObject
* obj0
= 0 ;
10603 PyObject
* obj1
= 0 ;
10604 PyObject
* obj2
= 0 ;
10605 char *kwnames
[] = {
10606 (char *) "self",(char *) "pt",(char *) "sz", NULL
10609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10613 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10617 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
10620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10621 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
10623 wxPyEndAllowThreads(__tstate
);
10624 if (PyErr_Occurred()) SWIG_fail
;
10626 Py_INCREF(Py_None
); resultobj
= Py_None
;
10633 static PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10634 PyObject
*resultobj
;
10635 wxDC
*arg1
= (wxDC
*) 0 ;
10638 PyObject
* obj0
= 0 ;
10639 PyObject
* obj1
= 0 ;
10640 char *kwnames
[] = {
10641 (char *) "self",(char *) "rect", NULL
10644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10645 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10648 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10652 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
10654 wxPyEndAllowThreads(__tstate
);
10655 if (PyErr_Occurred()) SWIG_fail
;
10657 Py_INCREF(Py_None
); resultobj
= Py_None
;
10664 static PyObject
*_wrap_DC_DrawRoundedRectangleXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10665 PyObject
*resultobj
;
10666 wxDC
*arg1
= (wxDC
*) 0 ;
10672 PyObject
* obj0
= 0 ;
10673 PyObject
* obj1
= 0 ;
10674 PyObject
* obj2
= 0 ;
10675 PyObject
* obj3
= 0 ;
10676 PyObject
* obj4
= 0 ;
10677 PyObject
* obj5
= 0 ;
10678 char *kwnames
[] = {
10679 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
10682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangleXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10683 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10685 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10686 if (PyErr_Occurred()) SWIG_fail
;
10689 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10690 if (PyErr_Occurred()) SWIG_fail
;
10693 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
10694 if (PyErr_Occurred()) SWIG_fail
;
10697 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
10698 if (PyErr_Occurred()) SWIG_fail
;
10701 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
10702 if (PyErr_Occurred()) SWIG_fail
;
10705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10706 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
10708 wxPyEndAllowThreads(__tstate
);
10709 if (PyErr_Occurred()) SWIG_fail
;
10711 Py_INCREF(Py_None
); resultobj
= Py_None
;
10718 static PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10719 PyObject
*resultobj
;
10720 wxDC
*arg1
= (wxDC
*) 0 ;
10721 wxPoint
*arg2
= 0 ;
10726 PyObject
* obj0
= 0 ;
10727 PyObject
* obj1
= 0 ;
10728 PyObject
* obj2
= 0 ;
10729 PyObject
* obj3
= 0 ;
10730 char *kwnames
[] = {
10731 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
10734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10738 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10742 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
10745 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
10746 if (PyErr_Occurred()) SWIG_fail
;
10749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10750 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
10752 wxPyEndAllowThreads(__tstate
);
10753 if (PyErr_Occurred()) SWIG_fail
;
10755 Py_INCREF(Py_None
); resultobj
= Py_None
;
10762 static PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10763 PyObject
*resultobj
;
10764 wxDC
*arg1
= (wxDC
*) 0 ;
10768 PyObject
* obj0
= 0 ;
10769 PyObject
* obj1
= 0 ;
10770 PyObject
* obj2
= 0 ;
10771 char *kwnames
[] = {
10772 (char *) "self",(char *) "r",(char *) "radius", NULL
10775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10776 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10779 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10782 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
10783 if (PyErr_Occurred()) SWIG_fail
;
10786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10787 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
10789 wxPyEndAllowThreads(__tstate
);
10790 if (PyErr_Occurred()) SWIG_fail
;
10792 Py_INCREF(Py_None
); resultobj
= Py_None
;
10799 static PyObject
*_wrap_DC_DrawCircleXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10800 PyObject
*resultobj
;
10801 wxDC
*arg1
= (wxDC
*) 0 ;
10805 PyObject
* obj0
= 0 ;
10806 PyObject
* obj1
= 0 ;
10807 PyObject
* obj2
= 0 ;
10808 PyObject
* obj3
= 0 ;
10809 char *kwnames
[] = {
10810 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
10813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircleXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10814 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10816 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10817 if (PyErr_Occurred()) SWIG_fail
;
10820 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10821 if (PyErr_Occurred()) SWIG_fail
;
10824 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
10825 if (PyErr_Occurred()) SWIG_fail
;
10828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10829 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
10831 wxPyEndAllowThreads(__tstate
);
10832 if (PyErr_Occurred()) SWIG_fail
;
10834 Py_INCREF(Py_None
); resultobj
= Py_None
;
10841 static PyObject
*_wrap_DC_DrawCircle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10842 PyObject
*resultobj
;
10843 wxDC
*arg1
= (wxDC
*) 0 ;
10844 wxPoint
*arg2
= 0 ;
10847 PyObject
* obj0
= 0 ;
10848 PyObject
* obj1
= 0 ;
10849 PyObject
* obj2
= 0 ;
10850 char *kwnames
[] = {
10851 (char *) "self",(char *) "pt",(char *) "radius", NULL
10854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10855 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10858 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10861 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10862 if (PyErr_Occurred()) SWIG_fail
;
10865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10866 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
10868 wxPyEndAllowThreads(__tstate
);
10869 if (PyErr_Occurred()) SWIG_fail
;
10871 Py_INCREF(Py_None
); resultobj
= Py_None
;
10878 static PyObject
*_wrap_DC_DrawEllipseXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10879 PyObject
*resultobj
;
10880 wxDC
*arg1
= (wxDC
*) 0 ;
10885 PyObject
* obj0
= 0 ;
10886 PyObject
* obj1
= 0 ;
10887 PyObject
* obj2
= 0 ;
10888 PyObject
* obj3
= 0 ;
10889 PyObject
* obj4
= 0 ;
10890 char *kwnames
[] = {
10891 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipseXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10895 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10897 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10898 if (PyErr_Occurred()) SWIG_fail
;
10901 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10902 if (PyErr_Occurred()) SWIG_fail
;
10905 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
10906 if (PyErr_Occurred()) SWIG_fail
;
10909 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
10910 if (PyErr_Occurred()) SWIG_fail
;
10913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10914 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
10916 wxPyEndAllowThreads(__tstate
);
10917 if (PyErr_Occurred()) SWIG_fail
;
10919 Py_INCREF(Py_None
); resultobj
= Py_None
;
10926 static PyObject
*_wrap_DC_DrawEllipse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10927 PyObject
*resultobj
;
10928 wxDC
*arg1
= (wxDC
*) 0 ;
10929 wxPoint
*arg2
= 0 ;
10933 PyObject
* obj0
= 0 ;
10934 PyObject
* obj1
= 0 ;
10935 PyObject
* obj2
= 0 ;
10936 char *kwnames
[] = {
10937 (char *) "self",(char *) "pt",(char *) "sz", NULL
10940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10941 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10944 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10948 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
10951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10952 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
10954 wxPyEndAllowThreads(__tstate
);
10955 if (PyErr_Occurred()) SWIG_fail
;
10957 Py_INCREF(Py_None
); resultobj
= Py_None
;
10964 static PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10965 PyObject
*resultobj
;
10966 wxDC
*arg1
= (wxDC
*) 0 ;
10969 PyObject
* obj0
= 0 ;
10970 PyObject
* obj1
= 0 ;
10971 char *kwnames
[] = {
10972 (char *) "self",(char *) "rect", NULL
10975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10976 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10979 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10983 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
10985 wxPyEndAllowThreads(__tstate
);
10986 if (PyErr_Occurred()) SWIG_fail
;
10988 Py_INCREF(Py_None
); resultobj
= Py_None
;
10995 static PyObject
*_wrap_DC_DrawIconXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10996 PyObject
*resultobj
;
10997 wxDC
*arg1
= (wxDC
*) 0 ;
11001 PyObject
* obj0
= 0 ;
11002 PyObject
* obj1
= 0 ;
11003 PyObject
* obj2
= 0 ;
11004 PyObject
* obj3
= 0 ;
11005 char *kwnames
[] = {
11006 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
11009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIconXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11010 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11011 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11012 if (arg2
== NULL
) {
11013 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11016 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11017 if (PyErr_Occurred()) SWIG_fail
;
11020 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11021 if (PyErr_Occurred()) SWIG_fail
;
11024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11025 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
11027 wxPyEndAllowThreads(__tstate
);
11028 if (PyErr_Occurred()) SWIG_fail
;
11030 Py_INCREF(Py_None
); resultobj
= Py_None
;
11037 static PyObject
*_wrap_DC_DrawIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11038 PyObject
*resultobj
;
11039 wxDC
*arg1
= (wxDC
*) 0 ;
11041 wxPoint
*arg3
= 0 ;
11043 PyObject
* obj0
= 0 ;
11044 PyObject
* obj1
= 0 ;
11045 PyObject
* obj2
= 0 ;
11046 char *kwnames
[] = {
11047 (char *) "self",(char *) "icon",(char *) "pt", NULL
11050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11051 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11052 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11053 if (arg2
== NULL
) {
11054 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11058 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11062 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
11064 wxPyEndAllowThreads(__tstate
);
11065 if (PyErr_Occurred()) SWIG_fail
;
11067 Py_INCREF(Py_None
); resultobj
= Py_None
;
11074 static PyObject
*_wrap_DC_DrawBitmapXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11075 PyObject
*resultobj
;
11076 wxDC
*arg1
= (wxDC
*) 0 ;
11077 wxBitmap
*arg2
= 0 ;
11080 bool arg5
= (bool) False
;
11081 PyObject
* obj0
= 0 ;
11082 PyObject
* obj1
= 0 ;
11083 PyObject
* obj2
= 0 ;
11084 PyObject
* obj3
= 0 ;
11085 PyObject
* obj4
= 0 ;
11086 char *kwnames
[] = {
11087 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
11090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmapXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11091 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11092 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11093 if (arg2
== NULL
) {
11094 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11097 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11098 if (PyErr_Occurred()) SWIG_fail
;
11101 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11102 if (PyErr_Occurred()) SWIG_fail
;
11106 arg5
= (bool) SWIG_PyObj_AsBool(obj4
);
11107 if (PyErr_Occurred()) SWIG_fail
;
11111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11112 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
11114 wxPyEndAllowThreads(__tstate
);
11115 if (PyErr_Occurred()) SWIG_fail
;
11117 Py_INCREF(Py_None
); resultobj
= Py_None
;
11124 static PyObject
*_wrap_DC_DrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11125 PyObject
*resultobj
;
11126 wxDC
*arg1
= (wxDC
*) 0 ;
11127 wxBitmap
*arg2
= 0 ;
11128 wxPoint
*arg3
= 0 ;
11129 bool arg4
= (bool) False
;
11131 PyObject
* obj0
= 0 ;
11132 PyObject
* obj1
= 0 ;
11133 PyObject
* obj2
= 0 ;
11134 PyObject
* obj3
= 0 ;
11135 char *kwnames
[] = {
11136 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
11139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11140 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11141 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11142 if (arg2
== NULL
) {
11143 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11147 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11151 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
11152 if (PyErr_Occurred()) SWIG_fail
;
11156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11157 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
11159 wxPyEndAllowThreads(__tstate
);
11160 if (PyErr_Occurred()) SWIG_fail
;
11162 Py_INCREF(Py_None
); resultobj
= Py_None
;
11169 static PyObject
*_wrap_DC_DrawTextXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11170 PyObject
*resultobj
;
11171 wxDC
*arg1
= (wxDC
*) 0 ;
11172 wxString
*arg2
= 0 ;
11175 bool temp2
= False
;
11176 PyObject
* obj0
= 0 ;
11177 PyObject
* obj1
= 0 ;
11178 PyObject
* obj2
= 0 ;
11179 PyObject
* obj3
= 0 ;
11180 char *kwnames
[] = {
11181 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
11184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawTextXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11185 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11187 arg2
= wxString_in_helper(obj1
);
11188 if (arg2
== NULL
) SWIG_fail
;
11192 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11193 if (PyErr_Occurred()) SWIG_fail
;
11196 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11197 if (PyErr_Occurred()) SWIG_fail
;
11200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11201 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
11203 wxPyEndAllowThreads(__tstate
);
11204 if (PyErr_Occurred()) SWIG_fail
;
11206 Py_INCREF(Py_None
); resultobj
= Py_None
;
11221 static PyObject
*_wrap_DC_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11222 PyObject
*resultobj
;
11223 wxDC
*arg1
= (wxDC
*) 0 ;
11224 wxString
*arg2
= 0 ;
11225 wxPoint
*arg3
= 0 ;
11226 bool temp2
= False
;
11228 PyObject
* obj0
= 0 ;
11229 PyObject
* obj1
= 0 ;
11230 PyObject
* obj2
= 0 ;
11231 char *kwnames
[] = {
11232 (char *) "self",(char *) "text",(char *) "pt", NULL
11235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11238 arg2
= wxString_in_helper(obj1
);
11239 if (arg2
== NULL
) SWIG_fail
;
11244 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11248 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
11250 wxPyEndAllowThreads(__tstate
);
11251 if (PyErr_Occurred()) SWIG_fail
;
11253 Py_INCREF(Py_None
); resultobj
= Py_None
;
11268 static PyObject
*_wrap_DC_DrawRotatedTextXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11269 PyObject
*resultobj
;
11270 wxDC
*arg1
= (wxDC
*) 0 ;
11271 wxString
*arg2
= 0 ;
11275 bool temp2
= False
;
11276 PyObject
* obj0
= 0 ;
11277 PyObject
* obj1
= 0 ;
11278 PyObject
* obj2
= 0 ;
11279 PyObject
* obj3
= 0 ;
11280 PyObject
* obj4
= 0 ;
11281 char *kwnames
[] = {
11282 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
11285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedTextXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11286 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11288 arg2
= wxString_in_helper(obj1
);
11289 if (arg2
== NULL
) SWIG_fail
;
11293 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11294 if (PyErr_Occurred()) SWIG_fail
;
11297 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11298 if (PyErr_Occurred()) SWIG_fail
;
11301 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
11302 if (PyErr_Occurred()) SWIG_fail
;
11305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11306 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
11308 wxPyEndAllowThreads(__tstate
);
11309 if (PyErr_Occurred()) SWIG_fail
;
11311 Py_INCREF(Py_None
); resultobj
= Py_None
;
11326 static PyObject
*_wrap_DC_DrawRotatedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11327 PyObject
*resultobj
;
11328 wxDC
*arg1
= (wxDC
*) 0 ;
11329 wxString
*arg2
= 0 ;
11330 wxPoint
*arg3
= 0 ;
11332 bool temp2
= False
;
11334 PyObject
* obj0
= 0 ;
11335 PyObject
* obj1
= 0 ;
11336 PyObject
* obj2
= 0 ;
11337 PyObject
* obj3
= 0 ;
11338 char *kwnames
[] = {
11339 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
11342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11343 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11345 arg2
= wxString_in_helper(obj1
);
11346 if (arg2
== NULL
) SWIG_fail
;
11351 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11354 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
11355 if (PyErr_Occurred()) SWIG_fail
;
11358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11359 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
11361 wxPyEndAllowThreads(__tstate
);
11362 if (PyErr_Occurred()) SWIG_fail
;
11364 Py_INCREF(Py_None
); resultobj
= Py_None
;
11379 static PyObject
*_wrap_DC_BlitXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11380 PyObject
*resultobj
;
11381 wxDC
*arg1
= (wxDC
*) 0 ;
11386 wxDC
*arg6
= (wxDC
*) 0 ;
11389 int arg9
= (int) wxCOPY
;
11390 bool arg10
= (bool) False
;
11391 int arg11
= (int) -1 ;
11392 int arg12
= (int) -1 ;
11394 PyObject
* obj0
= 0 ;
11395 PyObject
* obj1
= 0 ;
11396 PyObject
* obj2
= 0 ;
11397 PyObject
* obj3
= 0 ;
11398 PyObject
* obj4
= 0 ;
11399 PyObject
* obj5
= 0 ;
11400 PyObject
* obj6
= 0 ;
11401 PyObject
* obj7
= 0 ;
11402 PyObject
* obj8
= 0 ;
11403 PyObject
* obj9
= 0 ;
11404 PyObject
* obj10
= 0 ;
11405 PyObject
* obj11
= 0 ;
11406 char *kwnames
[] = {
11407 (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
11410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO|OOOO:DC_BlitXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
,&obj11
)) goto fail
;
11411 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11413 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11414 if (PyErr_Occurred()) SWIG_fail
;
11417 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11418 if (PyErr_Occurred()) SWIG_fail
;
11421 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11422 if (PyErr_Occurred()) SWIG_fail
;
11425 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
11426 if (PyErr_Occurred()) SWIG_fail
;
11428 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11430 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
11431 if (PyErr_Occurred()) SWIG_fail
;
11434 arg8
= (int) SWIG_PyObj_AsInt(obj7
);
11435 if (PyErr_Occurred()) SWIG_fail
;
11439 arg9
= (int) SWIG_PyObj_AsInt(obj8
);
11440 if (PyErr_Occurred()) SWIG_fail
;
11445 arg10
= (bool) SWIG_PyObj_AsBool(obj9
);
11446 if (PyErr_Occurred()) SWIG_fail
;
11451 arg11
= (int) SWIG_PyObj_AsInt(obj10
);
11452 if (PyErr_Occurred()) SWIG_fail
;
11457 arg12
= (int) SWIG_PyObj_AsInt(obj11
);
11458 if (PyErr_Occurred()) SWIG_fail
;
11462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11463 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
11465 wxPyEndAllowThreads(__tstate
);
11466 if (PyErr_Occurred()) SWIG_fail
;
11468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11475 static PyObject
*_wrap_DC_Blit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11476 PyObject
*resultobj
;
11477 wxDC
*arg1
= (wxDC
*) 0 ;
11478 wxPoint
*arg2
= 0 ;
11480 wxDC
*arg4
= (wxDC
*) 0 ;
11481 wxPoint
*arg5
= 0 ;
11482 int arg6
= (int) wxCOPY
;
11483 bool arg7
= (bool) False
;
11484 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
11485 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
11491 PyObject
* obj0
= 0 ;
11492 PyObject
* obj1
= 0 ;
11493 PyObject
* obj2
= 0 ;
11494 PyObject
* obj3
= 0 ;
11495 PyObject
* obj4
= 0 ;
11496 PyObject
* obj5
= 0 ;
11497 PyObject
* obj6
= 0 ;
11498 PyObject
* obj7
= 0 ;
11499 char *kwnames
[] = {
11500 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
11503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_Blit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
11504 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11507 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11511 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11513 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11516 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11520 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
11521 if (PyErr_Occurred()) SWIG_fail
;
11526 arg7
= (bool) SWIG_PyObj_AsBool(obj6
);
11527 if (PyErr_Occurred()) SWIG_fail
;
11533 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
11537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11538 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
11540 wxPyEndAllowThreads(__tstate
);
11541 if (PyErr_Occurred()) SWIG_fail
;
11543 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11550 static PyObject
*_wrap_DC_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11551 PyObject
*resultobj
;
11552 wxDC
*arg1
= (wxDC
*) 0 ;
11554 wxPoint
*arg3
= (wxPoint
*) 0 ;
11555 int arg4
= (int) 0 ;
11556 int arg5
= (int) 0 ;
11557 PyObject
* obj0
= 0 ;
11558 PyObject
* obj1
= 0 ;
11559 PyObject
* obj2
= 0 ;
11560 PyObject
* obj3
= 0 ;
11561 char *kwnames
[] = {
11562 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
11565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11566 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11568 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
11569 if (arg3
== NULL
) SWIG_fail
;
11573 arg4
= (int) SWIG_PyObj_AsInt(obj2
);
11574 if (PyErr_Occurred()) SWIG_fail
;
11579 arg5
= (int) SWIG_PyObj_AsInt(obj3
);
11580 if (PyErr_Occurred()) SWIG_fail
;
11584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11585 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
11587 wxPyEndAllowThreads(__tstate
);
11588 if (PyErr_Occurred()) SWIG_fail
;
11590 Py_INCREF(Py_None
); resultobj
= Py_None
;
11592 if (arg3
) delete [] arg3
;
11597 if (arg3
) delete [] arg3
;
11603 static PyObject
*_wrap_DC_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11604 PyObject
*resultobj
;
11605 wxDC
*arg1
= (wxDC
*) 0 ;
11607 wxPoint
*arg3
= (wxPoint
*) 0 ;
11608 int arg4
= (int) 0 ;
11609 int arg5
= (int) 0 ;
11610 int arg6
= (int) wxODDEVEN_RULE
;
11611 PyObject
* obj0
= 0 ;
11612 PyObject
* obj1
= 0 ;
11613 PyObject
* obj2
= 0 ;
11614 PyObject
* obj3
= 0 ;
11615 PyObject
* obj4
= 0 ;
11616 char *kwnames
[] = {
11617 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
11620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11621 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11623 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
11624 if (arg3
== NULL
) SWIG_fail
;
11628 arg4
= (int) SWIG_PyObj_AsInt(obj2
);
11629 if (PyErr_Occurred()) SWIG_fail
;
11634 arg5
= (int) SWIG_PyObj_AsInt(obj3
);
11635 if (PyErr_Occurred()) SWIG_fail
;
11640 arg6
= (int) SWIG_PyObj_AsInt(obj4
);
11641 if (PyErr_Occurred()) SWIG_fail
;
11645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11646 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
11648 wxPyEndAllowThreads(__tstate
);
11649 if (PyErr_Occurred()) SWIG_fail
;
11651 Py_INCREF(Py_None
); resultobj
= Py_None
;
11653 if (arg3
) delete [] arg3
;
11658 if (arg3
) delete [] arg3
;
11664 static PyObject
*_wrap_DC_DrawLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11665 PyObject
*resultobj
;
11666 wxDC
*arg1
= (wxDC
*) 0 ;
11667 wxString
*arg2
= 0 ;
11669 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
11670 int arg5
= (int) -1 ;
11671 bool temp2
= False
;
11673 PyObject
* obj0
= 0 ;
11674 PyObject
* obj1
= 0 ;
11675 PyObject
* obj2
= 0 ;
11676 PyObject
* obj3
= 0 ;
11677 PyObject
* obj4
= 0 ;
11678 char *kwnames
[] = {
11679 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
11682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11683 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11685 arg2
= wxString_in_helper(obj1
);
11686 if (arg2
== NULL
) SWIG_fail
;
11691 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
11695 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11696 if (PyErr_Occurred()) SWIG_fail
;
11701 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
11702 if (PyErr_Occurred()) SWIG_fail
;
11706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11707 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
11709 wxPyEndAllowThreads(__tstate
);
11710 if (PyErr_Occurred()) SWIG_fail
;
11712 Py_INCREF(Py_None
); resultobj
= Py_None
;
11727 static PyObject
*_wrap_DC_DrawImageLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11728 PyObject
*resultobj
;
11729 wxDC
*arg1
= (wxDC
*) 0 ;
11730 wxString
*arg2
= 0 ;
11731 wxBitmap
*arg3
= 0 ;
11733 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
11734 int arg6
= (int) -1 ;
11736 bool temp2
= False
;
11738 PyObject
* obj0
= 0 ;
11739 PyObject
* obj1
= 0 ;
11740 PyObject
* obj2
= 0 ;
11741 PyObject
* obj3
= 0 ;
11742 PyObject
* obj4
= 0 ;
11743 PyObject
* obj5
= 0 ;
11744 char *kwnames
[] = {
11745 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
11748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11751 arg2
= wxString_in_helper(obj1
);
11752 if (arg2
== NULL
) SWIG_fail
;
11755 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11756 if (arg3
== NULL
) {
11757 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11761 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
11765 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
11766 if (PyErr_Occurred()) SWIG_fail
;
11771 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
11772 if (PyErr_Occurred()) SWIG_fail
;
11776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11777 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
11779 wxPyEndAllowThreads(__tstate
);
11780 if (PyErr_Occurred()) SWIG_fail
;
11783 wxRect
* resultptr
;
11784 resultptr
= new wxRect((wxRect
&) result
);
11785 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
11801 static PyObject
*_wrap_DC_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11802 PyObject
*resultobj
;
11803 wxDC
*arg1
= (wxDC
*) 0 ;
11805 wxPoint
*arg3
= (wxPoint
*) 0 ;
11806 PyObject
* obj0
= 0 ;
11807 PyObject
* obj1
= 0 ;
11808 char *kwnames
[] = {
11809 (char *) "self",(char *) "points", NULL
11812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
11813 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11815 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
11816 if (arg3
== NULL
) SWIG_fail
;
11819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11820 (arg1
)->DrawSpline(arg2
,arg3
);
11822 wxPyEndAllowThreads(__tstate
);
11823 if (PyErr_Occurred()) SWIG_fail
;
11825 Py_INCREF(Py_None
); resultobj
= Py_None
;
11827 if (arg3
) delete [] arg3
;
11832 if (arg3
) delete [] arg3
;
11838 static PyObject
*_wrap_DC_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11839 PyObject
*resultobj
;
11840 wxDC
*arg1
= (wxDC
*) 0 ;
11841 PyObject
* obj0
= 0 ;
11842 char *kwnames
[] = {
11843 (char *) "self", NULL
11846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Clear",kwnames
,&obj0
)) goto fail
;
11847 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11852 wxPyEndAllowThreads(__tstate
);
11853 if (PyErr_Occurred()) SWIG_fail
;
11855 Py_INCREF(Py_None
); resultobj
= Py_None
;
11862 static PyObject
*_wrap_DC_StartDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11863 PyObject
*resultobj
;
11864 wxDC
*arg1
= (wxDC
*) 0 ;
11865 wxString
*arg2
= 0 ;
11867 bool temp2
= False
;
11868 PyObject
* obj0
= 0 ;
11869 PyObject
* obj1
= 0 ;
11870 char *kwnames
[] = {
11871 (char *) "self",(char *) "message", NULL
11874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) goto fail
;
11875 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11877 arg2
= wxString_in_helper(obj1
);
11878 if (arg2
== NULL
) SWIG_fail
;
11882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11883 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
11885 wxPyEndAllowThreads(__tstate
);
11886 if (PyErr_Occurred()) SWIG_fail
;
11888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11903 static PyObject
*_wrap_DC_EndDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11904 PyObject
*resultobj
;
11905 wxDC
*arg1
= (wxDC
*) 0 ;
11906 PyObject
* obj0
= 0 ;
11907 char *kwnames
[] = {
11908 (char *) "self", NULL
11911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDoc",kwnames
,&obj0
)) goto fail
;
11912 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11917 wxPyEndAllowThreads(__tstate
);
11918 if (PyErr_Occurred()) SWIG_fail
;
11920 Py_INCREF(Py_None
); resultobj
= Py_None
;
11927 static PyObject
*_wrap_DC_StartPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11928 PyObject
*resultobj
;
11929 wxDC
*arg1
= (wxDC
*) 0 ;
11930 PyObject
* obj0
= 0 ;
11931 char *kwnames
[] = {
11932 (char *) "self", NULL
11935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_StartPage",kwnames
,&obj0
)) goto fail
;
11936 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11939 (arg1
)->StartPage();
11941 wxPyEndAllowThreads(__tstate
);
11942 if (PyErr_Occurred()) SWIG_fail
;
11944 Py_INCREF(Py_None
); resultobj
= Py_None
;
11951 static PyObject
*_wrap_DC_EndPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11952 PyObject
*resultobj
;
11953 wxDC
*arg1
= (wxDC
*) 0 ;
11954 PyObject
* obj0
= 0 ;
11955 char *kwnames
[] = {
11956 (char *) "self", NULL
11959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndPage",kwnames
,&obj0
)) goto fail
;
11960 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11965 wxPyEndAllowThreads(__tstate
);
11966 if (PyErr_Occurred()) SWIG_fail
;
11968 Py_INCREF(Py_None
); resultobj
= Py_None
;
11975 static PyObject
*_wrap_DC_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11976 PyObject
*resultobj
;
11977 wxDC
*arg1
= (wxDC
*) 0 ;
11979 PyObject
* obj0
= 0 ;
11980 PyObject
* obj1
= 0 ;
11981 char *kwnames
[] = {
11982 (char *) "self",(char *) "font", NULL
11985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
11986 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11987 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11988 if (arg2
== NULL
) {
11989 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11993 (arg1
)->SetFont((wxFont
const &)*arg2
);
11995 wxPyEndAllowThreads(__tstate
);
11996 if (PyErr_Occurred()) SWIG_fail
;
11998 Py_INCREF(Py_None
); resultobj
= Py_None
;
12005 static PyObject
*_wrap_DC_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12006 PyObject
*resultobj
;
12007 wxDC
*arg1
= (wxDC
*) 0 ;
12009 PyObject
* obj0
= 0 ;
12010 PyObject
* obj1
= 0 ;
12011 char *kwnames
[] = {
12012 (char *) "self",(char *) "pen", NULL
12015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
12016 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12017 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12018 if (arg2
== NULL
) {
12019 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12023 (arg1
)->SetPen((wxPen
const &)*arg2
);
12025 wxPyEndAllowThreads(__tstate
);
12026 if (PyErr_Occurred()) SWIG_fail
;
12028 Py_INCREF(Py_None
); resultobj
= Py_None
;
12035 static PyObject
*_wrap_DC_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12036 PyObject
*resultobj
;
12037 wxDC
*arg1
= (wxDC
*) 0 ;
12038 wxBrush
*arg2
= 0 ;
12039 PyObject
* obj0
= 0 ;
12040 PyObject
* obj1
= 0 ;
12041 char *kwnames
[] = {
12042 (char *) "self",(char *) "brush", NULL
12045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
12046 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12047 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12048 if (arg2
== NULL
) {
12049 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12053 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
12055 wxPyEndAllowThreads(__tstate
);
12056 if (PyErr_Occurred()) SWIG_fail
;
12058 Py_INCREF(Py_None
); resultobj
= Py_None
;
12065 static PyObject
*_wrap_DC_SetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12066 PyObject
*resultobj
;
12067 wxDC
*arg1
= (wxDC
*) 0 ;
12068 wxBrush
*arg2
= 0 ;
12069 PyObject
* obj0
= 0 ;
12070 PyObject
* obj1
= 0 ;
12071 char *kwnames
[] = {
12072 (char *) "self",(char *) "brush", NULL
12075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
12076 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12077 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12078 if (arg2
== NULL
) {
12079 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12083 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
12085 wxPyEndAllowThreads(__tstate
);
12086 if (PyErr_Occurred()) SWIG_fail
;
12088 Py_INCREF(Py_None
); resultobj
= Py_None
;
12095 static PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12096 PyObject
*resultobj
;
12097 wxDC
*arg1
= (wxDC
*) 0 ;
12099 PyObject
* obj0
= 0 ;
12100 PyObject
* obj1
= 0 ;
12101 char *kwnames
[] = {
12102 (char *) "self",(char *) "mode", NULL
12105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
12106 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12108 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12109 if (PyErr_Occurred()) SWIG_fail
;
12112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12113 (arg1
)->SetBackgroundMode(arg2
);
12115 wxPyEndAllowThreads(__tstate
);
12116 if (PyErr_Occurred()) SWIG_fail
;
12118 Py_INCREF(Py_None
); resultobj
= Py_None
;
12125 static PyObject
*_wrap_DC_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12126 PyObject
*resultobj
;
12127 wxDC
*arg1
= (wxDC
*) 0 ;
12128 wxPalette
*arg2
= 0 ;
12129 PyObject
* obj0
= 0 ;
12130 PyObject
* obj1
= 0 ;
12131 char *kwnames
[] = {
12132 (char *) "self",(char *) "palette", NULL
12135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
12136 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12137 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12138 if (arg2
== NULL
) {
12139 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12143 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
12145 wxPyEndAllowThreads(__tstate
);
12146 if (PyErr_Occurred()) SWIG_fail
;
12148 Py_INCREF(Py_None
); resultobj
= Py_None
;
12155 static PyObject
*_wrap_DC_SetClippingRegionXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12156 PyObject
*resultobj
;
12157 wxDC
*arg1
= (wxDC
*) 0 ;
12162 PyObject
* obj0
= 0 ;
12163 PyObject
* obj1
= 0 ;
12164 PyObject
* obj2
= 0 ;
12165 PyObject
* obj3
= 0 ;
12166 PyObject
* obj4
= 0 ;
12167 char *kwnames
[] = {
12168 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
12171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegionXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12172 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12174 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12175 if (PyErr_Occurred()) SWIG_fail
;
12178 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12179 if (PyErr_Occurred()) SWIG_fail
;
12182 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
12183 if (PyErr_Occurred()) SWIG_fail
;
12186 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
12187 if (PyErr_Occurred()) SWIG_fail
;
12190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12191 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
12193 wxPyEndAllowThreads(__tstate
);
12194 if (PyErr_Occurred()) SWIG_fail
;
12196 Py_INCREF(Py_None
); resultobj
= Py_None
;
12203 static PyObject
*_wrap_DC_SetClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12204 PyObject
*resultobj
;
12205 wxDC
*arg1
= (wxDC
*) 0 ;
12206 wxPoint
*arg2
= 0 ;
12210 PyObject
* obj0
= 0 ;
12211 PyObject
* obj1
= 0 ;
12212 PyObject
* obj2
= 0 ;
12213 char *kwnames
[] = {
12214 (char *) "self",(char *) "pt",(char *) "sz", NULL
12217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12218 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12221 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12225 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12229 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
12231 wxPyEndAllowThreads(__tstate
);
12232 if (PyErr_Occurred()) SWIG_fail
;
12234 Py_INCREF(Py_None
); resultobj
= Py_None
;
12241 static PyObject
*_wrap_DC_SetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12242 PyObject
*resultobj
;
12243 wxDC
*arg1
= (wxDC
*) 0 ;
12246 PyObject
* obj0
= 0 ;
12247 PyObject
* obj1
= 0 ;
12248 char *kwnames
[] = {
12249 (char *) "self",(char *) "rect", NULL
12252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
12253 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12256 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12260 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
12262 wxPyEndAllowThreads(__tstate
);
12263 if (PyErr_Occurred()) SWIG_fail
;
12265 Py_INCREF(Py_None
); resultobj
= Py_None
;
12272 static PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12273 PyObject
*resultobj
;
12274 wxDC
*arg1
= (wxDC
*) 0 ;
12275 wxRegion
*arg2
= 0 ;
12276 PyObject
* obj0
= 0 ;
12277 PyObject
* obj1
= 0 ;
12278 char *kwnames
[] = {
12279 (char *) "self",(char *) "region", NULL
12282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
12283 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12284 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12285 if (arg2
== NULL
) {
12286 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12290 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
12292 wxPyEndAllowThreads(__tstate
);
12293 if (PyErr_Occurred()) SWIG_fail
;
12295 Py_INCREF(Py_None
); resultobj
= Py_None
;
12302 static PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12303 PyObject
*resultobj
;
12304 wxDC
*arg1
= (wxDC
*) 0 ;
12305 PyObject
* obj0
= 0 ;
12306 char *kwnames
[] = {
12307 (char *) "self", NULL
12310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_DestroyClippingRegion",kwnames
,&obj0
)) goto fail
;
12311 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12314 (arg1
)->DestroyClippingRegion();
12316 wxPyEndAllowThreads(__tstate
);
12317 if (PyErr_Occurred()) SWIG_fail
;
12319 Py_INCREF(Py_None
); resultobj
= Py_None
;
12326 static PyObject
*_wrap_DC_GetClippingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12327 PyObject
*resultobj
;
12328 wxDC
*arg1
= (wxDC
*) 0 ;
12329 int *arg2
= (int *) 0 ;
12330 int *arg3
= (int *) 0 ;
12331 int *arg4
= (int *) 0 ;
12332 int *arg5
= (int *) 0 ;
12337 PyObject
* obj0
= 0 ;
12338 char *kwnames
[] = {
12339 (char *) "self", NULL
12346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingBox",kwnames
,&obj0
)) goto fail
;
12347 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12350 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
12352 wxPyEndAllowThreads(__tstate
);
12353 if (PyErr_Occurred()) SWIG_fail
;
12355 Py_INCREF(Py_None
); resultobj
= Py_None
;
12357 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
12358 resultobj
= t_output_helper(resultobj
,o
);
12361 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12362 resultobj
= t_output_helper(resultobj
,o
);
12365 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12366 resultobj
= t_output_helper(resultobj
,o
);
12369 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
12370 resultobj
= t_output_helper(resultobj
,o
);
12378 static PyObject
*_wrap_DC_GetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12379 PyObject
*resultobj
;
12380 wxDC
*arg1
= (wxDC
*) 0 ;
12382 PyObject
* obj0
= 0 ;
12383 char *kwnames
[] = {
12384 (char *) "self", NULL
12387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingRect",kwnames
,&obj0
)) goto fail
;
12388 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12391 result
= wxDC_GetClippingRect(arg1
);
12393 wxPyEndAllowThreads(__tstate
);
12394 if (PyErr_Occurred()) SWIG_fail
;
12397 wxRect
* resultptr
;
12398 resultptr
= new wxRect((wxRect
&) result
);
12399 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
12407 static PyObject
*_wrap_DC_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12408 PyObject
*resultobj
;
12409 wxDC
*arg1
= (wxDC
*) 0 ;
12411 PyObject
* obj0
= 0 ;
12412 char *kwnames
[] = {
12413 (char *) "self", NULL
12416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharHeight",kwnames
,&obj0
)) goto fail
;
12417 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12420 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
12422 wxPyEndAllowThreads(__tstate
);
12423 if (PyErr_Occurred()) SWIG_fail
;
12425 resultobj
= SWIG_PyObj_FromInt((int)result
);
12432 static PyObject
*_wrap_DC_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12433 PyObject
*resultobj
;
12434 wxDC
*arg1
= (wxDC
*) 0 ;
12436 PyObject
* obj0
= 0 ;
12437 char *kwnames
[] = {
12438 (char *) "self", NULL
12441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharWidth",kwnames
,&obj0
)) goto fail
;
12442 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12445 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
12447 wxPyEndAllowThreads(__tstate
);
12448 if (PyErr_Occurred()) SWIG_fail
;
12450 resultobj
= SWIG_PyObj_FromInt((int)result
);
12457 static PyObject
*_wrap_DC_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12458 PyObject
*resultobj
;
12459 wxDC
*arg1
= (wxDC
*) 0 ;
12460 wxString
*arg2
= 0 ;
12461 int *arg3
= (int *) 0 ;
12462 int *arg4
= (int *) 0 ;
12463 bool temp2
= False
;
12466 PyObject
* obj0
= 0 ;
12467 PyObject
* obj1
= 0 ;
12468 char *kwnames
[] = {
12469 (char *) "self",(char *) "string", NULL
12474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
12475 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12477 arg2
= wxString_in_helper(obj1
);
12478 if (arg2
== NULL
) SWIG_fail
;
12482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12483 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
12485 wxPyEndAllowThreads(__tstate
);
12486 if (PyErr_Occurred()) SWIG_fail
;
12488 Py_INCREF(Py_None
); resultobj
= Py_None
;
12490 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12491 resultobj
= t_output_helper(resultobj
,o
);
12494 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12495 resultobj
= t_output_helper(resultobj
,o
);
12511 static PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12512 PyObject
*resultobj
;
12513 wxDC
*arg1
= (wxDC
*) 0 ;
12514 wxString
*arg2
= 0 ;
12515 int *arg3
= (int *) 0 ;
12516 int *arg4
= (int *) 0 ;
12517 int *arg5
= (int *) 0 ;
12518 int *arg6
= (int *) 0 ;
12519 wxFont
*arg7
= (wxFont
*) NULL
;
12520 bool temp2
= False
;
12525 PyObject
* obj0
= 0 ;
12526 PyObject
* obj1
= 0 ;
12527 PyObject
* obj2
= 0 ;
12528 char *kwnames
[] = {
12529 (char *) "self",(char *) "string",(char *) "font", NULL
12536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12537 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12539 arg2
= wxString_in_helper(obj1
);
12540 if (arg2
== NULL
) SWIG_fail
;
12544 if ((SWIG_ConvertPtr(obj2
,(void **) &arg7
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12548 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12550 wxPyEndAllowThreads(__tstate
);
12551 if (PyErr_Occurred()) SWIG_fail
;
12553 Py_INCREF(Py_None
); resultobj
= Py_None
;
12555 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12556 resultobj
= t_output_helper(resultobj
,o
);
12559 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12560 resultobj
= t_output_helper(resultobj
,o
);
12563 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
12564 resultobj
= t_output_helper(resultobj
,o
);
12567 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
12568 resultobj
= t_output_helper(resultobj
,o
);
12584 static PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12585 PyObject
*resultobj
;
12586 wxDC
*arg1
= (wxDC
*) 0 ;
12587 wxString
*arg2
= 0 ;
12588 int *arg3
= (int *) 0 ;
12589 int *arg4
= (int *) 0 ;
12590 int *arg5
= (int *) 0 ;
12591 wxFont
*arg6
= (wxFont
*) NULL
;
12592 bool temp2
= False
;
12596 PyObject
* obj0
= 0 ;
12597 PyObject
* obj1
= 0 ;
12598 PyObject
* obj2
= 0 ;
12599 char *kwnames
[] = {
12600 (char *) "self",(char *) "text",(char *) "font", NULL
12606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12607 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12609 arg2
= wxString_in_helper(obj1
);
12610 if (arg2
== NULL
) SWIG_fail
;
12614 if ((SWIG_ConvertPtr(obj2
,(void **) &arg6
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12618 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
12620 wxPyEndAllowThreads(__tstate
);
12621 if (PyErr_Occurred()) SWIG_fail
;
12623 Py_INCREF(Py_None
); resultobj
= Py_None
;
12625 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12626 resultobj
= t_output_helper(resultobj
,o
);
12629 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12630 resultobj
= t_output_helper(resultobj
,o
);
12633 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
12634 resultobj
= t_output_helper(resultobj
,o
);
12650 static PyObject
*_wrap_DC_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12651 PyObject
*resultobj
;
12652 wxDC
*arg1
= (wxDC
*) 0 ;
12654 PyObject
* obj0
= 0 ;
12655 char *kwnames
[] = {
12656 (char *) "self", NULL
12659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSize",kwnames
,&obj0
)) goto fail
;
12660 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12663 result
= (arg1
)->GetSize();
12665 wxPyEndAllowThreads(__tstate
);
12666 if (PyErr_Occurred()) SWIG_fail
;
12669 wxSize
* resultptr
;
12670 resultptr
= new wxSize((wxSize
&) result
);
12671 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
12679 static PyObject
*_wrap_DC_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12680 PyObject
*resultobj
;
12681 wxDC
*arg1
= (wxDC
*) 0 ;
12682 int *arg2
= (int *) 0 ;
12683 int *arg3
= (int *) 0 ;
12686 PyObject
* obj0
= 0 ;
12687 char *kwnames
[] = {
12688 (char *) "self", NULL
12693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
12694 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12697 (arg1
)->GetSize(arg2
,arg3
);
12699 wxPyEndAllowThreads(__tstate
);
12700 if (PyErr_Occurred()) SWIG_fail
;
12702 Py_INCREF(Py_None
); resultobj
= Py_None
;
12704 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
12705 resultobj
= t_output_helper(resultobj
,o
);
12708 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12709 resultobj
= t_output_helper(resultobj
,o
);
12717 static PyObject
*_wrap_DC_GetSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12718 PyObject
*resultobj
;
12719 wxDC
*arg1
= (wxDC
*) 0 ;
12721 PyObject
* obj0
= 0 ;
12722 char *kwnames
[] = {
12723 (char *) "self", NULL
12726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMM",kwnames
,&obj0
)) goto fail
;
12727 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12730 result
= ((wxDC
const *)arg1
)->GetSizeMM();
12732 wxPyEndAllowThreads(__tstate
);
12733 if (PyErr_Occurred()) SWIG_fail
;
12736 wxSize
* resultptr
;
12737 resultptr
= new wxSize((wxSize
&) result
);
12738 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
12746 static PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12747 PyObject
*resultobj
;
12748 wxDC
*arg1
= (wxDC
*) 0 ;
12749 int *arg2
= (int *) 0 ;
12750 int *arg3
= (int *) 0 ;
12753 PyObject
* obj0
= 0 ;
12754 char *kwnames
[] = {
12755 (char *) "self", NULL
12760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMMTuple",kwnames
,&obj0
)) goto fail
;
12761 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12764 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
12766 wxPyEndAllowThreads(__tstate
);
12767 if (PyErr_Occurred()) SWIG_fail
;
12769 Py_INCREF(Py_None
); resultobj
= Py_None
;
12771 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
12772 resultobj
= t_output_helper(resultobj
,o
);
12775 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12776 resultobj
= t_output_helper(resultobj
,o
);
12784 static PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12785 PyObject
*resultobj
;
12786 wxDC
*arg1
= (wxDC
*) 0 ;
12789 PyObject
* obj0
= 0 ;
12790 PyObject
* obj1
= 0 ;
12791 char *kwnames
[] = {
12792 (char *) "self",(char *) "x", NULL
12795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) goto fail
;
12796 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12798 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12799 if (PyErr_Occurred()) SWIG_fail
;
12802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12803 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
12805 wxPyEndAllowThreads(__tstate
);
12806 if (PyErr_Occurred()) SWIG_fail
;
12808 resultobj
= SWIG_PyObj_FromInt((int)result
);
12815 static PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12816 PyObject
*resultobj
;
12817 wxDC
*arg1
= (wxDC
*) 0 ;
12820 PyObject
* obj0
= 0 ;
12821 PyObject
* obj1
= 0 ;
12822 char *kwnames
[] = {
12823 (char *) "self",(char *) "y", NULL
12826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) goto fail
;
12827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12829 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12830 if (PyErr_Occurred()) SWIG_fail
;
12833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12834 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
12836 wxPyEndAllowThreads(__tstate
);
12837 if (PyErr_Occurred()) SWIG_fail
;
12839 resultobj
= SWIG_PyObj_FromInt((int)result
);
12846 static PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12847 PyObject
*resultobj
;
12848 wxDC
*arg1
= (wxDC
*) 0 ;
12851 PyObject
* obj0
= 0 ;
12852 PyObject
* obj1
= 0 ;
12853 char *kwnames
[] = {
12854 (char *) "self",(char *) "x", NULL
12857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
12858 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12860 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12861 if (PyErr_Occurred()) SWIG_fail
;
12864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12865 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
12867 wxPyEndAllowThreads(__tstate
);
12868 if (PyErr_Occurred()) SWIG_fail
;
12870 resultobj
= SWIG_PyObj_FromInt((int)result
);
12877 static PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12878 PyObject
*resultobj
;
12879 wxDC
*arg1
= (wxDC
*) 0 ;
12882 PyObject
* obj0
= 0 ;
12883 PyObject
* obj1
= 0 ;
12884 char *kwnames
[] = {
12885 (char *) "self",(char *) "y", NULL
12888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
12889 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12891 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12892 if (PyErr_Occurred()) SWIG_fail
;
12895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12896 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
12898 wxPyEndAllowThreads(__tstate
);
12899 if (PyErr_Occurred()) SWIG_fail
;
12901 resultobj
= SWIG_PyObj_FromInt((int)result
);
12908 static PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12909 PyObject
*resultobj
;
12910 wxDC
*arg1
= (wxDC
*) 0 ;
12913 PyObject
* obj0
= 0 ;
12914 PyObject
* obj1
= 0 ;
12915 char *kwnames
[] = {
12916 (char *) "self",(char *) "x", NULL
12919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) goto fail
;
12920 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12922 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12923 if (PyErr_Occurred()) SWIG_fail
;
12926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12927 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
12929 wxPyEndAllowThreads(__tstate
);
12930 if (PyErr_Occurred()) SWIG_fail
;
12932 resultobj
= SWIG_PyObj_FromInt((int)result
);
12939 static PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12940 PyObject
*resultobj
;
12941 wxDC
*arg1
= (wxDC
*) 0 ;
12944 PyObject
* obj0
= 0 ;
12945 PyObject
* obj1
= 0 ;
12946 char *kwnames
[] = {
12947 (char *) "self",(char *) "y", NULL
12950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) goto fail
;
12951 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12953 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12954 if (PyErr_Occurred()) SWIG_fail
;
12957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12958 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
12960 wxPyEndAllowThreads(__tstate
);
12961 if (PyErr_Occurred()) SWIG_fail
;
12963 resultobj
= SWIG_PyObj_FromInt((int)result
);
12970 static PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12971 PyObject
*resultobj
;
12972 wxDC
*arg1
= (wxDC
*) 0 ;
12975 PyObject
* obj0
= 0 ;
12976 PyObject
* obj1
= 0 ;
12977 char *kwnames
[] = {
12978 (char *) "self",(char *) "x", NULL
12981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
12982 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12984 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12985 if (PyErr_Occurred()) SWIG_fail
;
12988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12989 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
12991 wxPyEndAllowThreads(__tstate
);
12992 if (PyErr_Occurred()) SWIG_fail
;
12994 resultobj
= SWIG_PyObj_FromInt((int)result
);
13001 static PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13002 PyObject
*resultobj
;
13003 wxDC
*arg1
= (wxDC
*) 0 ;
13006 PyObject
* obj0
= 0 ;
13007 PyObject
* obj1
= 0 ;
13008 char *kwnames
[] = {
13009 (char *) "self",(char *) "y", NULL
13012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13015 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13016 if (PyErr_Occurred()) SWIG_fail
;
13019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13020 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
13022 wxPyEndAllowThreads(__tstate
);
13023 if (PyErr_Occurred()) SWIG_fail
;
13025 resultobj
= SWIG_PyObj_FromInt((int)result
);
13032 static PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13033 PyObject
*resultobj
;
13034 wxDC
*arg1
= (wxDC
*) 0 ;
13036 PyObject
* obj0
= 0 ;
13037 char *kwnames
[] = {
13038 (char *) "self", NULL
13041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanDrawBitmap",kwnames
,&obj0
)) goto fail
;
13042 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13045 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
13047 wxPyEndAllowThreads(__tstate
);
13048 if (PyErr_Occurred()) SWIG_fail
;
13050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13057 static PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13058 PyObject
*resultobj
;
13059 wxDC
*arg1
= (wxDC
*) 0 ;
13061 PyObject
* obj0
= 0 ;
13062 char *kwnames
[] = {
13063 (char *) "self", NULL
13066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanGetTextExtent",kwnames
,&obj0
)) goto fail
;
13067 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13070 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
13072 wxPyEndAllowThreads(__tstate
);
13073 if (PyErr_Occurred()) SWIG_fail
;
13075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13082 static PyObject
*_wrap_DC_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13083 PyObject
*resultobj
;
13084 wxDC
*arg1
= (wxDC
*) 0 ;
13086 PyObject
* obj0
= 0 ;
13087 char *kwnames
[] = {
13088 (char *) "self", NULL
13091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDepth",kwnames
,&obj0
)) goto fail
;
13092 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13095 result
= (int)((wxDC
const *)arg1
)->GetDepth();
13097 wxPyEndAllowThreads(__tstate
);
13098 if (PyErr_Occurred()) SWIG_fail
;
13100 resultobj
= SWIG_PyObj_FromInt((int)result
);
13107 static PyObject
*_wrap_DC_GetPPI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13108 PyObject
*resultobj
;
13109 wxDC
*arg1
= (wxDC
*) 0 ;
13111 PyObject
* obj0
= 0 ;
13112 char *kwnames
[] = {
13113 (char *) "self", NULL
13116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPPI",kwnames
,&obj0
)) goto fail
;
13117 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13120 result
= ((wxDC
const *)arg1
)->GetPPI();
13122 wxPyEndAllowThreads(__tstate
);
13123 if (PyErr_Occurred()) SWIG_fail
;
13126 wxSize
* resultptr
;
13127 resultptr
= new wxSize((wxSize
&) result
);
13128 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
13136 static PyObject
*_wrap_DC_Ok(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_Ok",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
= (bool)((wxDC
const *)arg1
)->Ok();
13151 wxPyEndAllowThreads(__tstate
);
13152 if (PyErr_Occurred()) SWIG_fail
;
13154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13161 static PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13162 PyObject
*resultobj
;
13163 wxDC
*arg1
= (wxDC
*) 0 ;
13165 PyObject
* obj0
= 0 ;
13166 char *kwnames
[] = {
13167 (char *) "self", NULL
13170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackgroundMode",kwnames
,&obj0
)) goto fail
;
13171 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13174 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
13176 wxPyEndAllowThreads(__tstate
);
13177 if (PyErr_Occurred()) SWIG_fail
;
13179 resultobj
= SWIG_PyObj_FromInt((int)result
);
13186 static PyObject
*_wrap_DC_GetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13187 PyObject
*resultobj
;
13188 wxDC
*arg1
= (wxDC
*) 0 ;
13190 PyObject
* obj0
= 0 ;
13191 char *kwnames
[] = {
13192 (char *) "self", NULL
13195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackground",kwnames
,&obj0
)) goto fail
;
13196 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13200 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
13201 result
= (wxBrush
*) &_result_ref
;
13204 wxPyEndAllowThreads(__tstate
);
13205 if (PyErr_Occurred()) SWIG_fail
;
13207 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBrush
, 0);
13214 static PyObject
*_wrap_DC_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13215 PyObject
*resultobj
;
13216 wxDC
*arg1
= (wxDC
*) 0 ;
13218 PyObject
* obj0
= 0 ;
13219 char *kwnames
[] = {
13220 (char *) "self", NULL
13223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBrush",kwnames
,&obj0
)) goto fail
;
13224 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13228 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
13229 result
= (wxBrush
*) &_result_ref
;
13232 wxPyEndAllowThreads(__tstate
);
13233 if (PyErr_Occurred()) SWIG_fail
;
13235 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBrush
, 0);
13242 static PyObject
*_wrap_DC_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13243 PyObject
*resultobj
;
13244 wxDC
*arg1
= (wxDC
*) 0 ;
13246 PyObject
* obj0
= 0 ;
13247 char *kwnames
[] = {
13248 (char *) "self", NULL
13251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetFont",kwnames
,&obj0
)) goto fail
;
13252 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13256 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
13257 result
= (wxFont
*) &_result_ref
;
13260 wxPyEndAllowThreads(__tstate
);
13261 if (PyErr_Occurred()) SWIG_fail
;
13263 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
13270 static PyObject
*_wrap_DC_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13271 PyObject
*resultobj
;
13272 wxDC
*arg1
= (wxDC
*) 0 ;
13274 PyObject
* obj0
= 0 ;
13275 char *kwnames
[] = {
13276 (char *) "self", NULL
13279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPen",kwnames
,&obj0
)) goto fail
;
13280 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13284 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
13285 result
= (wxPen
*) &_result_ref
;
13288 wxPyEndAllowThreads(__tstate
);
13289 if (PyErr_Occurred()) SWIG_fail
;
13291 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPen
, 0);
13298 static PyObject
*_wrap_DC_GetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13299 PyObject
*resultobj
;
13300 wxDC
*arg1
= (wxDC
*) 0 ;
13302 PyObject
* obj0
= 0 ;
13303 char *kwnames
[] = {
13304 (char *) "self", NULL
13307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextBackground",kwnames
,&obj0
)) goto fail
;
13308 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13312 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
13313 result
= (wxColour
*) &_result_ref
;
13316 wxPyEndAllowThreads(__tstate
);
13317 if (PyErr_Occurred()) SWIG_fail
;
13319 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
13326 static PyObject
*_wrap_DC_GetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13327 PyObject
*resultobj
;
13328 wxDC
*arg1
= (wxDC
*) 0 ;
13330 PyObject
* obj0
= 0 ;
13331 char *kwnames
[] = {
13332 (char *) "self", NULL
13335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextForeground",kwnames
,&obj0
)) goto fail
;
13336 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13340 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
13341 result
= (wxColour
*) &_result_ref
;
13344 wxPyEndAllowThreads(__tstate
);
13345 if (PyErr_Occurred()) SWIG_fail
;
13347 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
13354 static PyObject
*_wrap_DC_SetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13355 PyObject
*resultobj
;
13356 wxDC
*arg1
= (wxDC
*) 0 ;
13357 wxColour
*arg2
= 0 ;
13359 PyObject
* obj0
= 0 ;
13360 PyObject
* obj1
= 0 ;
13361 char *kwnames
[] = {
13362 (char *) "self",(char *) "colour", NULL
13365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
13366 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13369 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13373 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
13375 wxPyEndAllowThreads(__tstate
);
13376 if (PyErr_Occurred()) SWIG_fail
;
13378 Py_INCREF(Py_None
); resultobj
= Py_None
;
13385 static PyObject
*_wrap_DC_SetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13386 PyObject
*resultobj
;
13387 wxDC
*arg1
= (wxDC
*) 0 ;
13388 wxColour
*arg2
= 0 ;
13390 PyObject
* obj0
= 0 ;
13391 PyObject
* obj1
= 0 ;
13392 char *kwnames
[] = {
13393 (char *) "self",(char *) "colour", NULL
13396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
13397 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13400 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13404 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
13406 wxPyEndAllowThreads(__tstate
);
13407 if (PyErr_Occurred()) SWIG_fail
;
13409 Py_INCREF(Py_None
); resultobj
= Py_None
;
13416 static PyObject
*_wrap_DC_GetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13417 PyObject
*resultobj
;
13418 wxDC
*arg1
= (wxDC
*) 0 ;
13420 PyObject
* obj0
= 0 ;
13421 char *kwnames
[] = {
13422 (char *) "self", NULL
13425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetMapMode",kwnames
,&obj0
)) goto fail
;
13426 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13429 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
13431 wxPyEndAllowThreads(__tstate
);
13432 if (PyErr_Occurred()) SWIG_fail
;
13434 resultobj
= SWIG_PyObj_FromInt((int)result
);
13441 static PyObject
*_wrap_DC_SetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13442 PyObject
*resultobj
;
13443 wxDC
*arg1
= (wxDC
*) 0 ;
13445 PyObject
* obj0
= 0 ;
13446 PyObject
* obj1
= 0 ;
13447 char *kwnames
[] = {
13448 (char *) "self",(char *) "mode", NULL
13451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) goto fail
;
13452 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13454 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13455 if (PyErr_Occurred()) SWIG_fail
;
13458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13459 (arg1
)->SetMapMode(arg2
);
13461 wxPyEndAllowThreads(__tstate
);
13462 if (PyErr_Occurred()) SWIG_fail
;
13464 Py_INCREF(Py_None
); resultobj
= Py_None
;
13471 static PyObject
*_wrap_DC_GetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13472 PyObject
*resultobj
;
13473 wxDC
*arg1
= (wxDC
*) 0 ;
13474 double *arg2
= (double *) 0 ;
13475 double *arg3
= (double *) 0 ;
13478 PyObject
* obj0
= 0 ;
13479 char *kwnames
[] = {
13480 (char *) "self", NULL
13485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetUserScale",kwnames
,&obj0
)) goto fail
;
13486 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13489 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
13491 wxPyEndAllowThreads(__tstate
);
13492 if (PyErr_Occurred()) SWIG_fail
;
13494 Py_INCREF(Py_None
); resultobj
= Py_None
;
13496 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
13497 resultobj
= t_output_helper(resultobj
,o
);
13500 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
13501 resultobj
= t_output_helper(resultobj
,o
);
13509 static PyObject
*_wrap_DC_SetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13510 PyObject
*resultobj
;
13511 wxDC
*arg1
= (wxDC
*) 0 ;
13514 PyObject
* obj0
= 0 ;
13515 PyObject
* obj1
= 0 ;
13516 PyObject
* obj2
= 0 ;
13517 char *kwnames
[] = {
13518 (char *) "self",(char *) "x",(char *) "y", NULL
13521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13522 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13524 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
13525 if (PyErr_Occurred()) SWIG_fail
;
13528 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
13529 if (PyErr_Occurred()) SWIG_fail
;
13532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13533 (arg1
)->SetUserScale(arg2
,arg3
);
13535 wxPyEndAllowThreads(__tstate
);
13536 if (PyErr_Occurred()) SWIG_fail
;
13538 Py_INCREF(Py_None
); resultobj
= Py_None
;
13545 static PyObject
*_wrap_DC_GetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13546 PyObject
*resultobj
;
13547 wxDC
*arg1
= (wxDC
*) 0 ;
13548 double *arg2
= (double *) 0 ;
13549 double *arg3
= (double *) 0 ;
13552 PyObject
* obj0
= 0 ;
13553 char *kwnames
[] = {
13554 (char *) "self", NULL
13559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalScale",kwnames
,&obj0
)) goto fail
;
13560 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13563 (arg1
)->GetLogicalScale(arg2
,arg3
);
13565 wxPyEndAllowThreads(__tstate
);
13566 if (PyErr_Occurred()) SWIG_fail
;
13568 Py_INCREF(Py_None
); resultobj
= Py_None
;
13570 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
13571 resultobj
= t_output_helper(resultobj
,o
);
13574 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
13575 resultobj
= t_output_helper(resultobj
,o
);
13583 static PyObject
*_wrap_DC_SetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13584 PyObject
*resultobj
;
13585 wxDC
*arg1
= (wxDC
*) 0 ;
13588 PyObject
* obj0
= 0 ;
13589 PyObject
* obj1
= 0 ;
13590 PyObject
* obj2
= 0 ;
13591 char *kwnames
[] = {
13592 (char *) "self",(char *) "x",(char *) "y", NULL
13595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13596 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13598 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
13599 if (PyErr_Occurred()) SWIG_fail
;
13602 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
13603 if (PyErr_Occurred()) SWIG_fail
;
13606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13607 (arg1
)->SetLogicalScale(arg2
,arg3
);
13609 wxPyEndAllowThreads(__tstate
);
13610 if (PyErr_Occurred()) SWIG_fail
;
13612 Py_INCREF(Py_None
); resultobj
= Py_None
;
13619 static PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13620 PyObject
*resultobj
;
13621 wxDC
*arg1
= (wxDC
*) 0 ;
13623 PyObject
* obj0
= 0 ;
13624 char *kwnames
[] = {
13625 (char *) "self", NULL
13628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOrigin",kwnames
,&obj0
)) goto fail
;
13629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13632 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
13634 wxPyEndAllowThreads(__tstate
);
13635 if (PyErr_Occurred()) SWIG_fail
;
13638 wxPoint
* resultptr
;
13639 resultptr
= new wxPoint((wxPoint
&) result
);
13640 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
13648 static PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13649 PyObject
*resultobj
;
13650 wxDC
*arg1
= (wxDC
*) 0 ;
13651 int *arg2
= (int *) 0 ;
13652 int *arg3
= (int *) 0 ;
13655 PyObject
* obj0
= 0 ;
13656 char *kwnames
[] = {
13657 (char *) "self", NULL
13662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOriginTuple",kwnames
,&obj0
)) goto fail
;
13663 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13666 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
13668 wxPyEndAllowThreads(__tstate
);
13669 if (PyErr_Occurred()) SWIG_fail
;
13671 Py_INCREF(Py_None
); resultobj
= Py_None
;
13673 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13674 resultobj
= t_output_helper(resultobj
,o
);
13677 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13678 resultobj
= t_output_helper(resultobj
,o
);
13686 static PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13687 PyObject
*resultobj
;
13688 wxDC
*arg1
= (wxDC
*) 0 ;
13691 PyObject
* obj0
= 0 ;
13692 PyObject
* obj1
= 0 ;
13693 PyObject
* obj2
= 0 ;
13694 char *kwnames
[] = {
13695 (char *) "self",(char *) "x",(char *) "y", NULL
13698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13701 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13702 if (PyErr_Occurred()) SWIG_fail
;
13705 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13706 if (PyErr_Occurred()) SWIG_fail
;
13709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13710 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
13712 wxPyEndAllowThreads(__tstate
);
13713 if (PyErr_Occurred()) SWIG_fail
;
13715 Py_INCREF(Py_None
); resultobj
= Py_None
;
13722 static PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13723 PyObject
*resultobj
;
13724 wxDC
*arg1
= (wxDC
*) 0 ;
13726 PyObject
* obj0
= 0 ;
13727 char *kwnames
[] = {
13728 (char *) "self", NULL
13731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOrigin",kwnames
,&obj0
)) goto fail
;
13732 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13735 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
13737 wxPyEndAllowThreads(__tstate
);
13738 if (PyErr_Occurred()) SWIG_fail
;
13741 wxPoint
* resultptr
;
13742 resultptr
= new wxPoint((wxPoint
&) result
);
13743 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
13751 static PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13752 PyObject
*resultobj
;
13753 wxDC
*arg1
= (wxDC
*) 0 ;
13754 int *arg2
= (int *) 0 ;
13755 int *arg3
= (int *) 0 ;
13758 PyObject
* obj0
= 0 ;
13759 char *kwnames
[] = {
13760 (char *) "self", NULL
13765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOriginTuple",kwnames
,&obj0
)) goto fail
;
13766 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13769 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
13771 wxPyEndAllowThreads(__tstate
);
13772 if (PyErr_Occurred()) SWIG_fail
;
13774 Py_INCREF(Py_None
); resultobj
= Py_None
;
13776 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13777 resultobj
= t_output_helper(resultobj
,o
);
13780 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13781 resultobj
= t_output_helper(resultobj
,o
);
13789 static PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13790 PyObject
*resultobj
;
13791 wxDC
*arg1
= (wxDC
*) 0 ;
13794 PyObject
* obj0
= 0 ;
13795 PyObject
* obj1
= 0 ;
13796 PyObject
* obj2
= 0 ;
13797 char *kwnames
[] = {
13798 (char *) "self",(char *) "x",(char *) "y", NULL
13801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13802 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13804 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13805 if (PyErr_Occurred()) SWIG_fail
;
13808 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13809 if (PyErr_Occurred()) SWIG_fail
;
13812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13813 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
13815 wxPyEndAllowThreads(__tstate
);
13816 if (PyErr_Occurred()) SWIG_fail
;
13818 Py_INCREF(Py_None
); resultobj
= Py_None
;
13825 static PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13826 PyObject
*resultobj
;
13827 wxDC
*arg1
= (wxDC
*) 0 ;
13830 PyObject
* obj0
= 0 ;
13831 PyObject
* obj1
= 0 ;
13832 PyObject
* obj2
= 0 ;
13833 char *kwnames
[] = {
13834 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
13837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13838 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13840 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
13841 if (PyErr_Occurred()) SWIG_fail
;
13844 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
13845 if (PyErr_Occurred()) SWIG_fail
;
13848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13849 (arg1
)->SetAxisOrientation(arg2
,arg3
);
13851 wxPyEndAllowThreads(__tstate
);
13852 if (PyErr_Occurred()) SWIG_fail
;
13854 Py_INCREF(Py_None
); resultobj
= Py_None
;
13861 static PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13862 PyObject
*resultobj
;
13863 wxDC
*arg1
= (wxDC
*) 0 ;
13865 PyObject
* obj0
= 0 ;
13866 char *kwnames
[] = {
13867 (char *) "self", NULL
13870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalFunction",kwnames
,&obj0
)) goto fail
;
13871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13874 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
13876 wxPyEndAllowThreads(__tstate
);
13877 if (PyErr_Occurred()) SWIG_fail
;
13879 resultobj
= SWIG_PyObj_FromInt((int)result
);
13886 static PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13887 PyObject
*resultobj
;
13888 wxDC
*arg1
= (wxDC
*) 0 ;
13890 PyObject
* obj0
= 0 ;
13891 PyObject
* obj1
= 0 ;
13892 char *kwnames
[] = {
13893 (char *) "self",(char *) "function", NULL
13896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) goto fail
;
13897 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13899 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13900 if (PyErr_Occurred()) SWIG_fail
;
13903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13904 (arg1
)->SetLogicalFunction(arg2
);
13906 wxPyEndAllowThreads(__tstate
);
13907 if (PyErr_Occurred()) SWIG_fail
;
13909 Py_INCREF(Py_None
); resultobj
= Py_None
;
13916 static PyObject
*_wrap_DC_SetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13917 PyObject
*resultobj
;
13918 wxDC
*arg1
= (wxDC
*) 0 ;
13920 PyObject
* obj0
= 0 ;
13921 PyObject
* obj1
= 0 ;
13922 char *kwnames
[] = {
13923 (char *) "self",(char *) "opt", NULL
13926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetOptimization",kwnames
,&obj0
,&obj1
)) goto fail
;
13927 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13929 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
13930 if (PyErr_Occurred()) SWIG_fail
;
13933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13934 (arg1
)->SetOptimization(arg2
);
13936 wxPyEndAllowThreads(__tstate
);
13937 if (PyErr_Occurred()) SWIG_fail
;
13939 Py_INCREF(Py_None
); resultobj
= Py_None
;
13946 static PyObject
*_wrap_DC_GetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13947 PyObject
*resultobj
;
13948 wxDC
*arg1
= (wxDC
*) 0 ;
13950 PyObject
* obj0
= 0 ;
13951 char *kwnames
[] = {
13952 (char *) "self", NULL
13955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetOptimization",kwnames
,&obj0
)) goto fail
;
13956 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13959 result
= (bool)(arg1
)->GetOptimization();
13961 wxPyEndAllowThreads(__tstate
);
13962 if (PyErr_Occurred()) SWIG_fail
;
13964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13971 static PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13972 PyObject
*resultobj
;
13973 wxDC
*arg1
= (wxDC
*) 0 ;
13976 PyObject
* obj0
= 0 ;
13977 PyObject
* obj1
= 0 ;
13978 PyObject
* obj2
= 0 ;
13979 char *kwnames
[] = {
13980 (char *) "self",(char *) "x",(char *) "y", NULL
13983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13984 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13986 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13987 if (PyErr_Occurred()) SWIG_fail
;
13990 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13991 if (PyErr_Occurred()) SWIG_fail
;
13994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13995 (arg1
)->CalcBoundingBox(arg2
,arg3
);
13997 wxPyEndAllowThreads(__tstate
);
13998 if (PyErr_Occurred()) SWIG_fail
;
14000 Py_INCREF(Py_None
); resultobj
= Py_None
;
14007 static PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14008 PyObject
*resultobj
;
14009 wxDC
*arg1
= (wxDC
*) 0 ;
14010 PyObject
* obj0
= 0 ;
14011 char *kwnames
[] = {
14012 (char *) "self", NULL
14015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ResetBoundingBox",kwnames
,&obj0
)) goto fail
;
14016 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14019 (arg1
)->ResetBoundingBox();
14021 wxPyEndAllowThreads(__tstate
);
14022 if (PyErr_Occurred()) SWIG_fail
;
14024 Py_INCREF(Py_None
); resultobj
= Py_None
;
14031 static PyObject
*_wrap_DC_MinX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14032 PyObject
*resultobj
;
14033 wxDC
*arg1
= (wxDC
*) 0 ;
14035 PyObject
* obj0
= 0 ;
14036 char *kwnames
[] = {
14037 (char *) "self", NULL
14040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinX",kwnames
,&obj0
)) goto fail
;
14041 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14044 result
= (int)((wxDC
const *)arg1
)->MinX();
14046 wxPyEndAllowThreads(__tstate
);
14047 if (PyErr_Occurred()) SWIG_fail
;
14049 resultobj
= SWIG_PyObj_FromInt((int)result
);
14056 static PyObject
*_wrap_DC_MaxX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14057 PyObject
*resultobj
;
14058 wxDC
*arg1
= (wxDC
*) 0 ;
14060 PyObject
* obj0
= 0 ;
14061 char *kwnames
[] = {
14062 (char *) "self", NULL
14065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxX",kwnames
,&obj0
)) goto fail
;
14066 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14069 result
= (int)((wxDC
const *)arg1
)->MaxX();
14071 wxPyEndAllowThreads(__tstate
);
14072 if (PyErr_Occurred()) SWIG_fail
;
14074 resultobj
= SWIG_PyObj_FromInt((int)result
);
14081 static PyObject
*_wrap_DC_MinY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14082 PyObject
*resultobj
;
14083 wxDC
*arg1
= (wxDC
*) 0 ;
14085 PyObject
* obj0
= 0 ;
14086 char *kwnames
[] = {
14087 (char *) "self", NULL
14090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinY",kwnames
,&obj0
)) goto fail
;
14091 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14094 result
= (int)((wxDC
const *)arg1
)->MinY();
14096 wxPyEndAllowThreads(__tstate
);
14097 if (PyErr_Occurred()) SWIG_fail
;
14099 resultobj
= SWIG_PyObj_FromInt((int)result
);
14106 static PyObject
*_wrap_DC_MaxY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14107 PyObject
*resultobj
;
14108 wxDC
*arg1
= (wxDC
*) 0 ;
14110 PyObject
* obj0
= 0 ;
14111 char *kwnames
[] = {
14112 (char *) "self", NULL
14115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxY",kwnames
,&obj0
)) goto fail
;
14116 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14119 result
= (int)((wxDC
const *)arg1
)->MaxY();
14121 wxPyEndAllowThreads(__tstate
);
14122 if (PyErr_Occurred()) SWIG_fail
;
14124 resultobj
= SWIG_PyObj_FromInt((int)result
);
14131 static PyObject
*_wrap_DC_GetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14132 PyObject
*resultobj
;
14133 wxDC
*arg1
= (wxDC
*) 0 ;
14134 int *arg2
= (int *) 0 ;
14135 int *arg3
= (int *) 0 ;
14136 int *arg4
= (int *) 0 ;
14137 int *arg5
= (int *) 0 ;
14142 PyObject
* obj0
= 0 ;
14143 char *kwnames
[] = {
14144 (char *) "self", NULL
14151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBoundingBox",kwnames
,&obj0
)) goto fail
;
14152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14155 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
14157 wxPyEndAllowThreads(__tstate
);
14158 if (PyErr_Occurred()) SWIG_fail
;
14160 Py_INCREF(Py_None
); resultobj
= Py_None
;
14162 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14163 resultobj
= t_output_helper(resultobj
,o
);
14166 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14167 resultobj
= t_output_helper(resultobj
,o
);
14170 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
14171 resultobj
= t_output_helper(resultobj
,o
);
14174 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
14175 resultobj
= t_output_helper(resultobj
,o
);
14183 static PyObject
*_wrap_DC__DrawPointList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14184 PyObject
*resultobj
;
14185 wxDC
*arg1
= (wxDC
*) 0 ;
14186 PyObject
*arg2
= (PyObject
*) 0 ;
14187 PyObject
*arg3
= (PyObject
*) 0 ;
14188 PyObject
*arg4
= (PyObject
*) 0 ;
14190 PyObject
* obj0
= 0 ;
14191 PyObject
* obj1
= 0 ;
14192 PyObject
* obj2
= 0 ;
14193 PyObject
* obj3
= 0 ;
14194 char *kwnames
[] = {
14195 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14199 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14205 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
14207 wxPyEndAllowThreads(__tstate
);
14208 if (PyErr_Occurred()) SWIG_fail
;
14210 resultobj
= result
;
14217 static PyObject
*_wrap_DC__DrawLineList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14218 PyObject
*resultobj
;
14219 wxDC
*arg1
= (wxDC
*) 0 ;
14220 PyObject
*arg2
= (PyObject
*) 0 ;
14221 PyObject
*arg3
= (PyObject
*) 0 ;
14222 PyObject
*arg4
= (PyObject
*) 0 ;
14224 PyObject
* obj0
= 0 ;
14225 PyObject
* obj1
= 0 ;
14226 PyObject
* obj2
= 0 ;
14227 PyObject
* obj3
= 0 ;
14228 char *kwnames
[] = {
14229 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14233 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14239 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
14241 wxPyEndAllowThreads(__tstate
);
14242 if (PyErr_Occurred()) SWIG_fail
;
14244 resultobj
= result
;
14251 static PyObject
*_wrap_DC__DrawRectangleList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14252 PyObject
*resultobj
;
14253 wxDC
*arg1
= (wxDC
*) 0 ;
14254 PyObject
*arg2
= (PyObject
*) 0 ;
14255 PyObject
*arg3
= (PyObject
*) 0 ;
14256 PyObject
*arg4
= (PyObject
*) 0 ;
14258 PyObject
* obj0
= 0 ;
14259 PyObject
* obj1
= 0 ;
14260 PyObject
* obj2
= 0 ;
14261 PyObject
* obj3
= 0 ;
14262 char *kwnames
[] = {
14263 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14267 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14273 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
14275 wxPyEndAllowThreads(__tstate
);
14276 if (PyErr_Occurred()) SWIG_fail
;
14278 resultobj
= result
;
14285 static PyObject
*_wrap_DC__DrawEllipseList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14286 PyObject
*resultobj
;
14287 wxDC
*arg1
= (wxDC
*) 0 ;
14288 PyObject
*arg2
= (PyObject
*) 0 ;
14289 PyObject
*arg3
= (PyObject
*) 0 ;
14290 PyObject
*arg4
= (PyObject
*) 0 ;
14292 PyObject
* obj0
= 0 ;
14293 PyObject
* obj1
= 0 ;
14294 PyObject
* obj2
= 0 ;
14295 PyObject
* obj3
= 0 ;
14296 char *kwnames
[] = {
14297 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14301 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14307 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
14309 wxPyEndAllowThreads(__tstate
);
14310 if (PyErr_Occurred()) SWIG_fail
;
14312 resultobj
= result
;
14319 static PyObject
*_wrap_DC__DrawPolygonList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14320 PyObject
*resultobj
;
14321 wxDC
*arg1
= (wxDC
*) 0 ;
14322 PyObject
*arg2
= (PyObject
*) 0 ;
14323 PyObject
*arg3
= (PyObject
*) 0 ;
14324 PyObject
*arg4
= (PyObject
*) 0 ;
14326 PyObject
* obj0
= 0 ;
14327 PyObject
* obj1
= 0 ;
14328 PyObject
* obj2
= 0 ;
14329 PyObject
* obj3
= 0 ;
14330 char *kwnames
[] = {
14331 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14335 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14341 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
14343 wxPyEndAllowThreads(__tstate
);
14344 if (PyErr_Occurred()) SWIG_fail
;
14346 resultobj
= result
;
14353 static PyObject
*_wrap_DC__DrawTextList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14354 PyObject
*resultobj
;
14355 wxDC
*arg1
= (wxDC
*) 0 ;
14356 PyObject
*arg2
= (PyObject
*) 0 ;
14357 PyObject
*arg3
= (PyObject
*) 0 ;
14358 PyObject
*arg4
= (PyObject
*) 0 ;
14359 PyObject
*arg5
= (PyObject
*) 0 ;
14361 PyObject
* obj0
= 0 ;
14362 PyObject
* obj1
= 0 ;
14363 PyObject
* obj2
= 0 ;
14364 PyObject
* obj3
= 0 ;
14365 PyObject
* obj4
= 0 ;
14366 char *kwnames
[] = {
14367 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
14370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14371 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14378 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
14380 wxPyEndAllowThreads(__tstate
);
14381 if (PyErr_Occurred()) SWIG_fail
;
14383 resultobj
= result
;
14390 static PyObject
* DC_swigregister(PyObject
*self
, PyObject
*args
) {
14392 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14393 SWIG_TypeClientData(SWIGTYPE_p_wxDC
, obj
);
14395 return Py_BuildValue((char *)"");
14397 static PyObject
*_wrap_new_MemoryDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14398 PyObject
*resultobj
;
14399 wxMemoryDC
*result
;
14400 char *kwnames
[] = {
14404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryDC",kwnames
)) goto fail
;
14406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14407 result
= (wxMemoryDC
*)new wxMemoryDC();
14409 wxPyEndAllowThreads(__tstate
);
14410 if (PyErr_Occurred()) SWIG_fail
;
14412 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMemoryDC
, 1);
14419 static PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14420 PyObject
*resultobj
;
14421 wxDC
*arg1
= (wxDC
*) 0 ;
14422 wxMemoryDC
*result
;
14423 PyObject
* obj0
= 0 ;
14424 char *kwnames
[] = {
14425 (char *) "oldDC", NULL
14428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) goto fail
;
14429 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14432 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
14434 wxPyEndAllowThreads(__tstate
);
14435 if (PyErr_Occurred()) SWIG_fail
;
14437 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMemoryDC
, 1);
14444 static PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14445 PyObject
*resultobj
;
14446 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
14447 wxBitmap
*arg2
= 0 ;
14448 PyObject
* obj0
= 0 ;
14449 PyObject
* obj1
= 0 ;
14450 char *kwnames
[] = {
14451 (char *) "self",(char *) "bitmap", NULL
14454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) goto fail
;
14455 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMemoryDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14456 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14457 if (arg2
== NULL
) {
14458 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14462 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
14464 wxPyEndAllowThreads(__tstate
);
14465 if (PyErr_Occurred()) SWIG_fail
;
14467 Py_INCREF(Py_None
); resultobj
= Py_None
;
14474 static PyObject
* MemoryDC_swigregister(PyObject
*self
, PyObject
*args
) {
14476 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14477 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC
, obj
);
14479 return Py_BuildValue((char *)"");
14481 static PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14482 PyObject
*resultobj
;
14483 wxDC
*arg1
= (wxDC
*) 0 ;
14484 wxBitmap
*arg2
= 0 ;
14485 wxBufferedDC
*result
;
14486 PyObject
* obj0
= 0 ;
14487 PyObject
* obj1
= 0 ;
14488 char *kwnames
[] = {
14489 (char *) "dc",(char *) "buffer", NULL
14492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_BufferedDC",kwnames
,&obj0
,&obj1
)) goto fail
;
14493 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14494 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14495 if (arg2
== NULL
) {
14496 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14500 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
);
14502 wxPyEndAllowThreads(__tstate
);
14503 if (PyErr_Occurred()) SWIG_fail
;
14505 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBufferedDC
, 1);
14512 static PyObject
*_wrap_new_BufferedDCInternalBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14513 PyObject
*resultobj
;
14514 wxDC
*arg1
= (wxDC
*) 0 ;
14516 wxBufferedDC
*result
;
14518 PyObject
* obj0
= 0 ;
14519 PyObject
* obj1
= 0 ;
14520 char *kwnames
[] = {
14521 (char *) "dc",(char *) "area", NULL
14524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_BufferedDCInternalBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
14525 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14528 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14532 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
14534 wxPyEndAllowThreads(__tstate
);
14535 if (PyErr_Occurred()) SWIG_fail
;
14537 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBufferedDC
, 1);
14544 static PyObject
*_wrap_BufferedDC_UnMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14545 PyObject
*resultobj
;
14546 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
14547 PyObject
* obj0
= 0 ;
14548 char *kwnames
[] = {
14549 (char *) "self", NULL
14552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BufferedDC_UnMask",kwnames
,&obj0
)) goto fail
;
14553 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBufferedDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14558 wxPyEndAllowThreads(__tstate
);
14559 if (PyErr_Occurred()) SWIG_fail
;
14561 Py_INCREF(Py_None
); resultobj
= Py_None
;
14568 static PyObject
* BufferedDC_swigregister(PyObject
*self
, PyObject
*args
) {
14570 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14571 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC
, obj
);
14573 return Py_BuildValue((char *)"");
14575 static PyObject
*_wrap_new_BufferedPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14576 PyObject
*resultobj
;
14577 wxWindow
*arg1
= (wxWindow
*) 0 ;
14578 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
14579 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
14580 wxBufferedPaintDC
*result
;
14581 PyObject
* obj0
= 0 ;
14582 PyObject
* obj1
= 0 ;
14583 char *kwnames
[] = {
14584 (char *) "window",(char *) "buffer", NULL
14587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
)) goto fail
;
14588 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14590 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14591 if (arg2
== NULL
) {
14592 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14597 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
);
14599 wxPyEndAllowThreads(__tstate
);
14600 if (PyErr_Occurred()) SWIG_fail
;
14602 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBufferedPaintDC
, 1);
14609 static PyObject
* BufferedPaintDC_swigregister(PyObject
*self
, PyObject
*args
) {
14611 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14612 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC
, obj
);
14614 return Py_BuildValue((char *)"");
14616 static PyObject
*_wrap_new_ScreenDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14617 PyObject
*resultobj
;
14618 wxScreenDC
*result
;
14619 char *kwnames
[] = {
14623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ScreenDC",kwnames
)) goto fail
;
14625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14626 result
= (wxScreenDC
*)new wxScreenDC();
14628 wxPyEndAllowThreads(__tstate
);
14629 if (PyErr_Occurred()) SWIG_fail
;
14631 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScreenDC
, 1);
14638 static PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14639 PyObject
*resultobj
;
14640 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
14641 wxWindow
*arg2
= (wxWindow
*) 0 ;
14643 PyObject
* obj0
= 0 ;
14644 PyObject
* obj1
= 0 ;
14645 char *kwnames
[] = {
14646 (char *) "self",(char *) "window", NULL
14649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) goto fail
;
14650 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScreenDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14651 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14654 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
14656 wxPyEndAllowThreads(__tstate
);
14657 if (PyErr_Occurred()) SWIG_fail
;
14659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14666 static PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14667 PyObject
*resultobj
;
14668 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
14669 wxRect
*arg2
= (wxRect
*) NULL
;
14671 PyObject
* obj0
= 0 ;
14672 PyObject
* obj1
= 0 ;
14673 char *kwnames
[] = {
14674 (char *) "self",(char *) "rect", NULL
14677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) goto fail
;
14678 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScreenDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14680 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14684 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
14686 wxPyEndAllowThreads(__tstate
);
14687 if (PyErr_Occurred()) SWIG_fail
;
14689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14696 static PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14697 PyObject
*resultobj
;
14698 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
14700 PyObject
* obj0
= 0 ;
14701 char *kwnames
[] = {
14702 (char *) "self", NULL
14705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames
,&obj0
)) goto fail
;
14706 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScreenDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14709 result
= (bool)(arg1
)->EndDrawingOnTop();
14711 wxPyEndAllowThreads(__tstate
);
14712 if (PyErr_Occurred()) SWIG_fail
;
14714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14721 static PyObject
* ScreenDC_swigregister(PyObject
*self
, PyObject
*args
) {
14723 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14724 SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC
, obj
);
14726 return Py_BuildValue((char *)"");
14728 static PyObject
*_wrap_new_ClientDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14729 PyObject
*resultobj
;
14730 wxWindow
*arg1
= (wxWindow
*) 0 ;
14731 wxClientDC
*result
;
14732 PyObject
* obj0
= 0 ;
14733 char *kwnames
[] = {
14734 (char *) "win", NULL
14737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) goto fail
;
14738 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14741 result
= (wxClientDC
*)new wxClientDC(arg1
);
14743 wxPyEndAllowThreads(__tstate
);
14744 if (PyErr_Occurred()) SWIG_fail
;
14746 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxClientDC
, 1);
14753 static PyObject
* ClientDC_swigregister(PyObject
*self
, PyObject
*args
) {
14755 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14756 SWIG_TypeClientData(SWIGTYPE_p_wxClientDC
, obj
);
14758 return Py_BuildValue((char *)"");
14760 static PyObject
*_wrap_new_PaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14761 PyObject
*resultobj
;
14762 wxWindow
*arg1
= (wxWindow
*) 0 ;
14764 PyObject
* obj0
= 0 ;
14765 char *kwnames
[] = {
14766 (char *) "win", NULL
14769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) goto fail
;
14770 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14773 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
14775 wxPyEndAllowThreads(__tstate
);
14776 if (PyErr_Occurred()) SWIG_fail
;
14778 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPaintDC
, 1);
14785 static PyObject
* PaintDC_swigregister(PyObject
*self
, PyObject
*args
) {
14787 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14788 SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC
, obj
);
14790 return Py_BuildValue((char *)"");
14792 static PyObject
*_wrap_new_WindowDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14793 PyObject
*resultobj
;
14794 wxWindow
*arg1
= (wxWindow
*) 0 ;
14795 wxWindowDC
*result
;
14796 PyObject
* obj0
= 0 ;
14797 char *kwnames
[] = {
14798 (char *) "win", NULL
14801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) goto fail
;
14802 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14805 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
14807 wxPyEndAllowThreads(__tstate
);
14808 if (PyErr_Occurred()) SWIG_fail
;
14810 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxWindowDC
, 1);
14817 static PyObject
* WindowDC_swigregister(PyObject
*self
, PyObject
*args
) {
14819 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14820 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC
, obj
);
14822 return Py_BuildValue((char *)"");
14824 static PyObject
*_wrap_new_MirrorDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14825 PyObject
*resultobj
;
14828 wxMirrorDC
*result
;
14829 PyObject
* obj0
= 0 ;
14830 PyObject
* obj1
= 0 ;
14831 char *kwnames
[] = {
14832 (char *) "dc",(char *) "mirror", NULL
14835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) goto fail
;
14836 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14837 if (arg1
== NULL
) {
14838 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14841 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
14842 if (PyErr_Occurred()) SWIG_fail
;
14845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14846 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
14848 wxPyEndAllowThreads(__tstate
);
14849 if (PyErr_Occurred()) SWIG_fail
;
14851 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMirrorDC
, 1);
14858 static PyObject
* MirrorDC_swigregister(PyObject
*self
, PyObject
*args
) {
14860 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14861 SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC
, obj
);
14863 return Py_BuildValue((char *)"");
14865 static PyObject
*_wrap_new_PostScriptDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14866 PyObject
*resultobj
;
14867 wxPrintData
*arg1
= 0 ;
14868 wxPostScriptDC
*result
;
14869 PyObject
* obj0
= 0 ;
14870 char *kwnames
[] = {
14871 (char *) "printData", NULL
14874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) goto fail
;
14875 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14876 if (arg1
== NULL
) {
14877 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14881 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
14883 wxPyEndAllowThreads(__tstate
);
14884 if (PyErr_Occurred()) SWIG_fail
;
14886 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPostScriptDC
, 1);
14893 static PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14894 PyObject
*resultobj
;
14895 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
14896 wxPrintData
*result
;
14897 PyObject
* obj0
= 0 ;
14898 char *kwnames
[] = {
14899 (char *) "self", NULL
14902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_GetPrintData",kwnames
,&obj0
)) goto fail
;
14903 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPostScriptDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14907 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
14908 result
= (wxPrintData
*) &_result_ref
;
14911 wxPyEndAllowThreads(__tstate
);
14912 if (PyErr_Occurred()) SWIG_fail
;
14914 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintData
, 0);
14921 static PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14922 PyObject
*resultobj
;
14923 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
14924 wxPrintData
*arg2
= 0 ;
14925 PyObject
* obj0
= 0 ;
14926 PyObject
* obj1
= 0 ;
14927 char *kwnames
[] = {
14928 (char *) "self",(char *) "data", NULL
14931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
14932 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPostScriptDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14933 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14934 if (arg2
== NULL
) {
14935 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14939 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
14941 wxPyEndAllowThreads(__tstate
);
14942 if (PyErr_Occurred()) SWIG_fail
;
14944 Py_INCREF(Py_None
); resultobj
= Py_None
;
14951 static PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14952 PyObject
*resultobj
;
14954 PyObject
* obj0
= 0 ;
14955 char *kwnames
[] = {
14956 (char *) "ppi", NULL
14959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) goto fail
;
14961 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
14962 if (PyErr_Occurred()) SWIG_fail
;
14965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14966 wxPostScriptDC::SetResolution(arg1
);
14968 wxPyEndAllowThreads(__tstate
);
14969 if (PyErr_Occurred()) SWIG_fail
;
14971 Py_INCREF(Py_None
); resultobj
= Py_None
;
14978 static PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14979 PyObject
*resultobj
;
14981 char *kwnames
[] = {
14985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PostScriptDC_GetResolution",kwnames
)) goto fail
;
14987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14988 result
= (int)wxPostScriptDC::GetResolution();
14990 wxPyEndAllowThreads(__tstate
);
14991 if (PyErr_Occurred()) SWIG_fail
;
14993 resultobj
= SWIG_PyObj_FromInt((int)result
);
15000 static PyObject
* PostScriptDC_swigregister(PyObject
*self
, PyObject
*args
) {
15002 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15003 SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC
, obj
);
15005 return Py_BuildValue((char *)"");
15007 static PyObject
*_wrap_new_MetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15008 PyObject
*resultobj
;
15009 wxString
const &arg1_defvalue
= wxPyEmptyString
;
15010 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
15011 wxMetaFile
*result
;
15012 bool temp1
= False
;
15013 PyObject
* obj0
= 0 ;
15014 char *kwnames
[] = {
15015 (char *) "filename", NULL
15018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) goto fail
;
15021 arg1
= wxString_in_helper(obj0
);
15022 if (arg1
== NULL
) SWIG_fail
;
15027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15028 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
15030 wxPyEndAllowThreads(__tstate
);
15031 if (PyErr_Occurred()) SWIG_fail
;
15033 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMetaFile
, 1);
15048 static PyObject
* MetaFile_swigregister(PyObject
*self
, PyObject
*args
) {
15050 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15051 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile
, obj
);
15053 return Py_BuildValue((char *)"");
15055 static PyObject
*_wrap_new_MetaFileDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15056 PyObject
*resultobj
;
15057 wxString
const &arg1_defvalue
= wxPyEmptyString
;
15058 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
15059 int arg2
= (int) 0 ;
15060 int arg3
= (int) 0 ;
15061 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15062 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15063 wxMetaFileDC
*result
;
15064 bool temp1
= False
;
15065 bool temp4
= False
;
15066 PyObject
* obj0
= 0 ;
15067 PyObject
* obj1
= 0 ;
15068 PyObject
* obj2
= 0 ;
15069 PyObject
* obj3
= 0 ;
15070 char *kwnames
[] = {
15071 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
15074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15077 arg1
= wxString_in_helper(obj0
);
15078 if (arg1
== NULL
) SWIG_fail
;
15084 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15085 if (PyErr_Occurred()) SWIG_fail
;
15090 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
15091 if (PyErr_Occurred()) SWIG_fail
;
15096 arg4
= wxString_in_helper(obj3
);
15097 if (arg4
== NULL
) SWIG_fail
;
15102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15103 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
15105 wxPyEndAllowThreads(__tstate
);
15106 if (PyErr_Occurred()) SWIG_fail
;
15108 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMetaFileDC
, 1);
15131 static PyObject
* MetaFileDC_swigregister(PyObject
*self
, PyObject
*args
) {
15133 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15134 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC
, obj
);
15136 return Py_BuildValue((char *)"");
15138 static PyObject
*_wrap_new_PrinterDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15139 PyObject
*resultobj
;
15140 wxPrintData
*arg1
= 0 ;
15141 wxPrinterDC
*result
;
15142 PyObject
* obj0
= 0 ;
15143 char *kwnames
[] = {
15144 (char *) "printData", NULL
15147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) goto fail
;
15148 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15149 if (arg1
== NULL
) {
15150 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15154 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
15156 wxPyEndAllowThreads(__tstate
);
15157 if (PyErr_Occurred()) SWIG_fail
;
15159 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrinterDC
, 1);
15166 static PyObject
* PrinterDC_swigregister(PyObject
*self
, PyObject
*args
) {
15168 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15169 SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC
, obj
);
15171 return Py_BuildValue((char *)"");
15173 static PyObject
*_wrap_new_ImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15174 PyObject
*resultobj
;
15177 int arg3
= (int) True
;
15178 int arg4
= (int) 1 ;
15179 wxImageList
*result
;
15180 PyObject
* obj0
= 0 ;
15181 PyObject
* obj1
= 0 ;
15182 PyObject
* obj2
= 0 ;
15183 PyObject
* obj3
= 0 ;
15184 char *kwnames
[] = {
15185 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
15188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15190 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
15191 if (PyErr_Occurred()) SWIG_fail
;
15194 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15195 if (PyErr_Occurred()) SWIG_fail
;
15199 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
15200 if (PyErr_Occurred()) SWIG_fail
;
15205 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
15206 if (PyErr_Occurred()) SWIG_fail
;
15210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15211 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
15213 wxPyEndAllowThreads(__tstate
);
15214 if (PyErr_Occurred()) SWIG_fail
;
15217 resultobj
= wxPyMake_wxObject(result
);
15225 static PyObject
*_wrap_delete_ImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15226 PyObject
*resultobj
;
15227 wxImageList
*arg1
= (wxImageList
*) 0 ;
15228 PyObject
* obj0
= 0 ;
15229 char *kwnames
[] = {
15230 (char *) "self", NULL
15233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ImageList",kwnames
,&obj0
)) goto fail
;
15234 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15239 wxPyEndAllowThreads(__tstate
);
15240 if (PyErr_Occurred()) SWIG_fail
;
15242 Py_INCREF(Py_None
); resultobj
= Py_None
;
15249 static PyObject
*_wrap_ImageList_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15250 PyObject
*resultobj
;
15251 wxImageList
*arg1
= (wxImageList
*) 0 ;
15252 wxBitmap
*arg2
= 0 ;
15253 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
15254 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
15256 PyObject
* obj0
= 0 ;
15257 PyObject
* obj1
= 0 ;
15258 PyObject
* obj2
= 0 ;
15259 char *kwnames
[] = {
15260 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
15263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15264 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15265 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15266 if (arg2
== NULL
) {
15267 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15270 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15271 if (arg3
== NULL
) {
15272 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15277 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
15279 wxPyEndAllowThreads(__tstate
);
15280 if (PyErr_Occurred()) SWIG_fail
;
15282 resultobj
= SWIG_PyObj_FromInt((int)result
);
15289 static PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15290 PyObject
*resultobj
;
15291 wxImageList
*arg1
= (wxImageList
*) 0 ;
15292 wxBitmap
*arg2
= 0 ;
15293 wxColour
*arg3
= 0 ;
15296 PyObject
* obj0
= 0 ;
15297 PyObject
* obj1
= 0 ;
15298 PyObject
* obj2
= 0 ;
15299 char *kwnames
[] = {
15300 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
15303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15304 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15305 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15306 if (arg2
== NULL
) {
15307 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15311 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
15314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15315 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
15317 wxPyEndAllowThreads(__tstate
);
15318 if (PyErr_Occurred()) SWIG_fail
;
15320 resultobj
= SWIG_PyObj_FromInt((int)result
);
15327 static PyObject
*_wrap_ImageList_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15328 PyObject
*resultobj
;
15329 wxImageList
*arg1
= (wxImageList
*) 0 ;
15332 PyObject
* obj0
= 0 ;
15333 PyObject
* obj1
= 0 ;
15334 char *kwnames
[] = {
15335 (char *) "self",(char *) "icon", NULL
15338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
15339 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15340 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15341 if (arg2
== NULL
) {
15342 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15346 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
15348 wxPyEndAllowThreads(__tstate
);
15349 if (PyErr_Occurred()) SWIG_fail
;
15351 resultobj
= SWIG_PyObj_FromInt((int)result
);
15358 static PyObject
*_wrap_ImageList_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15359 PyObject
*resultobj
;
15360 wxImageList
*arg1
= (wxImageList
*) 0 ;
15362 wxBitmap
*arg3
= 0 ;
15364 PyObject
* obj0
= 0 ;
15365 PyObject
* obj1
= 0 ;
15366 PyObject
* obj2
= 0 ;
15367 char *kwnames
[] = {
15368 (char *) "self",(char *) "index",(char *) "bitmap", NULL
15371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15372 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15374 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15375 if (PyErr_Occurred()) SWIG_fail
;
15377 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15378 if (arg3
== NULL
) {
15379 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15383 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
);
15385 wxPyEndAllowThreads(__tstate
);
15386 if (PyErr_Occurred()) SWIG_fail
;
15388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15395 static PyObject
*_wrap_ImageList_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15396 PyObject
*resultobj
;
15397 wxImageList
*arg1
= (wxImageList
*) 0 ;
15402 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
15403 bool arg7
= (bool) (bool)False
;
15405 PyObject
* obj0
= 0 ;
15406 PyObject
* obj1
= 0 ;
15407 PyObject
* obj2
= 0 ;
15408 PyObject
* obj3
= 0 ;
15409 PyObject
* obj4
= 0 ;
15410 PyObject
* obj5
= 0 ;
15411 PyObject
* obj6
= 0 ;
15412 char *kwnames
[] = {
15413 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
15416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15417 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15419 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15420 if (PyErr_Occurred()) SWIG_fail
;
15422 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15423 if (arg3
== NULL
) {
15424 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15427 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
15428 if (PyErr_Occurred()) SWIG_fail
;
15431 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
15432 if (PyErr_Occurred()) SWIG_fail
;
15436 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
15437 if (PyErr_Occurred()) SWIG_fail
;
15442 arg7
= (bool const) SWIG_PyObj_AsBool(obj6
);
15443 if (PyErr_Occurred()) SWIG_fail
;
15447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15448 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
15450 wxPyEndAllowThreads(__tstate
);
15451 if (PyErr_Occurred()) SWIG_fail
;
15453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15460 static PyObject
*_wrap_ImageList_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15461 PyObject
*resultobj
;
15462 wxImageList
*arg1
= (wxImageList
*) 0 ;
15464 PyObject
* obj0
= 0 ;
15465 char *kwnames
[] = {
15466 (char *) "self", NULL
15469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_GetImageCount",kwnames
,&obj0
)) goto fail
;
15470 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15473 result
= (int)(arg1
)->GetImageCount();
15475 wxPyEndAllowThreads(__tstate
);
15476 if (PyErr_Occurred()) SWIG_fail
;
15478 resultobj
= SWIG_PyObj_FromInt((int)result
);
15485 static PyObject
*_wrap_ImageList_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15486 PyObject
*resultobj
;
15487 wxImageList
*arg1
= (wxImageList
*) 0 ;
15490 PyObject
* obj0
= 0 ;
15491 PyObject
* obj1
= 0 ;
15492 char *kwnames
[] = {
15493 (char *) "self",(char *) "index", NULL
15496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
15497 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15499 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15500 if (PyErr_Occurred()) SWIG_fail
;
15503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15504 result
= (bool)(arg1
)->Remove(arg2
);
15506 wxPyEndAllowThreads(__tstate
);
15507 if (PyErr_Occurred()) SWIG_fail
;
15509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15516 static PyObject
*_wrap_ImageList_RemoveAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15517 PyObject
*resultobj
;
15518 wxImageList
*arg1
= (wxImageList
*) 0 ;
15520 PyObject
* obj0
= 0 ;
15521 char *kwnames
[] = {
15522 (char *) "self", NULL
15525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_RemoveAll",kwnames
,&obj0
)) goto fail
;
15526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15529 result
= (bool)(arg1
)->RemoveAll();
15531 wxPyEndAllowThreads(__tstate
);
15532 if (PyErr_Occurred()) SWIG_fail
;
15534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15541 static PyObject
*_wrap_ImageList_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15542 PyObject
*resultobj
;
15543 wxImageList
*arg1
= (wxImageList
*) 0 ;
15549 PyObject
* obj0
= 0 ;
15550 PyObject
* obj1
= 0 ;
15551 char *kwnames
[] = {
15552 (char *) "self",(char *) "index", NULL
15557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15558 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15560 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15561 if (PyErr_Occurred()) SWIG_fail
;
15564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15565 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
15567 wxPyEndAllowThreads(__tstate
);
15568 if (PyErr_Occurred()) SWIG_fail
;
15570 Py_INCREF(Py_None
); resultobj
= Py_None
;
15572 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15573 resultobj
= t_output_helper(resultobj
,o
);
15576 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
15577 resultobj
= t_output_helper(resultobj
,o
);
15585 static PyObject
* ImageList_swigregister(PyObject
*self
, PyObject
*args
) {
15587 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15588 SWIG_TypeClientData(SWIGTYPE_p_wxImageList
, obj
);
15590 return Py_BuildValue((char *)"");
15592 static int _wrap_NORMAL_FONT_set(PyObject
*) {
15593 PyErr_SetString(PyExc_TypeError
,"Variable NORMAL_FONT is read-only.");
15598 static PyObject
*_wrap_NORMAL_FONT_get() {
15601 pyobj
= SWIG_NewPointerObj((void *) wxNORMAL_FONT
, SWIGTYPE_p_wxFont
, 0);
15606 static int _wrap_SMALL_FONT_set(PyObject
*) {
15607 PyErr_SetString(PyExc_TypeError
,"Variable SMALL_FONT is read-only.");
15612 static PyObject
*_wrap_SMALL_FONT_get() {
15615 pyobj
= SWIG_NewPointerObj((void *) wxSMALL_FONT
, SWIGTYPE_p_wxFont
, 0);
15620 static int _wrap_ITALIC_FONT_set(PyObject
*) {
15621 PyErr_SetString(PyExc_TypeError
,"Variable ITALIC_FONT is read-only.");
15626 static PyObject
*_wrap_ITALIC_FONT_get() {
15629 pyobj
= SWIG_NewPointerObj((void *) wxITALIC_FONT
, SWIGTYPE_p_wxFont
, 0);
15634 static int _wrap_SWISS_FONT_set(PyObject
*) {
15635 PyErr_SetString(PyExc_TypeError
,"Variable SWISS_FONT is read-only.");
15640 static PyObject
*_wrap_SWISS_FONT_get() {
15643 pyobj
= SWIG_NewPointerObj((void *) wxSWISS_FONT
, SWIGTYPE_p_wxFont
, 0);
15648 static int _wrap_RED_PEN_set(PyObject
*) {
15649 PyErr_SetString(PyExc_TypeError
,"Variable RED_PEN is read-only.");
15654 static PyObject
*_wrap_RED_PEN_get() {
15657 pyobj
= SWIG_NewPointerObj((void *) wxRED_PEN
, SWIGTYPE_p_wxPen
, 0);
15662 static int _wrap_CYAN_PEN_set(PyObject
*) {
15663 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_PEN is read-only.");
15668 static PyObject
*_wrap_CYAN_PEN_get() {
15671 pyobj
= SWIG_NewPointerObj((void *) wxCYAN_PEN
, SWIGTYPE_p_wxPen
, 0);
15676 static int _wrap_GREEN_PEN_set(PyObject
*) {
15677 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_PEN is read-only.");
15682 static PyObject
*_wrap_GREEN_PEN_get() {
15685 pyobj
= SWIG_NewPointerObj((void *) wxGREEN_PEN
, SWIGTYPE_p_wxPen
, 0);
15690 static int _wrap_BLACK_PEN_set(PyObject
*) {
15691 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_PEN is read-only.");
15696 static PyObject
*_wrap_BLACK_PEN_get() {
15699 pyobj
= SWIG_NewPointerObj((void *) wxBLACK_PEN
, SWIGTYPE_p_wxPen
, 0);
15704 static int _wrap_WHITE_PEN_set(PyObject
*) {
15705 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_PEN is read-only.");
15710 static PyObject
*_wrap_WHITE_PEN_get() {
15713 pyobj
= SWIG_NewPointerObj((void *) wxWHITE_PEN
, SWIGTYPE_p_wxPen
, 0);
15718 static int _wrap_TRANSPARENT_PEN_set(PyObject
*) {
15719 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_PEN is read-only.");
15724 static PyObject
*_wrap_TRANSPARENT_PEN_get() {
15727 pyobj
= SWIG_NewPointerObj((void *) wxTRANSPARENT_PEN
, SWIGTYPE_p_wxPen
, 0);
15732 static int _wrap_BLACK_DASHED_PEN_set(PyObject
*) {
15733 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_DASHED_PEN is read-only.");
15738 static PyObject
*_wrap_BLACK_DASHED_PEN_get() {
15741 pyobj
= SWIG_NewPointerObj((void *) wxBLACK_DASHED_PEN
, SWIGTYPE_p_wxPen
, 0);
15746 static int _wrap_GREY_PEN_set(PyObject
*) {
15747 PyErr_SetString(PyExc_TypeError
,"Variable GREY_PEN is read-only.");
15752 static PyObject
*_wrap_GREY_PEN_get() {
15755 pyobj
= SWIG_NewPointerObj((void *) wxGREY_PEN
, SWIGTYPE_p_wxPen
, 0);
15760 static int _wrap_MEDIUM_GREY_PEN_set(PyObject
*) {
15761 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_PEN is read-only.");
15766 static PyObject
*_wrap_MEDIUM_GREY_PEN_get() {
15769 pyobj
= SWIG_NewPointerObj((void *) wxMEDIUM_GREY_PEN
, SWIGTYPE_p_wxPen
, 0);
15774 static int _wrap_LIGHT_GREY_PEN_set(PyObject
*) {
15775 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_PEN is read-only.");
15780 static PyObject
*_wrap_LIGHT_GREY_PEN_get() {
15783 pyobj
= SWIG_NewPointerObj((void *) wxLIGHT_GREY_PEN
, SWIGTYPE_p_wxPen
, 0);
15788 static int _wrap_BLUE_BRUSH_set(PyObject
*) {
15789 PyErr_SetString(PyExc_TypeError
,"Variable BLUE_BRUSH is read-only.");
15794 static PyObject
*_wrap_BLUE_BRUSH_get() {
15797 pyobj
= SWIG_NewPointerObj((void *) wxBLUE_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
15802 static int _wrap_GREEN_BRUSH_set(PyObject
*) {
15803 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_BRUSH is read-only.");
15808 static PyObject
*_wrap_GREEN_BRUSH_get() {
15811 pyobj
= SWIG_NewPointerObj((void *) wxGREEN_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
15816 static int _wrap_WHITE_BRUSH_set(PyObject
*) {
15817 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_BRUSH is read-only.");
15822 static PyObject
*_wrap_WHITE_BRUSH_get() {
15825 pyobj
= SWIG_NewPointerObj((void *) wxWHITE_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
15830 static int _wrap_BLACK_BRUSH_set(PyObject
*) {
15831 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_BRUSH is read-only.");
15836 static PyObject
*_wrap_BLACK_BRUSH_get() {
15839 pyobj
= SWIG_NewPointerObj((void *) wxBLACK_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
15844 static int _wrap_TRANSPARENT_BRUSH_set(PyObject
*) {
15845 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_BRUSH is read-only.");
15850 static PyObject
*_wrap_TRANSPARENT_BRUSH_get() {
15853 pyobj
= SWIG_NewPointerObj((void *) wxTRANSPARENT_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
15858 static int _wrap_CYAN_BRUSH_set(PyObject
*) {
15859 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_BRUSH is read-only.");
15864 static PyObject
*_wrap_CYAN_BRUSH_get() {
15867 pyobj
= SWIG_NewPointerObj((void *) wxCYAN_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
15872 static int _wrap_RED_BRUSH_set(PyObject
*) {
15873 PyErr_SetString(PyExc_TypeError
,"Variable RED_BRUSH is read-only.");
15878 static PyObject
*_wrap_RED_BRUSH_get() {
15881 pyobj
= SWIG_NewPointerObj((void *) wxRED_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
15886 static int _wrap_GREY_BRUSH_set(PyObject
*) {
15887 PyErr_SetString(PyExc_TypeError
,"Variable GREY_BRUSH is read-only.");
15892 static PyObject
*_wrap_GREY_BRUSH_get() {
15895 pyobj
= SWIG_NewPointerObj((void *) wxGREY_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
15900 static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject
*) {
15901 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_BRUSH is read-only.");
15906 static PyObject
*_wrap_MEDIUM_GREY_BRUSH_get() {
15909 pyobj
= SWIG_NewPointerObj((void *) wxMEDIUM_GREY_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
15914 static int _wrap_LIGHT_GREY_BRUSH_set(PyObject
*) {
15915 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_BRUSH is read-only.");
15920 static PyObject
*_wrap_LIGHT_GREY_BRUSH_get() {
15923 pyobj
= SWIG_NewPointerObj((void *) wxLIGHT_GREY_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
15928 static int _wrap_BLACK_set(PyObject
*) {
15929 PyErr_SetString(PyExc_TypeError
,"Variable BLACK is read-only.");
15934 static PyObject
*_wrap_BLACK_get() {
15937 pyobj
= SWIG_NewPointerObj((void *) wxBLACK
, SWIGTYPE_p_wxColour
, 0);
15942 static int _wrap_WHITE_set(PyObject
*) {
15943 PyErr_SetString(PyExc_TypeError
,"Variable WHITE is read-only.");
15948 static PyObject
*_wrap_WHITE_get() {
15951 pyobj
= SWIG_NewPointerObj((void *) wxWHITE
, SWIGTYPE_p_wxColour
, 0);
15956 static int _wrap_RED_set(PyObject
*) {
15957 PyErr_SetString(PyExc_TypeError
,"Variable RED is read-only.");
15962 static PyObject
*_wrap_RED_get() {
15965 pyobj
= SWIG_NewPointerObj((void *) wxRED
, SWIGTYPE_p_wxColour
, 0);
15970 static int _wrap_BLUE_set(PyObject
*) {
15971 PyErr_SetString(PyExc_TypeError
,"Variable BLUE is read-only.");
15976 static PyObject
*_wrap_BLUE_get() {
15979 pyobj
= SWIG_NewPointerObj((void *) wxBLUE
, SWIGTYPE_p_wxColour
, 0);
15984 static int _wrap_GREEN_set(PyObject
*) {
15985 PyErr_SetString(PyExc_TypeError
,"Variable GREEN is read-only.");
15990 static PyObject
*_wrap_GREEN_get() {
15993 pyobj
= SWIG_NewPointerObj((void *) wxGREEN
, SWIGTYPE_p_wxColour
, 0);
15998 static int _wrap_CYAN_set(PyObject
*) {
15999 PyErr_SetString(PyExc_TypeError
,"Variable CYAN is read-only.");
16004 static PyObject
*_wrap_CYAN_get() {
16007 pyobj
= SWIG_NewPointerObj((void *) wxCYAN
, SWIGTYPE_p_wxColour
, 0);
16012 static int _wrap_LIGHT_GREY_set(PyObject
*) {
16013 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY is read-only.");
16018 static PyObject
*_wrap_LIGHT_GREY_get() {
16021 pyobj
= SWIG_NewPointerObj((void *) wxLIGHT_GREY
, SWIGTYPE_p_wxColour
, 0);
16026 static int _wrap_STANDARD_CURSOR_set(PyObject
*) {
16027 PyErr_SetString(PyExc_TypeError
,"Variable STANDARD_CURSOR is read-only.");
16032 static PyObject
*_wrap_STANDARD_CURSOR_get() {
16035 pyobj
= SWIG_NewPointerObj((void *) wxSTANDARD_CURSOR
, SWIGTYPE_p_wxCursor
, 0);
16040 static int _wrap_HOURGLASS_CURSOR_set(PyObject
*) {
16041 PyErr_SetString(PyExc_TypeError
,"Variable HOURGLASS_CURSOR is read-only.");
16046 static PyObject
*_wrap_HOURGLASS_CURSOR_get() {
16049 pyobj
= SWIG_NewPointerObj((void *) wxHOURGLASS_CURSOR
, SWIGTYPE_p_wxCursor
, 0);
16054 static int _wrap_CROSS_CURSOR_set(PyObject
*) {
16055 PyErr_SetString(PyExc_TypeError
,"Variable CROSS_CURSOR is read-only.");
16060 static PyObject
*_wrap_CROSS_CURSOR_get() {
16063 pyobj
= SWIG_NewPointerObj((void *) wxCROSS_CURSOR
, SWIGTYPE_p_wxCursor
, 0);
16068 static int _wrap_NullBitmap_set(PyObject
*) {
16069 PyErr_SetString(PyExc_TypeError
,"Variable NullBitmap is read-only.");
16074 static PyObject
*_wrap_NullBitmap_get() {
16077 pyobj
= SWIG_NewPointerObj((void *) &wxNullBitmap
, SWIGTYPE_p_wxBitmap
, 0);
16082 static int _wrap_NullIcon_set(PyObject
*) {
16083 PyErr_SetString(PyExc_TypeError
,"Variable NullIcon is read-only.");
16088 static PyObject
*_wrap_NullIcon_get() {
16091 pyobj
= SWIG_NewPointerObj((void *) &wxNullIcon
, SWIGTYPE_p_wxIcon
, 0);
16096 static int _wrap_NullCursor_set(PyObject
*) {
16097 PyErr_SetString(PyExc_TypeError
,"Variable NullCursor is read-only.");
16102 static PyObject
*_wrap_NullCursor_get() {
16105 pyobj
= SWIG_NewPointerObj((void *) &wxNullCursor
, SWIGTYPE_p_wxCursor
, 0);
16110 static int _wrap_NullPen_set(PyObject
*) {
16111 PyErr_SetString(PyExc_TypeError
,"Variable NullPen is read-only.");
16116 static PyObject
*_wrap_NullPen_get() {
16119 pyobj
= SWIG_NewPointerObj((void *) &wxNullPen
, SWIGTYPE_p_wxPen
, 0);
16124 static int _wrap_NullBrush_set(PyObject
*) {
16125 PyErr_SetString(PyExc_TypeError
,"Variable NullBrush is read-only.");
16130 static PyObject
*_wrap_NullBrush_get() {
16133 pyobj
= SWIG_NewPointerObj((void *) &wxNullBrush
, SWIGTYPE_p_wxBrush
, 0);
16138 static int _wrap_NullPalette_set(PyObject
*) {
16139 PyErr_SetString(PyExc_TypeError
,"Variable NullPalette is read-only.");
16144 static PyObject
*_wrap_NullPalette_get() {
16147 pyobj
= SWIG_NewPointerObj((void *) &wxNullPalette
, SWIGTYPE_p_wxPalette
, 0);
16152 static int _wrap_NullFont_set(PyObject
*) {
16153 PyErr_SetString(PyExc_TypeError
,"Variable NullFont is read-only.");
16158 static PyObject
*_wrap_NullFont_get() {
16161 pyobj
= SWIG_NewPointerObj((void *) &wxNullFont
, SWIGTYPE_p_wxFont
, 0);
16166 static int _wrap_NullColour_set(PyObject
*) {
16167 PyErr_SetString(PyExc_TypeError
,"Variable NullColour is read-only.");
16172 static PyObject
*_wrap_NullColour_get() {
16175 pyobj
= SWIG_NewPointerObj((void *) &wxNullColour
, SWIGTYPE_p_wxColour
, 0);
16180 static PyObject
*_wrap_PenList_AddPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16181 PyObject
*resultobj
;
16182 wxPenList
*arg1
= (wxPenList
*) 0 ;
16183 wxPen
*arg2
= (wxPen
*) 0 ;
16184 PyObject
* obj0
= 0 ;
16185 PyObject
* obj1
= 0 ;
16186 char *kwnames
[] = {
16187 (char *) "self",(char *) "pen", NULL
16190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) goto fail
;
16191 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPenList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16192 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16195 (arg1
)->AddPen(arg2
);
16197 wxPyEndAllowThreads(__tstate
);
16198 if (PyErr_Occurred()) SWIG_fail
;
16200 Py_INCREF(Py_None
); resultobj
= Py_None
;
16207 static PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16208 PyObject
*resultobj
;
16209 wxPenList
*arg1
= (wxPenList
*) 0 ;
16210 wxColour
*arg2
= 0 ;
16215 PyObject
* obj0
= 0 ;
16216 PyObject
* obj1
= 0 ;
16217 PyObject
* obj2
= 0 ;
16218 PyObject
* obj3
= 0 ;
16219 char *kwnames
[] = {
16220 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
16223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16224 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPenList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16227 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16230 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
16231 if (PyErr_Occurred()) SWIG_fail
;
16234 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
16235 if (PyErr_Occurred()) SWIG_fail
;
16238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16239 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
16241 wxPyEndAllowThreads(__tstate
);
16242 if (PyErr_Occurred()) SWIG_fail
;
16244 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPen
, 0);
16251 static PyObject
*_wrap_PenList_RemovePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16252 PyObject
*resultobj
;
16253 wxPenList
*arg1
= (wxPenList
*) 0 ;
16254 wxPen
*arg2
= (wxPen
*) 0 ;
16255 PyObject
* obj0
= 0 ;
16256 PyObject
* obj1
= 0 ;
16257 char *kwnames
[] = {
16258 (char *) "self",(char *) "pen", NULL
16261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) goto fail
;
16262 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPenList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16263 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16266 (arg1
)->RemovePen(arg2
);
16268 wxPyEndAllowThreads(__tstate
);
16269 if (PyErr_Occurred()) SWIG_fail
;
16271 Py_INCREF(Py_None
); resultobj
= Py_None
;
16278 static PyObject
*_wrap_PenList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16279 PyObject
*resultobj
;
16280 wxPenList
*arg1
= (wxPenList
*) 0 ;
16282 PyObject
* obj0
= 0 ;
16283 char *kwnames
[] = {
16284 (char *) "self", NULL
16287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PenList_GetCount",kwnames
,&obj0
)) goto fail
;
16288 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPenList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16291 result
= (int)(arg1
)->GetCount();
16293 wxPyEndAllowThreads(__tstate
);
16294 if (PyErr_Occurred()) SWIG_fail
;
16296 resultobj
= SWIG_PyObj_FromInt((int)result
);
16303 static PyObject
* PenList_swigregister(PyObject
*self
, PyObject
*args
) {
16305 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16306 SWIG_TypeClientData(SWIGTYPE_p_wxPenList
, obj
);
16308 return Py_BuildValue((char *)"");
16310 static PyObject
*_wrap_BrushList_AddBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16311 PyObject
*resultobj
;
16312 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
16313 wxBrush
*arg2
= (wxBrush
*) 0 ;
16314 PyObject
* obj0
= 0 ;
16315 PyObject
* obj1
= 0 ;
16316 char *kwnames
[] = {
16317 (char *) "self",(char *) "brush", NULL
16320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
16321 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrushList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16322 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16325 (arg1
)->AddBrush(arg2
);
16327 wxPyEndAllowThreads(__tstate
);
16328 if (PyErr_Occurred()) SWIG_fail
;
16330 Py_INCREF(Py_None
); resultobj
= Py_None
;
16337 static PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16338 PyObject
*resultobj
;
16339 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
16340 wxColour
*arg2
= 0 ;
16344 PyObject
* obj0
= 0 ;
16345 PyObject
* obj1
= 0 ;
16346 PyObject
* obj2
= 0 ;
16347 char *kwnames
[] = {
16348 (char *) "self",(char *) "colour",(char *) "style", NULL
16351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16352 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrushList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16355 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16358 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
16359 if (PyErr_Occurred()) SWIG_fail
;
16362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16363 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
16365 wxPyEndAllowThreads(__tstate
);
16366 if (PyErr_Occurred()) SWIG_fail
;
16368 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBrush
, 0);
16375 static PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16376 PyObject
*resultobj
;
16377 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
16378 wxBrush
*arg2
= (wxBrush
*) 0 ;
16379 PyObject
* obj0
= 0 ;
16380 PyObject
* obj1
= 0 ;
16381 char *kwnames
[] = {
16382 (char *) "self",(char *) "brush", NULL
16385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
16386 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrushList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16387 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16390 (arg1
)->RemoveBrush(arg2
);
16392 wxPyEndAllowThreads(__tstate
);
16393 if (PyErr_Occurred()) SWIG_fail
;
16395 Py_INCREF(Py_None
); resultobj
= Py_None
;
16402 static PyObject
*_wrap_BrushList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16403 PyObject
*resultobj
;
16404 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
16406 PyObject
* obj0
= 0 ;
16407 char *kwnames
[] = {
16408 (char *) "self", NULL
16411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BrushList_GetCount",kwnames
,&obj0
)) goto fail
;
16412 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrushList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16415 result
= (int)(arg1
)->GetCount();
16417 wxPyEndAllowThreads(__tstate
);
16418 if (PyErr_Occurred()) SWIG_fail
;
16420 resultobj
= SWIG_PyObj_FromInt((int)result
);
16427 static PyObject
* BrushList_swigregister(PyObject
*self
, PyObject
*args
) {
16429 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16430 SWIG_TypeClientData(SWIGTYPE_p_wxBrushList
, obj
);
16432 return Py_BuildValue((char *)"");
16434 static PyObject
*_wrap_new_ColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16435 PyObject
*resultobj
;
16436 wxColourDatabase
*result
;
16437 char *kwnames
[] = {
16441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourDatabase",kwnames
)) goto fail
;
16443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16444 result
= (wxColourDatabase
*)new wxColourDatabase();
16446 wxPyEndAllowThreads(__tstate
);
16447 if (PyErr_Occurred()) SWIG_fail
;
16449 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColourDatabase
, 1);
16456 static PyObject
*_wrap_delete_ColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16457 PyObject
*resultobj
;
16458 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
16459 PyObject
* obj0
= 0 ;
16460 char *kwnames
[] = {
16461 (char *) "self", NULL
16464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourDatabase",kwnames
,&obj0
)) goto fail
;
16465 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDatabase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16470 wxPyEndAllowThreads(__tstate
);
16471 if (PyErr_Occurred()) SWIG_fail
;
16473 Py_INCREF(Py_None
); resultobj
= Py_None
;
16480 static PyObject
*_wrap_ColourDatabase_Find(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16481 PyObject
*resultobj
;
16482 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
16483 wxString
*arg2
= 0 ;
16485 bool temp2
= False
;
16486 PyObject
* obj0
= 0 ;
16487 PyObject
* obj1
= 0 ;
16488 char *kwnames
[] = {
16489 (char *) "self",(char *) "name", NULL
16492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) goto fail
;
16493 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDatabase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16495 arg2
= wxString_in_helper(obj1
);
16496 if (arg2
== NULL
) SWIG_fail
;
16500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16501 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
16503 wxPyEndAllowThreads(__tstate
);
16504 if (PyErr_Occurred()) SWIG_fail
;
16507 wxColour
* resultptr
;
16508 resultptr
= new wxColour((wxColour
&) result
);
16509 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
16525 static PyObject
*_wrap_ColourDatabase_FindName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16526 PyObject
*resultobj
;
16527 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
16528 wxColour
*arg2
= 0 ;
16531 PyObject
* obj0
= 0 ;
16532 PyObject
* obj1
= 0 ;
16533 char *kwnames
[] = {
16534 (char *) "self",(char *) "colour", NULL
16537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) goto fail
;
16538 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDatabase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16541 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16545 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
16547 wxPyEndAllowThreads(__tstate
);
16548 if (PyErr_Occurred()) SWIG_fail
;
16552 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16554 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16563 static PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16564 PyObject
*resultobj
;
16565 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
16566 wxString
*arg2
= 0 ;
16567 wxColour
*arg3
= 0 ;
16568 bool temp2
= False
;
16570 PyObject
* obj0
= 0 ;
16571 PyObject
* obj1
= 0 ;
16572 PyObject
* obj2
= 0 ;
16573 char *kwnames
[] = {
16574 (char *) "self",(char *) "name",(char *) "colour", NULL
16577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16578 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDatabase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16580 arg2
= wxString_in_helper(obj1
);
16581 if (arg2
== NULL
) SWIG_fail
;
16586 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16590 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
16592 wxPyEndAllowThreads(__tstate
);
16593 if (PyErr_Occurred()) SWIG_fail
;
16595 Py_INCREF(Py_None
); resultobj
= Py_None
;
16610 static PyObject
*_wrap_ColourDatabase_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16611 PyObject
*resultobj
;
16612 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
16613 wxString
*arg2
= 0 ;
16617 bool temp2
= False
;
16618 PyObject
* obj0
= 0 ;
16619 PyObject
* obj1
= 0 ;
16620 PyObject
* obj2
= 0 ;
16621 PyObject
* obj3
= 0 ;
16622 PyObject
* obj4
= 0 ;
16623 char *kwnames
[] = {
16624 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
16627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16628 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDatabase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16630 arg2
= wxString_in_helper(obj1
);
16631 if (arg2
== NULL
) SWIG_fail
;
16635 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
16636 if (PyErr_Occurred()) SWIG_fail
;
16639 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
16640 if (PyErr_Occurred()) SWIG_fail
;
16643 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
16644 if (PyErr_Occurred()) SWIG_fail
;
16647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16648 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
16650 wxPyEndAllowThreads(__tstate
);
16651 if (PyErr_Occurred()) SWIG_fail
;
16653 Py_INCREF(Py_None
); resultobj
= Py_None
;
16668 static PyObject
* ColourDatabase_swigregister(PyObject
*self
, PyObject
*args
) {
16670 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16671 SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase
, obj
);
16673 return Py_BuildValue((char *)"");
16675 static PyObject
*_wrap_FontList_AddFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16676 PyObject
*resultobj
;
16677 wxFontList
*arg1
= (wxFontList
*) 0 ;
16678 wxFont
*arg2
= (wxFont
*) 0 ;
16679 PyObject
* obj0
= 0 ;
16680 PyObject
* obj1
= 0 ;
16681 char *kwnames
[] = {
16682 (char *) "self",(char *) "font", NULL
16685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) goto fail
;
16686 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16687 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16690 (arg1
)->AddFont(arg2
);
16692 wxPyEndAllowThreads(__tstate
);
16693 if (PyErr_Occurred()) SWIG_fail
;
16695 Py_INCREF(Py_None
); resultobj
= Py_None
;
16702 static PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16703 PyObject
*resultobj
;
16704 wxFontList
*arg1
= (wxFontList
*) 0 ;
16709 bool arg6
= (bool) False
;
16710 wxString
const &arg7_defvalue
= wxPyEmptyString
;
16711 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16712 int arg8
= (int) wxFONTENCODING_DEFAULT
;
16714 bool temp7
= False
;
16715 PyObject
* obj0
= 0 ;
16716 PyObject
* obj1
= 0 ;
16717 PyObject
* obj2
= 0 ;
16718 PyObject
* obj3
= 0 ;
16719 PyObject
* obj4
= 0 ;
16720 PyObject
* obj5
= 0 ;
16721 PyObject
* obj6
= 0 ;
16722 PyObject
* obj7
= 0 ;
16723 char *kwnames
[] = {
16724 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
16727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
16728 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16730 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16731 if (PyErr_Occurred()) SWIG_fail
;
16734 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
16735 if (PyErr_Occurred()) SWIG_fail
;
16738 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
16739 if (PyErr_Occurred()) SWIG_fail
;
16742 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
16743 if (PyErr_Occurred()) SWIG_fail
;
16747 arg6
= (bool) SWIG_PyObj_AsBool(obj5
);
16748 if (PyErr_Occurred()) SWIG_fail
;
16753 arg7
= wxString_in_helper(obj6
);
16754 if (arg7
== NULL
) SWIG_fail
;
16760 arg8
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj7
);
16761 if (PyErr_Occurred()) SWIG_fail
;
16765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16766 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,(wxFontEncoding
)arg8
);
16768 wxPyEndAllowThreads(__tstate
);
16769 if (PyErr_Occurred()) SWIG_fail
;
16771 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
16786 static PyObject
*_wrap_FontList_RemoveFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16787 PyObject
*resultobj
;
16788 wxFontList
*arg1
= (wxFontList
*) 0 ;
16789 wxFont
*arg2
= (wxFont
*) 0 ;
16790 PyObject
* obj0
= 0 ;
16791 PyObject
* obj1
= 0 ;
16792 char *kwnames
[] = {
16793 (char *) "self",(char *) "font", NULL
16796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) goto fail
;
16797 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16798 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16801 (arg1
)->RemoveFont(arg2
);
16803 wxPyEndAllowThreads(__tstate
);
16804 if (PyErr_Occurred()) SWIG_fail
;
16806 Py_INCREF(Py_None
); resultobj
= Py_None
;
16813 static PyObject
*_wrap_FontList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16814 PyObject
*resultobj
;
16815 wxFontList
*arg1
= (wxFontList
*) 0 ;
16817 PyObject
* obj0
= 0 ;
16818 char *kwnames
[] = {
16819 (char *) "self", NULL
16822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontList_GetCount",kwnames
,&obj0
)) goto fail
;
16823 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16826 result
= (int)(arg1
)->GetCount();
16828 wxPyEndAllowThreads(__tstate
);
16829 if (PyErr_Occurred()) SWIG_fail
;
16831 resultobj
= SWIG_PyObj_FromInt((int)result
);
16838 static PyObject
* FontList_swigregister(PyObject
*self
, PyObject
*args
) {
16840 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16841 SWIG_TypeClientData(SWIGTYPE_p_wxFontList
, obj
);
16843 return Py_BuildValue((char *)"");
16845 static int _wrap_TheFontList_set(PyObject
*) {
16846 PyErr_SetString(PyExc_TypeError
,"Variable TheFontList is read-only.");
16851 static PyObject
*_wrap_TheFontList_get() {
16854 pyobj
= SWIG_NewPointerObj((void *) wxTheFontList
, SWIGTYPE_p_wxFontList
, 0);
16859 static int _wrap_ThePenList_set(PyObject
*) {
16860 PyErr_SetString(PyExc_TypeError
,"Variable ThePenList is read-only.");
16865 static PyObject
*_wrap_ThePenList_get() {
16868 pyobj
= SWIG_NewPointerObj((void *) wxThePenList
, SWIGTYPE_p_wxPenList
, 0);
16873 static int _wrap_TheBrushList_set(PyObject
*) {
16874 PyErr_SetString(PyExc_TypeError
,"Variable TheBrushList is read-only.");
16879 static PyObject
*_wrap_TheBrushList_get() {
16882 pyobj
= SWIG_NewPointerObj((void *) wxTheBrushList
, SWIGTYPE_p_wxBrushList
, 0);
16887 static int _wrap_TheColourDatabase_set(PyObject
*) {
16888 PyErr_SetString(PyExc_TypeError
,"Variable TheColourDatabase is read-only.");
16893 static PyObject
*_wrap_TheColourDatabase_get() {
16896 pyobj
= SWIG_NewPointerObj((void *) wxTheColourDatabase
, SWIGTYPE_p_wxColourDatabase
, 0);
16901 static PyObject
*_wrap_new_Effects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16902 PyObject
*resultobj
;
16904 char *kwnames
[] = {
16908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Effects",kwnames
)) goto fail
;
16910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16911 result
= (wxEffects
*)new wxEffects();
16913 wxPyEndAllowThreads(__tstate
);
16914 if (PyErr_Occurred()) SWIG_fail
;
16916 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxEffects
, 1);
16923 static PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16924 PyObject
*resultobj
;
16925 wxEffects
*arg1
= (wxEffects
*) 0 ;
16927 PyObject
* obj0
= 0 ;
16928 char *kwnames
[] = {
16929 (char *) "self", NULL
16932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetHighlightColour",kwnames
,&obj0
)) goto fail
;
16933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16936 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
16938 wxPyEndAllowThreads(__tstate
);
16939 if (PyErr_Occurred()) SWIG_fail
;
16942 wxColour
* resultptr
;
16943 resultptr
= new wxColour((wxColour
&) result
);
16944 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
16952 static PyObject
*_wrap_Effects_GetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16953 PyObject
*resultobj
;
16954 wxEffects
*arg1
= (wxEffects
*) 0 ;
16956 PyObject
* obj0
= 0 ;
16957 char *kwnames
[] = {
16958 (char *) "self", NULL
16961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetLightShadow",kwnames
,&obj0
)) goto fail
;
16962 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16965 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
16967 wxPyEndAllowThreads(__tstate
);
16968 if (PyErr_Occurred()) SWIG_fail
;
16971 wxColour
* resultptr
;
16972 resultptr
= new wxColour((wxColour
&) result
);
16973 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
16981 static PyObject
*_wrap_Effects_GetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16982 PyObject
*resultobj
;
16983 wxEffects
*arg1
= (wxEffects
*) 0 ;
16985 PyObject
* obj0
= 0 ;
16986 char *kwnames
[] = {
16987 (char *) "self", NULL
16990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetFaceColour",kwnames
,&obj0
)) goto fail
;
16991 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16994 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
16996 wxPyEndAllowThreads(__tstate
);
16997 if (PyErr_Occurred()) SWIG_fail
;
17000 wxColour
* resultptr
;
17001 resultptr
= new wxColour((wxColour
&) result
);
17002 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
17010 static PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17011 PyObject
*resultobj
;
17012 wxEffects
*arg1
= (wxEffects
*) 0 ;
17014 PyObject
* obj0
= 0 ;
17015 char *kwnames
[] = {
17016 (char *) "self", NULL
17019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetMediumShadow",kwnames
,&obj0
)) goto fail
;
17020 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17023 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
17025 wxPyEndAllowThreads(__tstate
);
17026 if (PyErr_Occurred()) SWIG_fail
;
17029 wxColour
* resultptr
;
17030 resultptr
= new wxColour((wxColour
&) result
);
17031 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
17039 static PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17040 PyObject
*resultobj
;
17041 wxEffects
*arg1
= (wxEffects
*) 0 ;
17043 PyObject
* obj0
= 0 ;
17044 char *kwnames
[] = {
17045 (char *) "self", NULL
17048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetDarkShadow",kwnames
,&obj0
)) goto fail
;
17049 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17052 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
17054 wxPyEndAllowThreads(__tstate
);
17055 if (PyErr_Occurred()) SWIG_fail
;
17058 wxColour
* resultptr
;
17059 resultptr
= new wxColour((wxColour
&) result
);
17060 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
17068 static PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17069 PyObject
*resultobj
;
17070 wxEffects
*arg1
= (wxEffects
*) 0 ;
17071 wxColour
*arg2
= 0 ;
17073 PyObject
* obj0
= 0 ;
17074 PyObject
* obj1
= 0 ;
17075 char *kwnames
[] = {
17076 (char *) "self",(char *) "c", NULL
17079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17080 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17083 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17087 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
17089 wxPyEndAllowThreads(__tstate
);
17090 if (PyErr_Occurred()) SWIG_fail
;
17092 Py_INCREF(Py_None
); resultobj
= Py_None
;
17099 static PyObject
*_wrap_Effects_SetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17100 PyObject
*resultobj
;
17101 wxEffects
*arg1
= (wxEffects
*) 0 ;
17102 wxColour
*arg2
= 0 ;
17104 PyObject
* obj0
= 0 ;
17105 PyObject
* obj1
= 0 ;
17106 char *kwnames
[] = {
17107 (char *) "self",(char *) "c", NULL
17110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
17111 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17114 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17118 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
17120 wxPyEndAllowThreads(__tstate
);
17121 if (PyErr_Occurred()) SWIG_fail
;
17123 Py_INCREF(Py_None
); resultobj
= Py_None
;
17130 static PyObject
*_wrap_Effects_SetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17131 PyObject
*resultobj
;
17132 wxEffects
*arg1
= (wxEffects
*) 0 ;
17133 wxColour
*arg2
= 0 ;
17135 PyObject
* obj0
= 0 ;
17136 PyObject
* obj1
= 0 ;
17137 char *kwnames
[] = {
17138 (char *) "self",(char *) "c", NULL
17141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17142 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17145 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17149 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
17151 wxPyEndAllowThreads(__tstate
);
17152 if (PyErr_Occurred()) SWIG_fail
;
17154 Py_INCREF(Py_None
); resultobj
= Py_None
;
17161 static PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17162 PyObject
*resultobj
;
17163 wxEffects
*arg1
= (wxEffects
*) 0 ;
17164 wxColour
*arg2
= 0 ;
17166 PyObject
* obj0
= 0 ;
17167 PyObject
* obj1
= 0 ;
17168 char *kwnames
[] = {
17169 (char *) "self",(char *) "c", NULL
17172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
17173 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17176 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17180 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
17182 wxPyEndAllowThreads(__tstate
);
17183 if (PyErr_Occurred()) SWIG_fail
;
17185 Py_INCREF(Py_None
); resultobj
= Py_None
;
17192 static PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17193 PyObject
*resultobj
;
17194 wxEffects
*arg1
= (wxEffects
*) 0 ;
17195 wxColour
*arg2
= 0 ;
17197 PyObject
* obj0
= 0 ;
17198 PyObject
* obj1
= 0 ;
17199 char *kwnames
[] = {
17200 (char *) "self",(char *) "c", NULL
17203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
17204 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17207 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17211 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
17213 wxPyEndAllowThreads(__tstate
);
17214 if (PyErr_Occurred()) SWIG_fail
;
17216 Py_INCREF(Py_None
); resultobj
= Py_None
;
17223 static PyObject
*_wrap_Effects_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17224 PyObject
*resultobj
;
17225 wxEffects
*arg1
= (wxEffects
*) 0 ;
17226 wxColour
*arg2
= 0 ;
17227 wxColour
*arg3
= 0 ;
17228 wxColour
*arg4
= 0 ;
17229 wxColour
*arg5
= 0 ;
17230 wxColour
*arg6
= 0 ;
17236 PyObject
* obj0
= 0 ;
17237 PyObject
* obj1
= 0 ;
17238 PyObject
* obj2
= 0 ;
17239 PyObject
* obj3
= 0 ;
17240 PyObject
* obj4
= 0 ;
17241 PyObject
* obj5
= 0 ;
17242 char *kwnames
[] = {
17243 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
17246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17247 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17250 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17254 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17258 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17262 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
17266 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
17269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17270 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
17272 wxPyEndAllowThreads(__tstate
);
17273 if (PyErr_Occurred()) SWIG_fail
;
17275 Py_INCREF(Py_None
); resultobj
= Py_None
;
17282 static PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17283 PyObject
*resultobj
;
17284 wxEffects
*arg1
= (wxEffects
*) 0 ;
17287 int arg4
= (int) 1 ;
17289 PyObject
* obj0
= 0 ;
17290 PyObject
* obj1
= 0 ;
17291 PyObject
* obj2
= 0 ;
17292 PyObject
* obj3
= 0 ;
17293 char *kwnames
[] = {
17294 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
17297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17298 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17299 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17300 if (arg2
== NULL
) {
17301 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17305 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
17309 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
17310 if (PyErr_Occurred()) SWIG_fail
;
17314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17315 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
17317 wxPyEndAllowThreads(__tstate
);
17318 if (PyErr_Occurred()) SWIG_fail
;
17320 Py_INCREF(Py_None
); resultobj
= Py_None
;
17327 static PyObject
*_wrap_Effects_TileBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17328 PyObject
*resultobj
;
17329 wxEffects
*arg1
= (wxEffects
*) 0 ;
17332 wxBitmap
*arg4
= 0 ;
17335 PyObject
* obj0
= 0 ;
17336 PyObject
* obj1
= 0 ;
17337 PyObject
* obj2
= 0 ;
17338 PyObject
* obj3
= 0 ;
17339 char *kwnames
[] = {
17340 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
17343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17347 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17349 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17350 if (arg3
== NULL
) {
17351 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17353 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17354 if (arg4
== NULL
) {
17355 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17359 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
17361 wxPyEndAllowThreads(__tstate
);
17362 if (PyErr_Occurred()) SWIG_fail
;
17364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17371 static PyObject
* Effects_swigregister(PyObject
*self
, PyObject
*args
) {
17373 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17374 SWIG_TypeClientData(SWIGTYPE_p_wxEffects
, obj
);
17376 return Py_BuildValue((char *)"");
17378 static PyMethodDef SwigMethods
[] = {
17379 { (char *)"new_GDIObject", (PyCFunction
) _wrap_new_GDIObject
, METH_VARARGS
| METH_KEYWORDS
},
17380 { (char *)"delete_GDIObject", (PyCFunction
) _wrap_delete_GDIObject
, METH_VARARGS
| METH_KEYWORDS
},
17381 { (char *)"GDIObject_GetVisible", (PyCFunction
) _wrap_GDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
},
17382 { (char *)"GDIObject_SetVisible", (PyCFunction
) _wrap_GDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
},
17383 { (char *)"GDIObject_IsNull", (PyCFunction
) _wrap_GDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
17384 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
},
17385 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
},
17386 { (char *)"delete_Colour", (PyCFunction
) _wrap_delete_Colour
, METH_VARARGS
| METH_KEYWORDS
},
17387 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
},
17388 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
},
17389 { (char *)"Colour_Red", (PyCFunction
) _wrap_Colour_Red
, METH_VARARGS
| METH_KEYWORDS
},
17390 { (char *)"Colour_Green", (PyCFunction
) _wrap_Colour_Green
, METH_VARARGS
| METH_KEYWORDS
},
17391 { (char *)"Colour_Blue", (PyCFunction
) _wrap_Colour_Blue
, METH_VARARGS
| METH_KEYWORDS
},
17392 { (char *)"Colour_Ok", (PyCFunction
) _wrap_Colour_Ok
, METH_VARARGS
| METH_KEYWORDS
},
17393 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
},
17394 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
17395 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
},
17396 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
},
17397 { (char *)"Colour_InitFromName", (PyCFunction
) _wrap_Colour_InitFromName
, METH_VARARGS
| METH_KEYWORDS
},
17398 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
},
17399 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
},
17400 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
},
17401 { (char *)"delete_Palette", (PyCFunction
) _wrap_delete_Palette
, METH_VARARGS
| METH_KEYWORDS
},
17402 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
17403 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
17404 { (char *)"Palette_Ok", (PyCFunction
) _wrap_Palette_Ok
, METH_VARARGS
| METH_KEYWORDS
},
17405 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
},
17406 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
},
17407 { (char *)"delete_Pen", (PyCFunction
) _wrap_delete_Pen
, METH_VARARGS
| METH_KEYWORDS
},
17408 { (char *)"Pen_GetCap", (PyCFunction
) _wrap_Pen_GetCap
, METH_VARARGS
| METH_KEYWORDS
},
17409 { (char *)"Pen_GetColour", (PyCFunction
) _wrap_Pen_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
17410 { (char *)"Pen_GetJoin", (PyCFunction
) _wrap_Pen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
},
17411 { (char *)"Pen_GetStyle", (PyCFunction
) _wrap_Pen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
17412 { (char *)"Pen_GetWidth", (PyCFunction
) _wrap_Pen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
17413 { (char *)"Pen_Ok", (PyCFunction
) _wrap_Pen_Ok
, METH_VARARGS
| METH_KEYWORDS
},
17414 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
},
17415 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
17416 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
},
17417 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
17418 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
17419 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
17420 { (char *)"Pen_GetDashes", (PyCFunction
) _wrap_Pen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
},
17421 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
},
17422 { (char *)"new_PyPen", (PyCFunction
) _wrap_new_PyPen
, METH_VARARGS
| METH_KEYWORDS
},
17423 { (char *)"delete_PyPen", (PyCFunction
) _wrap_delete_PyPen
, METH_VARARGS
| METH_KEYWORDS
},
17424 { (char *)"PyPen_SetDashes", (PyCFunction
) _wrap_PyPen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
17425 { (char *)"PyPen_swigregister", PyPen_swigregister
, METH_VARARGS
},
17426 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
},
17427 { (char *)"delete_Brush", (PyCFunction
) _wrap_delete_Brush
, METH_VARARGS
| METH_KEYWORDS
},
17428 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
17429 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
17430 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
17431 { (char *)"Brush_GetColour", (PyCFunction
) _wrap_Brush_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
17432 { (char *)"Brush_GetStyle", (PyCFunction
) _wrap_Brush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
17433 { (char *)"Brush_GetStipple", (PyCFunction
) _wrap_Brush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
17434 { (char *)"Brush_Ok", (PyCFunction
) _wrap_Brush_Ok
, METH_VARARGS
| METH_KEYWORDS
},
17435 { (char *)"Brush_GetMacTheme", (PyCFunction
) _wrap_Brush_GetMacTheme
, METH_VARARGS
| METH_KEYWORDS
},
17436 { (char *)"Brush_SetMacTheme", (PyCFunction
) _wrap_Brush_SetMacTheme
, METH_VARARGS
| METH_KEYWORDS
},
17437 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
},
17438 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
},
17439 { (char *)"delete_Bitmap", (PyCFunction
) _wrap_delete_Bitmap
, METH_VARARGS
| METH_KEYWORDS
},
17440 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
},
17441 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
17442 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
},
17443 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
17444 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
},
17445 { (char *)"Bitmap_Ok", (PyCFunction
) _wrap_Bitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
},
17446 { (char *)"Bitmap_GetWidth", (PyCFunction
) _wrap_Bitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
17447 { (char *)"Bitmap_GetHeight", (PyCFunction
) _wrap_Bitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
17448 { (char *)"Bitmap_GetDepth", (PyCFunction
) _wrap_Bitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
17449 { (char *)"Bitmap_ConvertToImage", (PyCFunction
) _wrap_Bitmap_ConvertToImage
, METH_VARARGS
| METH_KEYWORDS
},
17450 { (char *)"Bitmap_GetMask", (PyCFunction
) _wrap_Bitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
17451 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
17452 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
17453 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
},
17454 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
17455 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
17456 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
17457 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
17458 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
17459 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
17460 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
},
17461 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
},
17462 { (char *)"new_MaskColour", (PyCFunction
) _wrap_new_MaskColour
, METH_VARARGS
| METH_KEYWORDS
},
17463 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
},
17464 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
},
17465 { (char *)"delete_Icon", (PyCFunction
) _wrap_delete_Icon
, METH_VARARGS
| METH_KEYWORDS
},
17466 { (char *)"new_EmptyIcon", (PyCFunction
) _wrap_new_EmptyIcon
, METH_VARARGS
| METH_KEYWORDS
},
17467 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
},
17468 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
17469 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
17470 { (char *)"Icon_Ok", (PyCFunction
) _wrap_Icon_Ok
, METH_VARARGS
| METH_KEYWORDS
},
17471 { (char *)"Icon_GetWidth", (PyCFunction
) _wrap_Icon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
17472 { (char *)"Icon_GetHeight", (PyCFunction
) _wrap_Icon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
17473 { (char *)"Icon_GetDepth", (PyCFunction
) _wrap_Icon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
17474 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
17475 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
17476 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
17477 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
17478 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
},
17479 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
},
17480 { (char *)"delete_IconLocation", (PyCFunction
) _wrap_delete_IconLocation
, METH_VARARGS
| METH_KEYWORDS
},
17481 { (char *)"IconLocation_IsOk", (PyCFunction
) _wrap_IconLocation_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
17482 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
},
17483 { (char *)"IconLocation_GetFileName", (PyCFunction
) _wrap_IconLocation_GetFileName
, METH_VARARGS
| METH_KEYWORDS
},
17484 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
},
17485 { (char *)"IconLocation_GetIndex", (PyCFunction
) _wrap_IconLocation_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
17486 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
},
17487 { (char *)"new_IconBundle", (PyCFunction
) _wrap_new_IconBundle
, METH_VARARGS
| METH_KEYWORDS
},
17488 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
},
17489 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
17490 { (char *)"delete_IconBundle", (PyCFunction
) _wrap_delete_IconBundle
, METH_VARARGS
| METH_KEYWORDS
},
17491 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
17492 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
},
17493 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
17494 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
},
17495 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
},
17496 { (char *)"delete_Cursor", (PyCFunction
) _wrap_delete_Cursor
, METH_VARARGS
| METH_KEYWORDS
},
17497 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
},
17498 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
},
17499 { (char *)"new_CursorFromBits", (PyCFunction
) _wrap_new_CursorFromBits
, METH_VARARGS
| METH_KEYWORDS
},
17500 { (char *)"Cursor_Ok", (PyCFunction
) _wrap_Cursor_Ok
, METH_VARARGS
| METH_KEYWORDS
},
17501 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
},
17502 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
},
17503 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
17504 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
},
17505 { (char *)"delete_Region", (PyCFunction
) _wrap_delete_Region
, METH_VARARGS
| METH_KEYWORDS
},
17506 { (char *)"Region_Clear", (PyCFunction
) _wrap_Region_Clear
, METH_VARARGS
| METH_KEYWORDS
},
17507 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
},
17508 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
},
17509 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
},
17510 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
},
17511 { (char *)"Region_GetBox", (PyCFunction
) _wrap_Region_GetBox
, METH_VARARGS
| METH_KEYWORDS
},
17512 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
17513 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
17514 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
},
17515 { (char *)"Region_IsEmpty", (PyCFunction
) _wrap_Region_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
17516 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
},
17517 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
},
17518 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
},
17519 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
17520 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
},
17521 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
},
17522 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
},
17523 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
},
17524 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
},
17525 { (char *)"Region_ConvertToBitmap", (PyCFunction
) _wrap_Region_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
17526 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
},
17527 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
},
17528 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
17529 { (char *)"delete_RegionIterator", (PyCFunction
) _wrap_delete_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
17530 { (char *)"RegionIterator_GetX", (PyCFunction
) _wrap_RegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
},
17531 { (char *)"RegionIterator_GetY", (PyCFunction
) _wrap_RegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
},
17532 { (char *)"RegionIterator_GetW", (PyCFunction
) _wrap_RegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
},
17533 { (char *)"RegionIterator_GetWidth", (PyCFunction
) _wrap_RegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
17534 { (char *)"RegionIterator_GetH", (PyCFunction
) _wrap_RegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
},
17535 { (char *)"RegionIterator_GetHeight", (PyCFunction
) _wrap_RegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
17536 { (char *)"RegionIterator_GetRect", (PyCFunction
) _wrap_RegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
17537 { (char *)"RegionIterator_HaveRects", (PyCFunction
) _wrap_RegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
},
17538 { (char *)"RegionIterator_Reset", (PyCFunction
) _wrap_RegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
},
17539 { (char *)"RegionIterator_Next", (PyCFunction
) _wrap_RegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
},
17540 { (char *)"RegionIterator___nonzero__", (PyCFunction
) _wrap_RegionIterator___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
17541 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
},
17542 { (char *)"new_NativeFontInfo", (PyCFunction
) _wrap_new_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
17543 { (char *)"delete_NativeFontInfo", (PyCFunction
) _wrap_delete_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
17544 { (char *)"NativeFontInfo_Init", (PyCFunction
) _wrap_NativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
},
17545 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
},
17546 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
) _wrap_NativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
17547 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
) _wrap_NativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
17548 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
) _wrap_NativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
17549 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
17550 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
) _wrap_NativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
17551 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
) _wrap_NativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
17552 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
) _wrap_NativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
17553 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
17554 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
17555 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
17556 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
17557 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
17558 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
17559 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
17560 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
17561 { (char *)"NativeFontInfo_ToString", (PyCFunction
) _wrap_NativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
17562 { (char *)"NativeFontInfo___str__", (PyCFunction
) _wrap_NativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
},
17563 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
},
17564 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
) _wrap_NativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
},
17565 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
},
17566 { (char *)"NativeEncodingInfo_facename_set", (PyCFunction
) _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
| METH_KEYWORDS
},
17567 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
) _wrap_NativeEncodingInfo_facename_get
, METH_VARARGS
| METH_KEYWORDS
},
17568 { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
| METH_KEYWORDS
},
17569 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_get
, METH_VARARGS
| METH_KEYWORDS
},
17570 { (char *)"new_NativeEncodingInfo", (PyCFunction
) _wrap_new_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
},
17571 { (char *)"delete_NativeEncodingInfo", (PyCFunction
) _wrap_delete_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
},
17572 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
17573 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
) _wrap_NativeEncodingInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
17574 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
},
17575 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
},
17576 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
},
17577 { (char *)"new_FontMapper", (PyCFunction
) _wrap_new_FontMapper
, METH_VARARGS
| METH_KEYWORDS
},
17578 { (char *)"delete_FontMapper", (PyCFunction
) _wrap_delete_FontMapper
, METH_VARARGS
| METH_KEYWORDS
},
17579 { (char *)"FontMapper_Get", (PyCFunction
) _wrap_FontMapper_Get
, METH_VARARGS
| METH_KEYWORDS
},
17580 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
},
17581 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
},
17582 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
) _wrap_FontMapper_GetSupportedEncodingsCount
, METH_VARARGS
| METH_KEYWORDS
},
17583 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
17584 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
17585 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
},
17586 { (char *)"FontMapper_SetConfig", (PyCFunction
) _wrap_FontMapper_SetConfig
, METH_VARARGS
| METH_KEYWORDS
},
17587 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
17588 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_FontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
17589 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
},
17590 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
},
17591 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
},
17592 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
},
17593 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
},
17594 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
},
17595 { (char *)"delete_Font", (PyCFunction
) _wrap_delete_Font
, METH_VARARGS
| METH_KEYWORDS
},
17596 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
},
17597 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
},
17598 { (char *)"new_Font2", (PyCFunction
) _wrap_new_Font2
, METH_VARARGS
| METH_KEYWORDS
},
17599 { (char *)"Font_Ok", (PyCFunction
) _wrap_Font_Ok
, METH_VARARGS
| METH_KEYWORDS
},
17600 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
},
17601 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
},
17602 { (char *)"Font_GetPointSize", (PyCFunction
) _wrap_Font_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
17603 { (char *)"Font_GetFamily", (PyCFunction
) _wrap_Font_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
17604 { (char *)"Font_GetStyle", (PyCFunction
) _wrap_Font_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
17605 { (char *)"Font_GetWeight", (PyCFunction
) _wrap_Font_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
17606 { (char *)"Font_GetUnderlined", (PyCFunction
) _wrap_Font_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
17607 { (char *)"Font_GetFaceName", (PyCFunction
) _wrap_Font_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
17608 { (char *)"Font_GetEncoding", (PyCFunction
) _wrap_Font_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
17609 { (char *)"Font_GetNativeFontInfo", (PyCFunction
) _wrap_Font_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
17610 { (char *)"Font_IsFixedWidth", (PyCFunction
) _wrap_Font_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
},
17611 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
},
17612 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
17613 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
17614 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
17615 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
17616 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
17617 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
17618 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
17619 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
17620 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
17621 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
},
17622 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
17623 { (char *)"Font_GetFamilyString", (PyCFunction
) _wrap_Font_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
},
17624 { (char *)"Font_GetStyleString", (PyCFunction
) _wrap_Font_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
},
17625 { (char *)"Font_GetWeightString", (PyCFunction
) _wrap_Font_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
},
17626 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
17627 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
) _wrap_Font_GetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
17628 { (char *)"Font_GetDefaultEncoding", (PyCFunction
) _wrap_Font_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
17629 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
17630 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
},
17631 { (char *)"new_FontEnumerator", (PyCFunction
) _wrap_new_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
17632 { (char *)"delete_FontEnumerator", (PyCFunction
) _wrap_delete_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
17633 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
17634 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
},
17635 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
},
17636 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
) _wrap_FontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
},
17637 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
) _wrap_FontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
},
17638 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
},
17639 { (char *)"LanguageInfo_Language_set", (PyCFunction
) _wrap_LanguageInfo_Language_set
, METH_VARARGS
| METH_KEYWORDS
},
17640 { (char *)"LanguageInfo_Language_get", (PyCFunction
) _wrap_LanguageInfo_Language_get
, METH_VARARGS
| METH_KEYWORDS
},
17641 { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
| METH_KEYWORDS
},
17642 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_get
, METH_VARARGS
| METH_KEYWORDS
},
17643 { (char *)"LanguageInfo_Description_set", (PyCFunction
) _wrap_LanguageInfo_Description_set
, METH_VARARGS
| METH_KEYWORDS
},
17644 { (char *)"LanguageInfo_Description_get", (PyCFunction
) _wrap_LanguageInfo_Description_get
, METH_VARARGS
| METH_KEYWORDS
},
17645 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
},
17646 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
},
17647 { (char *)"delete_Locale", (PyCFunction
) _wrap_delete_Locale
, METH_VARARGS
| METH_KEYWORDS
},
17648 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
},
17649 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
},
17650 { (char *)"Locale_GetSystemLanguage", (PyCFunction
) _wrap_Locale_GetSystemLanguage
, METH_VARARGS
| METH_KEYWORDS
},
17651 { (char *)"Locale_GetSystemEncoding", (PyCFunction
) _wrap_Locale_GetSystemEncoding
, METH_VARARGS
| METH_KEYWORDS
},
17652 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
) _wrap_Locale_GetSystemEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
17653 { (char *)"Locale_IsOk", (PyCFunction
) _wrap_Locale_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
17654 { (char *)"Locale_GetLocale", (PyCFunction
) _wrap_Locale_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
17655 { (char *)"Locale_GetLanguage", (PyCFunction
) _wrap_Locale_GetLanguage
, METH_VARARGS
| METH_KEYWORDS
},
17656 { (char *)"Locale_GetSysName", (PyCFunction
) _wrap_Locale_GetSysName
, METH_VARARGS
| METH_KEYWORDS
},
17657 { (char *)"Locale_GetCanonicalName", (PyCFunction
) _wrap_Locale_GetCanonicalName
, METH_VARARGS
| METH_KEYWORDS
},
17658 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
},
17659 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
},
17660 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
},
17661 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
17662 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
},
17663 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
17664 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
},
17665 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
},
17666 { (char *)"Locale_GetName", (PyCFunction
) _wrap_Locale_GetName
, METH_VARARGS
| METH_KEYWORDS
},
17667 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
},
17668 { (char *)"GetLocale", (PyCFunction
) _wrap_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
17669 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
},
17670 { (char *)"new_EncodingConverter", (PyCFunction
) _wrap_new_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
17671 { (char *)"delete_EncodingConverter", (PyCFunction
) _wrap_delete_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
17672 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
},
17673 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
},
17674 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
17675 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
17676 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
},
17677 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
},
17678 { (char *)"delete_DC", (PyCFunction
) _wrap_delete_DC
, METH_VARARGS
| METH_KEYWORDS
},
17679 { (char *)"DC_BeginDrawing", (PyCFunction
) _wrap_DC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
},
17680 { (char *)"DC_EndDrawing", (PyCFunction
) _wrap_DC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
},
17681 { (char *)"DC_FloodFillXY", (PyCFunction
) _wrap_DC_FloodFillXY
, METH_VARARGS
| METH_KEYWORDS
},
17682 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
},
17683 { (char *)"DC_GetPixelXY", (PyCFunction
) _wrap_DC_GetPixelXY
, METH_VARARGS
| METH_KEYWORDS
},
17684 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
17685 { (char *)"DC_DrawLineXY", (PyCFunction
) _wrap_DC_DrawLineXY
, METH_VARARGS
| METH_KEYWORDS
},
17686 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
17687 { (char *)"DC_CrossHairXY", (PyCFunction
) _wrap_DC_CrossHairXY
, METH_VARARGS
| METH_KEYWORDS
},
17688 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
},
17689 { (char *)"DC_DrawArcXY", (PyCFunction
) _wrap_DC_DrawArcXY
, METH_VARARGS
| METH_KEYWORDS
},
17690 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
17691 { (char *)"DC_DrawCheckMarkXY", (PyCFunction
) _wrap_DC_DrawCheckMarkXY
, METH_VARARGS
| METH_KEYWORDS
},
17692 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
},
17693 { (char *)"DC_DrawEllipticArcXY", (PyCFunction
) _wrap_DC_DrawEllipticArcXY
, METH_VARARGS
| METH_KEYWORDS
},
17694 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
17695 { (char *)"DC_DrawPointXY", (PyCFunction
) _wrap_DC_DrawPointXY
, METH_VARARGS
| METH_KEYWORDS
},
17696 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
17697 { (char *)"DC_DrawRectangleXY", (PyCFunction
) _wrap_DC_DrawRectangleXY
, METH_VARARGS
| METH_KEYWORDS
},
17698 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
17699 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
17700 { (char *)"DC_DrawRoundedRectangleXY", (PyCFunction
) _wrap_DC_DrawRoundedRectangleXY
, METH_VARARGS
| METH_KEYWORDS
},
17701 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
17702 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
17703 { (char *)"DC_DrawCircleXY", (PyCFunction
) _wrap_DC_DrawCircleXY
, METH_VARARGS
| METH_KEYWORDS
},
17704 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
},
17705 { (char *)"DC_DrawEllipseXY", (PyCFunction
) _wrap_DC_DrawEllipseXY
, METH_VARARGS
| METH_KEYWORDS
},
17706 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
17707 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
},
17708 { (char *)"DC_DrawIconXY", (PyCFunction
) _wrap_DC_DrawIconXY
, METH_VARARGS
| METH_KEYWORDS
},
17709 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
},
17710 { (char *)"DC_DrawBitmapXY", (PyCFunction
) _wrap_DC_DrawBitmapXY
, METH_VARARGS
| METH_KEYWORDS
},
17711 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
17712 { (char *)"DC_DrawTextXY", (PyCFunction
) _wrap_DC_DrawTextXY
, METH_VARARGS
| METH_KEYWORDS
},
17713 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
17714 { (char *)"DC_DrawRotatedTextXY", (PyCFunction
) _wrap_DC_DrawRotatedTextXY
, METH_VARARGS
| METH_KEYWORDS
},
17715 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
},
17716 { (char *)"DC_BlitXY", (PyCFunction
) _wrap_DC_BlitXY
, METH_VARARGS
| METH_KEYWORDS
},
17717 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
},
17718 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
17719 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
17720 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
},
17721 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
},
17722 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
17723 { (char *)"DC_Clear", (PyCFunction
) _wrap_DC_Clear
, METH_VARARGS
| METH_KEYWORDS
},
17724 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
},
17725 { (char *)"DC_EndDoc", (PyCFunction
) _wrap_DC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
},
17726 { (char *)"DC_StartPage", (PyCFunction
) _wrap_DC_StartPage
, METH_VARARGS
| METH_KEYWORDS
},
17727 { (char *)"DC_EndPage", (PyCFunction
) _wrap_DC_EndPage
, METH_VARARGS
| METH_KEYWORDS
},
17728 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
17729 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
17730 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
17731 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
},
17732 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
17733 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
17734 { (char *)"DC_SetClippingRegionXY", (PyCFunction
) _wrap_DC_SetClippingRegionXY
, METH_VARARGS
| METH_KEYWORDS
},
17735 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
17736 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
17737 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
},
17738 { (char *)"DC_DestroyClippingRegion", (PyCFunction
) _wrap_DC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
17739 { (char *)"DC_GetClippingBox", (PyCFunction
) _wrap_DC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
},
17740 { (char *)"DC_GetClippingRect", (PyCFunction
) _wrap_DC_GetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
17741 { (char *)"DC_GetCharHeight", (PyCFunction
) _wrap_DC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
17742 { (char *)"DC_GetCharWidth", (PyCFunction
) _wrap_DC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
17743 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
17744 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
17745 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
17746 { (char *)"DC_GetSize", (PyCFunction
) _wrap_DC_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
17747 { (char *)"DC_GetSizeTuple", (PyCFunction
) _wrap_DC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
17748 { (char *)"DC_GetSizeMM", (PyCFunction
) _wrap_DC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
17749 { (char *)"DC_GetSizeMMTuple", (PyCFunction
) _wrap_DC_GetSizeMMTuple
, METH_VARARGS
| METH_KEYWORDS
},
17750 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
},
17751 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
},
17752 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
},
17753 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
},
17754 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
},
17755 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
},
17756 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
},
17757 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
},
17758 { (char *)"DC_CanDrawBitmap", (PyCFunction
) _wrap_DC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
17759 { (char *)"DC_CanGetTextExtent", (PyCFunction
) _wrap_DC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
17760 { (char *)"DC_GetDepth", (PyCFunction
) _wrap_DC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
17761 { (char *)"DC_GetPPI", (PyCFunction
) _wrap_DC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
},
17762 { (char *)"DC_Ok", (PyCFunction
) _wrap_DC_Ok
, METH_VARARGS
| METH_KEYWORDS
},
17763 { (char *)"DC_GetBackgroundMode", (PyCFunction
) _wrap_DC_GetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
17764 { (char *)"DC_GetBackground", (PyCFunction
) _wrap_DC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
},
17765 { (char *)"DC_GetBrush", (PyCFunction
) _wrap_DC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
17766 { (char *)"DC_GetFont", (PyCFunction
) _wrap_DC_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
17767 { (char *)"DC_GetPen", (PyCFunction
) _wrap_DC_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
17768 { (char *)"DC_GetTextBackground", (PyCFunction
) _wrap_DC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
17769 { (char *)"DC_GetTextForeground", (PyCFunction
) _wrap_DC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
17770 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
17771 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
17772 { (char *)"DC_GetMapMode", (PyCFunction
) _wrap_DC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
17773 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
17774 { (char *)"DC_GetUserScale", (PyCFunction
) _wrap_DC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
17775 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
17776 { (char *)"DC_GetLogicalScale", (PyCFunction
) _wrap_DC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
17777 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
17778 { (char *)"DC_GetLogicalOrigin", (PyCFunction
) _wrap_DC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
17779 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
) _wrap_DC_GetLogicalOriginTuple
, METH_VARARGS
| METH_KEYWORDS
},
17780 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
17781 { (char *)"DC_GetDeviceOrigin", (PyCFunction
) _wrap_DC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
17782 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
) _wrap_DC_GetDeviceOriginTuple
, METH_VARARGS
| METH_KEYWORDS
},
17783 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
17784 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
},
17785 { (char *)"DC_GetLogicalFunction", (PyCFunction
) _wrap_DC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
17786 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
17787 { (char *)"DC_SetOptimization", (PyCFunction
) _wrap_DC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
17788 { (char *)"DC_GetOptimization", (PyCFunction
) _wrap_DC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
17789 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
17790 { (char *)"DC_ResetBoundingBox", (PyCFunction
) _wrap_DC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
17791 { (char *)"DC_MinX", (PyCFunction
) _wrap_DC_MinX
, METH_VARARGS
| METH_KEYWORDS
},
17792 { (char *)"DC_MaxX", (PyCFunction
) _wrap_DC_MaxX
, METH_VARARGS
| METH_KEYWORDS
},
17793 { (char *)"DC_MinY", (PyCFunction
) _wrap_DC_MinY
, METH_VARARGS
| METH_KEYWORDS
},
17794 { (char *)"DC_MaxY", (PyCFunction
) _wrap_DC_MaxY
, METH_VARARGS
| METH_KEYWORDS
},
17795 { (char *)"DC_GetBoundingBox", (PyCFunction
) _wrap_DC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
17796 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
},
17797 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
},
17798 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
},
17799 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
},
17800 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
},
17801 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
},
17802 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
},
17803 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
},
17804 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
},
17805 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
},
17806 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
},
17807 { (char *)"new_BufferedDC", (PyCFunction
) _wrap_new_BufferedDC
, METH_VARARGS
| METH_KEYWORDS
},
17808 { (char *)"new_BufferedDCInternalBuffer", (PyCFunction
) _wrap_new_BufferedDCInternalBuffer
, METH_VARARGS
| METH_KEYWORDS
},
17809 { (char *)"BufferedDC_UnMask", (PyCFunction
) _wrap_BufferedDC_UnMask
, METH_VARARGS
| METH_KEYWORDS
},
17810 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
},
17811 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
17812 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
},
17813 { (char *)"new_ScreenDC", (PyCFunction
) _wrap_new_ScreenDC
, METH_VARARGS
| METH_KEYWORDS
},
17814 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
},
17815 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
17816 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
17817 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
},
17818 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
},
17819 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
},
17820 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
},
17821 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
},
17822 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
},
17823 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
},
17824 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
},
17825 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
},
17826 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
},
17827 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
) _wrap_PostScriptDC_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
17828 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
17829 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
},
17830 { (char *)"PostScriptDC_GetResolution", (PyCFunction
) _wrap_PostScriptDC_GetResolution
, METH_VARARGS
| METH_KEYWORDS
},
17831 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
},
17832 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
},
17833 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
},
17834 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
},
17835 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
},
17836 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
},
17837 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
},
17838 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
},
17839 { (char *)"delete_ImageList", (PyCFunction
) _wrap_delete_ImageList
, METH_VARARGS
| METH_KEYWORDS
},
17840 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
},
17841 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
},
17842 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
17843 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
},
17844 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
},
17845 { (char *)"ImageList_GetImageCount", (PyCFunction
) _wrap_ImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
17846 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
},
17847 { (char *)"ImageList_RemoveAll", (PyCFunction
) _wrap_ImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
},
17848 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
17849 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
},
17850 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
},
17851 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
},
17852 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
},
17853 { (char *)"PenList_GetCount", (PyCFunction
) _wrap_PenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
17854 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
},
17855 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
},
17856 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
},
17857 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
},
17858 { (char *)"BrushList_GetCount", (PyCFunction
) _wrap_BrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
17859 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
},
17860 { (char *)"new_ColourDatabase", (PyCFunction
) _wrap_new_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
17861 { (char *)"delete_ColourDatabase", (PyCFunction
) _wrap_delete_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
17862 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
},
17863 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
},
17864 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
},
17865 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
},
17866 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
},
17867 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
},
17868 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
},
17869 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
},
17870 { (char *)"FontList_GetCount", (PyCFunction
) _wrap_FontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
17871 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
},
17872 { (char *)"new_Effects", (PyCFunction
) _wrap_new_Effects
, METH_VARARGS
| METH_KEYWORDS
},
17873 { (char *)"Effects_GetHighlightColour", (PyCFunction
) _wrap_Effects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
17874 { (char *)"Effects_GetLightShadow", (PyCFunction
) _wrap_Effects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
17875 { (char *)"Effects_GetFaceColour", (PyCFunction
) _wrap_Effects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
17876 { (char *)"Effects_GetMediumShadow", (PyCFunction
) _wrap_Effects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
17877 { (char *)"Effects_GetDarkShadow", (PyCFunction
) _wrap_Effects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
17878 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
17879 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
17880 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
17881 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
17882 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
17883 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
},
17884 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
},
17885 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
},
17886 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
},
17891 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
17893 static void *_p_wxControlTo_p_wxWindow(void *x
) {
17894 return (void *)((wxWindow
*) ((wxControl
*) x
));
17896 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
17897 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
17899 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
17900 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
17902 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
17903 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
17905 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
17906 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
17908 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
17909 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
17911 static void *_p_wxPenTo_p_wxObject(void *x
) {
17912 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
17914 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
17915 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
17917 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
17918 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
17920 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
17921 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
17923 static void *_p_wxColourDatabaseTo_p_wxObject(void *x
) {
17924 return (void *)((wxObject
*) ((wxColourDatabase
*) x
));
17926 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
17927 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
17929 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
17930 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
17932 static void *_p_wxIconTo_p_wxObject(void *x
) {
17933 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
17935 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
17936 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
17938 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
17939 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
17941 static void *_p_wxSizerTo_p_wxObject(void *x
) {
17942 return (void *)((wxObject
*) ((wxSizer
*) x
));
17944 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
17945 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
17947 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
17948 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
17950 static void *_p_wxPenListTo_p_wxObject(void *x
) {
17951 return (void *)((wxObject
*) ((wxPenList
*) x
));
17953 static void *_p_wxEventTo_p_wxObject(void *x
) {
17954 return (void *)((wxObject
*) ((wxEvent
*) x
));
17956 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
17957 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
17959 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
17960 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
17962 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
17963 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
17965 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
17966 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
17968 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
17969 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
17971 static void *_p_wxDCTo_p_wxObject(void *x
) {
17972 return (void *)((wxObject
*) ((wxDC
*) x
));
17974 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
17975 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
17977 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
17978 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
17980 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
17981 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
17983 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
17984 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
17986 static void *_p_wxControlTo_p_wxObject(void *x
) {
17987 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
17989 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
17990 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
17992 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
17993 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
17995 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
17996 return (void *)((wxObject
*) ((wxFSFile
*) x
));
17998 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
17999 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
18001 static void *_p_wxRegionTo_p_wxObject(void *x
) {
18002 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
18004 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
18005 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
18007 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
18008 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
18010 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
18011 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
18013 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
18014 return (void *)((wxObject
*) ((wxEffects
*) x
));
18016 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
18017 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
18019 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
18020 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
18022 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
18023 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
18025 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
18026 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
18028 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
18029 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
18031 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
18032 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
18034 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
18035 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
18037 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
18038 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
18040 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
18041 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
18043 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
18044 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
18046 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
18047 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
18049 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
18050 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
18052 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
18053 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
18055 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
18056 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
18058 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
18059 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
18061 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
18062 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
18064 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
18065 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
18067 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
18068 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
18070 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
18071 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
18073 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
18074 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
18076 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
18077 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
18079 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
18080 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
18082 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
18083 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
18085 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
18086 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
18088 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
18089 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
18091 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
18092 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
18094 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
18095 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
18097 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
18098 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
18100 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
18101 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
18103 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
18104 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
18106 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
18107 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
18109 static void *_p_wxImageTo_p_wxObject(void *x
) {
18110 return (void *)((wxObject
*) ((wxImage
*) x
));
18112 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
18113 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
18115 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
18116 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
18118 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
18119 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
18121 static void *_p_wxImageListTo_p_wxObject(void *x
) {
18122 return (void *)((wxObject
*) ((wxImageList
*) x
));
18124 static void *_p_wxCursorTo_p_wxObject(void *x
) {
18125 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
18127 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
18128 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
18130 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
18131 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
18133 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
18134 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
18136 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
18137 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
18139 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
18140 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
18142 static void *_p_wxWindowTo_p_wxObject(void *x
) {
18143 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
18145 static void *_p_wxMenuTo_p_wxObject(void *x
) {
18146 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
18148 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
18149 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
18151 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
18152 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
18154 static void *_p_wxBrushListTo_p_wxObject(void *x
) {
18155 return (void *)((wxObject
*) ((wxBrushList
*) x
));
18157 static void *_p_wxPyPenTo_p_wxObject(void *x
) {
18158 return (void *)((wxObject
*) (wxGDIObject
*)(wxPen
*) ((wxPyPen
*) x
));
18160 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
18161 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
18163 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
18164 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
18166 static void *_p_wxMaskTo_p_wxObject(void *x
) {
18167 return (void *)((wxObject
*) ((wxMask
*) x
));
18169 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
18170 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
18172 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
18173 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
18175 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
18176 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
18178 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
18179 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
18181 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
18182 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
18184 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
18185 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
18187 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
18188 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
18190 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
18191 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
18193 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
18194 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
18196 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
18197 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
18199 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
18200 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
18202 static void *_p_wxFontTo_p_wxObject(void *x
) {
18203 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
18205 static void *_p_wxBrushTo_p_wxObject(void *x
) {
18206 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
18208 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
18209 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
18211 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
18212 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
18214 static void *_p_wxColourTo_p_wxObject(void *x
) {
18215 return (void *)((wxObject
*) ((wxColour
*) x
));
18217 static void *_p_wxFontListTo_p_wxObject(void *x
) {
18218 return (void *)((wxObject
*) ((wxFontList
*) x
));
18220 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
18221 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
18223 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
18224 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
18226 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
18227 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
18229 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
18230 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
18232 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
18233 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
18235 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
18236 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
18238 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
18239 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
18241 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
18242 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
18244 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
18245 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
18247 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
18248 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
18250 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
18251 return (void *)((wxDC
*) ((wxClientDC
*) x
));
18253 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
18254 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
18256 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
18257 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
18259 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
18260 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
18262 static void *_p_wxPyPenTo_p_wxGDIObject(void *x
) {
18263 return (void *)((wxGDIObject
*) (wxPen
*) ((wxPyPen
*) x
));
18265 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
18266 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
18268 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
18269 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
18271 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
18272 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
18274 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
18275 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
18277 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
18278 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
18280 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
18281 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
18283 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
18284 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
18286 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
18287 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
18289 static void *_p_wxPyPenTo_p_wxPen(void *x
) {
18290 return (void *)((wxPen
*) ((wxPyPen
*) x
));
18292 static swig_type_info _swigt__p_wxPostScriptDC
[] = {{"_p_wxPostScriptDC", 0, "wxPostScriptDC *", 0},{"_p_wxPostScriptDC"},{0}};
18293 static swig_type_info _swigt__p_wxBrush
[] = {{"_p_wxBrush", 0, "wxBrush *", 0},{"_p_wxBrush"},{0}};
18294 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
18295 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}};
18296 static swig_type_info _swigt__p_wxMirrorDC
[] = {{"_p_wxMirrorDC", 0, "wxMirrorDC *", 0},{"_p_wxMirrorDC"},{0}};
18297 static swig_type_info _swigt__p_byte
[] = {{"_p_byte", 0, "byte *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}};
18298 static swig_type_info _swigt__p_wxPyFontEnumerator
[] = {{"_p_wxPyFontEnumerator", 0, "wxPyFontEnumerator *", 0},{"_p_wxPyFontEnumerator"},{0}};
18299 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
18300 static swig_type_info _swigt__p_wxIconLocation
[] = {{"_p_wxIconLocation", 0, "wxIconLocation *", 0},{"_p_wxIconLocation"},{0}};
18301 static swig_type_info _swigt__p_wxImage
[] = {{"_p_wxImage", 0, "wxImage *", 0},{"_p_wxImage"},{0}};
18302 static swig_type_info _swigt__p_wxMetaFileDC
[] = {{"_p_wxMetaFileDC", 0, "wxMetaFileDC *", 0},{"_p_wxMetaFileDC"},{0}};
18303 static swig_type_info _swigt__p_wxMask
[] = {{"_p_wxMask", 0, "wxMask *", 0},{"_p_wxMask"},{0}};
18304 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
18305 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}};
18306 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
18307 static swig_type_info _swigt__p_double
[] = {{"_p_double", 0, "double *", 0},{"_p_double"},{0}};
18308 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}};
18309 static swig_type_info _swigt__p_wxFontMapper
[] = {{"_p_wxFontMapper", 0, "wxFontMapper *", 0},{"_p_wxFontMapper"},{0}};
18310 static swig_type_info _swigt__p_wxEffects
[] = {{"_p_wxEffects", 0, "wxEffects *", 0},{"_p_wxEffects"},{0}};
18311 static swig_type_info _swigt__p_wxNativeEncodingInfo
[] = {{"_p_wxNativeEncodingInfo", 0, "wxNativeEncodingInfo *", 0},{"_p_wxNativeEncodingInfo"},{0}};
18312 static swig_type_info _swigt__p_wxPalette
[] = {{"_p_wxPalette", 0, "wxPalette *", 0},{"_p_wxPalette"},{0}};
18313 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
18314 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_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
},{"_p_wxImage", _p_wxImageTo_p_wxObject
},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
},{"_p_wxBufferedDC", _p_wxBufferedDCTo_p_wxObject
},{"_p_wxPalette", _p_wxPaletteTo_p_wxObject
},{"_p_wxImageList", _p_wxImageListTo_p_wxObject
},{"_p_wxCursor", _p_wxCursorTo_p_wxObject
},{"_p_wxObject"},{"_p_wxMirrorDC", _p_wxMirrorDCTo_p_wxObject
},{"_p_wxEncodingConverter", _p_wxEncodingConverterTo_p_wxObject
},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
},{"_p_wxMetaFileDC", _p_wxMetaFileDCTo_p_wxObject
},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
},{"_p_wxBrushList", _p_wxBrushListTo_p_wxObject
},{"_p_wxPyPen", _p_wxPyPenTo_p_wxObject
},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
},{"_p_wxBitmap", _p_wxBitmapTo_p_wxObject
},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
},{"_p_wxBrush", _p_wxBrushTo_p_wxObject
},{"_p_wxMetaFile", _p_wxMetaFileTo_p_wxObject
},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
},{"_p_wxColour", _p_wxColourTo_p_wxObject
},{"_p_wxFontList", _p_wxFontListTo_p_wxObject
},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
},{0}};
18315 static swig_type_info _swigt__p_wxRegionIterator
[] = {{"_p_wxRegionIterator", 0, "wxRegionIterator *", 0},{"_p_wxRegionIterator"},{0}};
18316 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
18317 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
18318 static swig_type_info _swigt__p_wxPrinterDC
[] = {{"_p_wxPrinterDC", 0, "wxPrinterDC *", 0},{"_p_wxPrinterDC"},{0}};
18319 static swig_type_info _swigt__p_wxIconBundle
[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0},{"_p_wxIconBundle"},{0}};
18320 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
18321 static swig_type_info _swigt__p_wxDash
[] = {{"_p_wxDash", 0, "wxDash *", 0},{"_p_wxDash"},{0}};
18322 static swig_type_info _swigt__p_wxScreenDC
[] = {{"_p_wxScreenDC", 0, "wxScreenDC *", 0},{"_p_wxScreenDC"},{0}};
18323 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
18324 static swig_type_info _swigt__p_wxClientDC
[] = {{"_p_wxClientDC", 0, "wxClientDC *", 0},{"_p_wxClientDC"},{0}};
18325 static swig_type_info _swigt__p_wxBufferedDC
[] = {{"_p_wxBufferedDC", 0, "wxBufferedDC *", 0},{"_p_wxBufferedDC"},{"_p_wxBufferedPaintDC", _p_wxBufferedPaintDCTo_p_wxBufferedDC
},{0}};
18326 static swig_type_info _swigt__p_wxImageList
[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}};
18327 static swig_type_info _swigt__p_unsigned_char
[] = {{"_p_unsigned_char", 0, "unsigned char *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}};
18328 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}};
18329 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
18330 static swig_type_info _swigt__p_wxLocale
[] = {{"_p_wxLocale", 0, "wxLocale *", 0},{"_p_wxLocale"},{0}};
18331 static swig_type_info _swigt__p_wxRegion
[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
18332 static swig_type_info _swigt__p_wxLanguageInfo
[] = {{"_p_wxLanguageInfo", 0, "wxLanguageInfo *", 0},{"_p_wxLanguageInfo"},{0}};
18333 static swig_type_info _swigt__p_wxConfigBase
[] = {{"_p_wxConfigBase", 0, "wxConfigBase *", 0},{"_p_wxConfigBase"},{0}};
18334 static swig_type_info _swigt__p_wxWindowDC
[] = {{"_p_wxWindowDC", 0, "wxWindowDC *", 0},{"_p_wxWindowDC"},{0}};
18335 static swig_type_info _swigt__p_wxPrintData
[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0},{"_p_wxPrintData"},{0}};
18336 static swig_type_info _swigt__p_wxBrushList
[] = {{"_p_wxBrushList", 0, "wxBrushList *", 0},{"_p_wxBrushList"},{0}};
18337 static swig_type_info _swigt__p_wxFontList
[] = {{"_p_wxFontList", 0, "wxFontList *", 0},{"_p_wxFontList"},{0}};
18338 static swig_type_info _swigt__p_wxPen
[] = {{"_p_wxPen", 0, "wxPen *", 0},{"_p_wxPyPen", _p_wxPyPenTo_p_wxPen
},{"_p_wxPen"},{0}};
18339 static swig_type_info _swigt__p_wxBufferedPaintDC
[] = {{"_p_wxBufferedPaintDC", 0, "wxBufferedPaintDC *", 0},{"_p_wxBufferedPaintDC"},{0}};
18340 static swig_type_info _swigt__p_wxPaintDC
[] = {{"_p_wxPaintDC", 0, "wxPaintDC *", 0},{"_p_wxPaintDC"},{0}};
18341 static swig_type_info _swigt__p_wxPenList
[] = {{"_p_wxPenList", 0, "wxPenList *", 0},{"_p_wxPenList"},{0}};
18342 static swig_type_info _swigt__p_wxPyPen
[] = {{"_p_wxPyPen", 0, "wxPyPen *", 0},{"_p_wxPyPen"},{0}};
18343 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
18344 static swig_type_info _swigt__p_wxMetaFile
[] = {{"_p_wxMetaFile", 0, "wxMetaFile *", 0},{"_p_wxMetaFile"},{0}};
18345 static swig_type_info _swigt__p_wxNativeFontInfo
[] = {{"_p_wxNativeFontInfo", 0, "wxNativeFontInfo *", 0},{"_p_wxNativeFontInfo"},{0}};
18346 static swig_type_info _swigt__p_wxEncodingConverter
[] = {{"_p_wxEncodingConverter", 0, "wxEncodingConverter *", 0},{"_p_wxEncodingConverter"},{0}};
18347 static swig_type_info _swigt__p_wxColourDatabase
[] = {{"_p_wxColourDatabase", 0, "wxColourDatabase *", 0},{"_p_wxColourDatabase"},{0}};
18349 static swig_type_info
*swig_types_initial
[] = {
18350 _swigt__p_wxPostScriptDC
,
18352 _swigt__p_wxColour
,
18354 _swigt__p_wxMirrorDC
,
18356 _swigt__p_wxPyFontEnumerator
,
18358 _swigt__p_wxIconLocation
,
18360 _swigt__p_wxMetaFileDC
,
18363 _swigt__p_wxWindow
,
18366 _swigt__p_wxMemoryDC
,
18367 _swigt__p_wxFontMapper
,
18368 _swigt__p_wxEffects
,
18369 _swigt__p_wxNativeEncodingInfo
,
18370 _swigt__p_wxPalette
,
18371 _swigt__p_wxBitmap
,
18372 _swigt__p_wxObject
,
18373 _swigt__p_wxRegionIterator
,
18375 _swigt__p_wxString
,
18376 _swigt__p_wxPrinterDC
,
18377 _swigt__p_wxIconBundle
,
18380 _swigt__p_wxScreenDC
,
18381 _swigt__p_wxCursor
,
18382 _swigt__p_wxClientDC
,
18383 _swigt__p_wxBufferedDC
,
18384 _swigt__p_wxImageList
,
18385 _swigt__p_unsigned_char
,
18386 _swigt__p_wxGDIObject
,
18388 _swigt__p_wxLocale
,
18389 _swigt__p_wxRegion
,
18390 _swigt__p_wxLanguageInfo
,
18391 _swigt__p_wxConfigBase
,
18392 _swigt__p_wxWindowDC
,
18393 _swigt__p_wxPrintData
,
18394 _swigt__p_wxBrushList
,
18395 _swigt__p_wxFontList
,
18397 _swigt__p_wxBufferedPaintDC
,
18398 _swigt__p_wxPaintDC
,
18399 _swigt__p_wxPenList
,
18402 _swigt__p_wxMetaFile
,
18403 _swigt__p_wxNativeFontInfo
,
18404 _swigt__p_wxEncodingConverter
,
18405 _swigt__p_wxColourDatabase
,
18410 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
18412 static swig_const_info swig_const_table
[] = {
18422 SWIGEXPORT(void) SWIG_init(void) {
18423 static PyObject
*SWIG_globals
= 0;
18424 static int typeinit
= 0;
18427 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
18428 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
18429 d
= PyModule_GetDict(m
);
18432 for (i
= 0; swig_types_initial
[i
]; i
++) {
18433 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
18437 SWIG_InstallConstants(d
,swig_const_table
);
18439 PyDict_SetItemString(d
,"OutRegion", SWIG_PyObj_FromInt((int)wxOutRegion
));
18440 PyDict_SetItemString(d
,"PartRegion", SWIG_PyObj_FromInt((int)wxPartRegion
));
18441 PyDict_SetItemString(d
,"InRegion", SWIG_PyObj_FromInt((int)wxInRegion
));
18442 PyDict_SetItemString(d
,"FONTFAMILY_DEFAULT", SWIG_PyObj_FromInt((int)wxFONTFAMILY_DEFAULT
));
18443 PyDict_SetItemString(d
,"FONTFAMILY_DECORATIVE", SWIG_PyObj_FromInt((int)wxFONTFAMILY_DECORATIVE
));
18444 PyDict_SetItemString(d
,"FONTFAMILY_ROMAN", SWIG_PyObj_FromInt((int)wxFONTFAMILY_ROMAN
));
18445 PyDict_SetItemString(d
,"FONTFAMILY_SCRIPT", SWIG_PyObj_FromInt((int)wxFONTFAMILY_SCRIPT
));
18446 PyDict_SetItemString(d
,"FONTFAMILY_SWISS", SWIG_PyObj_FromInt((int)wxFONTFAMILY_SWISS
));
18447 PyDict_SetItemString(d
,"FONTFAMILY_MODERN", SWIG_PyObj_FromInt((int)wxFONTFAMILY_MODERN
));
18448 PyDict_SetItemString(d
,"FONTFAMILY_TELETYPE", SWIG_PyObj_FromInt((int)wxFONTFAMILY_TELETYPE
));
18449 PyDict_SetItemString(d
,"FONTFAMILY_MAX", SWIG_PyObj_FromInt((int)wxFONTFAMILY_MAX
));
18450 PyDict_SetItemString(d
,"FONTFAMILY_UNKNOWN", SWIG_PyObj_FromInt((int)wxFONTFAMILY_UNKNOWN
));
18451 PyDict_SetItemString(d
,"FONTSTYLE_NORMAL", SWIG_PyObj_FromInt((int)wxFONTSTYLE_NORMAL
));
18452 PyDict_SetItemString(d
,"FONTSTYLE_ITALIC", SWIG_PyObj_FromInt((int)wxFONTSTYLE_ITALIC
));
18453 PyDict_SetItemString(d
,"FONTSTYLE_SLANT", SWIG_PyObj_FromInt((int)wxFONTSTYLE_SLANT
));
18454 PyDict_SetItemString(d
,"FONTSTYLE_MAX", SWIG_PyObj_FromInt((int)wxFONTSTYLE_MAX
));
18455 PyDict_SetItemString(d
,"FONTWEIGHT_NORMAL", SWIG_PyObj_FromInt((int)wxFONTWEIGHT_NORMAL
));
18456 PyDict_SetItemString(d
,"FONTWEIGHT_LIGHT", SWIG_PyObj_FromInt((int)wxFONTWEIGHT_LIGHT
));
18457 PyDict_SetItemString(d
,"FONTWEIGHT_BOLD", SWIG_PyObj_FromInt((int)wxFONTWEIGHT_BOLD
));
18458 PyDict_SetItemString(d
,"FONTWEIGHT_MAX", SWIG_PyObj_FromInt((int)wxFONTWEIGHT_MAX
));
18459 PyDict_SetItemString(d
,"FONTFLAG_DEFAULT", SWIG_PyObj_FromInt((int)wxFONTFLAG_DEFAULT
));
18460 PyDict_SetItemString(d
,"FONTFLAG_ITALIC", SWIG_PyObj_FromInt((int)wxFONTFLAG_ITALIC
));
18461 PyDict_SetItemString(d
,"FONTFLAG_SLANT", SWIG_PyObj_FromInt((int)wxFONTFLAG_SLANT
));
18462 PyDict_SetItemString(d
,"FONTFLAG_LIGHT", SWIG_PyObj_FromInt((int)wxFONTFLAG_LIGHT
));
18463 PyDict_SetItemString(d
,"FONTFLAG_BOLD", SWIG_PyObj_FromInt((int)wxFONTFLAG_BOLD
));
18464 PyDict_SetItemString(d
,"FONTFLAG_ANTIALIASED", SWIG_PyObj_FromInt((int)wxFONTFLAG_ANTIALIASED
));
18465 PyDict_SetItemString(d
,"FONTFLAG_NOT_ANTIALIASED", SWIG_PyObj_FromInt((int)wxFONTFLAG_NOT_ANTIALIASED
));
18466 PyDict_SetItemString(d
,"FONTFLAG_UNDERLINED", SWIG_PyObj_FromInt((int)wxFONTFLAG_UNDERLINED
));
18467 PyDict_SetItemString(d
,"FONTFLAG_STRIKETHROUGH", SWIG_PyObj_FromInt((int)wxFONTFLAG_STRIKETHROUGH
));
18468 PyDict_SetItemString(d
,"FONTFLAG_MASK", SWIG_PyObj_FromInt((int)wxFONTFLAG_MASK
));
18469 PyDict_SetItemString(d
,"FONTENCODING_SYSTEM", SWIG_PyObj_FromInt((int)wxFONTENCODING_SYSTEM
));
18470 PyDict_SetItemString(d
,"FONTENCODING_DEFAULT", SWIG_PyObj_FromInt((int)wxFONTENCODING_DEFAULT
));
18471 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_1", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_1
));
18472 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_2", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_2
));
18473 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_3", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_3
));
18474 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_4", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_4
));
18475 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_5", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_5
));
18476 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_6", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_6
));
18477 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_7", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_7
));
18478 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_8", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_8
));
18479 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_9", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_9
));
18480 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_10", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_10
));
18481 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_11", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_11
));
18482 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_12", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_12
));
18483 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_13", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_13
));
18484 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_14", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_14
));
18485 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_15", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_15
));
18486 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_MAX", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_MAX
));
18487 PyDict_SetItemString(d
,"FONTENCODING_KOI8", SWIG_PyObj_FromInt((int)wxFONTENCODING_KOI8
));
18488 PyDict_SetItemString(d
,"FONTENCODING_ALTERNATIVE", SWIG_PyObj_FromInt((int)wxFONTENCODING_ALTERNATIVE
));
18489 PyDict_SetItemString(d
,"FONTENCODING_BULGARIAN", SWIG_PyObj_FromInt((int)wxFONTENCODING_BULGARIAN
));
18490 PyDict_SetItemString(d
,"FONTENCODING_CP437", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP437
));
18491 PyDict_SetItemString(d
,"FONTENCODING_CP850", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP850
));
18492 PyDict_SetItemString(d
,"FONTENCODING_CP852", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP852
));
18493 PyDict_SetItemString(d
,"FONTENCODING_CP855", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP855
));
18494 PyDict_SetItemString(d
,"FONTENCODING_CP866", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP866
));
18495 PyDict_SetItemString(d
,"FONTENCODING_CP874", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP874
));
18496 PyDict_SetItemString(d
,"FONTENCODING_CP932", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP932
));
18497 PyDict_SetItemString(d
,"FONTENCODING_CP936", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP936
));
18498 PyDict_SetItemString(d
,"FONTENCODING_CP949", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP949
));
18499 PyDict_SetItemString(d
,"FONTENCODING_CP950", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP950
));
18500 PyDict_SetItemString(d
,"FONTENCODING_CP1250", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP1250
));
18501 PyDict_SetItemString(d
,"FONTENCODING_CP1251", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP1251
));
18502 PyDict_SetItemString(d
,"FONTENCODING_CP1252", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP1252
));
18503 PyDict_SetItemString(d
,"FONTENCODING_CP1253", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP1253
));
18504 PyDict_SetItemString(d
,"FONTENCODING_CP1254", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP1254
));
18505 PyDict_SetItemString(d
,"FONTENCODING_CP1255", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP1255
));
18506 PyDict_SetItemString(d
,"FONTENCODING_CP1256", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP1256
));
18507 PyDict_SetItemString(d
,"FONTENCODING_CP1257", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP1257
));
18508 PyDict_SetItemString(d
,"FONTENCODING_CP12_MAX", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP12_MAX
));
18509 PyDict_SetItemString(d
,"FONTENCODING_UTF7", SWIG_PyObj_FromInt((int)wxFONTENCODING_UTF7
));
18510 PyDict_SetItemString(d
,"FONTENCODING_UTF8", SWIG_PyObj_FromInt((int)wxFONTENCODING_UTF8
));
18511 PyDict_SetItemString(d
,"FONTENCODING_EUC_JP", SWIG_PyObj_FromInt((int)wxFONTENCODING_EUC_JP
));
18512 PyDict_SetItemString(d
,"FONTENCODING_UTF16BE", SWIG_PyObj_FromInt((int)wxFONTENCODING_UTF16BE
));
18513 PyDict_SetItemString(d
,"FONTENCODING_UTF16LE", SWIG_PyObj_FromInt((int)wxFONTENCODING_UTF16LE
));
18514 PyDict_SetItemString(d
,"FONTENCODING_UTF32BE", SWIG_PyObj_FromInt((int)wxFONTENCODING_UTF32BE
));
18515 PyDict_SetItemString(d
,"FONTENCODING_UTF32LE", SWIG_PyObj_FromInt((int)wxFONTENCODING_UTF32LE
));
18516 PyDict_SetItemString(d
,"FONTENCODING_MACROMAN", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACROMAN
));
18517 PyDict_SetItemString(d
,"FONTENCODING_MACJAPANESE", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACJAPANESE
));
18518 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESETRAD", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACCHINESETRAD
));
18519 PyDict_SetItemString(d
,"FONTENCODING_MACKOREAN", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACKOREAN
));
18520 PyDict_SetItemString(d
,"FONTENCODING_MACARABIC", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACARABIC
));
18521 PyDict_SetItemString(d
,"FONTENCODING_MACHEBREW", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACHEBREW
));
18522 PyDict_SetItemString(d
,"FONTENCODING_MACGREEK", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACGREEK
));
18523 PyDict_SetItemString(d
,"FONTENCODING_MACCYRILLIC", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACCYRILLIC
));
18524 PyDict_SetItemString(d
,"FONTENCODING_MACDEVANAGARI", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACDEVANAGARI
));
18525 PyDict_SetItemString(d
,"FONTENCODING_MACGURMUKHI", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACGURMUKHI
));
18526 PyDict_SetItemString(d
,"FONTENCODING_MACGUJARATI", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACGUJARATI
));
18527 PyDict_SetItemString(d
,"FONTENCODING_MACORIYA", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACORIYA
));
18528 PyDict_SetItemString(d
,"FONTENCODING_MACBENGALI", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACBENGALI
));
18529 PyDict_SetItemString(d
,"FONTENCODING_MACTAMIL", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACTAMIL
));
18530 PyDict_SetItemString(d
,"FONTENCODING_MACTELUGU", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACTELUGU
));
18531 PyDict_SetItemString(d
,"FONTENCODING_MACKANNADA", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACKANNADA
));
18532 PyDict_SetItemString(d
,"FONTENCODING_MACMALAJALAM", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACMALAJALAM
));
18533 PyDict_SetItemString(d
,"FONTENCODING_MACSINHALESE", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACSINHALESE
));
18534 PyDict_SetItemString(d
,"FONTENCODING_MACBURMESE", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACBURMESE
));
18535 PyDict_SetItemString(d
,"FONTENCODING_MACKHMER", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACKHMER
));
18536 PyDict_SetItemString(d
,"FONTENCODING_MACTHAI", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACTHAI
));
18537 PyDict_SetItemString(d
,"FONTENCODING_MACLAOTIAN", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACLAOTIAN
));
18538 PyDict_SetItemString(d
,"FONTENCODING_MACGEORGIAN", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACGEORGIAN
));
18539 PyDict_SetItemString(d
,"FONTENCODING_MACARMENIAN", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACARMENIAN
));
18540 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESESIMP", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACCHINESESIMP
));
18541 PyDict_SetItemString(d
,"FONTENCODING_MACTIBETAN", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACTIBETAN
));
18542 PyDict_SetItemString(d
,"FONTENCODING_MACMONGOLIAN", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACMONGOLIAN
));
18543 PyDict_SetItemString(d
,"FONTENCODING_MACETHIOPIC", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACETHIOPIC
));
18544 PyDict_SetItemString(d
,"FONTENCODING_MACCENTRALEUR", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACCENTRALEUR
));
18545 PyDict_SetItemString(d
,"FONTENCODING_MACVIATNAMESE", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACVIATNAMESE
));
18546 PyDict_SetItemString(d
,"FONTENCODING_MACARABICEXT", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACARABICEXT
));
18547 PyDict_SetItemString(d
,"FONTENCODING_MACSYMBOL", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACSYMBOL
));
18548 PyDict_SetItemString(d
,"FONTENCODING_MACDINGBATS", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACDINGBATS
));
18549 PyDict_SetItemString(d
,"FONTENCODING_MACTURKISH", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACTURKISH
));
18550 PyDict_SetItemString(d
,"FONTENCODING_MACCROATIAN", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACCROATIAN
));
18551 PyDict_SetItemString(d
,"FONTENCODING_MACICELANDIC", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACICELANDIC
));
18552 PyDict_SetItemString(d
,"FONTENCODING_MACROMANIAN", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACROMANIAN
));
18553 PyDict_SetItemString(d
,"FONTENCODING_MACCELTIC", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACCELTIC
));
18554 PyDict_SetItemString(d
,"FONTENCODING_MACGAELIC", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACGAELIC
));
18555 PyDict_SetItemString(d
,"FONTENCODING_MACKEYBOARD", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACKEYBOARD
));
18556 PyDict_SetItemString(d
,"FONTENCODING_MACMIN", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACMIN
));
18557 PyDict_SetItemString(d
,"FONTENCODING_MACMAX", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACMAX
));
18558 PyDict_SetItemString(d
,"FONTENCODING_MAX", SWIG_PyObj_FromInt((int)wxFONTENCODING_MAX
));
18559 PyDict_SetItemString(d
,"FONTENCODING_UTF16", SWIG_PyObj_FromInt((int)wxFONTENCODING_UTF16
));
18560 PyDict_SetItemString(d
,"FONTENCODING_UTF32", SWIG_PyObj_FromInt((int)wxFONTENCODING_UTF32
));
18561 PyDict_SetItemString(d
,"FONTENCODING_UNICODE", SWIG_PyObj_FromInt((int)wxFONTENCODING_UNICODE
));
18562 PyDict_SetItemString(d
,"FONTENCODING_GB2312", SWIG_PyObj_FromInt((int)wxFONTENCODING_GB2312
));
18563 PyDict_SetItemString(d
,"FONTENCODING_BIG5", SWIG_PyObj_FromInt((int)wxFONTENCODING_BIG5
));
18564 PyDict_SetItemString(d
,"FONTENCODING_SHIFT_JIS", SWIG_PyObj_FromInt((int)wxFONTENCODING_SHIFT_JIS
));
18566 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
18568 PyDict_SetItemString(d
,"LANGUAGE_DEFAULT", SWIG_PyObj_FromInt((int)wxLANGUAGE_DEFAULT
));
18569 PyDict_SetItemString(d
,"LANGUAGE_UNKNOWN", SWIG_PyObj_FromInt((int)wxLANGUAGE_UNKNOWN
));
18570 PyDict_SetItemString(d
,"LANGUAGE_ABKHAZIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ABKHAZIAN
));
18571 PyDict_SetItemString(d
,"LANGUAGE_AFAR", SWIG_PyObj_FromInt((int)wxLANGUAGE_AFAR
));
18572 PyDict_SetItemString(d
,"LANGUAGE_AFRIKAANS", SWIG_PyObj_FromInt((int)wxLANGUAGE_AFRIKAANS
));
18573 PyDict_SetItemString(d
,"LANGUAGE_ALBANIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ALBANIAN
));
18574 PyDict_SetItemString(d
,"LANGUAGE_AMHARIC", SWIG_PyObj_FromInt((int)wxLANGUAGE_AMHARIC
));
18575 PyDict_SetItemString(d
,"LANGUAGE_ARABIC", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC
));
18576 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_ALGERIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_ALGERIA
));
18577 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_BAHRAIN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_BAHRAIN
));
18578 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_EGYPT", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_EGYPT
));
18579 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_IRAQ", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_IRAQ
));
18580 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_JORDAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_JORDAN
));
18581 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_KUWAIT", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_KUWAIT
));
18582 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LEBANON", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_LEBANON
));
18583 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LIBYA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_LIBYA
));
18584 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_MOROCCO", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_MOROCCO
));
18585 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_OMAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_OMAN
));
18586 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_QATAR", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_QATAR
));
18587 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SAUDI_ARABIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_SAUDI_ARABIA
));
18588 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SUDAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_SUDAN
));
18589 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SYRIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_SYRIA
));
18590 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_TUNISIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_TUNISIA
));
18591 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_UAE", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_UAE
));
18592 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_YEMEN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_YEMEN
));
18593 PyDict_SetItemString(d
,"LANGUAGE_ARMENIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARMENIAN
));
18594 PyDict_SetItemString(d
,"LANGUAGE_ASSAMESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_ASSAMESE
));
18595 PyDict_SetItemString(d
,"LANGUAGE_AYMARA", SWIG_PyObj_FromInt((int)wxLANGUAGE_AYMARA
));
18596 PyDict_SetItemString(d
,"LANGUAGE_AZERI", SWIG_PyObj_FromInt((int)wxLANGUAGE_AZERI
));
18597 PyDict_SetItemString(d
,"LANGUAGE_AZERI_CYRILLIC", SWIG_PyObj_FromInt((int)wxLANGUAGE_AZERI_CYRILLIC
));
18598 PyDict_SetItemString(d
,"LANGUAGE_AZERI_LATIN", SWIG_PyObj_FromInt((int)wxLANGUAGE_AZERI_LATIN
));
18599 PyDict_SetItemString(d
,"LANGUAGE_BASHKIR", SWIG_PyObj_FromInt((int)wxLANGUAGE_BASHKIR
));
18600 PyDict_SetItemString(d
,"LANGUAGE_BASQUE", SWIG_PyObj_FromInt((int)wxLANGUAGE_BASQUE
));
18601 PyDict_SetItemString(d
,"LANGUAGE_BELARUSIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_BELARUSIAN
));
18602 PyDict_SetItemString(d
,"LANGUAGE_BENGALI", SWIG_PyObj_FromInt((int)wxLANGUAGE_BENGALI
));
18603 PyDict_SetItemString(d
,"LANGUAGE_BHUTANI", SWIG_PyObj_FromInt((int)wxLANGUAGE_BHUTANI
));
18604 PyDict_SetItemString(d
,"LANGUAGE_BIHARI", SWIG_PyObj_FromInt((int)wxLANGUAGE_BIHARI
));
18605 PyDict_SetItemString(d
,"LANGUAGE_BISLAMA", SWIG_PyObj_FromInt((int)wxLANGUAGE_BISLAMA
));
18606 PyDict_SetItemString(d
,"LANGUAGE_BRETON", SWIG_PyObj_FromInt((int)wxLANGUAGE_BRETON
));
18607 PyDict_SetItemString(d
,"LANGUAGE_BULGARIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_BULGARIAN
));
18608 PyDict_SetItemString(d
,"LANGUAGE_BURMESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_BURMESE
));
18609 PyDict_SetItemString(d
,"LANGUAGE_CAMBODIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_CAMBODIAN
));
18610 PyDict_SetItemString(d
,"LANGUAGE_CATALAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_CATALAN
));
18611 PyDict_SetItemString(d
,"LANGUAGE_CHINESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_CHINESE
));
18612 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SIMPLIFIED", SWIG_PyObj_FromInt((int)wxLANGUAGE_CHINESE_SIMPLIFIED
));
18613 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TRADITIONAL", SWIG_PyObj_FromInt((int)wxLANGUAGE_CHINESE_TRADITIONAL
));
18614 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_HONGKONG", SWIG_PyObj_FromInt((int)wxLANGUAGE_CHINESE_HONGKONG
));
18615 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_MACAU", SWIG_PyObj_FromInt((int)wxLANGUAGE_CHINESE_MACAU
));
18616 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SINGAPORE", SWIG_PyObj_FromInt((int)wxLANGUAGE_CHINESE_SINGAPORE
));
18617 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TAIWAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_CHINESE_TAIWAN
));
18618 PyDict_SetItemString(d
,"LANGUAGE_CORSICAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_CORSICAN
));
18619 PyDict_SetItemString(d
,"LANGUAGE_CROATIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_CROATIAN
));
18620 PyDict_SetItemString(d
,"LANGUAGE_CZECH", SWIG_PyObj_FromInt((int)wxLANGUAGE_CZECH
));
18621 PyDict_SetItemString(d
,"LANGUAGE_DANISH", SWIG_PyObj_FromInt((int)wxLANGUAGE_DANISH
));
18622 PyDict_SetItemString(d
,"LANGUAGE_DUTCH", SWIG_PyObj_FromInt((int)wxLANGUAGE_DUTCH
));
18623 PyDict_SetItemString(d
,"LANGUAGE_DUTCH_BELGIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_DUTCH_BELGIAN
));
18624 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH
));
18625 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_UK", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_UK
));
18626 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_US", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_US
));
18627 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_AUSTRALIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_AUSTRALIA
));
18628 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BELIZE", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_BELIZE
));
18629 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BOTSWANA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_BOTSWANA
));
18630 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CANADA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_CANADA
));
18631 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CARIBBEAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_CARIBBEAN
));
18632 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_DENMARK", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_DENMARK
));
18633 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_EIRE", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_EIRE
));
18634 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_JAMAICA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_JAMAICA
));
18635 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_NEW_ZEALAND", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_NEW_ZEALAND
));
18636 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_PHILIPPINES", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_PHILIPPINES
));
18637 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_SOUTH_AFRICA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_SOUTH_AFRICA
));
18638 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_TRINIDAD", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_TRINIDAD
));
18639 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_ZIMBABWE", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_ZIMBABWE
));
18640 PyDict_SetItemString(d
,"LANGUAGE_ESPERANTO", SWIG_PyObj_FromInt((int)wxLANGUAGE_ESPERANTO
));
18641 PyDict_SetItemString(d
,"LANGUAGE_ESTONIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ESTONIAN
));
18642 PyDict_SetItemString(d
,"LANGUAGE_FAEROESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_FAEROESE
));
18643 PyDict_SetItemString(d
,"LANGUAGE_FARSI", SWIG_PyObj_FromInt((int)wxLANGUAGE_FARSI
));
18644 PyDict_SetItemString(d
,"LANGUAGE_FIJI", SWIG_PyObj_FromInt((int)wxLANGUAGE_FIJI
));
18645 PyDict_SetItemString(d
,"LANGUAGE_FINNISH", SWIG_PyObj_FromInt((int)wxLANGUAGE_FINNISH
));
18646 PyDict_SetItemString(d
,"LANGUAGE_FRENCH", SWIG_PyObj_FromInt((int)wxLANGUAGE_FRENCH
));
18647 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_BELGIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_FRENCH_BELGIAN
));
18648 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_CANADIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_FRENCH_CANADIAN
));
18649 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_LUXEMBOURG", SWIG_PyObj_FromInt((int)wxLANGUAGE_FRENCH_LUXEMBOURG
));
18650 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_MONACO", SWIG_PyObj_FromInt((int)wxLANGUAGE_FRENCH_MONACO
));
18651 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_SWISS", SWIG_PyObj_FromInt((int)wxLANGUAGE_FRENCH_SWISS
));
18652 PyDict_SetItemString(d
,"LANGUAGE_FRISIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_FRISIAN
));
18653 PyDict_SetItemString(d
,"LANGUAGE_GALICIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_GALICIAN
));
18654 PyDict_SetItemString(d
,"LANGUAGE_GEORGIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_GEORGIAN
));
18655 PyDict_SetItemString(d
,"LANGUAGE_GERMAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_GERMAN
));
18656 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_AUSTRIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_GERMAN_AUSTRIAN
));
18657 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_BELGIUM", SWIG_PyObj_FromInt((int)wxLANGUAGE_GERMAN_BELGIUM
));
18658 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LIECHTENSTEIN", SWIG_PyObj_FromInt((int)wxLANGUAGE_GERMAN_LIECHTENSTEIN
));
18659 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LUXEMBOURG", SWIG_PyObj_FromInt((int)wxLANGUAGE_GERMAN_LUXEMBOURG
));
18660 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_SWISS", SWIG_PyObj_FromInt((int)wxLANGUAGE_GERMAN_SWISS
));
18661 PyDict_SetItemString(d
,"LANGUAGE_GREEK", SWIG_PyObj_FromInt((int)wxLANGUAGE_GREEK
));
18662 PyDict_SetItemString(d
,"LANGUAGE_GREENLANDIC", SWIG_PyObj_FromInt((int)wxLANGUAGE_GREENLANDIC
));
18663 PyDict_SetItemString(d
,"LANGUAGE_GUARANI", SWIG_PyObj_FromInt((int)wxLANGUAGE_GUARANI
));
18664 PyDict_SetItemString(d
,"LANGUAGE_GUJARATI", SWIG_PyObj_FromInt((int)wxLANGUAGE_GUJARATI
));
18665 PyDict_SetItemString(d
,"LANGUAGE_HAUSA", SWIG_PyObj_FromInt((int)wxLANGUAGE_HAUSA
));
18666 PyDict_SetItemString(d
,"LANGUAGE_HEBREW", SWIG_PyObj_FromInt((int)wxLANGUAGE_HEBREW
));
18667 PyDict_SetItemString(d
,"LANGUAGE_HINDI", SWIG_PyObj_FromInt((int)wxLANGUAGE_HINDI
));
18668 PyDict_SetItemString(d
,"LANGUAGE_HUNGARIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_HUNGARIAN
));
18669 PyDict_SetItemString(d
,"LANGUAGE_ICELANDIC", SWIG_PyObj_FromInt((int)wxLANGUAGE_ICELANDIC
));
18670 PyDict_SetItemString(d
,"LANGUAGE_INDONESIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_INDONESIAN
));
18671 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUA", SWIG_PyObj_FromInt((int)wxLANGUAGE_INTERLINGUA
));
18672 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUE", SWIG_PyObj_FromInt((int)wxLANGUAGE_INTERLINGUE
));
18673 PyDict_SetItemString(d
,"LANGUAGE_INUKTITUT", SWIG_PyObj_FromInt((int)wxLANGUAGE_INUKTITUT
));
18674 PyDict_SetItemString(d
,"LANGUAGE_INUPIAK", SWIG_PyObj_FromInt((int)wxLANGUAGE_INUPIAK
));
18675 PyDict_SetItemString(d
,"LANGUAGE_IRISH", SWIG_PyObj_FromInt((int)wxLANGUAGE_IRISH
));
18676 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ITALIAN
));
18677 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN_SWISS", SWIG_PyObj_FromInt((int)wxLANGUAGE_ITALIAN_SWISS
));
18678 PyDict_SetItemString(d
,"LANGUAGE_JAPANESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_JAPANESE
));
18679 PyDict_SetItemString(d
,"LANGUAGE_JAVANESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_JAVANESE
));
18680 PyDict_SetItemString(d
,"LANGUAGE_KANNADA", SWIG_PyObj_FromInt((int)wxLANGUAGE_KANNADA
));
18681 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI", SWIG_PyObj_FromInt((int)wxLANGUAGE_KASHMIRI
));
18682 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI_INDIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_KASHMIRI_INDIA
));
18683 PyDict_SetItemString(d
,"LANGUAGE_KAZAKH", SWIG_PyObj_FromInt((int)wxLANGUAGE_KAZAKH
));
18684 PyDict_SetItemString(d
,"LANGUAGE_KERNEWEK", SWIG_PyObj_FromInt((int)wxLANGUAGE_KERNEWEK
));
18685 PyDict_SetItemString(d
,"LANGUAGE_KINYARWANDA", SWIG_PyObj_FromInt((int)wxLANGUAGE_KINYARWANDA
));
18686 PyDict_SetItemString(d
,"LANGUAGE_KIRGHIZ", SWIG_PyObj_FromInt((int)wxLANGUAGE_KIRGHIZ
));
18687 PyDict_SetItemString(d
,"LANGUAGE_KIRUNDI", SWIG_PyObj_FromInt((int)wxLANGUAGE_KIRUNDI
));
18688 PyDict_SetItemString(d
,"LANGUAGE_KONKANI", SWIG_PyObj_FromInt((int)wxLANGUAGE_KONKANI
));
18689 PyDict_SetItemString(d
,"LANGUAGE_KOREAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_KOREAN
));
18690 PyDict_SetItemString(d
,"LANGUAGE_KURDISH", SWIG_PyObj_FromInt((int)wxLANGUAGE_KURDISH
));
18691 PyDict_SetItemString(d
,"LANGUAGE_LAOTHIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_LAOTHIAN
));
18692 PyDict_SetItemString(d
,"LANGUAGE_LATIN", SWIG_PyObj_FromInt((int)wxLANGUAGE_LATIN
));
18693 PyDict_SetItemString(d
,"LANGUAGE_LATVIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_LATVIAN
));
18694 PyDict_SetItemString(d
,"LANGUAGE_LINGALA", SWIG_PyObj_FromInt((int)wxLANGUAGE_LINGALA
));
18695 PyDict_SetItemString(d
,"LANGUAGE_LITHUANIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_LITHUANIAN
));
18696 PyDict_SetItemString(d
,"LANGUAGE_MACEDONIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_MACEDONIAN
));
18697 PyDict_SetItemString(d
,"LANGUAGE_MALAGASY", SWIG_PyObj_FromInt((int)wxLANGUAGE_MALAGASY
));
18698 PyDict_SetItemString(d
,"LANGUAGE_MALAY", SWIG_PyObj_FromInt((int)wxLANGUAGE_MALAY
));
18699 PyDict_SetItemString(d
,"LANGUAGE_MALAYALAM", SWIG_PyObj_FromInt((int)wxLANGUAGE_MALAYALAM
));
18700 PyDict_SetItemString(d
,"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", SWIG_PyObj_FromInt((int)wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
));
18701 PyDict_SetItemString(d
,"LANGUAGE_MALAY_MALAYSIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_MALAY_MALAYSIA
));
18702 PyDict_SetItemString(d
,"LANGUAGE_MALTESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_MALTESE
));
18703 PyDict_SetItemString(d
,"LANGUAGE_MANIPURI", SWIG_PyObj_FromInt((int)wxLANGUAGE_MANIPURI
));
18704 PyDict_SetItemString(d
,"LANGUAGE_MAORI", SWIG_PyObj_FromInt((int)wxLANGUAGE_MAORI
));
18705 PyDict_SetItemString(d
,"LANGUAGE_MARATHI", SWIG_PyObj_FromInt((int)wxLANGUAGE_MARATHI
));
18706 PyDict_SetItemString(d
,"LANGUAGE_MOLDAVIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_MOLDAVIAN
));
18707 PyDict_SetItemString(d
,"LANGUAGE_MONGOLIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_MONGOLIAN
));
18708 PyDict_SetItemString(d
,"LANGUAGE_NAURU", SWIG_PyObj_FromInt((int)wxLANGUAGE_NAURU
));
18709 PyDict_SetItemString(d
,"LANGUAGE_NEPALI", SWIG_PyObj_FromInt((int)wxLANGUAGE_NEPALI
));
18710 PyDict_SetItemString(d
,"LANGUAGE_NEPALI_INDIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_NEPALI_INDIA
));
18711 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_BOKMAL", SWIG_PyObj_FromInt((int)wxLANGUAGE_NORWEGIAN_BOKMAL
));
18712 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_NYNORSK", SWIG_PyObj_FromInt((int)wxLANGUAGE_NORWEGIAN_NYNORSK
));
18713 PyDict_SetItemString(d
,"LANGUAGE_OCCITAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_OCCITAN
));
18714 PyDict_SetItemString(d
,"LANGUAGE_ORIYA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ORIYA
));
18715 PyDict_SetItemString(d
,"LANGUAGE_OROMO", SWIG_PyObj_FromInt((int)wxLANGUAGE_OROMO
));
18716 PyDict_SetItemString(d
,"LANGUAGE_PASHTO", SWIG_PyObj_FromInt((int)wxLANGUAGE_PASHTO
));
18717 PyDict_SetItemString(d
,"LANGUAGE_POLISH", SWIG_PyObj_FromInt((int)wxLANGUAGE_POLISH
));
18718 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_PORTUGUESE
));
18719 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE_BRAZILIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_PORTUGUESE_BRAZILIAN
));
18720 PyDict_SetItemString(d
,"LANGUAGE_PUNJABI", SWIG_PyObj_FromInt((int)wxLANGUAGE_PUNJABI
));
18721 PyDict_SetItemString(d
,"LANGUAGE_QUECHUA", SWIG_PyObj_FromInt((int)wxLANGUAGE_QUECHUA
));
18722 PyDict_SetItemString(d
,"LANGUAGE_RHAETO_ROMANCE", SWIG_PyObj_FromInt((int)wxLANGUAGE_RHAETO_ROMANCE
));
18723 PyDict_SetItemString(d
,"LANGUAGE_ROMANIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ROMANIAN
));
18724 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_RUSSIAN
));
18725 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN_UKRAINE", SWIG_PyObj_FromInt((int)wxLANGUAGE_RUSSIAN_UKRAINE
));
18726 PyDict_SetItemString(d
,"LANGUAGE_SAMOAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_SAMOAN
));
18727 PyDict_SetItemString(d
,"LANGUAGE_SANGHO", SWIG_PyObj_FromInt((int)wxLANGUAGE_SANGHO
));
18728 PyDict_SetItemString(d
,"LANGUAGE_SANSKRIT", SWIG_PyObj_FromInt((int)wxLANGUAGE_SANSKRIT
));
18729 PyDict_SetItemString(d
,"LANGUAGE_SCOTS_GAELIC", SWIG_PyObj_FromInt((int)wxLANGUAGE_SCOTS_GAELIC
));
18730 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_SERBIAN
));
18731 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_CYRILLIC", SWIG_PyObj_FromInt((int)wxLANGUAGE_SERBIAN_CYRILLIC
));
18732 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_LATIN", SWIG_PyObj_FromInt((int)wxLANGUAGE_SERBIAN_LATIN
));
18733 PyDict_SetItemString(d
,"LANGUAGE_SERBO_CROATIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_SERBO_CROATIAN
));
18734 PyDict_SetItemString(d
,"LANGUAGE_SESOTHO", SWIG_PyObj_FromInt((int)wxLANGUAGE_SESOTHO
));
18735 PyDict_SetItemString(d
,"LANGUAGE_SETSWANA", SWIG_PyObj_FromInt((int)wxLANGUAGE_SETSWANA
));
18736 PyDict_SetItemString(d
,"LANGUAGE_SHONA", SWIG_PyObj_FromInt((int)wxLANGUAGE_SHONA
));
18737 PyDict_SetItemString(d
,"LANGUAGE_SINDHI", SWIG_PyObj_FromInt((int)wxLANGUAGE_SINDHI
));
18738 PyDict_SetItemString(d
,"LANGUAGE_SINHALESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_SINHALESE
));
18739 PyDict_SetItemString(d
,"LANGUAGE_SISWATI", SWIG_PyObj_FromInt((int)wxLANGUAGE_SISWATI
));
18740 PyDict_SetItemString(d
,"LANGUAGE_SLOVAK", SWIG_PyObj_FromInt((int)wxLANGUAGE_SLOVAK
));
18741 PyDict_SetItemString(d
,"LANGUAGE_SLOVENIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_SLOVENIAN
));
18742 PyDict_SetItemString(d
,"LANGUAGE_SOMALI", SWIG_PyObj_FromInt((int)wxLANGUAGE_SOMALI
));
18743 PyDict_SetItemString(d
,"LANGUAGE_SPANISH", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH
));
18744 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ARGENTINA", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_ARGENTINA
));
18745 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_BOLIVIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_BOLIVIA
));
18746 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_CHILE", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_CHILE
));
18747 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COLOMBIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_COLOMBIA
));
18748 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COSTA_RICA", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_COSTA_RICA
));
18749 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
));
18750 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ECUADOR", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_ECUADOR
));
18751 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_EL_SALVADOR", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_EL_SALVADOR
));
18752 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_GUATEMALA", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_GUATEMALA
));
18753 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_HONDURAS", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_HONDURAS
));
18754 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MEXICAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_MEXICAN
));
18755 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MODERN", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_MODERN
));
18756 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_NICARAGUA", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_NICARAGUA
));
18757 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PANAMA", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_PANAMA
));
18758 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PARAGUAY", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_PARAGUAY
));
18759 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PERU", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_PERU
));
18760 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PUERTO_RICO", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_PUERTO_RICO
));
18761 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_URUGUAY", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_URUGUAY
));
18762 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_US", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_US
));
18763 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_VENEZUELA", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_VENEZUELA
));
18764 PyDict_SetItemString(d
,"LANGUAGE_SUNDANESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_SUNDANESE
));
18765 PyDict_SetItemString(d
,"LANGUAGE_SWAHILI", SWIG_PyObj_FromInt((int)wxLANGUAGE_SWAHILI
));
18766 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH", SWIG_PyObj_FromInt((int)wxLANGUAGE_SWEDISH
));
18767 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH_FINLAND", SWIG_PyObj_FromInt((int)wxLANGUAGE_SWEDISH_FINLAND
));
18768 PyDict_SetItemString(d
,"LANGUAGE_TAGALOG", SWIG_PyObj_FromInt((int)wxLANGUAGE_TAGALOG
));
18769 PyDict_SetItemString(d
,"LANGUAGE_TAJIK", SWIG_PyObj_FromInt((int)wxLANGUAGE_TAJIK
));
18770 PyDict_SetItemString(d
,"LANGUAGE_TAMIL", SWIG_PyObj_FromInt((int)wxLANGUAGE_TAMIL
));
18771 PyDict_SetItemString(d
,"LANGUAGE_TATAR", SWIG_PyObj_FromInt((int)wxLANGUAGE_TATAR
));
18772 PyDict_SetItemString(d
,"LANGUAGE_TELUGU", SWIG_PyObj_FromInt((int)wxLANGUAGE_TELUGU
));
18773 PyDict_SetItemString(d
,"LANGUAGE_THAI", SWIG_PyObj_FromInt((int)wxLANGUAGE_THAI
));
18774 PyDict_SetItemString(d
,"LANGUAGE_TIBETAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_TIBETAN
));
18775 PyDict_SetItemString(d
,"LANGUAGE_TIGRINYA", SWIG_PyObj_FromInt((int)wxLANGUAGE_TIGRINYA
));
18776 PyDict_SetItemString(d
,"LANGUAGE_TONGA", SWIG_PyObj_FromInt((int)wxLANGUAGE_TONGA
));
18777 PyDict_SetItemString(d
,"LANGUAGE_TSONGA", SWIG_PyObj_FromInt((int)wxLANGUAGE_TSONGA
));
18778 PyDict_SetItemString(d
,"LANGUAGE_TURKISH", SWIG_PyObj_FromInt((int)wxLANGUAGE_TURKISH
));
18779 PyDict_SetItemString(d
,"LANGUAGE_TURKMEN", SWIG_PyObj_FromInt((int)wxLANGUAGE_TURKMEN
));
18780 PyDict_SetItemString(d
,"LANGUAGE_TWI", SWIG_PyObj_FromInt((int)wxLANGUAGE_TWI
));
18781 PyDict_SetItemString(d
,"LANGUAGE_UIGHUR", SWIG_PyObj_FromInt((int)wxLANGUAGE_UIGHUR
));
18782 PyDict_SetItemString(d
,"LANGUAGE_UKRAINIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_UKRAINIAN
));
18783 PyDict_SetItemString(d
,"LANGUAGE_URDU", SWIG_PyObj_FromInt((int)wxLANGUAGE_URDU
));
18784 PyDict_SetItemString(d
,"LANGUAGE_URDU_INDIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_URDU_INDIA
));
18785 PyDict_SetItemString(d
,"LANGUAGE_URDU_PAKISTAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_URDU_PAKISTAN
));
18786 PyDict_SetItemString(d
,"LANGUAGE_UZBEK", SWIG_PyObj_FromInt((int)wxLANGUAGE_UZBEK
));
18787 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_CYRILLIC", SWIG_PyObj_FromInt((int)wxLANGUAGE_UZBEK_CYRILLIC
));
18788 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_LATIN", SWIG_PyObj_FromInt((int)wxLANGUAGE_UZBEK_LATIN
));
18789 PyDict_SetItemString(d
,"LANGUAGE_VIETNAMESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_VIETNAMESE
));
18790 PyDict_SetItemString(d
,"LANGUAGE_VOLAPUK", SWIG_PyObj_FromInt((int)wxLANGUAGE_VOLAPUK
));
18791 PyDict_SetItemString(d
,"LANGUAGE_WELSH", SWIG_PyObj_FromInt((int)wxLANGUAGE_WELSH
));
18792 PyDict_SetItemString(d
,"LANGUAGE_WOLOF", SWIG_PyObj_FromInt((int)wxLANGUAGE_WOLOF
));
18793 PyDict_SetItemString(d
,"LANGUAGE_XHOSA", SWIG_PyObj_FromInt((int)wxLANGUAGE_XHOSA
));
18794 PyDict_SetItemString(d
,"LANGUAGE_YIDDISH", SWIG_PyObj_FromInt((int)wxLANGUAGE_YIDDISH
));
18795 PyDict_SetItemString(d
,"LANGUAGE_YORUBA", SWIG_PyObj_FromInt((int)wxLANGUAGE_YORUBA
));
18796 PyDict_SetItemString(d
,"LANGUAGE_ZHUANG", SWIG_PyObj_FromInt((int)wxLANGUAGE_ZHUANG
));
18797 PyDict_SetItemString(d
,"LANGUAGE_ZULU", SWIG_PyObj_FromInt((int)wxLANGUAGE_ZULU
));
18798 PyDict_SetItemString(d
,"LANGUAGE_USER_DEFINED", SWIG_PyObj_FromInt((int)wxLANGUAGE_USER_DEFINED
));
18799 PyDict_SetItemString(d
,"LOCALE_CAT_NUMBER", SWIG_PyObj_FromInt((int)wxLOCALE_CAT_NUMBER
));
18800 PyDict_SetItemString(d
,"LOCALE_CAT_DATE", SWIG_PyObj_FromInt((int)wxLOCALE_CAT_DATE
));
18801 PyDict_SetItemString(d
,"LOCALE_CAT_MONEY", SWIG_PyObj_FromInt((int)wxLOCALE_CAT_MONEY
));
18802 PyDict_SetItemString(d
,"LOCALE_CAT_MAX", SWIG_PyObj_FromInt((int)wxLOCALE_CAT_MAX
));
18803 PyDict_SetItemString(d
,"LOCALE_THOUSANDS_SEP", SWIG_PyObj_FromInt((int)wxLOCALE_THOUSANDS_SEP
));
18804 PyDict_SetItemString(d
,"LOCALE_DECIMAL_POINT", SWIG_PyObj_FromInt((int)wxLOCALE_DECIMAL_POINT
));
18805 PyDict_SetItemString(d
,"LOCALE_LOAD_DEFAULT", SWIG_PyObj_FromInt((int)wxLOCALE_LOAD_DEFAULT
));
18806 PyDict_SetItemString(d
,"LOCALE_CONV_ENCODING", SWIG_PyObj_FromInt((int)wxLOCALE_CONV_ENCODING
));
18807 PyDict_SetItemString(d
,"CONVERT_STRICT", SWIG_PyObj_FromInt((int)wxCONVERT_STRICT
));
18808 PyDict_SetItemString(d
,"CONVERT_SUBSTITUTE", SWIG_PyObj_FromInt((int)wxCONVERT_SUBSTITUTE
));
18809 PyDict_SetItemString(d
,"PLATFORM_CURRENT", SWIG_PyObj_FromInt((int)wxPLATFORM_CURRENT
));
18810 PyDict_SetItemString(d
,"PLATFORM_UNIX", SWIG_PyObj_FromInt((int)wxPLATFORM_UNIX
));
18811 PyDict_SetItemString(d
,"PLATFORM_WINDOWS", SWIG_PyObj_FromInt((int)wxPLATFORM_WINDOWS
));
18812 PyDict_SetItemString(d
,"PLATFORM_OS2", SWIG_PyObj_FromInt((int)wxPLATFORM_OS2
));
18813 PyDict_SetItemString(d
,"PLATFORM_MAC", SWIG_PyObj_FromInt((int)wxPLATFORM_MAC
));
18814 PyDict_SetItemString(d
,"IMAGELIST_DRAW_NORMAL", SWIG_PyObj_FromInt((int)wxIMAGELIST_DRAW_NORMAL
));
18815 PyDict_SetItemString(d
,"IMAGELIST_DRAW_TRANSPARENT", SWIG_PyObj_FromInt((int)wxIMAGELIST_DRAW_TRANSPARENT
));
18816 PyDict_SetItemString(d
,"IMAGELIST_DRAW_SELECTED", SWIG_PyObj_FromInt((int)wxIMAGELIST_DRAW_SELECTED
));
18817 PyDict_SetItemString(d
,"IMAGELIST_DRAW_FOCUSED", SWIG_PyObj_FromInt((int)wxIMAGELIST_DRAW_FOCUSED
));
18818 PyDict_SetItemString(d
,"IMAGE_LIST_NORMAL", SWIG_PyObj_FromInt((int)wxIMAGE_LIST_NORMAL
));
18819 PyDict_SetItemString(d
,"IMAGE_LIST_SMALL", SWIG_PyObj_FromInt((int)wxIMAGE_LIST_SMALL
));
18820 PyDict_SetItemString(d
,"IMAGE_LIST_STATE", SWIG_PyObj_FromInt((int)wxIMAGE_LIST_STATE
));
18821 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
18822 SWIG_addvarlink(SWIG_globals
,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get
, _wrap_NORMAL_FONT_set
);
18823 SWIG_addvarlink(SWIG_globals
,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get
, _wrap_SMALL_FONT_set
);
18824 SWIG_addvarlink(SWIG_globals
,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get
, _wrap_ITALIC_FONT_set
);
18825 SWIG_addvarlink(SWIG_globals
,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get
, _wrap_SWISS_FONT_set
);
18826 SWIG_addvarlink(SWIG_globals
,(char*)"RED_PEN",_wrap_RED_PEN_get
, _wrap_RED_PEN_set
);
18827 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get
, _wrap_CYAN_PEN_set
);
18828 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get
, _wrap_GREEN_PEN_set
);
18829 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get
, _wrap_BLACK_PEN_set
);
18830 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get
, _wrap_WHITE_PEN_set
);
18831 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get
, _wrap_TRANSPARENT_PEN_set
);
18832 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get
, _wrap_BLACK_DASHED_PEN_set
);
18833 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_PEN",_wrap_GREY_PEN_get
, _wrap_GREY_PEN_set
);
18834 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get
, _wrap_MEDIUM_GREY_PEN_set
);
18835 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get
, _wrap_LIGHT_GREY_PEN_set
);
18836 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get
, _wrap_BLUE_BRUSH_set
);
18837 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get
, _wrap_GREEN_BRUSH_set
);
18838 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get
, _wrap_WHITE_BRUSH_set
);
18839 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get
, _wrap_BLACK_BRUSH_set
);
18840 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get
, _wrap_TRANSPARENT_BRUSH_set
);
18841 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get
, _wrap_CYAN_BRUSH_set
);
18842 SWIG_addvarlink(SWIG_globals
,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get
, _wrap_RED_BRUSH_set
);
18843 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get
, _wrap_GREY_BRUSH_set
);
18844 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get
, _wrap_MEDIUM_GREY_BRUSH_set
);
18845 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get
, _wrap_LIGHT_GREY_BRUSH_set
);
18846 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK",_wrap_BLACK_get
, _wrap_BLACK_set
);
18847 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE",_wrap_WHITE_get
, _wrap_WHITE_set
);
18848 SWIG_addvarlink(SWIG_globals
,(char*)"RED",_wrap_RED_get
, _wrap_RED_set
);
18849 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE",_wrap_BLUE_get
, _wrap_BLUE_set
);
18850 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN",_wrap_GREEN_get
, _wrap_GREEN_set
);
18851 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN",_wrap_CYAN_get
, _wrap_CYAN_set
);
18852 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get
, _wrap_LIGHT_GREY_set
);
18853 SWIG_addvarlink(SWIG_globals
,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get
, _wrap_STANDARD_CURSOR_set
);
18854 SWIG_addvarlink(SWIG_globals
,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get
, _wrap_HOURGLASS_CURSOR_set
);
18855 SWIG_addvarlink(SWIG_globals
,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get
, _wrap_CROSS_CURSOR_set
);
18856 SWIG_addvarlink(SWIG_globals
,(char*)"NullBitmap",_wrap_NullBitmap_get
, _wrap_NullBitmap_set
);
18857 SWIG_addvarlink(SWIG_globals
,(char*)"NullIcon",_wrap_NullIcon_get
, _wrap_NullIcon_set
);
18858 SWIG_addvarlink(SWIG_globals
,(char*)"NullCursor",_wrap_NullCursor_get
, _wrap_NullCursor_set
);
18859 SWIG_addvarlink(SWIG_globals
,(char*)"NullPen",_wrap_NullPen_get
, _wrap_NullPen_set
);
18860 SWIG_addvarlink(SWIG_globals
,(char*)"NullBrush",_wrap_NullBrush_get
, _wrap_NullBrush_set
);
18861 SWIG_addvarlink(SWIG_globals
,(char*)"NullPalette",_wrap_NullPalette_get
, _wrap_NullPalette_set
);
18862 SWIG_addvarlink(SWIG_globals
,(char*)"NullFont",_wrap_NullFont_get
, _wrap_NullFont_set
);
18863 SWIG_addvarlink(SWIG_globals
,(char*)"NullColour",_wrap_NullColour_get
, _wrap_NullColour_set
);
18864 SWIG_addvarlink(SWIG_globals
,(char*)"TheFontList",_wrap_TheFontList_get
, _wrap_TheFontList_set
);
18865 SWIG_addvarlink(SWIG_globals
,(char*)"ThePenList",_wrap_ThePenList_get
, _wrap_ThePenList_set
);
18866 SWIG_addvarlink(SWIG_globals
,(char*)"TheBrushList",_wrap_TheBrushList_get
, _wrap_TheBrushList_set
);
18867 SWIG_addvarlink(SWIG_globals
,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get
, _wrap_TheColourDatabase_set
);
18869 // Work around a chicken/egg problem in drawlist.cpp
18870 wxPyDrawList_SetAPIPtr();